https://bugs.winehq.org/show_bug.cgi?id=46732
Bug ID: 46732 Summary: BleachBit-2.0 crashes at startup Product: Wine Version: 4.2 Hardware: x86 URL: https://download.bleachbit.org/BleachBit-2.0-setup.exe OS: Linux Status: NEW Keywords: download Severity: normal Priority: P2 Component: ole32 Assignee: wine-bugs@winehq.org Reporter: xerox.xerox2000x@gmail.com Distribution: Debian
A user reported garbage test result for this app.
It throws up a messagebox that an error occurred and exits No consoleoutput really, in the log from the program (BleachBit.exe.log) it says
Traceback (most recent call last): File "bleachbit.py", line 44, in <module> File "bleachbit__init__.pyo", line 344, in <module> File "bleachbit\Windows.pyo", line 63, in <module> File "win32com__init__.pyo", line 6, in <module> File "pythoncom.pyo", line 3, in <module> File "pywintypes.pyo", line 123, in __import_pywin32_system_module__ ImportError: DLL load failed: DLL initialization failed.
From +relay-log
0009:Call KERNEL32.GetProcAddress(7e170000,0318b461 "StringFromGUID2") ret=0319174e 0009:Ret KERNEL32.GetProcAddress() retval=7e17de80 ret=0319174e 0009:Call KERNEL32.GetProcAddress(7e170000,0318b472 "CoDisableCallCancellation") ret=0319174e 0009:Ret KERNEL32.GetProcAddress() retval=00000000 ret=0319174e 0009:Ret PE DLL (proc=0x31915e0,module=0x3120000 L"pythoncom27.dll",reason=PROCESS_ATTACH,res=(nil)) retval=0 0009:Call PE DLL (proc=0x31915e0,module=0x3120000 L"pythoncom27.dll",reason=PROCESS_DETACH,res=(nil)) 0009:trace:seh:raise_exception code=c0000005 flags=0 addr=0x31568a9 ip=031568a9 tid=
Turns out adding the stub entry only (#stub CoDisableCallCancellation in ole32.spec) is enough to work around this (and also for CoEnableCallCancellation which it next runs into). The functions don`t seem to be called/used when I start and use the program.
I`ll send a patch with the stub functions though as they might now be called too by other programs i guess
sha1sum ~/Downloads/BleachBit-2.0-setup.exe ec533b997c43a71c374d94f12f8fbd575d12adf2 /home/louis/Downloads/BleachBit-2.0-setup.exe
https://bugs.winehq.org/show_bug.cgi?id=46732
--- Comment #1 from Louis Lenders xerox.xerox2000x@gmail.com --- patches sent https://www.winehq.org/pipermail/wine-devel/2019-February/140343.html https://www.winehq.org/pipermail/wine-devel/2019-February/140344.html
https://bugs.winehq.org/show_bug.cgi?id=46732
--- Comment #2 from Nikolay Sivov bunglehead@gmail.com --- Patches committed as 8ab8030029ee5640b34d38a2d31bd1d4bf4ca21d and 3f508e6edb640ed219e99b8ec4c8d9a5b4b8fe99. Should we close this?
https://bugs.winehq.org/show_bug.cgi?id=46732
Louis Lenders xerox.xerox2000x@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Fixed by SHA1| |8ab8030029ee5640b34d38a2d31 | |bd1d4bf4ca21d Status|NEW |RESOLVED
--- Comment #3 from Louis Lenders xerox.xerox2000x@gmail.com --- (In reply to Nikolay Sivov from comment #2)
Patches committed as 8ab8030029ee5640b34d38a2d31bd1d4bf4ca21d and 3f508e6edb640ed219e99b8ec4c8d9a5b4b8fe99. Should we close this?
Yes, the program starts fine in current now. Thanks Huw for polishing up the patches
https://bugs.winehq.org/show_bug.cgi?id=46732
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #4 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 4.3.