http://bugs.winehq.org/show_bug.cgi?id=35106
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Version|unspecified |1.7.8 Summary|CMS.exe crashes on startup |CMS DVR (video | |surveillance) application | |crashes on startup Ever confirmed|0 |1
--- Comment #4 from Anastasius Focht focht@gmx.net --- Hello hiko,
confirming, I found a download. CMS = Central Monitoring Software .. so this app is for accessing surveillance DVR. Interestingly there is no vendor/version information for this software ... looks like one of the better rip-offs.
Anyway, the app is MFC based (hence 'wintricks mfc42' prerequisite) and crashes shortly after the main gui becomes visible.
--- snip --- $ pwd /home/focht/.wine/drive_c/Program Files/CMS ... $ WINEDEBUG=+tid,+seh,+relay,+snoop,+win,+msg wine ./CMS.exe >>log.txt 2>&1 ... 0024:Call window proc 0x21bb038 (hwnd=0x1024a,msg=WM_ERASEBKGND,wp=00000000,lp=00000000) 0024:CALL MFC42.6467(021c4010) ret=021bb051 0024:RET MFC42.6467() retval=0032bcd4 ret=021bb051 0024:CALL MFC42.1578(0001024a,00000014,00000000,00000000) ret=021bb066 0024:CALL MFC42.6374(00000014,00000000,00000000) ret=5f401c73 0024:CALL MFC42.5163(00000014,00000000,00000000,0032bc3c) ret=5f401cea 0024:Call user32.GetClientRect(0001024a,0032bb74) ret=021a2eac 0024:Ret user32.GetClientRect() retval=00000001 ret=021a2eac 0024:CALL MFC42.283(00414141) ret=021a2eb9 0024:Call gdi32.CreateSolidBrush(00414141) ret=5f4606ed 0024:Ret gdi32.CreateSolidBrush() retval=003d0696 ret=5f4606ed 0024:RET MFC42.283() retval=0032bb4c ret=021a2eb9 0024:trace:seh:raise_exception code=c0000005 flags=0 addr=0x21a2ec9 ip=021a2ec9 tid=0024 0024:trace:seh:raise_exception info[0]=00000000 0024:trace:seh:raise_exception info[1]=00000004 0024:trace:seh:raise_exception eax=003d0696 ebx=021a2d80 ecx=0032bb74 edx=00000000 esi=00000000 edi=01c69480 0024:trace:seh:raise_exception ebp=0032bc20 esp=0032bb44 cs=0023 ds=002b es=002b fs=0063 gs=006b flags=00210202 0024:trace:seh:call_stack_handlers calling handler at 0x21bb630 code=c0000005 flags=0 0024:trace:seh:call_stack_handlers handler at 0x21bb630 returned 1 0024:trace:seh:call_stack_handlers calling handler at 0x5f492e0a code=c0000005 flags=0 0024:trace:seh:call_stack_handlers handler at 0x5f492e0a returned 1 0024:trace:seh:call_stack_handlers calling handler at 0x5f492d82 code=c0000005 flags=0 0024:trace:seh:cxx_frame_handler handling C exception code c0000005 rec 0x32baec frame 0x32bc94 trylevel 0 descr 0x5f4b4f50 nested_frame (nil) --- snip ---
There is nothing obvious from a quick glance. The page fault results from accessing a NULL pointer argument which is retrieved from internal class member data of app/MFC/3rd party libs (WndManager.ocx).
Might be user32 component, needs further investigation later.
$ sha1sum General_CMS_Eng_V1.0.0.8.T.20101202.exe 902e9408ebfc295ce2477fe3d9ca05e8a7588589 General_CMS_Eng_V1.0.0.8.T.20101202.exe
$ du -sh General_CMS_Eng_V1.0.0.8.T.20101202.exe 4.7M General_CMS_Eng_V1.0.0.8.T.20101202.exe
$ wine --version wine-1.7.8-135-gfaa355b
Regards