https://bugs.winehq.org/show_bug.cgi?id=57586
Bug ID: 57586 Summary: Unhandled Exception (page fault on read access) when installing Defraggler 2.21 Product: Wine Version: 10.0-rc3 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: kyle.kcsoftwares@gmail.com Distribution: ---
Created attachment 77695 --> https://bugs.winehq.org/attachment.cgi?id=77695 backtrace
Ubuntu / Wine 10.0-rc3 Defraggler 2.21 from : https://web.archive.org/web/20200503230319/http://download.piriform.com/dfse...
Installation fails with Unhandled exception: page fault on read access to 0x0034fffe in wow64 32-bit code (0x7bd53d31).
Backtrace: =>0 0x7bd53d31 block_get_type(block=<internal error>) [/usr/src/packages/BUILD/dlls/ntdll/heap.c:1379] in ntdll (0x025df2a0) 1 0x7bd53d31 unsafe_block_from_ptr+0x21(heap=<register EBX not accessible in this frame>, flags=<register EDX not accessible in this frame>, ptr=<register ECX not accessible in this frame>) [/usr/src/packages/BUILD/dlls/ntdll/heap.c:1377] in ntdll (0x025df2a0) 2 0x7bd1222b RtlFreeHeap+0x36(handle=00350000, flags=0, ptr=00350000) [/usr/src/packages/BUILD/dlls/ntdll/heap.c:2088] in ntdll (0x025df2e4) 3 0x7bd126b2 RtlFreeUnicodeString+0x32(str=025DF328) [/usr/src/packages/BUILD/dlls/ntdll/rtlstr.c:278] in ntdll (0x025df2fc) 4 0x7b65d4c9 RegLoadKeyW+0xf9(hkey=<is not available>, subkey=L"temp.key", filename=L"") [/usr/src/packages/BUILD/dlls/kernelbase/registry.c:2462] in kernelbase (0x025df36c) 5 0x1000130d in system (+0x130d) (0x025df390) 6 0x10002b00 in system (+0x2b00) (0x025df3c0) 7 0x004024b3 in dfsetup221 (+0x24b3) (0x025df790) 8 0x004013ba in dfsetup221 (+0x13ba) (0x025dfb60) 9 0x004013ba in dfsetup221 (+0x13ba) (0x025dff30) 10 0x004013ba in dfsetup221 (+0x13ba) (0x025dff68) 11 0x7bcfce83 in ntdll (+0xce83) (0x025dff80) 12 0x7bd30a55 in ntdll (+0x40a55) (0x025dffec)
https://bugs.winehq.org/show_bug.cgi?id=57586
KRosUser kyle.kcsoftwares@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Distribution|--- |Ubuntu
https://bugs.winehq.org/show_bug.cgi?id=57586
KRosUser kyle.kcsoftwares@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |https://web.archive.org/web | |/20200503230319/http://down | |load.piriform.com/dfsetup22 | |1.exe
https://bugs.winehq.org/show_bug.cgi?id=57586
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download
https://bugs.winehq.org/show_bug.cgi?id=57586
Eric Pouech eric.pouech@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |eric.pouech@gmail.com
--- Comment #1 from Eric Pouech eric.pouech@gmail.com --- Created attachment 77696 --> https://bugs.winehq.org/attachment.cgi?id=77696 patch
RegLoadKeyW+0xf9(hkey=<is not available>, subkey=L"temp.key", filename=L"")
first issue: Wine's RegLoadKey doesn't check if filename is actually a real filename, and frees internal buffer regardless of that status the attached patch solves this
second (potential) issue: can't tell if filename="" is genuine program behavior, or if something else happens
running with the attached patch should tell a bit more on second issue (if it fails, a WINEDEBUG=+reg,+file could help)
TIA
https://bugs.winehq.org/show_bug.cgi?id=57586
--- Comment #2 from KRosUser kyle.kcsoftwares@gmail.com --- Sorry I can't test patch, but this is a systematic issue so certainly easy for a contributor to reproduce and retest.
https://bugs.winehq.org/show_bug.cgi?id=57586
Maotong Zhang zmtong1988@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |zmtong1988@gmail.com
--- Comment #3 from Maotong Zhang zmtong1988@gmail.com --- Created attachment 77701 --> https://bugs.winehq.org/attachment.cgi?id=77701 test-app
I test the application and it can be installed and run without patching. Wine 10.0-rc3
https://bugs.winehq.org/show_bug.cgi?id=57586
--- Comment #4 from KRosUser kyle.kcsoftwares@gmail.com --- Is it the same installer as the one listed in this ticket ?
https://bugs.winehq.org/show_bug.cgi?id=57586
--- Comment #5 from Maotong Zhang zmtong1988@gmail.com --- (In reply to KRosUser from comment #4)
Is it the same installer as the one listed in this ticket ?
Defraggler 2.21 from : https://web.archive.org/web/20200503230319/http://download.piriform.com/dfse...
https://bugs.winehq.org/show_bug.cgi?id=57586
--- Comment #6 from KRosUser kyle.kcsoftwares@gmail.com --- 100% reproductible on my side (using "french" language and all default options) Any other user to give it a test ?
https://bugs.winehq.org/show_bug.cgi?id=57586
--- Comment #7 from KRosUser kyle.kcsoftwares@gmail.com --- Note: Defraggler works afterwards, exception occurs at the very end of the installer, when creating shortcuts
https://bugs.winehq.org/show_bug.cgi?id=57586
Louis Lenders xerox.xerox2000x@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |xerox.xerox2000x@gmail.com Status|UNCONFIRMED |NEW Ever confirmed|0 |1
--- Comment #8 from Louis Lenders xerox.xerox2000x@gmail.com --- I can confirm the crash in the installer