https://bugs.winehq.org/show_bug.cgi?id=53022
Bug ID: 53022 Summary: Fatal error detected Product: Wine Version: 7.7 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: msvcp Assignee: wine-bugs@winehq.org Reporter: naworldw@gmail.com Distribution: ---
This is my first time writing here. There is a program that I usually use. https://github.com/KurtBestor/Hitomi-Downloader Originally, I ran the program after running the Windows virtual environment in Ubuntu, but I was always worried about the large resource consumption, so I ran it with wine this time. However, it did not run with the error "msvcp140.dll could not be extracted from open permission denied". The terminal reads "wineserver: using server-side synchronization. 002c:err:wineboot:process_run_key Error running cmd L"C:\windows\system32\winemenubuilder.exe -r" (2). MESA-INTEL: warning: Performance support disabled, consider sysctl dev.i915.perf_stream_paranoid=0
wine: could not open working directory L"unix\home\timi\", starting in the Windows directory. wine: could not open working directory L"unix\home\timi\", starting in the Windows directory.
" It's displayed like this way. Would you mind helping me?
https://bugs.winehq.org/show_bug.cgi?id=53022
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, source Ever confirmed|0 |1 CC| |dark.shadow4@web.de Status|UNCONFIRMED |NEW URL| |https://github.com/KurtBest | |or/Hitomi-Downloader/releas | |es/tag/v3.7k Summary|Fatal error detected |Hitomi downloader fails to | |start with "Failed to | |create temporary directory" Component|msvcp |-unknown
--- Comment #1 from Fabian Maurer dark.shadow4@web.de ---
I ran the program after running the Windows virtual environment in Ubuntu
Not sure what this means, a VM?
Not sure this is the right place for this question, this sounds like support which the forums are for. Anyways, how did you run wine?
I just get "INTERNAL ERROR: Cannot create temporary directory." Which is a bug indeed. Nothing about msvcp140.dll though. Is there more to this for you?
https://bugs.winehq.org/show_bug.cgi?id=53022
--- Comment #2 from realbug naworldw@gmail.com --- This means that the program was normally run after installing Windows in virtualbox from Ubuntu This has nothing to do with wine. And I checked that the error "INTERNAL ERROR: Cannot create temporary directory." comes from the winehq 7.0 version. And the error "msvcp140.dll could not be extracted from open permission denied" is an error from version 7.7 and 7.8.
https://bugs.winehq.org/show_bug.cgi?id=53022
--- Comment #3 from realbug naworldw@gmail.com --- (In reply to Fabian Maurer from comment #1)
I ran the program after running the Windows virtual environment in Ubuntu
Not sure what this means, a VM?
Not sure this is the right place for this question, this sounds like support which the forums are for. Anyways, how did you run wine?
I just get "INTERNAL ERROR: Cannot create temporary directory." Which is a bug indeed. Nothing about msvcp140.dll though. Is there more to this for you?
And I checked that the error "INTERNAL ERROR: Cannot create temporary directory." comes from the version of winehq-stable 7.0. And the error "msvcp140.dll could not be extracted from open permission denied" is from version 7.7 and 7.8 of the winhq-staging program.
https://bugs.winehq.org/show_bug.cgi?id=53022
--- Comment #4 from Fabian Maurer dark.shadow4@web.de --- I see, so there is a different issue when wine-staging is used. That's two different issue, might be related though.
https://bugs.winehq.org/show_bug.cgi?id=53022
--- Comment #5 from Fabian Maurer dark.shadow4@web.de --- The program passes some security attributes to CreateDirectoryW that result in those folders being inaccessible, not sure why though. Patching CreateDirectoryW to make it ignore those attributes, makes the program progress further.
https://bugs.winehq.org/show_bug.cgi?id=53022
Louis Lenders xerox.xerox2000x@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |xerox.xerox2000x@gmail.com
--- Comment #6 from Louis Lenders xerox.xerox2000x@gmail.com --- (In reply to Fabian Maurer from comment #5)
The program passes some security attributes to CreateDirectoryW that result in those folders being inaccessible, not sure why though. Patching CreateDirectoryW to make it ignore those attributes, makes the program progress further.
Probably a duplicate of https://bugs.winehq.org/show_bug.cgi?id=49334 ?
https://bugs.winehq.org/show_bug.cgi?id=53022
--- Comment #7 from realbug naworldw@gmail.com --- Isn't there a way at the moment?
https://bugs.winehq.org/show_bug.cgi?id=53022
--- Comment #8 from realbug naworldw@gmail.com --- The program producer built a test version, but a new error is generated. https://github.com/KurtBestor/Hitomi-Downloader/releases/tag/Technical-Previ... Traceback (most recent call last): File "hitomi_downloader_GUI.py", line 158, in <module> File "PyInstaller\loader\pyimod03_importers.py", line 495, in exec_module File "Qt.py", line 11, in <module> File "PyInstaller\loader\pyimod03_importers.py", line 495, in exec_module File "PyQt\QtWebEngineCore.py", line 1, in <module> ImportError: DLL load failed: dll initialization failed.
https://bugs.winehq.org/show_bug.cgi?id=53022
--- Comment #9 from Louis Lenders xerox.xerox2000x@gmail.com --- Looks like it cannot load QtWebEngineCore.
GRRRRR, Spent 20 minutes to scroll through debuglog and then found this:
0108:Ret KERNEL32.GetProcAddress() retval=7b60a5bc ret=0b3b8e2a 0108:Call KERNEL32.GetProcAddress(7b600000,0b3584ae "K32GetModuleInformation") ret=0b3b8e2a 0108:Ret KERNEL32.GetProcAddress() retval=7b6077dc ret=0b3b8e2a 0108:Call KERNEL32.GetProcAddress(7b600000,0b3584c7 "HeapCreate") ret=0b3b8e2a 0108:Ret KERNEL32.GetProcAddress() retval=7b606f78 ret=0b3b8e2a 0108:Call KERNEL32.GetProcAddress(7b600000,0b3584d3 "RaiseFailFastException") ret=0b3b8e2a 0108:Ret KERNEL32.GetProcAddress() retval=00000000 ret=0b3b8e2a 0108:Ret PE DLL (proc=000000000B3B8330,module=0000000005700000 L"Qt5WebEngineCore.dll",reason=PROCESS_ATTACH,res=0000000000000000) retval=0 0108:Call TLS callback (proc=000000000B3B8F15,module=0000000005700000,reason=PROCESS_DETACH,reserved=0) 0108:Ret TLS callback (proc=000000000B3B8F15,module=0000000005700000,reason=PROCESS_DETACH,reserved=0) 0108:Call PE DLL (proc=000000000B3B8330,module=0000000005700000 L"Qt5WebEngineCore.dll",reason=PROCESS_DETACH,res=0000000000000000) 0108:Ret PE DLL (proc=000000000B3B8330,module=0000000005700000 L"Qt5WebEngineCore.dll",reason=PROCESS_DETACH,res=0000000000000000) retval=0 0108:warn:module:process_attach Initialization of L"Qt5WebEngineCore.dll" failed 0108:trace:module:process_attach (L"Qt5WebEngineCore.dll",0000000000000000) - END 0108:trace:module:process_attach (L"QtWebEngineCore.pyd",0000000000000000) - END 0108:trace:module:LdrUnloadDll (00000000056E0000) 0108:trace:module:LdrUnloadDll (L"QtWebEngineCore.pyd") - START 0108:trace:module:MODULE_DecRefCount (L"QtWebEngineCore.pyd") ldr.LoadCount: 0 0108:trace:module:MODULE_DecRefCount (L"Qt5WebEngineCore.dll") ldr.LoadCount: 0
Just exporting RaiseFailFastException makes the application start. Really time for to add a stub for this one, would have saved some time...
https://bugs.winehq.org/show_bug.cgi?id=53022
--- Comment #10 from Louis Lenders xerox.xerox2000x@gmail.com --- In case you wanna try, here`s the fix:
diff --git a/dlls/kernel32/kernel32.spec b/dlls/kernel32/kernel32.spec index cbba3abdba0..c50fcca2b4a 100644 --- a/dlls/kernel32/kernel32.spec +++ b/dlls/kernel32/kernel32.spec @@ -1197,7 +1197,7 @@ @ stdcall -import QueueUserAPC(ptr long long) @ stdcall -import QueueUserWorkItem(ptr ptr long) @ stdcall -import RaiseException(long long long ptr) -# @ stub RaiseFailFastException +@ stub RaiseFailFastException @ stdcall -import ReadConsoleA(long ptr long ptr ptr) @ stdcall -import ReadConsoleInputA(long ptr long ptr) @ stub ReadConsoleInputExA
https://bugs.winehq.org/show_bug.cgi?id=53022
--- Comment #11 from realbug naworldw@gmail.com --- (In reply to Louis Lenders from comment #10)
In case you wanna try, here`s the fix:
diff --git a/dlls/kernel32/kernel32.spec b/dlls/kernel32/kernel32.spec index cbba3abdba0..c50fcca2b4a 100644 --- a/dlls/kernel32/kernel32.spec +++ b/dlls/kernel32/kernel32.spec @@ -1197,7 +1197,7 @@ @ stdcall -import QueueUserAPC(ptr long long) @ stdcall -import QueueUserWorkItem(ptr ptr long) @ stdcall -import RaiseException(long long long ptr) -# @ stub RaiseFailFastException +@ stub RaiseFailFastException @ stdcall -import ReadConsoleA(long ptr long ptr ptr) @ stdcall -import ReadConsoleInputA(long ptr long ptr) @ stub ReadConsoleInputExA
Sorry, I didn't understand. Where should I modify it?
https://bugs.winehq.org/show_bug.cgi?id=53022
Louis Lenders xerox.xerox2000x@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|https://github.com/KurtBest |https://github.com/KurtBest |or/Hitomi-Downloader/releas |or/Hitomi-Downloader/releas |es/tag/v3.7k |es/tag/Technical-Preview
--- Comment #12 from Louis Lenders xerox.xerox2000x@gmail.com --- I`ve changed the downloadlink
For the program from old downloadlink:
It is really the same as https://bugs.winehq.org/show_bug.cgi?id=49334
(I quickly checked (Not recommended!!) by hack: replacing the string S-1-3-4 with S-1-0-0 in the executable:
sed 's/\x53\x00\x2D\x00\x31\x00\x2D\x00\x33\x00\x2D\x00\x34\x00/\x53\x00\x2D\x00\x31\x00\x2D\x00\x31\x00\x2D\x00\x30\x00/g' hitomi_downloader_GUI.exe >hacked_hitomi.exe
It then runs into this very same bug)
https://bugs.winehq.org/show_bug.cgi?id=53022
--- Comment #13 from Louis Lenders xerox.xerox2000x@gmail.com ---
Sorry, I didn't understand. Where should I modify it?
Hi, it is a patch, but to apply it you have to compile wine yourself.
https://bugs.winehq.org/show_bug.cgi?id=53022
--- Comment #14 from realbug naworldw@gmail.com --- (In reply to Louis Lenders from comment #13)
죄송합니다, 이해하지 못했습니다. 어디서 수정해야 하나요?
안녕하세요 패치지만 적용하려면 와인을 직접 컴파일해야 합니다.
The direct compilation is too much, so I think I will wait until it is officially revised.
https://bugs.winehq.org/show_bug.cgi?id=53022
Louis Lenders xerox.xerox2000x@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |509877743efab802a9d84c8a2b0 | |5fdadeb122869 Resolution|--- |FIXED Summary|Hitomi downloader fails to |Hitomi downloader |start with "Failed to |(Technical Preview) crashes |create temporary directory" |at start Status|NEW |RESOLVED
--- Comment #15 from Louis Lenders xerox.xerox2000x@gmail.com --- This is fixed by 509877743efab802a9d84c8a2b05fdadeb122869
Thanks Brendan
https://bugs.winehq.org/show_bug.cgi?id=53022
--- Comment #16 from realbug naworldw@gmail.com --- (In reply to Louis Lenders from comment #15)
This is fixed by 509877743efab802a9d84c8a2b05fdadeb122869
Thanks Brendan
Where should I download the bug-free version?
https://bugs.winehq.org/show_bug.cgi?id=53022
--- Comment #17 from Louis Lenders xerox.xerox2000x@gmail.com --- (In reply to realbug from comment #16)
(In reply to Louis Lenders from comment #15)
This is fixed by 509877743efab802a9d84c8a2b05fdadeb122869
Thanks Brendan
Where should I download the bug-free version?
You cannot download yet, wine-7-10 only comes out in about 2 weeks. AFAIK wine has not "nightly builds"...
https://bugs.winehq.org/show_bug.cgi?id=53022
--- Comment #18 from realbug naworldw@gmail.com --- (In reply to Louis Lenders from comment #17)
( 댓글 #16 의 realbug에 대한 답변으로 )
( 댓글 #15 의 Louis Lenders에 대한 답변으로 )
이것은 509877743efab802a9d84c8a2b05fdadeb122869에 의해 수정되었습니다.
감사합니다 브렌든
버그가 없는 버전은 어디에서 다운로드해야 합니까?
아직 다운로드할 수 없으며, wine-7-10은 약 2주 후에만 나옵니다. AFAIK 와인에는 "야간 빌드"가 없습니다 ...
Thank you very much for your answer. I hope there is no problem with the new version.
https://bugs.winehq.org/show_bug.cgi?id=53022
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #19 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 7.10.