https://bugs.winehq.org/show_bug.cgi?id=18985
--- Comment #28 from Damjan Jovanovic damjan.jov@gmail.com --- Created attachment 65786 --> https://bugs.winehq.org/attachment.cgi?id=65786 hack to disable listview notifications
This hack stops HTMLKit from crashing. It stops the listview control from ever sending out notifications.
It's definitely the wrong approach, and breaks other things, eg. in winecfg you can't see the Windows version. But it must do something right for this app. What?
Step 3: Application crashes, message box reports the access violation: 17 0x6334ebb9 MessageBoxA+0x58() in user32 (0x0031a438) 18 0x0080825e in htmlkit (+0x40825d) (0x0031a474) 19 0x0080832e in htmlkit (+0x40832d) (0x0031a59c) 20 0x00477766 in htmlkit (+0x77765) (0x0031a5d0) 21 0x008081f7 in htmlkit (+0x4081f6) (0x0031ac9c) 22 0x00801976 in htmlkit (+0x401975) (0x0031acb4)
Step 2: Callback into the application: 23 0x633b38bc WINPROC_wrapper+0x1b() in user32 (0x0031ace4) 24 0x633b578d call_window_proc+0x12c() in user32 (0x0031ad80) 25 0x633b75bc WINPROC_CallProcWtoA+0x151b() in user32 (0x0031c084) 26 0x633b5bf5 WINPROC_call_window+0x384() in user32 (0x0031c198) 27 0x63344f90 call_window_proc+0x12f() in user32 (0x0031c238) 28 0x6333d1e0 send_message+0x1bf() in user32 (0x0031c2c8) 29 0x6333d535 SendMessageW+0x94() in user32 (0x0031c33c) 30 0x637591d0 notify_hdr+0xdf() in comctl32 (0x0031c398) 31 0x6375c40c notify_listview+0xab() in comctl32 (0x0031c3e0)
Step 1: Application sent LVM_SETITEMTEXT, LISTVIEW_SetItemText() ran: 32 0x63762c9f set_main_item+0xa8e() in comctl32 (0x0031c538) 33 0x6374d9ad LISTVIEW_SetItemT+0x1fc() in comctl32 (0x0031c5b8) 34 0x6374e6e7 LISTVIEW_SetItemTextT+0x156() in comctl32 (0x0031c658) 35 0x63743e04 LISTVIEW_WindowProc+0x1ee3() in comctl32 (0x0031c964) 36 0x633b38bc WINPROC_wrapper+0x1b() in user32 (0x0031c994) 37 0x633b578d call_window_proc+0x12c() in user32 (0x0031ca30) 38 0x633b5370 WINPROC_CallProcAtoW+0x157f() in user32 (0x0031e948) 39 0x633b778a CallWindowProcA+0x1a9() in user32 (0x0031e9d8) 40 0x0080daf5 in htmlkit (+0x40daf4) (0x00020286)
ie. chain of events
+-------------------------------------------------------+ | Application 3.Internal processing -> crash | +-------------------------------------------------------+ | ^ | 1.LVM_SETITEMTEXT | 2.SendMessage() [re-entry] v | +----------------------------------------+ | comctl32.dll listview control | +----------------------------------------+