[Bug 5789] New: Thread safety bug in winex11.drv on exit

Wine Bugs wine-bugs at winehq.org
Sat Jul 29 00:57:44 CDT 2006


http://bugs.winehq.org/show_bug.cgi?id=5789

           Summary: Thread safety bug in winex11.drv on exit
           Product: Wine
           Version: CVS
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: wine-x11driver
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: tkho at ucla.edu


The following program crashes with wine-cvs but executes fine in Windows:

int main(int argc, char* argv[])
{
	HMODULE hkernel32 = GetModuleHandle("kernel32.dll");
	FARPROC exit_process = GetProcAddress(hkernel32, "ExitProcess");
	CreateWindow("STATIC", 0, WS_VISIBLE, 100, 100, 300, 100, NULL, 0, 
NULL, 0);
	CreateThread(NULL, 0, (LPTHREAD_START_ROUTINE) exit_process, 0, 0, 0);
	while(1) Sleep(5000);
	return 0;
}

exe and backtrace attached.

I noticed bug 5346 and believe this is a different bug because gdi_display is 
already initialized in this crash.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the wine-bugs mailing list