[Bug 52139] New: Crash when closing explorer in different thread

WineHQ Bugzilla wine-bugs at winehq.org
Wed Dec 1 08:04:12 CST 2021


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

            Bug ID: 52139
           Summary: Crash when closing explorer in different thread
           Product: Wine
           Version: 6.22
          Hardware: x86-64
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: -unknown
          Assignee: wine-bugs at winehq.org
          Reporter: mikrutrafal at protonmail.com
      Distribution: ---

Created attachment 71187
  --> https://bugs.winehq.org/attachment.cgi?id=71187
Full log

When closing windows explorer inside my app, explorer crash with this
backtrace(explorer is probably run inside different thread)

```
Unhandled exception: page fault on read access to 0x0000000000000000 in 64-bit
code (0x0000000000409d9b).
Register dump:
 rip:0000000000409d9b rsp:00000000006ae740 rbp:00000000006ae948 eflags:00010246
(  R- --  I  Z- -P- )
 rax:000000000003ee10 rbx:00000000000300ca rcx:0000000000000000
rdx:0000000000000000
 rsi:0000000000000000 rdi:0000000000000000  r8:0000000000000008 
r9:0000000000000001 r10:0000000000000008
 r11:0000000000000246 r12:0000000000000000 r13:000000000003ee10
r14:000000000003f670 r15:0000000000000000
Stack dump:
0x00000000006ae740:  0000000000000000 0000000000000000
0x00000000006ae750:  0000000000000000 0000000000000000
0x00000000006ae760:  0000000000000000 0000000000000000
0x00000000006ae770:  0000000000000000 0000000000000000
0x00000000006ae780:  0000000000000000 000000006eb9149e
0x00000000006ae790:  0000000000000000 00000000000300ca
0x00000000006ae7a0:  0000000000000000 0000000000000002
0x00000000006ae7b0:  0000000000000012 0000000000409c50
0x00000000006ae7c0:  00000000ffff0025 000000006eb9fb55
0x00000000006ae7d0:  0000000000000000 000000006eb5dbd3
0x00000000006ae7e0:  0000000000000000 0000000000000000
0x00000000006ae7f0:  0000000000000000 0000000000000100
Backtrace:
=>0 0x0000000000409d9b IShellWindows_Revoke+0x7(lCookie=<internal error>,
This=<internal error>) [Z:\usr\src\packages\BUILD\include\exdisp.h:2615] in
explorer (0x00000000006ae948)
  1 0x0000000000409d9b explorer_wnd_proc+0x14b(hwnd=<register RBX not
accessible in this frame>, uMsg=<register R12 not accessible in this frame>,
wParam=<register RSI not accessible in this frame>, lParam=<register R15 not
accessible in this frame>)
[Z:\usr\src\packages\BUILD\programs\explorer\explorer.c:713] in explorer
(0x00000000006ae948)
  2 0x000000006eb9fb55 call_window_proc+0x65(hwnd=<register RBX not accessible
in this frame>, msg=<register R12 not accessible in this frame>, wp=<register
RSI not accessible in this frame>, lp=<register RDI not accessible in this
frame>, result=[<register RSP not accessible in this frame>, arg=[<register RSP
not accessible in this frame>)
[Z:\usr\src\packages\BUILD\dlls\user32\winproc.c:216] in user32
(0x00000000006ae948)
  3 0x000000006eba1d89 WINPROC_call_window+0x219(hwnd=<register R12 not
accessible in this frame>, msg=<register R13 not accessible in this frame>,
wParam=<register RBX not accessible in this frame>, lParam=<register RBP not
accessible in this frame>, result=[<register RSP not accessible in this frame>,
unicode=[<register RSP not accessible in this frame>, mapping=[<register RSP
not accessible in this frame>)
[Z:\usr\src\packages\BUILD\dlls\user32\winproc.c:957] in user32
(0x0000000000000000)
  4 0x000000006eb58946 call_window_proc+0x96(hwnd=<register RSI not accessible
in this frame>, msg=<register R12 not accessible in this frame>,
wparam=<register RBP not accessible in this frame>, lparam=<register RBX not
accessible in this frame>, unicode=[<register RSP not accessible in this
frame>, same_thread=[<register RSP not accessible in this frame>,
mapping=[<register RSP not accessible in this frame>)
[Z:\usr\src\packages\BUILD\dlls\user32\message.c:2231] in user32
(0x0000000000000000)
  5 0x000000006eb5dfac send_message+0x23c(info=<register R12 not accessible in
this frame>, res_ptr=<register RBX not accessible in this frame>,
unicode=<register RBP not accessible in this frame>)
[Z:\usr\src\packages\BUILD\dlls\user32\message.c:3207] in user32
(0x0000000000000001)
  6 0x000000006eb5e1c9 SendMessageW+0x49(hwnd=<internal error>, msg=<internal
error>, wparam=<internal error>, lparam=<internal error>)
[Z:\usr\src\packages\BUILD\dlls\user32\message.c:3455] in user32
(0x00000000003e0000)
  7 0x000000006eb911e4 WIN_SendDestroyMsg+0x64(hwnd=<register R12 not
accessible in this frame>) [Z:\usr\src\packages\BUILD\dlls\user32\win.c:1964]
in user32 (0x00000000003e0000)
  8 0x000000006eb93928 DestroyWindow+0x258(hwnd=<register R13 not accessible in
this frame>) [Z:\usr\src\packages\BUILD\dlls\user32\win.c:2063] in user32
(0x00000000003e0000)
  9 0x000000006eb25a79 DEFWND_DefWinProc+0x919(hwnd=<register R13 not
accessible in this frame>, msg=<internal error>, wParam=<register R15 not
accessible in this frame>, lParam=<register R14 not accessible in this frame>)
[Z:\usr\src\packages\BUILD\dlls\user32\defwnd.c:408] in user32
(0x00000000000300ca)
  10 0x000000006eb26a0b DefWindowProcW+0x12b(hwnd=<register R12 not accessible
in this frame>, msg=<register RBX not accessible in this frame>,
wParam=<register RDI not accessible in this frame>, lParam=<register RSI not
accessible in this frame>)
[Z:\usr\src\packages\BUILD\dlls\user32\defwnd.c:1088] in user32
(0x00000000000300ca)
  11 0x0000000000409e23 explorer_wnd_proc+0x1d3(hwnd=<register RBX not
accessible in this frame>, uMsg=<register R12 not accessible in this frame>,
wParam=<register RSI not accessible in this frame>, lParam=<register R15 not
accessible in this frame>)
[Z:\usr\src\packages\BUILD\programs\explorer\explorer.c:711] in explorer
(0x00000000006aefb8)
  12 0x000000006eb9fb55 call_window_proc+0x65(hwnd=<register RBX not accessible
in this frame>, msg=<register R12 not accessible in this frame>, wp=<register
RSI not accessible in this frame>, lp=<register RDI not accessible in this
frame>, result=[<register RSP not accessible in this frame>, arg=[<register RSP
not accessible in this frame>)
[Z:\usr\src\packages\BUILD\dlls\user32\winproc.c:216] in user32
(0x00000000006aefb8)
  13 0x000000006eba1d89 WINPROC_call_window+0x219(hwnd=<register R12 not
accessible in this frame>, msg=<register R13 not accessible in this frame>,
wParam=<register RBX not accessible in this frame>, lParam=<register RBP not
accessible in this frame>, result=[<register RSP not accessible in this frame>,
unicode=[<register RSP not accessible in this frame>, mapping=[<register RSP
not accessible in this frame>)
[Z:\usr\src\packages\BUILD\dlls\user32\winproc.c:957] in user32
(0x0000000000000000)
  14 0x000000006eb58946 call_window_proc+0x96(hwnd=<register RSI not accessible
in this frame>, msg=<register R12 not accessible in this frame>,
wparam=<register RBP not accessible in this frame>, lparam=<register RBX not
accessible in this frame>, unicode=[<register RSP not accessible in this
frame>, same_thread=[<register RSP not accessible in this frame>,
mapping=[<register RSP not accessible in this frame>)
[Z:\usr\src\packages\BUILD\dlls\user32\message.c:2231] in user32
(0x0000000000000000)
  15 0x000000006eb5dfac send_message+0x23c(info=<register R12 not accessible in
this frame>, res_ptr=<register RBX not accessible in this frame>,
unicode=<register RBP not accessible in this frame>)
[Z:\usr\src\packages\BUILD\dlls\user32\message.c:3207] in user32
(0x0000000000000001)
  16 0x000000006eb5e1c9 SendMessageW+0x49(hwnd=<internal error>, msg=<internal
error>, wparam=<internal error>, lparam=<internal error>)
[Z:\usr\src\packages\BUILD\dlls\user32\message.c:3455] in user32
(0x00000000000300ca)
  17 0x000000006eb26a0b DefWindowProcW+0x12b(hwnd=<register R12 not accessible
in this frame>, msg=<register RBX not accessible in this frame>,
wParam=<register RDI not accessible in this frame>, lParam=<register RSI not
accessible in this frame>)
[Z:\usr\src\packages\BUILD\dlls\user32\defwnd.c:1088] in user32
(0x00000000000300ca)
  18 0x0000000000409e23 explorer_wnd_proc+0x1d3(hwnd=<register RBX not
accessible in this frame>, uMsg=<register R12 not accessible in this frame>,
wParam=<register RSI not accessible in this frame>, lParam=<register R15 not
accessible in this frame>)
[Z:\usr\src\packages\BUILD\programs\explorer\explorer.c:711] in explorer
(0x00000000006af438)
  19 0x000000006eb9fb55 call_window_proc+0x65(hwnd=<register RBX not accessible
in this frame>, msg=<register R12 not accessible in this frame>, wp=<register
RSI not accessible in this frame>, lp=<register RDI not accessible in this
frame>, result=[<register RSP not accessible in this frame>, arg=[<register RSP
not accessible in this frame>)
[Z:\usr\src\packages\BUILD\dlls\user32\winproc.c:216] in user32
(0x00000000006af438)
  20 0x000000006eba1d89 WINPROC_call_window+0x219(hwnd=<register R12 not
accessible in this frame>, msg=<register R13 not accessible in this frame>,
wParam=<register RBX not accessible in this frame>, lParam=<register RBP not
accessible in this frame>, result=[<register RSP not accessible in this frame>,
unicode=[<register RSP not accessible in this frame>, mapping=[<register RSP
not accessible in this frame>)
[Z:\usr\src\packages\BUILD\dlls\user32\winproc.c:957] in user32
(0x0000000000000000)
  21 0x000000006eb61bd1 DispatchMessageW+0xa9(msg=[<register RSP not accessible
in this frame>) [Z:\usr\src\packages\BUILD\dlls\user32\message.c:4028] in
user32 (0x00000000006af6c0)
  22 0x000000000040a9e8 make_explorer_window+0x709(params=<internal error>)
[Z:\usr\src\packages\BUILD\programs\explorer\explorer.c:545] in explorer
(0x00000000006af6c0)
  23 0x000000000040a9e8 wWinMain+0x898(hinstance=<internal error>,
previnstance=<internal error>, cmdline=<internal error>, cmdshow=<internal
error>) [Z:\usr\src\packages\BUILD\programs\explorer\explorer.c:877] in
explorer (0x00000000006af6c0)
  24 0x000000000040f223 wmain+0xb3(argc=<internal error>, argv=<internal
error>) [Z:\usr\src\packages\BUILD\dlls\msvcrt\crt_wwinmain.c:56] in explorer
(0x0000000000000000)
  25 0x000000000040f165 wmainCRTStartup+0x65()
[Z:\usr\src\packages\BUILD\dlls\msvcrt\crt_wmain.c:58] in explorer
(0x0000000000000000)
  26 0x000000007b62c669 BaseThreadInitThunk+0x9(unknown=<internal error>,
entry=<internal error>, arg=<internal error>)
[Z:\usr\src\packages\BUILD\dlls\kernel32\thread.c:61] in kernel32
(0x0000000000000000)
  27 0x000000007bc5b323 __wine_pop_frame(unknown=<internal error>,
entry=<internal error>, arg=<internal error>)
[Z:\usr\src\packages\BUILD\include\wine\exception.h:273] in ntdll
(0x0000000000000000)
  28 0x000000007bc5b323 RtlUserThreadStart+0x83(entry=[<register RSP not
accessible in this frame>, arg=[<register RSP not accessible in this frame>)
[Z:\usr\src\packages\BUILD\dlls\ntdll\thread.c:240] in ntdll
(0x0000000000000000)
0x0000000000409d9b explorer_wnd_proc+0x14b
[Z:\usr\src\packages\BUILD\programs\explorer\explorer.c:713] in explorer: movq 
  (%rcx),%rax
Unable to access file 'Z:\usr\src\packages\BUILD\programs\explorer\explorer.c'
```
Bigger log inside attachment

Steps to reproduce
- Download app -
https://github.com/qarmin/czkawka/releases/download/3.3.1/windows_czkawka_gui.zip
- Open `windows_czkawka_gui.exe`
- Find any file with one of tools
- Click at the found file twice with right mouse button
- Close explorer

-- 
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