[Bug 50299] New: Application tried to create a window, but no driver could be loaded.

WineHQ Bugzilla wine-bugs at winehq.org
Wed Dec 9 15:55:42 CST 2020


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

            Bug ID: 50299
           Summary: Application tried to create a window, but no driver
                    could be loaded.
           Product: Wine
           Version: 5.22
          Hardware: x86-64
                OS: Linux
            Status: UNCONFIRMED
          Severity: minor
          Priority: P2
         Component: -unknown
          Assignee: wine-bugs at winehq.org
          Reporter: bernhardu at mailbox.org
      Distribution: ---

0050:err:winediag:nodrv_CreateWindow Application tried to create a window, but
no driver could be loaded.

Running e.g. "wine notepad" in a quite slow environment for example within
rr-debugger inside a VM leads to the above message.

As far as I could follow in above line 0050 is "explorer.exe".
Unfotunately winemenubuilder.exe was a little bit earlier with requesting
the first window in WIN_CreateWindowEx
before explorer.exe reached manage_desktop.
Therefore explorer.exe never SetPropW("__wine_display_device_guid")
in DesktopWndProc.

This race might not show up under normal conditions, but I thought to
document it here to be findable.

Making winemenubuilder.exe sleep some time in wWinMain before CoInitialize
works around it.

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