https://bugs.winehq.org/show_bug.cgi?id=35755
Bug ID: 35755 Summary: UltraISO 'ISODrive.sys' needs ntoskrnl.exe.ExfInterlockedRemoveHeadList Product: Wine Version: 1.7.14 Hardware: x86 OS: Linux Status: NEW Severity: normal Priority: P2 Component: ntoskrnl Assignee: wine-bugs@winehq.org Reporter: focht@gmx.net
Hello folks,
as the summary says ...
(also mentioned in bug 32657)
--- snip --- $ wine ultraiso.exe fixme:ntoskrnl:KeInitializeSpinLock stub: 0x117390 fixme:ntoskrnl:KeInitializeEvent stub: 0x117394 1 0 fixme:ntoskrnl:ObReferenceObjectByHandle stub: 0x20 1f03ff (nil) 0 0x1173a4 (nil) fixme:ntoskrnl:KeSetEvent (0x117394, 0, 0): stub fixme:ntoskrnl:KeWaitForSingleObject stub: 0x117394, 0, 0, 0, (nil) fixme:ntoskrnl:PsTerminateSystemThread stub: 0 wine: Call from 0x7b83ab23 to unimplemented function ntoskrnl.exe.ExfInterlockedRemoveHeadList, aborting wine: Unimplemented function ntoskrnl.exe.ExfInterlockedRemoveHeadList called at address 0x7b83ab23 (thread 0014), starting debugger... --- snip ---
$ wine --version wine-1.7.14
Regards
https://bugs.winehq.org/show_bug.cgi?id=35755
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download URL| |http://www.ezbsystems.com/u | |ltraiso/download.htm Summary|UltraISO 'ISODrive.sys' |UltraISO 'ISODrive.sys' |needs |crashes on unimplemented |ntoskrnl.exe.ExfInterlocked |function |RemoveHeadList |ntoskrnl.exe.ExfInterlocked | |RemoveHeadList
https://bugs.winehq.org/show_bug.cgi?id=35755
--- Comment #1 from Austin English austinenglish@gmail.com --- It doesn't crash here, is there a step I need to run first?
https://bugs.winehq.org/show_bug.cgi?id=35755
--- Comment #2 from Austin English austinenglish@gmail.com --- Created attachment 47817 --> https://bugs.winehq.org/attachment.cgi?id=47817 stub
Stub.
Can't test, let me know if that's enough please.
https://bugs.winehq.org/show_bug.cgi?id=35755
--- Comment #3 from Anastasius Focht focht@gmx.net --- Hello Austin,
--- quote --- It doesn't crash here, is there a step I need to run first? --- quote ---
in installer wizard 'Select Additional Tasks' property page keep 'Setup ISO CD/DVD emulator (ISODrive)' option ticked. This installs the 'ISODrive' kernel driver/service which immediately crashes in post-install action.
Two stubs: ExInterlockedRemoveHeadList + ExfInterlockedRemoveHeadList
The driver imports the fastcall version of the entrypoint (two args -> DEFINE_FASTCALL2_ENTRYPOINT).
Have a look at IoCallDriver()/IofCallDriver() pair how it's done.
Regards
https://bugs.winehq.org/show_bug.cgi?id=35755
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #47817|0 |1 is obsolete| | CC| |austinenglish@gmail.com
--- Comment #4 from Austin English austinenglish@gmail.com --- Created attachment 47822 --> https://bugs.winehq.org/attachment.cgi?id=47822 try 2
It crashes here without even calling the stub.
Fedora 19 x64, gcc-4.8.2, wine32 (not wow64) wine-1.7.14-165-g77bd74f
https://bugs.winehq.org/show_bug.cgi?id=35755
--- Comment #5 from Austin English austinenglish@gmail.com --- Created attachment 47823 --> https://bugs.winehq.org/attachment.cgi?id=47823 relay,seh,tid of installer
https://bugs.winehq.org/show_bug.cgi?id=35755
--- Comment #6 from Anastasius Focht focht@gmx.net --- Hello Austin,
you probably captured the trace log with a bootstrapped prefix environment, that is wineserver and service control manager already running in background. Output/traces from processes not created by the installer process and childs won't be seen in log by design (services).
--- snip --- ... 003e:Call KERNEL32.CreateProcessA(00000000,005b00a4 ""C:\Program Files\UltraISO\drivers\isocmd.exe" -i",00000000,00000000,00000000,04000000,00000000,0059a730 "C:\Program Files\UltraISO\drivers",0033f820,0033f810) ret=00452841 ... 001b:Call KERNEL32.__wine_kernel_init() ret=7bc58643 003e:Ret KERNEL32.CreateProcessA() retval=00000001 ret=00452841 ... 001b:Call advapi32.CreateServiceA(0011a3b8,0100152c "ISODrive",0100117c "ISO DVD/CD-ROM Device Driver",000f01ff,00000002,00000001,00000000,0033fbdc "C:\Program Files\UltraISO\drivers\ISODrive.sys",00000000,00000000,00000000,00000000,00000000) ret=01001928 ... 001b:Ret advapi32.CloseServiceHandle() retval=00000001 ret=0100195b 001b:Call KERNEL32.CreateFileA(01001268 "\\.\IsoCdRom",c0000000,00000003,00000000,00000003,00000000,00000000) ret=01001c22 001b:Ret KERNEL32.CreateFileA() retval=ffffffff ret=01001c22 001b:Call KERNEL32.GetLastError() ret=010018b7 001b:Ret KERNEL32.GetLastError() retval=00000002 ret=010018b7 ... 001b:Call advapi32.RegCreateKeyExA(80000002,01001298 "SYSTEM\CurrentControlSet\Services\ISODrive\Parameters",00000000,00000000,00000000,000f003f,00000000,0033fa70,0033fa6c) ret=01001f21 001b:Ret advapi32.RegCreateKeyExA() retval=00000000 ret=01001f21 001b:Call advapi32.RegSetValueExA(00000030,010012d0 "ExcludeDrives",00000000,00000001,0033fb8c,00000004) ret=01001f4f 001b:Ret advapi32.RegSetValueExA() retval=00000000 ret=01001f4f 001b:Call advapi32.RegCloseKey(00000030) ret=01001f5f 001b:Ret advapi32.RegCloseKey() retval=00000000 ret=01001f5f 001b:Call advapi32.OpenServiceA(0011a3b8,0100152c "ISODrive",00000010) ret=010019de ... 001b:Ret advapi32.OpenServiceA() retval=0011a368 ret=010019de 001b:Call advapi32.StartServiceA(0011a368,00000000,00000000) ret=010019fd ... 001b:Ret advapi32.StartServiceA() retval=00000000 ret=010019fd ... 001b:Ret advapi32.CloseServiceHandle() retval=00000001 ret=010020ff 001b:Call KERNEL32.CreateFileA(01001268 "\\.\IsoCdRom",c0000000,00000003,00000000,00000003,00000000,00000000) ret=01002889 001b:Ret KERNEL32.CreateFileA() retval=ffffffff ret=01002889 ... Drives found: CDZ Driver installed successfully. ... ISODriveStatus: >>>File not found. StartService failure! >>>Service request timeout. ISODriveClear: >>>File not found. ... --- snip ---
Regards
https://bugs.winehq.org/show_bug.cgi?id=35755
--- Comment #7 from Austin English austinenglish@gmail.com --- (In reply to Anastasius Focht from comment #6)
Hello Austin,
you probably captured the trace log with a bootstrapped prefix environment, that is wineserver and service control manager already running in background. Output/traces from processes not created by the installer process and childs won't be seen in log by design (services).
Woops, you're right. Here's a new one. It has try 2 applied, and the prefix was created by running notepad (then wineserver -k'ed) and +relay,seh,tid on the installer.
https://bugs.winehq.org/show_bug.cgi?id=35755
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #47823|0 |1 is obsolete| |
--- Comment #8 from Austin English austinenglish@gmail.com --- Created attachment 47832 --> https://bugs.winehq.org/attachment.cgi?id=47832 relay,seh,tid of installer (try 2)
https://bugs.winehq.org/show_bug.cgi?id=35755
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Depends on| |35824
--- Comment #9 from Anastasius Focht focht@gmx.net --- Hello Austin,
I've created bug 35755 for your issue.
Regards
https://bugs.winehq.org/show_bug.cgi?id=35755
Saulius K. saulius2@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |saulius2@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=35755
--- Comment #10 from Anastasius Focht focht@gmx.net --- Hello folks,
revisiting, still present.
Although today's commit http://source.winehq.org/git/wine.git/commitdiff/a2f864cac8c660b5aff997ab308... added the stdcall variant, the fastcall one is still missing (needed) here.
$ sha1sum uiso9_pe.exe c3100b54fb013e6aaa773047afd6d8430144ce96 uiso9_pe.exe
$ du -sh uiso9_pe.exe 4.2M uiso9_pe.exe
$ wine --version wine-1.7.35-89-gbad99c9
Regards
https://bugs.winehq.org/show_bug.cgi?id=35755
--- Comment #11 from Anastasius Focht focht@gmx.net --- to be found here: https://source.winehq.org/patches/data/108952 :-)
https://bugs.winehq.org/show_bug.cgi?id=35755
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |b39efd9ed73927e4e5538b0cb61 | |bec17d341358a Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #12 from Austin English austinenglish@gmail.com --- (In reply to Anastasius Focht from comment #11)
to be found here: https://source.winehq.org/patches/data/108952 :-)
https://source.winehq.org/git/wine.git/commitdiff/b39efd9ed73927e4e5538b0cb6...
https://bugs.winehq.org/show_bug.cgi?id=35755
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #13 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.7.36.
https://bugs.winehq.org/show_bug.cgi?id=35755 Bug 35755 depends on bug 35824, which changed state.
Bug 35824 Summary: UltraISO 'ISODrive.sys' crashes in entry point (SCM doesn't start SERVICE_FILE_SYSTEM_DRIVER type services with winedevice hosting process) https://bugs.winehq.org/show_bug.cgi?id=35824
What |Removed |Added ---------------------------------------------------------------------------- Status|STAGED |RESOLVED Resolution|--- |FIXED
https://bugs.winehq.org/show_bug.cgi?id=35755
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://www.ezbsystems.com/u |https://web.archive.org/web |ltraiso/download.htm |/20171030194345/https://dw. | |ezbsystems.com/uiso9_pe.exe
--- Comment #14 from Anastasius Focht focht@gmx.net --- Hello folks,
adding stable download link via Internet Archive for documentation.
https://web.archive.org/web/20171030194345/https://dw.ezbsystems.com/uiso9_p...
https://www.virustotal.com/gui/file/45dab081317e2350881f98487b96935a5020b946...
$ sha1sum uiso9_pe.exe a9160dfc520e499dada72d7cda13e87a54453314 uiso9_pe.exe
$ du -sh uiso9_pe.exe 4.3M uiso9_pe.exe
Regards