Bug 11340 - Xorg crashes when last client disconnects and DRI is not available
Summary: Xorg crashes when last client disconnects and DRI is not available
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Server/General (show other bugs)
Version: 7.2 (2007.02)
Hardware: x86 (IA32) Linux (All)
: medium normal
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-22 17:47 UTC by Dima Ryazanov
Modified: 2007-06-25 21:39 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Log (40.87 KB, text/plain)
2007-06-22 17:55 UTC, Dima Ryazanov
no flags Details

Description Dima Ryazanov 2007-06-22 17:47:39 UTC
If I start a second X server or if DRI is not available for some other reason, X crashes when the last client exits.
An easy way to reproduce:

X :1
DISPLAY=:1 xset q

Backtrace:
#0  0xb7c14342 in DRIOpenConnection (pScreen=0x820dad8, hSAREA=0xbfb4fae8,
    busIdString=0xbfb4fae0) at dri.c:663
#1  0xb7c7a815 in __glXDRIscreenProbe (pScreen=0x820dad8) at glxdri.c:904
#2  0xb7c467ad in __glXInitScreens () at glxscreens.c:341
#3  0xb7c45785 in GlxExtensionInit () at glxext.c:350
#4  0x080eee02 in InitExtensions (argc=3, argv=0xbfb4fc74)
    at ../../../mi/miinitext.c:774
#5  0x0807013f in main (argc=3, argv=0xbfb4fc74, envp=0x50) at main.c:379

It crashes when trying to access pDRIPriv->pDriverInfo->busIdString.
Comment 1 Dima Ryazanov 2007-06-22 17:55:53 UTC
Created attachment 10405 [details]
Log
Comment 2 Michel Dänzer 2007-06-25 01:55:14 UTC
Fixed in xserver commit edb9ccf3ecb4e35a840aa13815979c5fbd73f32d.
Comment 3 Dima Ryazanov 2007-06-25 21:39:50 UTC
Wow, that was quick. Thanks!

This bug annoyed me for years... But I never bothered to report it, until now :-/


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.