https://bugs.winehq.org/show_bug.cgi?id=37243
Bug ID: 37243 Summary: Scuffham S-Gear crashes on startup Product: Wine Version: 1.6.2 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: critical Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: steamefla@gmail.com
Installation of Scuffham S-Gear 2 (guitar modelling software) with wine goes normally, but the program crashes when trying to start it.
Motherboard is Asus Z87-A, RAM 8g. OS is Ubuntu Studio 14.04 with low-latency kernel. For using Windows VST plug-ins I have installed from KXStudio repository wineasio 0.90+git20110613-2k, which runs other Windows plug-ins without issues. I have tried also the wineasio version 0.7.5 with the same result. I have tried with wine setups Windows XP and Windows 7. Same version of S-Gear runs smoothly in Windows 7.
Log as attachment.
Demo version of S-Gear 2.42 download:
http://www.scuffhamamps.com/download/s-gear
Cheers
JK
https://bugs.winehq.org/show_bug.cgi?id=37243
Rosanne DiMesio dimesio@earthlink.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|critical |normal
--- Comment #1 from Rosanne DiMesio dimesio@earthlink.net --- Not critical. https://bugs.winehq.org/page.cgi?id=fields.html
You forgot to attach the log.
Your Wine version is old, and wineasio is not supported here. Please retest in the current development release of plain Wine.
https://bugs.winehq.org/show_bug.cgi?id=37243
--- Comment #2 from Rosanne DiMesio dimesio@earthlink.net --- I downloaded the app, and can't reproduce this in vanilla 1.7.26, clean 32 bit wineprefix.
https://bugs.winehq.org/show_bug.cgi?id=37243
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download URL| |http://www.scuffhamamps.com | |/download/s-gear
https://bugs.winehq.org/show_bug.cgi?id=37243
--- Comment #3 from Juhani Kellosalo steamefla@gmail.com --- Created attachment 49535 --> https://bugs.winehq.org/attachment.cgi?id=49535 log
Is wine 1.6.2 old? It is the latest stable version and default in Ubuntu 14.04. For audio purposes default is often the best.
I'm sorry that the log file did not come through, as a beginner I may have missed something.
Some kind of input/output interface (like wineasio) is necessary for audio programs, without it they don't work at all.
Anyway, I tried with plain wine 1.7.25. I did not want to break an otherwise functioning system, so I used another machine, OS Linux Mint Qiana 64-bit, mobo Asus PQ5 Deluxe, memory 4 G.
I hope log comes this time.
JK
https://bugs.winehq.org/show_bug.cgi?id=37243
Rosanne DiMesio dimesio@earthlink.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Summary|Scuffham S-Gear crashes on |Scuffham S-Gear (64 bit) |startup |crashes on startup Ever confirmed|0 |1
--- Comment #4 from Rosanne DiMesio dimesio@earthlink.net --- Bugs need to be filed against the latest development release.
I can confirm that the 64 bit version of the app crashes on start in 1.7.26.
https://bugs.winehq.org/show_bug.cgi?id=37243
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |win64 CC| |focht@gmx.net Component|-unknown |kernel32 Summary|Scuffham S-Gear (64 bit) |64-bit Scuffham S-Gear v2.4 |crashes on startup |crashes on startup (needs | |'K32EnumDeviceDrivers' | |implementation/semi-stub)
--- Comment #5 from Anastasius Focht focht@gmx.net --- Hello folks,
confirming.
The app tries to enumerate all device drivers in the system (part of 64-bit FlexNet licensing scheme).
--- snip --- $ pwd /home/focht/wine64/drive_c/Program Files/Scuffham Amps/S-Gear2
$ WINEDEBUG=+tid,+seh,+relay wine ./S-Gear2.exe >>log.txt 2>&1 ... 0025:Call KERNEL32.LoadLibraryA(0023e900 "C:\Program Files\Scuffham Amps\S-Gear2\S-Gear2_ActLOC.dll") ret=01c5eb33 0025:Ret PE DLL (proc=0x1c702f0,module=0x18b0000 L"S-Gear2_Act.dll",reason=PROCESS_ATTACH,res=(nil)) retval=1 0025:Ret KERNEL32.LoadLibraryA() retval=018b0000 ret=180129a2b 0025:Call KERNEL32.GetProcAddress(018b0000,00000002) ret=180129a61 0025:Ret KERNEL32.GetProcAddress() retval=01cbca40 ret=180129a61 0025:Call advapi32.OpenSCManagerA(00000000,00000000,00000001) ret=01cbcaa5 ... 0025:Ret advapi32.OpenSCManagerA() retval=0007b810 ret=01cbcaa5 0025:Call advapi32.OpenServiceA(0007b810,0202f2e4 "FlexNet Licensing Service 64",00000014) ret=01cbcac1 ... 0025:Ret advapi32.OpenServiceA() retval=0007b8a0 ret=01cbcac1 ... 0025:Call KERNEL32.K32EnumDeviceDrivers(00000000,00000000,0023f010) ret=01cb8bf0 0025:fixme:file:K32EnumDeviceDrivers ((nil), 0, 0x23f010): stub 0025:Ret KERNEL32.K32EnumDeviceDrivers() retval=00000001 ret=01cb8bf0 0025:Call ntdll.RtlAllocateHeap(02100000,00000000,00000050) ret=01c6e5f7 0025:Ret ntdll.RtlAllocateHeap() retval=021078b0 ret=01c6e5f7 0025:Call KERNEL32.K32EnumDeviceDrivers(021078b0,00000000,0023f010) ret=01cb8c48 0025:fixme:file:K32EnumDeviceDrivers (0x21078b0, 0, 0x23f010): stub 0025:Ret KERNEL32.K32EnumDeviceDrivers() retval=00000001 ret=01cb8c48 ... 0025:Call KERNEL32.IsDebuggerPresent() ret=01cb4b32 0025:Ret KERNEL32.IsDebuggerPresent() retval=00000000 ret=01cb4b32 0025:trace:seh:raise_exception code=80000003 flags=0 addr=0x1cb4bbd ip=1cb4bbd tid=0025 0025:trace:seh:raise_exception rax=000000007a2ac720 rbx=00000000cc4f4e80 rcx=000000000023f1b0 rdx=000000000023f280 0025:trace:seh:raise_exception rsi=000000000023f280 rdi=000000000023f1b0 rbp=0000000001e6b098 rsp=000000000023ed90 0025:trace:seh:raise_exception r8=00000000ffffffff r9=00000000b3161b82 r10=0000000001e6b0a8 r11=000000003b4fba5d 0025:trace:seh:raise_exception r12=00000001803c9e7c r13=0000000000000000 r14=00000001803b5390 r15=0000000000019bb8 ... Unhandled exception: page fault in 64-bit code (0x0000000001cb8248). fixme:dbghelp:interpret_function_table_entry PUSH_MACHFRAME 6 fixme:dbghelp:interpret_function_table_entry PUSH_MACHFRAME 6 Register dump: rip:0000000001cb8248 rsp:000000000023ed90 rbp:000000000138feaf eflags:00010206 ( R- -- I - -P- ) rax:00000000020ba1dc rbx:00000000f9c1100b rcx:000000000023e4c0 rdx:00000000af5b4d9c rsi:000000000023ede0 rdi:0000000000000002 r8:000000000c1084dd r9:00000000b3161b82 r10:0000000001e6b0a8 r11:0000000033b0b17e r12:000000000023e4b0 r13:0000000000000000 r14:00000001803b5390 r15:0000000000019bb8 ... Backtrace: =>0 0x0000000001cb8248 in s-gear2_act (+0x408248) (0x000000000138feaf) 1 0x0000000001cbbb40 in s-gear2_act (+0x40bb3f) (0x0000000001e6b098) 2 0x0000000001cbbe9f in s-gear2_act (+0x40be9e) (0x0000000001e6b098) 3 0x0000000001cbc1b4 in s-gear2_act (+0x40c1b3) (0x0000000001e6b098) 4 0x0000000001cbc4c4 in s-gear2_act (+0x40c4c3) (0x0000000001e6b098) 5 0x0000000001cbc7b0 in s-gear2_act (+0x40c7af) (0x0000000001e6b098) 6 0x0000000001cbc984 in s-gear2_act (+0x40c983) (0x0000000001e6b098) 7 0x0000000001cbcb1b in s-gear2_act (+0x40cb1a) (0x0000000000000032) 8 0x0000000180129a7f in s-gear2_x64 (+0x129a7e) (0x0000000000000032) 9 0x00000001802fcaa4 in s-gear2_x64 (+0x2fcaa3) (0x0000000000000032) 10 0x000000018017c7d4 in s-gear2_x64 (+0x17c7d3) (0x0000000000000032) 11 0x000000018017cef8 in s-gear2_x64 (+0x17cef7) (0x0000000000000032) 12 0x000000018000a44c in s-gear2_x64 (+0xa44b) (0x0000000000000032) 13 0x00000001801381e8 in s-gear2_x64 (+0x1381e7) (0x0000000000000032) 0x0000000001cb8248: calll *(%rax) Modules: Module Address Debug info Name (144 modules) PE 1740000- 17a0000 Deferred fnpcommssoap PE 18b0000- 20fe000 Export s-gear2_act ELF 7b800000- 7bc87000 Deferred kernel32<elf> -PE 7b820000- 7bc87000 \ kernel32 ELF 7be00000- 7c103000 Deferred <wine-loader> PE 140000000- 140018000 Deferred s-gear2 PE 180000000- 185250000 Export s-gear2_x64 ELF 301c400000- 301c616000 Deferred libgcc_s.so.1 ... Threads: process tid prio (all id:s are in hex) ... 00000024 (D) C:\Program Files\Scuffham Amps\S-Gear2\S-Gear2.exe 00000029 0 00000026 0 00000025 0 <== --- snip ---
Because of the stub, it throws an assert which causes another fault.
With a 'K32EnumDeviceDrivers' semi-stub, returning actual data, it goes a bit further - only to run into next problem: 'K32GetDeviceDriverBaseNameA' stub.
--- snip --- ... fixme:file:K32EnumDeviceDrivers ((nil), 0, 0x23f010): semi-stub fixme:file:K32EnumDeviceDrivers (0x211e030, 80, 0x23f010): semi-stub fixme:file:K32GetDeviceDriverBaseNameA ((nil), 0x23ee80, 256): stub fixme:file:K32GetDeviceDriverBaseNameA ((nil), 0x23ee80, 256): stub --- snip ---
$ sha1sum S-GearSetupv2_42.exe bfbcdc705c559d3c869cc84d30a65a11cc1875e6 S-GearSetupv2_42.exe
$ du -sh S-GearSetupv2_42.exe 313M S-GearSetupv2_42.exe
$ wine --version wine-1.7.26-21-g45c1d7c
Regards
https://bugs.winehq.org/show_bug.cgi?id=37243
--- Comment #6 from Anastasius Focht focht@gmx.net --- Hello folks,
revisiting, obviously still present.
Source: http://source.winehq.org/git/wine.git/blob/HEAD:/dlls/kernel32/file.c#l2833
--- snip --- 2833 BOOL WINAPI K32EnumDeviceDrivers(void **image_base, DWORD cb, DWORD *needed) 2834 { 2835 FIXME("(%p, %d, %p): stub\n", image_base, cb, needed); 2836 2837 if (needed) 2838 *needed = 0; 2839 2840 return TRUE; 2841 } --- snip ---
Regards