[Bug 49876] New: wine hangs on startup due to crash within EnumDisplaySettingsEx

WineHQ Bugzilla wine-bugs at winehq.org
Mon Sep 21 03:51:31 CDT 2020


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

            Bug ID: 49876
           Summary: wine hangs on startup due to crash within
                    EnumDisplaySettingsEx
           Product: Wine
           Version: 5.17
          Hardware: x86-64
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: winex11.drv
          Assignee: wine-bugs at winehq.org
          Reporter: panard at inzenet.org
      Distribution: ---

Using wine 5.17 in Docker, any wine execution hangs on startup.

The bug seems to be related to the detection of display settings, as there is a
crash triggered during "winex11.drv.EnumDisplaySettingsEx".

A workaround is to set "Emulate a virtual desktop" in winecfg.
Things work properly with wine 5.12.

I join the output of WINEDEBUG=+all winecfg.
An interesting excerpt might be the following lines:

257190.641:0044:0048:Call user32.EnumDisplaySettingsExW(0031f3bc
L"\\\\.\\DISPLAY1",ffffffff,0031f2ac,00000000) ret=7ee6368a
257190.641:0044:0048:trace:system:EnumDisplaySettingsExW L"\\\\.\\DISPLAY1"
0xffffffff 0x31f2ac 0
257190.641:0044:0048:Call
winex11.drv.EnumDisplaySettingsEx(0031f3bc,ffffffff,0031f2ac,00000000)
ret=7ea7cc06
257190.641:0044:0048:trace:process:NtQueryInformationProcess
(0xffffffff,0x00000022,0x7ffcf694,0x00000004,(nil))
257190.641:0044:0048:trace:seh:dispatch_exception code=c0000005 flags=0
addr=00000000 ip=00000000 tid=0048
257190.641:0044:0048:trace:seh:dispatch_exception  info[0]=00000008
257190.641:0044:0048:trace:seh:dispatch_exception  info[1]=00000000
257190.641:0044:0048:trace:seh:dispatch_exception  eax=0031ef3c ebx=0031f2ac
ecx=0031ef70 edx=00000010 esi=0031f3bc edi=ffffffff
257190.641:0044:0048:trace:seh:dispatch_exception  ebp=0031ef58 esp=0031ef0c
cs=0023 ds=002b es=002b fs=0063 gs=006b flags=00010216
257190.641:0044:0048:trace:seh:call_vectored_handlers calling handler at
7B030720 code=c0000005 flags=0
257190.641:0044:0048:trace:seh:call_vectored_handlers handler at 7B030720
returned 0
257190.641:0044:0048:trace:seh:call_stack_handlers calling handler at 7BC86760
code=c0000005 flags=0
0048: create_event( access=001f0003, manual_reset=1, initial_state=0,
objattr={rootdir=0000,attributes=00000002,sd={},name=L""} )
0048: create_event() = 0 { handle=0074 }
wine: Unhandled page fault on execute access to 00000000 at address 00000000
(thread 0048), starting debugger...

(no debug trace is displayed..)

Let me know how I can debug further..

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