JavaScript error in the main process

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Post Reply
finotti
Level 1
Level 1
Posts: 9
Joined: Sat Oct 30, 2021 3:16 pm

JavaScript error in the main process

Post by finotti »

I am getting "A JavaScript error occurred in the main process" when trying to run the IK Multimedia Product Manager. I got the same error when trying to reinstall it (actually, upgrade it to this latest version).

Oddly enough, I was able to run it until yesterday. I was using wine-staging 8.15 and today updated it to 8.21. But now, downgrading to 8.15 gives the same error.

Here is what shows up in the terminal:

Code: Select all

$ wine Install\ IK\ Product\ Manager\ \(v1.0.10\).exe 
002c:fixme:winediag:loader_init wine-staging 8.21 is a testing version containing experimental patches.
002c:fixme:winediag:loader_init Please mention your exact version when filing bug reports on winehq.org.
0048:fixme:heap:RtlSetHeapInformation HEAP_INFORMATION_CLASS 1 not implemented!
0060:fixme:advapi:RegisterEventSourceW ((null),L"Bonjour Service"): stub
0060:fixme:advapi:ReportEventA (00000000CAFE4242,0x0004,0x0000,0x00000064,0000000000000000,0x0001,0x00000000,00007FFFFEDEFA50,0000000000000000): stub
0060:fixme:advapi:ReportEventW (00000000CAFE4242,0x0004,0x0000,0x00000064,0000000000000000,0x0001,0x00000000,00007FFFFE7E1F50,0000000000000000): stub
0060:fixme:winsock:WSAIoctl SIO_UDP_CONNRESET stub
0060:fixme:winsock:WSAIoctl SIO_UDP_CONNRESET stub
0060:fixme:advapi:ReportEventA (00000000CAFE4242,0x0004,0x0000,0x00000064,0000000000000000,0x0001,0x00000000,00007FFFFEDEFA50,0000000000000000): stub
0060:fixme:advapi:ReportEventW (00000000CAFE4242,0x0004,0x0000,0x00000064,0000000000000000,0x0001,0x00000000,00007FFFFE7E1F50,0000000000000000): stub
0058:fixme:service:svcctl_EnumServicesStatusExW resume handle not supported
0058:fixme:service:svcctl_EnumServicesStatusExW resume handle not supported
0058:fixme:service:svcctl_EnumServicesStatusExW resume handle not supported
0058:fixme:service:svcctl_EnumServicesStatusExW resume handle not supported
0060:fixme:advapi:ReportEventA (00000000CAFE4242,0x0004,0x0000,0x00000064,0000000000000000,0x0001,0x00000000,00007FFFFEDEFA50,0000000000000000): stub
0060:fixme:advapi:ReportEventW (00000000CAFE4242,0x0004,0x0000,0x00000064,0000000000000000,0x0001,0x00000000,00007FFFFE7E1F50,0000000000000000): stub
0060:fixme:netapi32:NetGetJoinInformation Semi-stub (null) 00007FFFFEDEFAC8 00007FFFFEDEFAC0
00b0:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
WARNING: radv is not a conformant Vulkan implementation, testing use only.
00b0:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
00b0:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
00b0:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
00d4:err:service:device_notify_proc failed to open RPC handle, error 1722
00d0:fixme:advapi:RegisterEventSourceA ((null),"NIHardwareService"): stub
00d0:fixme:advapi:RegisterEventSourceW (L"",L"NIHardwareService"): stub
00b0:fixme:wineusb:query_id Unhandled ID query type 0x5.
00d0:fixme:advapi:ReportEventA (00000000CAFE4242,0x0001,0x0000,0xc0000103,0000000000000000,0x0001,0x00000000,00007FFFFF72F4A0,0000000000000000): stub
00d0:fixme:advapi:ReportEventW (00000000CAFE4242,0x0001,0x0000,0xc0000103,0000000000000000,0x0001,0x00000000,00007FFFFE7E1FB0,0000000000000000): stub
00d0:err:eventlog:ReportEventW L"MIDIDevice: Unable to unlock BMIDI DLL/driver\n"
WARNING: radv is not a conformant Vulkan implementation, testing use only.
0050:err:ole:start_rpcss Failed to start RpcSs service
016c:fixme:sync:SetWaitableTimerEx (000000000000014C, 00007FA106BBFB58, 0, 0000000000000000, 0000000000000000, 0000000000000000, 100) semi-stub
0140:fixme:file:NtLockFile I/O completion on lock not implemented yet
0088:fixme:mountmgr:query_property Faking StorageDeviceProperty data
wine: Read access denied for device L"\\??\\Z:\\", FS volume label and serial are not available.
0088:fixme:mountmgr:query_property Faking StorageDeviceProperty data
wine: Read access denied for device L"\\??\\Z:\\", FS volume label and serial are not available.
021c:fixme:graphics:ShutdownBlockReasonCreate (0001008E, L"Installing, please wait..."): stub
021c:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
0238:fixme:kernelbase:AppPolicyGetThreadInitializationType FFFFFFFA, 0296FF08
0284:err:ole:create_server class {9ba05972-f6a8-11cf-a442-00a0c90a8f39} not registered
0284:err:ole:com_get_class_object no class object {9ba05972-f6a8-11cf-a442-00a0c90a8f39} could be created for context 0x4
021c:fixme:exec:SHELL_execute flags ignored: 0x00004000

