https://bugs.winehq.org/show_bug.cgi?id=42216
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |https://www.native-instrume | |nts.com/en/products/komplet | |e/guitar/guitar-rig-5-playe | |r/download/ CC| |focht@gmx.net Keywords| |download Summary|Guitar Rig 5 VST plugin |Guitar Rig 5 VST plugin |crashes with unhandled |crashes with unhandled |exception |exception when loaded | |through LMMS in 'Windows | |XP' mode
--- Comment #5 from Anastasius Focht focht@gmx.net --- Hello folks,
there is no crash, works fine here.
Since you left out various important information I had to waste some time for getting a proper setup.
Guitar Rig 5 player download:
https://www.native-instruments.com/en/products/komplete/guitar/guitar-rig-5-...
(one can use some disposable email service to get the download link)
The vendor app installer explicitly requires "Windows 7" setting. If you change that afterwards to "Windows XP" and use the app or parts of it in "Windows XP" mode, do that at your own risk.
LMMS download:
https://lmms.io/download/#windows
--- snip --- $ pwd /home/focht/.wine/drive_c/Program Files/VstPlugins
$ ll total 73264 -rw-rw-r--. 1 focht focht 75020080 Oct 21 2013 Guitar Rig 5.dll --- snip ---
In the LMMS GUI -> "Instrument Plugins", select "VeSTige" and drop it into editor. Click settings in that plugin -> "Open VST Plugin" -> select "Guitar Rig 5.dll" -> GUI appears in window
--- snip --- $ pwd /home/focht/.wine/drive_c/Program Files/LMMS
$ WINEDEBUG=+tid,+loaddll,+process wine ./lmms.exe ... 009a:trace:process:create_process_impl app (null) cmdline L""C:\Program Files\LMMS\plugins\\RemoteVstPlugin" 6 7" ... 009a:trace:process:create_process_impl starting L"C:\Program Files\LMMS\plugins\RemoteVstPlugin.exe" as Win32 binary (0x400000-0x47f000, arch 014c) 00b1:trace:loaddll:load_builtin_dll Loaded L"KERNEL32.dll" at 0x7b420000: builtin ... 00b1:trace:process:__wine_kernel_init starting process name=L"C:\Program Files\LMMS\plugins\RemoteVstPlugin.exe" argv[0]=L"C:\Program Files\LMMS\plugins\\RemoteVstPlugin" 00b1:trace:loaddll:load_native_dll Loaded L"C:\Program Files\LMMS\plugins\RemoteVstPlugin.exe" at 0x400000: native 009a:trace:process:create_process_impl started process pid 00b0 tid 00b1 ... 00b1:trace:loaddll:load_native_dll Loaded L"C:\Program Files\VstPlugins\Guitar Rig 5.dll" at 0x10000000: native ... unique ID: NiG5 RemotePlugin::DebugMessage: inputs: 4 output: 2 RemotePlugin::DebugMessage: creating editor RemotePlugin::DebugMessage: editor successfully created 00b1:fixme:shell:IDropTargetHelper_fnShow (0x1412e0)->(0) RemotePlugin::DebugMessage: failed getting00b1:fixme:shell:IDropTargetHelper_fnShow (0x1412e0)->(1) shared memory: 5 ... --- snip ---
--- snip --- $ winedbg Wine-dbg>info process pid threads executable (all id:s are in hex) 0000001f 5 'explorer.exe' 0000000e 6 'services.exe' 00000025 3 _ 'plugplay.exe' 0000001d 6 _ 'NIHardwareService.exe' 00000012 4 _ 'winedevice.exe' 00000008 18 'lmms.exe' 0000004d 12 _ 'RemoteVstPlugin.exe'
Wine-dbg>attach 0x4d
0xf771fbe7 __kernel_vsyscall+0x7 in [vdso].so: int $0x80
Wine-dbg>info share Module Address Debug info Name (103 modules) PE 400000- 47f000 Export remotevstplugin PE 10000000-147d7000 Deferred guitar rig 5 ELF 42962000-4297e000 Deferred libresolv.so.2 ... --- snip ---
You use a self-built version (winegcc?) and didn't even mention it:
--- snip --- ... PE 340000- 3b1000 Deferred msvcp120 PE 3c0000- 4ae000 Export msvcr120 PE 10000000-148c0fb8 Export guitar rig 5 ELF 7a800000-7a932000 Deferred opengl32<elf> -PE 7a820000-7a932000 \ opengl32 ELF 7b400000-7b7e7000 Dwarf kernel32<elf> -PE 7b410000-7b7e7000 \ kernel32 ELF 7bc00000-7bcf8000 Dwarf ntdll<elf> -PE 7bc10000-7bcf8000 \ ntdll ELF 7c000000-7c004000 Dwarf <wine-loader>
ELF 7ebe2000-7ec12000 Dwarf remotevstplugin<elf> -PE 7ebf0000-7ec12000 \ remotevstplugin ... Threads: process tid prio (all id:s are in hex) 00000008 (D) Z:\home\karmo\Dev\lmms\build\plugins\RemoteVstPlugin.exe 0000002e 0 0000002d 0 0000002c 0 0000002b 0 0000002a 0 00000029 0 00000009 0 <== --- snip ---
Also various unneeded native overrides, polluting the WINEPREFIX.
$ sha1sum Guitar_Rig_5_520_PC.zip d8a2848a9b2ed806128fb46e3ae0dba874d960ff Guitar_Rig_5_520_PC.zip
$ du -sh Guitar_Rig_5_520_PC.zip 598M Guitar_Rig_5_520_PC.zip
$ sha1sum lmms-1.1.3-win32.exe 204dbae7b4a2143123b419f28af9f775bf207ebd lmms-1.1.3-win32.exe
$ du -sh lmms-1.1.3-win32.exe 29M lmms-1.1.3-win32.exe
$ wine --version wine-2.0-rc4
Regards