[Bug 37494] Quicken 2014 - Crashes when application starts up (after working around Promon Shield)

WineHQ Bugzilla wine-bugs at winehq.org
Mon Jul 26 06:41:17 CDT 2021


https://bugs.winehq.org/show_bug.cgi?id=37494

--- Comment #5 from Anastasius Focht <focht at gmx.net> ---
Hello again,

there is still a crash on startup with Wine 6.13 after working around DRM and
libfaketime. From a quick glance it's a different issue than original crash
reported in 2014 by Sebastian. Looks like a stupid application bug that somehow
gets away on Windows. I need to debug this further for final conclusion but I
wouldn't mind if someone else does for a small challenge. It's not too hard ;-)

--- snip ---
$ export
LD_PRELOAD=/home/focht/projects/faketime/install-x86/lib/faketime/libfaketime.so.1

$ wine "c:/windows/syswow64/cmd.exe" /c date /t
Current Date is 7/26/2021

$ FAKETIME="-7y" wine "c:/windows/syswow64/cmd.exe" /c date /t
Current Date is 7/28/2014

$ pwd
/home/focht/.wine/drive_c/Program Files (x86)/Lexware/Quicken/2014

$ FAKETIME="-7y" WINEDEBUG=+seh,+relay,+profile,+unwind,+msvcrt wine
./QwStart.exe >>log.txt 2>&1
...
0108:Call PE DLL (proc=02434328,module=02420000
L"Settings.dll",reason=THREAD_ATTACH,res=00000000)
0108:Ret  PE DLL (proc=02434328,module=02420000
L"Settings.dll",reason=THREAD_ATTACH,res=00000000) retval=1 
...
0104:Call KERNEL32.CreateDirectoryA(037f0420
"C:\\ProgramData\\Lexware\\Quicken\\2014",00000000) ret=305015f9
...
0104:Ret  KERNEL32.CreateDirectoryA() retval=00000000 ret=305015f9
...
0104:Call msvcr100.strncat(0032e5e4
"C:\\ProgramData\\Lexware\\Quicken\\2014\\",037f0358 "QUICKEN.INI",000000df)
ret=0242cea4
0104:Ret  msvcr100.strncat() retval=0032e5e4 ret=0242cea4
0104:Call KERNEL32.GetPrivateProfileStringA(037f0380 "QHI",037f03a0
"IsGlobal",00002e3c,0032e758,000000ff,0032e5e4
"C:\\ProgramData\\Lexware\\Quicken\\2014\\QUICKEN.INI") ret=0242f2e3
0104:Call ntdll.RtlAllocateHeap(01b30000,00000000,000001fe) ret=7b61da8f
0104:Ret  ntdll.RtlAllocateHeap() retval=07f60920 ret=7b61da8f
0104:Call ntdll.RtlCreateUnicodeStringFromAsciiz(0032e134,037f0380 "QHI")
ret=7b61daae
0104:Ret  ntdll.RtlCreateUnicodeStringFromAsciiz() retval=07f5e501 ret=7b61daae
0104:Call ntdll.RtlCreateUnicodeStringFromAsciiz(0032e12c,037f03a0 "IsGlobal")
ret=7b61dacb
0104:Ret  ntdll.RtlCreateUnicodeStringFromAsciiz() retval=07f5e501 ret=7b61dacb
0104:Call ntdll.RtlCreateUnicodeStringFromAsciiz(0032e124,00002e3c)
ret=7b61dae8
0104:trace:seh:dispatch_exception code=c0000005 flags=0 addr=7BC47D40
ip=7bc47d40 tid=0104
0104:trace:seh:dispatch_exception  info[0]=00000000
0104:trace:seh:dispatch_exception  info[1]=00002e3c
0104:warn:seh:dispatch_exception EXCEPTION_ACCESS_VIOLATION exception
(code=c0000005) raised
0104:trace:seh:dispatch_exception  eax=ffffffff ebx=000000ff ecx=00002e3c
edx=00000008 esi=00002e3c edi=0032e0e8
0104:trace:seh:dispatch_exception  ebp=0032e0bc esp=0032e0bc cs=0023 ds=002b
es=002b fs=0063 gs=006b flags=00010202
0104:trace:seh:call_vectored_handlers calling handler at 791F5A7C code=c0000005
flags=0
0104:Call KERNEL32.GetLastError() ret=791f5aa7
0104:Call kernelbase.GetLastError() ret=7bc39e94
0104:Ret  kernelbase.GetLastError() retval=000000b7 ret=7bc39e94
0104:Ret  KERNEL32.GetLastError() retval=000000b7 ret=791f5aa7
0104:Call KERNEL32.TlsGetValue(00000013) ret=7914d22b
0104:Call kernelbase.TlsGetValue(00000013) ret=7bc39e94
...
0104:trace:seh:cxx_frame_handler handling C exception code c0000005  rec
0032DEE8 frame 0032E6F0 trylevel 4 descr 0243AA78 nested_frame 00000000 
...
0104:trace:seh:_CreateFrameInfo (0032D8D4, 00002E3C)
0104:trace:seh:__regs_RtlUnwind code=c0000005 flags=2
0104:trace:seh:__regs_RtlUnwind eax=00000000 ebx=00000000 ecx=7bc0bd2c
edx=00000000 esi=0032e6f0 edi=0032dee8
0104:trace:seh:__regs_RtlUnwind ebp=0032d930 esp=0032d8c0 eip=0246a633 cs=0023
ds=002b fs=0063 gs=006b flags=00000246
0104:trace:seh:__regs_RtlUnwind calling handler at 7BC477E0 code=c0000005
flags=2
0104:trace:seh:__regs_RtlUnwind handler at 7BC477E0 returned 1
0104:trace:seh:cxx_local_unwind calling unwind handler 024360D4 trylevel 4 last
0 ebp 0032E6FC 
...
0104:Call msvcr100._CxxThrowException(00000000,00000000) ret=0242f4f8
0104:Call KERNEL32.RaiseException(e06d7363,00000001,00000003,0032d84c)
ret=02460870
0104:Call kernelbase.RaiseException(e06d7363,00000001,00000003,0032d84c)
ret=7bc39e94
0104:Call ntdll.memcpy(0032d778,0032d84c,0000000c) ret=7b0102e8
0104:Ret  ntdll.memcpy() retval=0032d778 ret=7b0102e8
0104:trace:seh:dispatch_exception code=e06d7363 flags=1 addr=7B0102F8
ip=7b0102f8 tid=0104
0104:trace:seh:dispatch_exception  info[0]=19930520
0104:trace:seh:dispatch_exception  info[1]=00000000
0104:trace:seh:dispatch_exception  info[2]=00000000
0104:warn:seh:dispatch_exception EXCEPTION_WINE_CXX_EXCEPTION exception
(code=e06d7363) raised
0104:trace:seh:dispatch_exception  eax=0032d764 ebx=0032e6f0 ecx=0032d84c
edx=0032d850 esi=00000003 edi=0032d7d0
0104:trace:seh:dispatch_exception  ebp=0032d7b8 esp=0032d764 cs=7bc50023
ds=32002b es=7bc3002b fs=320063 gs=006b flags=00000212
0104:trace:seh:call_vectored_handlers calling handler at 791F5A7C code=e06d7363
flags=1
0104:Call KERNEL32.GetLastError() ret=791f5aa7
0104:Call kernelbase.GetLastError() ret=7bc39e94
0104:Ret  kernelbase.GetLastError() retval=00000000 ret=7bc39e94
0104:Ret  KERNEL32.GetLastError() retval=00000000 ret=791f5aa7 
...
0104:Call msvcr100._CxxThrowException(00000000,00000000) ret=00a59de7
0104:Call KERNEL32.RaiseException(e06d7363,00000001,00000003,0032c4ec)
ret=02460870
0104:Call kernelbase.RaiseException(e06d7363,00000001,00000003,0032c4ec)
ret=7bc39e94
0104:Call ntdll.memcpy(0032c418,0032c4ec,0000000c) ret=7b0102e8
0104:Ret  ntdll.memcpy() retval=0032c418 ret=7b0102e8
0104:trace:seh:dispatch_exception code=e06d7363 flags=1 addr=7B0102F8
ip=7b0102f8 tid=0104
0104:trace:seh:dispatch_exception  info[0]=19930520
0104:trace:seh:dispatch_exception  info[1]=00000000
0104:trace:seh:dispatch_exception  info[2]=00000000
0104:warn:seh:dispatch_exception EXCEPTION_WINE_CXX_EXCEPTION exception
(code=e06d7363) raised
0104:trace:seh:dispatch_exception  eax=0032c404 ebx=0032f9fc ecx=0032c4ec
edx=0032c4f0 esi=00000003 edi=0032c470
0104:trace:seh:dispatch_exception  ebp=0032c458 esp=0032c404 cs=7bc50023
ds=32002b es=7bc3002b fs=320063 gs=006b flags=00000212
0104:trace:seh:call_vectored_handlers calling handler at 791F5A7C code=e06d7363
flags=1
0104:Call KERNEL32.GetLastError() ret=791f5aa7
0104:Call kernelbase.GetLastError() ret=7bc39e94
0104:Ret  kernelbase.GetLastError() retval=00000000 ret=7bc39e94
...
wine: Unhandled page fault on read access to 00002E3C at address 7BC47D40
(thread 0104), starting debugger... 
---- snip ---

https://docs.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-getprivateprofilestringa

lpDefault = 0x2e3c = invalid pointer value (hint: check the caller, some
parameters get special treatment/remapping)

$ wine --version
wine-6.13-114-ga5f787ac445

Regards

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list