02bc:fixme:powrprof:PowerRegisterSuspendResumeNotification (0x00000002,00007FFFFE1FFE30,00007FFFFE1FFE28) stub!
02bc:fixme:heap:RtlSetHeapInformation HEAP_INFORMATION_CLASS 1 not implemented!
02bc:fixme:ntdll:EtwEventSetInformation (deadbeef, 2, 00007FFFFE7F2AF0, 16) stub
02bc:fixme:nls:RtlGetThreadPreferredUILanguages 00000038, 00007FFFFE1FF854, 0000000000000000 00007FFFFE1FF850
02bc:fixme:nls:get_dummy_preferred_ui_language (0x38 0x409 00007FFFFE1FF854 0000000000000000 00007FFFFE1FF850) returning a dummy value (current locale)
02bc:fixme:nls:RtlGetThreadPreferredUILanguages 00000038, 00007FFFFE1FF854, 00007FFFFE1FF830 00007FFFFE1FF850
02bc:fixme:nls:get_dummy_preferred_ui_language (0x38 0x409 00007FFFFE1FF854 00007FFFFE1FF830 00007FFFFE1FF850) returning a dummy value (current locale)
02bc:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
02dc:fixme:kernelbase:AppPolicyGetThreadInitializationType FFFFFFFFFFFFFFFA, 00007F2B584CFF50
02bc:fixme:ver:GetPackageFamilyName (FFFFFFFFFFFFFFFF 00007FFFFE1FF31C 00007FFFFE1FF320): stub
02bc:fixme:process:GetProcessMitigationPolicy (FFFFFFFFFFFFFFFF, 4, 00007FFFFE1FE180, 4): stub
The pop up window is attached.

I am running Debian Sid:

Code: Select all

 $ inxi -v3
System:
  Host: debian Kernel: 6.6.0-3.slh.1-aptosid-amd64 arch: x86_64 bits: 64
    compiler: gcc v: 13.2.0 Desktop: KDE Plasma v: 5.27.9 Distro: aptosid
    2013-01 - kde-full - (201305050307) base: Debian GNU/Linux trixie/sid
Machine:
  Type: Desktop System: ASUS product: All Series v: N/A
    serial: <superuser required>
  Mobo: ASUSTeK model: Z87-PRO v: Rev 1.xx serial: <superuser required>
    UEFI: American Megatrends v: 2103 date: 08/18/2014
