https://bugs.winehq.org/show_bug.cgi?id=57675
Bug ID: 57675 Summary: err:virtual:virtual_setup_exception stack overflow 3072 bytes addr 0x7bd5b54c stack 0x81100400 Product: Wine Version: 10.0-rc5 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: ntdll Assignee: wine-bugs@winehq.org Reporter: csumushu@126.com Distribution: ---
I am using wine-10.0-rc5 (Staging) to run a program. After running for about five or six hours, the program freezes, and the wine log shows: “err:virtual:virtual_setup_exception stack overflow 3072 bytes addr 0x7bd5b54c stack 0x81100400”. Could you please advise how to analyze this issue?
wine log: wine: created the configuration directory '/root/.wine' esync: up and running. 002c:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0) 002c:fixme:winediag:loader_init wine-staging 10.0-rc5 is a testing version containing experimental patches. 002c:fixme:winediag:loader_init Please mention your exact version when filing bug reports on winehq.org. 004c:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0) 0054:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0) 0054:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hr 0x80004002 0054:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, hr 0x80004002 0054:err:ole:apartment_get_local_server_stream Failed: 0x80004002 004c:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hr 0x80004002 004c:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, hr 0x80004002 004c:err:ole:apartment_get_local_server_stream Failed: 0x80004002 0054:err:ole:start_rpcss Failed to open RpcSs service 0080:err:ntoskrnl:ServiceMain Failed to load L"C:\windows\system32\win32k.sys" 0080:err:ntoskrnl:ServiceMain Failed to load L"C:\windows\system32\drivers\dxgkrnl.sys" 0080:err:ntoskrnl:ServiceMain Failed to load L"C:\windows\system32\drivers\dxgmms1.sys" 009c:fixme:file:NtLockFile I/O completion on lock not implemented yet 009c:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION 009c:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 1) 009c:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 1) 0104:fixme:msg:pack_message msg 14 (WM_ERASEBKGND) not supported yet 002c:err:setupapi:do_file_copyW Unsupported style(s) 0x10 0128:err:winebth:bluez_dbus_init Failed to get system dbus connection: "org.freedesktop.DBus.Error.FileNotFound": "Failed to connect to socket /run/dbus/system_bus_socket: \xe6\xb2\xa1\xe6\x9c\x89\xe9\x82\xa3\xe4\xb8\xaa\xe6\x96\x87\xe4\xbb\xb6\xe6\x88\x96\xe7\x9b\xae\xe5\xbd\x95" 0128:err:ntoskrnl:ZwLoadDriver failed to create driver L"\Registry\Machine\System\CurrentControlSet\Services\winebth": c00000e5 002c:err:setupapi:SetupDiInstallDevice Failed to start service L"winebth" for device L"ROOT\WINE\WINEBTH", error 1359. 002c:err:setupapi:SetupDiInstallDevice Failed to control service L"winebth" for device L"ROOT\WINE\WINEBTH", error 1062. 002c:err:setupapi:do_file_copyW Unsupported style(s) 0x10 0158:err:setupapi:do_file_copyW Unsupported style(s) 0x10 0158:err:setupapi:do_file_copyW Unsupported style(s) 0x10 002c:err:setupapi:do_file_copyW Unsupported style(s) 0x10 0158:fixme:wineusb:query_id Unhandled ID query type 0x5. 0158:fixme:wineusb:query_id Unhandled ID query type 0x5. 0024:fixme:nls:RtlGetThreadPreferredUILanguages 00000034, 0CCAF7FC, 0CCAF72C 0CCAF728 0024:fixme:nls:get_dummy_preferred_ui_language (0x34 0x804 0CCAF7FC 0CCAF72C 0CCAF728) returning a dummy value (current locale) 004c:fixme:appbar:handle_appbarmessage SHAppBarMessage(ABM_GETAUTOHIDEBAR, hwnd=0000000000000000, edge=3): stub 004c:fixme:appbar:handle_appbarmessage SHAppBarMessage(ABM_GETAUTOHIDEBAR, hwnd=0000000000000000, edge=1): stub 004c:fixme:appbar:handle_appbarmessage SHAppBarMessage(ABM_GETAUTOHIDEBAR, hwnd=0000000000000000, edge=0): stub 004c:fixme:appbar:handle_appbarmessage SHAppBarMessage(ABM_GETAUTOHIDEBAR, hwnd=0000000000000000, edge=2): stub 0024:fixme:heap:RtlSetHeapInformation HEAP_INFORMATION_CLASS 1 not implemented! 0024:fixme:win:NtUserLockWindowUpdate (0x10120), partial stub! 0024:fixme:win:NtUserLockWindowUpdate ((nil)), partial stub! 0024:fixme:win:NtUserLockWindowUpdate (0x10150), partial stub! 0024:fixme:win:NtUserLockWindowUpdate ((nil)), partial stub! 0024:fixme:win:NtUserLockWindowUpdate (0x10130), partial stub! 0024:fixme:win:NtUserLockWindowUpdate ((nil)), partial stub! 0180:fixme:dbghelp:elf_search_auxv can't find symbol in module 01a0:fixme:wpcap:pcap_findalldevs_ex "rpcap://", 00000000, 66E0EAD8, 66E0E9C4: partial stub 01a0:fixme:wpcap:pcap_open "rpcap://\Device\NPF_{00000002-0000-0000-0000-4E6574446576}", 65536, 1, 100, 00000000, 66E0E9C4: partial stub 01a0:fixme:wpcap:pcap_open "rpcap://\Device\NPF_{00000004-0000-0000-0000-4E6574446576}", 65536, 1, 100, 00000000, 66E0E9C4: partial stub 01a0:fixme:wpcap:pcap_open "rpcap://\Device\NPF_{00000006-0000-0000-0000-4E6574446576}", 65536, 1, 100, 00000000, 66E0E9C4: partial stub 01a0:fixme:wpcap:pcap_open "rpcap://\Device\NPF_{00000001-0000-0000-0000-4E6574446576}", 65536, 1, 100, 00000000, 66E0E9C4: partial stub 0304:fixme:wpcap:pcap_findalldevs_ex "rpcap://", 00000000, 805FFEF0, 805FFDDC: partial stub 0304:fixme:wpcap:pcap_open "rpcap://\Device\NPF_{00000002-0000-0000-0000-4E6574446576}", 65536, 1, 100, 00000000, 805FFDDC: partial stub 0314:err:virtual:virtual_setup_exception stack overflow 3072 bytes addr 0x7bd5b54c stack 0x81100400 (0x81100000-0x81101000-0x81200000)
https://bugs.winehq.org/show_bug.cgi?id=57675
--- Comment #1 from mushu csumushu@126.com --- I modified the Wine code to call backtrace in virtual_setup_exception to print the call stack. The content is as follows:
/usr/local/bin/../lib/wine/i386-unix/ntdll.so(+0x5c5b1) [0xf7cbe5b1] /usr/local/bin/../lib/wine/i386-unix/ntdll.so(+0x644d4) [0xf7cc64d4] /usr/local/bin/../lib/wine/i386-unix/ntdll.so(+0x3f796) [0xf7ca1796] /usr/local/bin/../lib/wine/i386-unix/ntdll.so(+0x3fe59) [0xf7ca1e59] linux-gate.so.1(__kernel_rt_sigreturn+0) [0xf7fc3090] [0x7bd5b54c] [0x7bd3b539] [0x7b685c57] [0x7b679f1c] [0x7b685cdb] [0x7b6671f5] [0x7bd398c8] [0x7bd0cf3d] [0x7bd0cf0f] [0x7bd3f96c] [0x7bd4190a] [0x7bd0cd65] [0x7b670212] [0x45f83f]
I can resolve the symbols for the ntdll part, which are: segv_handler -> setup_raise_exception -> virtual_setup_exception -> print_stack_trace.
Is there a way to determine what the call stack below represents?
https://bugs.winehq.org/show_bug.cgi?id=57675
--- Comment #2 from mushu csumushu@126.com --- Why does it show that there is debugging information when using the file command, but it still cannot display it?
file /usr/local/bin/../lib/wine/i386-unix/ntdll.so /usr/local/bin/../lib/wine/i386-unix/ntdll.so: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, BuildID[sha1]=7aac86f8fd89ee523ae3726311e606af90f3199e, with debug_info, not stripped
https://bugs.winehq.org/show_bug.cgi?id=57675
mushu csumushu@126.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|ntdll |-unknown
https://bugs.winehq.org/show_bug.cgi?id=57675
--- Comment #3 from mushu csumushu@126.com --- I see. I forgot to append rdynamic
https://bugs.winehq.org/show_bug.cgi?id=57675
--- Comment #4 from mushu csumushu@126.com --- (In reply to mushu from comment #3)
I see. I forgot to append rdynamic
It still doesn’t work. I set the -rdynamic parameter for LDFLAGS during the configure execution, but it still doesn’t print the function names.
https://bugs.winehq.org/show_bug.cgi?id=57675
mushu csumushu@126.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|UNCONFIRMED |RESOLVED
--- Comment #5 from mushu csumushu@126.com --- After locating the issue, it was found that the stack overflow was caused by wcap, and a bug has been reported.
https://bugs.winehq.org/show_bug.cgi?id=57711