https://bugs.winehq.org/show_bug.cgi?id=51998
Bug ID: 51998 Summary: Unable to start CloneCD Product: Wine Version: 6.18 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: haakobja@gmail.com Distribution: ---
Unable to start CloneCD due to ElbyCDIO failing to load
https://bugs.winehq.org/show_bug.cgi?id=51998
--- Comment #1 from Håkon haakobja@gmail.com --- Created attachment 70990 --> https://bugs.winehq.org/attachment.cgi?id=70990 Debug log
https://bugs.winehq.org/show_bug.cgi?id=51998
Louis Lenders xerox.xerox2000x@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Keywords| |download Status|UNCONFIRMED |NEW CC| |xerox.xerox2000x@gmail.com URL| |https://clonecd.en.softonic | |.com/download
--- Comment #2 from Louis Lenders xerox.xerox2000x@gmail.com --- Confirming.
Unable to start CloneCD due to ElbyCDIO failing to load
yip
sha1sum SetupCloneCD5340.exe 2215b2eb68c13b0e22f2d382643cb7d9419ea66e SetupCloneCD5340.exe
https://bugs.winehq.org/show_bug.cgi?id=51998
Bernhard Übelacker bernhardu@mailbox.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |bernhardu@mailbox.org
--- Comment #3 from Bernhard Übelacker bernhardu@mailbox.org --- Created attachment 71241 --> https://bugs.winehq.org/attachment.cgi?id=71241 debugging.txt
The installer stores an relative path in the registry: "ImagePath"="System32\Drivers\ElbyCDIO.sys"
Then IoCreateDriver finally calls LoadLibraryExW with the flag LOAD_LIBRARY_SEARCH_DLL_LOAD_DIR, which makes get_dll_load_path_search_flags return STATUS_INVALID_PARAMETER.
The flags got changed in recent commit: https://source.winehq.org/git/wine.git/commitdiff/53ffeb67eeee09a53c07ca3ec8... Author: Alexandre Julliard julliard@winehq.org Date: Mon Mar 29 16:00:29 2021 +0200 winedevice: Add the drivers directory to the dll search path.
Have not checked if it works with a wine version before this commit.
But reverting the flags given to LoadLibraryExW to LOAD_WITH_ALTERED_SEARCH_PATH would make the driver loading succeed.
https://bugs.winehq.org/show_bug.cgi?id=51998
--- Comment #4 from Bernhard Übelacker bernhardu@mailbox.org --- Still visible with wine-8.18.
Another workaround is making the service entries "ImagePath" an absolute path by adding "c:\windows" at the begin in regedit below the keys HKLM\System\CurrentControlSet\Services{ElbyCDIO,ElbyCDFL}.
https://bugs.winehq.org/show_bug.cgi?id=51998
Bernhard Übelacker bernhardu@mailbox.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression Regression SHA1| |53ffeb67eeee09a53c07ca3ec82 | |db3cad9339359
--- Comment #5 from Bernhard Übelacker bernhardu@mailbox.org --- Marking as regression, since here following line is visible: err:ntoskrnl:ZwLoadDriver failed to create driver ...\ElbyCDIO": c0000142
https://bugs.winehq.org/show_bug.cgi?id=51998
--- Comment #6 from Bernhard Übelacker bernhardu@mailbox.org --- Submitted merge request: https://gitlab.winehq.org/wine/wine/-/merge_requests/5009
https://bugs.winehq.org/show_bug.cgi?id=51998
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED Fixed by SHA1| |a581f11e3e536fbef1865f701c0 | |db2444673d096
--- Comment #7 from Alexandre Julliard julliard@winehq.org --- Fixed by a581f11e3e536fbef1865f701c0db2444673d096.
https://bugs.winehq.org/show_bug.cgi?id=51998
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #8 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 10.0-rc2.