CPU:
  Info: quad core model: Intel Core i7-4771 bits: 64 type: MT MCP
    arch: Haswell rev: 3 cache: L1: 256 KiB L2: 1024 KiB L3: 8 MiB
  Speed (MHz): avg: 3799 high: 3900 min/max: 800/3900 cores: 1: 3900 2: 3498
    3: 3900 4: 3499 5: 3900 6: 3900 7: 3900 8: 3900 bogomips: 55969
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: AMD Cape Verde PRO [Radeon HD 7750/8740 / R7 250E]
    vendor: VISIONTEK driver: amdgpu v: kernel arch: GCN-1 bus-ID: 01:00.0
    temp: 50.0 C
  Device-2: Logitech Webcam C270 driver: snd-usb-audio,uvcvideo type: USB
    bus-ID: 3-6:5
  Display: x11 server: X.Org v: 21.1.9 with: Xwayland v: 23.2.2 driver: X:
    loaded: amdgpu dri: radeonsi gpu: amdgpu resolution: 1: 1920x1080~60Hz
    2: 1920x1080~60Hz
  API: OpenGL v: 4.6 vendor: amd mesa v: 23.2.1-1 glx-v: 1.4
    direct-render: yes renderer: AMD Radeon Graphics (verde LLVM 16.0.6 DRM
    3.54 6.6.0-3.slh.1-aptosid-amd64)
Network:
  Device-1: Intel Ethernet I217-V vendor: ASUSTeK driver: e1000e v: kernel
    port: f040 bus-ID: 00:19.0
  IF: eth0 state: up speed: 100 Mbps duplex: full mac: e0:3f:49:a3:4c:a6
Drives:
  Local Storage: total: 13.88 TiB used: 6.22 TiB (44.8%)
Info:
  Processes: 366 Uptime: 1h 18m Memory: total: 32 GiB available: 31.3 GiB
  used: 8.22 GiB (26.3%) Init: systemd target: graphical (5) Compilers:
  gcc: 13.2.0 Packages: 7704 Shell: Bash v: 5.2.21 inxi: 3.3.31

Code: Select all

# apt policy winehq-staging
winehq-staging:
  Installed: 8.21~trixie-1
  Candidate: 8.21~trixie-1
  Version table:
 *** 8.21~trixie-1 500
        500 https://dl.winehq.org/wine-builds/debian trixie/main amd64 Packages
        100 /var/lib/dpkg/status
     8.20~trixie-1 500
        500 https://dl.winehq.org/wine-builds/debian trixie/main amd64 Packages
     8.19~trixie-1 500
        500 https://dl.winehq.org/wine-builds/debian trixie/main amd64 Packages
     8.18~trixie-1 500
        500 https://dl.winehq.org/wine-builds/debian trixie/main amd64 Packages
     8.17~trixie-1 500
        500 https://dl.winehq.org/wine-builds/debian trixie/main amd64 Packages
     8.16~trixie-1 500
        500 https://dl.winehq.org/wine-builds/debian trixie/main amd64 Packages
     8.15~trixie-1 500
        500 https://dl.winehq.org/wine-builds/debian trixie/main amd64 Packages
     8.14~trixie-1 500
        500 https://dl.winehq.org/wine-builds/debian trixie/main amd64 Packages
     8.13~trixie-1 500
        500 https://dl.winehq.org/wine-builds/debian trixie/main amd64 Packages
     8.12~trixie-1 500
        500 https://dl.winehq.org/wine-builds/debian trixie/main amd64 Packages
     8.11~trixie-1 500
        500 https://dl.winehq.org/wine-builds/debian trixie/main amd64 Package
Any help would be greatly appreciated.
Attachments
Screenshot_20231204_063538.png
finotti
Level 1
Level 1
Posts: 9
Joined: Sat Oct 30, 2021 3:16 pm

Re: JavaScript error in the main process

Post by finotti »

It seems that maybe I was incorrect about the version I was running before. I downgraded to 8.12 (instead of 8.15) and it "works". (Now, it says that there is a newer version and asks me to install it, but it is already running the newest version. But the application actually runs.)

It was pointed out to me that the problem (with JavaScript) might be some upgrade of wine-gecko. Can anyone offer any suggestions?
finotti
Level 1
Level 1
Posts: 9
Joined: Sat Oct 30, 2021 3:16 pm

Re: JavaScript error in the main process

Post by finotti »

There is a new version of the Product Manager (1.1.0) and now it seems to work with wine staging 8.21. (Fingers crossed it will keep working...)

Sorry for the noise.
Post Reply