https://bugs.winehq.org/show_bug.cgi?id=42216
Bug ID: 42216 Summary: Guitar Rig 5 VST plugin crashes with unhandled exception Product: Wine Version: 2.0-rc4 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: karmo.rosental@gmail.com Distribution: ---
Created attachment 56855 --> https://bugs.winehq.org/attachment.cgi?id=56855 Guitar Rig 5 VST back trace
Guitar Rig 5 VST plugin crashes when being loaded in software like LMMS. Standalone program works nicely. Wine must be configured as Windows XP to use this program. I'm running 64-bit Kubuntu 16.10 Yakkety Yak. Back trace has been attached.
Link to software: https://www.native-instruments.com/en/products/komplete/guitar/guitar-rig-5-...
https://bugs.winehq.org/show_bug.cgi?id=42216
--- Comment #1 from Karmo karmo.rosental@gmail.com --- I have installed vcrun2010, vcrun2012, vcrun2013 and vcrun2015 from winetricks and set following libraries as native, builtin:
api-mswin-crt-time-l1-1-0 (also downloaded 32-bit DLL) concrt140
https://bugs.winehq.org/show_bug.cgi?id=42216
Louis Lenders xerox_xerox2000@yahoo.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |xerox_xerox2000@yahoo.co.uk
--- Comment #2 from Louis Lenders xerox_xerox2000@yahoo.co.uk --- Could you give exact instructions how to reproduce this? Where exactly can one find Guitar Rig 5 VST plugin? There`s only a Guitar Player on that link. And how do you load that plugin in LMMS (I guess the windowsversion of LMMS?)
Thanks in advance
https://bugs.winehq.org/show_bug.cgi?id=42216
--- Comment #3 from Karmo karmo.rosental@gmail.com --- Installing Guitar Rig 5 Player installs also Guitar Rig 5.dll into "~/.wine/drive_c/Program Files/Native Instruments/VSTPlugins 32 bit" directory. This DLL can be loaded as FX plugin in program like LMMS. LMMS supports loading Windows VST DLLs (both instruments and effects) through Wine.
Back trace when loading VST plugin happens only in Windows XP mode. It works in Windows 7 mode. But I have to use Windows XP mode as other plugins work only in that mode.
https://bugs.winehq.org/show_bug.cgi?id=42216
--- Comment #4 from Karmo karmo.rosental@gmail.com --- Back trace happens during DLL loading in Windows XP mode. It crashes before UI shows up.
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
https://bugs.winehq.org/show_bug.cgi?id=42216
Karmo karmo.rosental@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |ABANDONED
--- Comment #6 from Karmo karmo.rosental@gmail.com --- LMMS has Linux version too that can be installed from distribution package manager. Wine is used only to load VST-s.
Marking as resolved since it's working in Windows 7 mode.
https://bugs.winehq.org/show_bug.cgi?id=42216
fjfrackiewicz@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fjfrackiewicz@gmail.com
--- Comment #7 from fjfrackiewicz@gmail.com --- (In reply to Karmo from comment #6)
LMMS has Linux version too that can be installed from distribution package manager. Wine is used only to load VST-s.
Marking as resolved since it's working in Windows 7 mode.
Would the "INVALID" or "FIXED" tags work better since the issue is fixed when you have Wine set to Windows 7 mode?
https://bugs.winehq.org/show_bug.cgi?id=42216
Matteo Bruni matteo.mystral@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|ABANDONED |INVALID
--- Comment #8 from Matteo Bruni matteo.mystral@gmail.com --- (In reply to fjfrackiewicz from comment #7)
(In reply to Karmo from comment #6)
LMMS has Linux version too that can be installed from distribution package manager. Wine is used only to load VST-s.
Marking as resolved since it's working in Windows 7 mode.
Would the "INVALID" or "FIXED" tags work better since the issue is fixed when you have Wine set to Windows 7 mode?
Let's make it INVALID since it looks like running this program with the Windows version set to XP is an invalid configuration.
Certainly FIXED is not correct, nothing was changed in Wine.
https://bugs.winehq.org/show_bug.cgi?id=42216
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #9 from Austin English austinenglish@gmail.com --- Closing.