http://bugs.winehq.org/show_bug.cgi?id=12638
Summary: Photodex ProShowGold crashes on service startup Product: Wine Version: 0.9.53. Platform: Other URL: http://files.photodex.com/release/psgold_32_2047.exe OS/Version: other Status: NEW Keywords: download Severity: normal Priority: P2 Component: advapi32 AssignedTo: wine-bugs@winehq.org ReportedBy: dank@kegel.com
A user complained in http://winehq.org/pipermail/wine-users/2008-April/032496.html that ProShowGold crashed in current wine (contrary to the appdb). I checked, and it's true, it crashes on service startup (making wine awful painful to use in general) starting in wine-0.9.53 and on to current wine.
The crash is a null pointer read in the app's scsiaccess.exe (which is perhaps peeved at getting a null argc and argv?): Backtrace: =>1 0x0040116b ServiceStart+0x16b(dwArgc=0x0, lpszArgv=0x0, pSD=0x640a70, lpszPipeName=0x40e030, cbWritten=0x7ed125a8, szIn="...", szOut="???...", dwWait=0xb, os={Internal=0x110a30, InternalHigh=0xb, Offset=0x2, OffsetHigh=0x7ee6de60, hEvent=0x1}, hPipe=0xffffffff, hEvents={0x3c, 0x40, 0xc}, sa={nLength=0xc, lpSecurityDescriptor=0x640a70, bInheritHandle=0x1}, ndx=0x1, cbRead=0x1, bRet=0x7ed129a8) [ScsiAccess.c:158] in scsiaccess (0x7ed12998) 2 0x004015cd service_main+0x5b(dwArgc=0x0, lpszArgv=0x0) [service.c:152] in scsiaccess (0x7ed129a8) 3 0x7ee5b657 in advapi32 (+0x2b657) (0x7ed129f8)
Disabling the service doesn't really help much, the app hangs waiting for the service.
http://bugs.winehq.org/show_bug.cgi?id=12638
Paul Vriens Paul.Vriens.Wine@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |Paul.Vriens.Wine@gmail.com
--- Comment #1 from Paul Vriens Paul.Vriens.Wine@gmail.com 2008-05-19 03:34:16 --- The problem is indeed that we don't pass the proper args to service_handle_start. MSDN states that the first argument passed to the service entry point should be the service name.
The attached patch fixes the crash but I'm not sure it's a 100% correct.
The app started for me btw (even without the patch) although with a lot of graphical errors.
http://bugs.winehq.org/show_bug.cgi?id=12638
--- Comment #2 from Paul Vriens Paul.Vriens.Wine@gmail.com 2008-05-19 03:35:22 --- Created an attachment (id=13170) --> (http://bugs.winehq.org/attachment.cgi?id=13170) Patch to fix crash of the service
http://bugs.winehq.org/show_bug.cgi?id=12638
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch
http://bugs.winehq.org/show_bug.cgi?id=12638
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #3 from Austin English austinenglish@gmail.com 2008-12-26 16:16:41 --- Doesn't crash in git. Running scsiaccess.exe itself doesn't crash either.
http://bugs.winehq.org/show_bug.cgi?id=12638
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #4 from Alexandre Julliard julliard@winehq.org 2009-01-02 10:33:38 --- Closing bugs fixed in 1.1.12.