https://bugs.winehq.org/show_bug.cgi?id=37876
--- Comment #3 from Anastasius Focht focht@gmx.net --- Hello folks,
the log doesn't really show a crash but the app thinks there was a previous crash.
A message box is displayed besides the splash screen:
--- snip --- ... 0009:Call user32.MessageBoxW(00000000,02089200 L"Accordance crashed or was not quit properly the last time it was used.\r\rWould you like to recover the most recent autosaved session?",00a06a20 L" ",00001024) ret=00453edb ... 0009:Ret user32.MessageBoxW() retval=00000007 ret=00453edb ... --- snip ---
Which basically means you selected 'No' (IDNO = 7).
After that, the main ui windows/controls get created and the app starts pumping messages. At one time CTRL+C is pressed, causing shutdown.
--- snip --- ... 0024:Starting thread proc 0x7b82fab0 (arg=(nil)) 0024:trace:seh:raise_exception code=40010005 flags=0 addr=0x7b83d28e ip=7b83d28e tid=0024 0024:trace:seh:raise_exception eax=7b828fc1 ebx=7b8bc000 ecx=00000000 edx=00000000 esi=40010005 edi=00000000 0024:trace:seh:raise_exception ebp=07e1e8f8 esp=07e1e884 cs=0023 ds=002b es=002b fs=0063 gs=006b flags=00200246 0024:trace:seh:call_stack_handlers calling handler at 0x7b887be0 code=40010005 flags=0 0024:trace:seh:__regs_RtlUnwind code=40010005 flags=2 0024:trace:seh:__regs_RtlUnwind calling handler at 0x7bc813f0 code=40010005 flags=2 0024:trace:seh:__regs_RtlUnwind handler at 0x7bc813f0 returned 1 --- snip ---
You could try to avoid the crash check at least .. there is some registry key the app checks on startup:
--- snip --- 0009:Call advapi32.RegOpenKeyExA(80000001,00a1339c "Software\OakTree\Accordance",00000000,00000001,01affd18) ret=0043cc2f 0009:Ret advapi32.RegOpenKeyExA() retval=00000000 ret=0043cc2f 0009:Call advapi32.RegQueryValueExA(000000dc,00a14c34 "crashcheck",00000000,01affd10,052ef7f8,01affd70) ret=0043cc53 0009:Ret advapi32.RegQueryValueExA() retval=00000000 ret=0043cc53 0009:Call advapi32.RegCloseKey(000000dc) ret=0043ccba 0009:Ret advapi32.RegCloseKey() retval=00000000 ret=0043ccba ... 0009:Call KERNEL32.CompareStringW(00000400,00000000,002089fc L"Yes",00000003,02264b5c L"meem (m)",00000008) ret=00420365 0009:Ret KERNEL32.CompareStringW() retval=00000003 ret=00420365 --- snip ---
Setting it to "no" (or no value) could avoid the initial message box. Maybe there is a focus loss/wrong window activation (Wine still has some bugs on it).
It's unfortunate that I'm not able to reproduce this since the app requires a valid purchase (registered in account connected to the app).
Regards