WineHQ
Bug Tracking Database – Bug 51998

 Bugzilla

 

Last modified: 2024-12-13 21:36:50 UTC  

Unable to start CloneCD

Bug 51998 - Unable to start CloneCD
Unable to start CloneCD
Status: CLOSED FIXED
AppDB: Show Apps affected by this bug
Product: Wine
Classification: Unclassified
Component: -unknown
6.18
x86-64 Linux
: P2 normal
: ---
Assigned To: Mr. Bugs
https://clonecd.en.softonic.com/download
: download, regression
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2021-11-07 14:54 UTC by Håkon
Modified: 2024-12-13 21:36 UTC (History)
2 users (show)

See Also:
Regression SHA1: 53ffeb67eeee09a53c07ca3ec82db3cad9339359
Fixed by SHA1: a581f11e3e536fbef1865f701c0db2444673d096
Distribution: ---
Staged patchset:


Attachments
Debug log (92.98 KB, text/plain)
2021-11-07 14:54 UTC, Håkon
Details
debugging.txt (13.49 KB, text/plain)
2021-12-08 04:36 UTC, Bernhard Übelacker
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Håkon 2021-11-07 14:54:19 UTC
Unable to start CloneCD due to ElbyCDIO failing to load
Comment 1 Håkon 2021-11-07 14:54:43 UTC
Created attachment 70990 [details]
Debug log
Comment 2 Louis Lenders 2021-11-09 16:02:30 UTC
Confirming.

>Unable to start CloneCD due to ElbyCDIO failing to load

yip

sha1sum SetupCloneCD5340.exe 
2215b2eb68c13b0e22f2d382643cb7d9419ea66e  SetupCloneCD5340.exe
Comment 3 Bernhard Übelacker 2021-12-08 04:36:40 UTC
Created attachment 71241 [details]
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/53ffeb67eeee09a53c07ca3ec82db3cad9339359
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.
Comment 4 Bernhard Übelacker 2023-10-18 10:41:07 UTC
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}.
Comment 5 Bernhard Übelacker 2024-01-31 15:43:22 UTC
Marking as regression, since here following line is visible:
err:ntoskrnl:ZwLoadDriver failed to create driver ...\\ElbyCDIO": c0000142
Comment 6 Bernhard Übelacker 2024-02-02 16:49:37 UTC
Submitted merge request:
https://gitlab.winehq.org/wine/wine/-/merge_requests/5009
Comment 7 Alexandre Julliard 2024-12-12 08:07:01 UTC
Fixed by a581f11e3e536fbef1865f701c0db2444673d096.
Comment 8 Alexandre Julliard 2024-12-13 21:36:50 UTC
Closing bugs fixed in 10.0-rc2.


Privacy Policy
If you have a privacy inquiry regarding this site, please write to [email protected]

Hosted By CodeWeavers