[Bug 469638] New: KDE4 compositing makes the X.org server quite instable
https://bugzilla.novell.com/show_bug.cgi?id=469638 Summary: KDE4 compositing makes the X.org server quite instable Classification: openSUSE Product: openSUSE 11.1 Version: Final Platform: x86-64 OS/Version: openSUSE 11.1 Status: NEW Severity: Normal Priority: P5 - None Component: KDE4 Workspace AssignedTo: kde-maintainers@suse.de ReportedBy: nice@titanic.nyme.hu QAContact: qa@suse.de Found By: --- Created an attachment (id=267789) --> (https://bugzilla.novell.com/attachment.cgi?id=267789) My xorg.conf User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; hu-HU; rv:1.9.0.5) Gecko/2008121300 SUSE/3.0.5-1.1 Firefox/3.0.5 X.org sometimes (quite often) crashes during screen resolution change or compositing disabling. When compositing is disabled, X.org becomes quite stable. Some system information: milleniumfalcon:~ # hwinfo --gfxcard 10: PCI 02.0: 0300 VGA compatible controller (VGA) [Created at pci.318] UDI: /org/freedesktop/Hal/devices/pci_8086_27a2 Unique ID: _Znp.tgYFl3n12UC SysFS ID: /devices/pci0000:00/0000:00:02.0 SysFS BusID: 0000:00:02.0 Hardware Class: graphics card Model: "Intel 945 GM" Vendor: pci 0x8086 "Intel Corporation" Device: pci 0x27a2 "945 GM" SubVendor: pci 0x103c "Hewlett-Packard Company" SubDevice: pci 0x30aa Revision: 0x03 Memory Range: 0xe8400000-0xe847ffff (rw,non-prefetchable) I/O Ports: 0x6000-0x6007 (rw) Memory Range: 0xd0000000-0xdfffffff (rw,prefetchable) Memory Range: 0xe8480000-0xe84bffff (rw,non-prefetchable) IRQ: 16 (399067 events) I/O Ports: 0x3c0-0x3df (rw) Module Alias: "pci:v00008086d000027A2sv0000103Csd000030AAbc03sc00i00" Driver Info #0: XFree86 v4 Server Module: intel Driver Info #1: XFree86 v4 Server Module: intel 3D Support: yes Extensions: dri Config Status: cfg=no, avail=yes, need=no, active=unknown 11: PCI 02.1: 0380 Display controller [Created at pci.318] UDI: /org/freedesktop/Hal/devices/pci_8086_27a6 Unique ID: ruGf.xMl75dQpuE3 SysFS ID: /devices/pci0000:00/0000:00:02.1 SysFS BusID: 0000:00:02.1 Hardware Class: graphics card Model: "Intel Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller" Vendor: pci 0x8086 "Intel Corporation" Device: pci 0x27a6 "Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller" SubVendor: pci 0x103c "Hewlett-Packard Company" SubDevice: pci 0x30aa Revision: 0x03 Memory Range: 0xe8500000-0xe857ffff (rw,non-prefetchable) Module Alias: "pci:v00008086d000027A6sv0000103Csd000030AAbc03sc80i00" Config Status: cfg=no, avail=yes, need=no, active=unknown Primary display adapter: #10 milleniumfalcon:~ # hwinfo --monitor 34: None 00.0: 10000 Monitor [Created at fb.71] Unique ID: rdCR.EY_qmtb9YY0 Hardware Class: monitor Model: "Generic Monitor" Vendor: "Generic" Device: "Monitor" Resolution: 1280x1024@77Hz Driver Info #0: Max. Resolution: 1280x1024 Vert. Sync Range: 50-90 Hz Hor. Sync Range: 31-82 kHz Config Status: cfg=new, avail=yes, need=no, active=unknown milleniumfalcon:~ # xrandr Screen 0: minimum 320 x 200, current 1400 x 1050, maximum 2048 x 1200 VGA disconnected (normal left inverted right x axis y axis) LVDS connected 1400x1050+0+0 (normal left inverted right x axis y axis) 304mm x 228mm 1400x1050 60.0*+ 60.0 60.0 58.9 1280x1024 60.0 1280x960 60.0 1024x768 60.0 60.0 58.8 800x600 60.3 56.2 640x480 59.9 TV disconnected (normal left inverted right x axis y axis) Reproducible: Sometimes Steps to Reproduce: 1. Enable compositing in KDE4 2. change screen resoluion several times 3. try to enable/disable compositing several times Actual Results: Everything should work Expected Results: X crashes sometimes -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=469638 User nice@titanic.nyme.hu added comment https://bugzilla.novell.com/show_bug.cgi?id=469638#c1 --- Comment #1 from Tamás Németh <nice@titanic.nyme.hu> 2009-01-26 16:55:25 MST --- Sorry for confusing the actual and expected results. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=469638 User nice@titanic.nyme.hu added comment https://bugzilla.novell.com/show_bug.cgi?id=469638#c2 --- Comment #2 from Tamás Németh <nice@titanic.nyme.hu> 2009-01-26 16:58:09 MST --- Created an attachment (id=267790) --> (https://bugzilla.novell.com/attachment.cgi?id=267790) X.org logfile showing a crash triggered by resolution change -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=469638 User nice@titanic.nyme.hu added comment https://bugzilla.novell.com/show_bug.cgi?id=469638#c3 --- Comment #3 from Tamás Németh <nice@titanic.nyme.hu> 2009-01-26 16:58:49 MST --- Created an attachment (id=267791) --> (https://bugzilla.novell.com/attachment.cgi?id=267791) X.org logfile showing a crash triggered by disabling compositing -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=469638 Lubos Lunak <llunak@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|KDE4 Workspace |X.Org AssignedTo|kde-maintainers@suse.de |sndirsch@novell.com QAContact|qa@suse.de |xorg-maintainer-bugs@forge. | |provo.novell.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=469638 Stefan Dirsch <sndirsch@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Summary|KDE4 compositing makes the |intel: KDE4 compositing |X.org server quite instable |makes the X.org server | |quite instable (945 GM) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=469638 Stefan Dirsch <sndirsch@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P3 - Medium -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=469638 Stefan Dirsch <sndirsch@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #267791|application/octet-stream |text/plain mime type| | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=469638 User sndirsch@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=469638#c4 --- Comment #4 from Stefan Dirsch <sndirsch@novell.com> 2009-01-31 05:30:42 MST --- Looks like it's the same issue. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=469638 User sndirsch@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=469638#c5 Stefan Dirsch <sndirsch@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO Info Provider| |nice@titanic.nyme.hu --- Comment #5 from Stefan Dirsch <sndirsch@novell.com> 2009-02-02 02:55:58 MST --- Backtrace: 0: /usr/bin/X(xf86SigHandler+0x65) [0x47e715] 1: /lib64/libc.so.6 [0x7f40835cf6e0] 2: /usr/lib64/xorg/modules//extensions/libglx.so(__glXDeassociateContext+0x75) [0x7f40822f2785] 3: /usr/lib64/xorg/modules//extensions/libglx.so(__glXContextDestroy+0xf) [0x7f40822eeaaf] 4: /usr/lib64/xorg/modules//extensions/libglx.so [0x7f40822fac52] 5: /usr/lib64/xorg/modules//extensions/libglx.so(__glXFreeContext+0x6c) [0x7f40822f0c6c] 6: /usr/lib64/xorg/modules//extensions/libglx.so [0x7f40822f0cb3] 7: /usr/bin/X(FreeResourceByType+0x105) [0x434125] 8: /usr/lib64/xorg/modules//extensions/libglx.so [0x7f40822ed5be] 9: /usr/lib64/xorg/modules//extensions/libglx.so [0x7f40822f0f92] 10: /usr/bin/X(Dispatch+0x364) [0x44beb4] 11: /usr/bin/X(main+0x45d) [0x43231d] 12: /lib64/libc.so.6(__libc_start_main+0xe6) [0x7f40835bb586] 13: /usr/bin/X [0x4316f9] Fatal server error: Caught signal 11. Server aborting This must be something deep in Xserver (glx extension). Could you install xorg-x11-server-{debuginfo,debugsource} packages, log in remotely via ssh to this machine, attach gdb to Xorg process (-p <pid>) and do a backtrace ("bt") to figure out, where the crash exactly happens? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=469638 User nice@titanic.nyme.hu added comment https://bugzilla.novell.com/show_bug.cgi?id=469638#c6 --- Comment #6 from Tamás Németh <nice@titanic.nyme.hu> 2009-02-03 06:30:23 MST ---
This must be something deep in Xserver (glx extension). Could you install xorg-x11-server-{debuginfo,debugsource} packages, log in remotely via ssh to this machine, attach gdb to Xorg process (-p <pid>) and do a backtrace ("bt") to figure out, where the crash exactly happens?
OK, but this will take a few days, because I'm ill now, together with my entire family. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=469638 User nice@titanic.nyme.hu added comment https://bugzilla.novell.com/show_bug.cgi?id=469638#c7 --- Comment #7 from Tamás Németh <nice@titanic.nyme.hu> 2009-02-03 06:30:54 MST --- Please don't close this report as noreply. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=469638 User sndirsch@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=469638#c8 --- Comment #8 from Stefan Dirsch <sndirsch@novell.com> 2009-02-03 06:49:45 MST --- s/noreply/norespons :-) No big deal. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=469638 User sndirsch@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=469638#c9 --- Comment #9 from Stefan Dirsch <sndirsch@novell.com> 2009-02-10 06:19:49 MST --- Hope you feel better meanwhile? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=469638 User nice@titanic.nyme.hu added comment https://bugzilla.novell.com/show_bug.cgi?id=469638#c10 --- Comment #10 from Tamás Németh <nice@titanic.nyme.hu> 2009-02-10 07:39:49 MST --- Not yet, sorry. I'm still in bed. It's flu. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=469638 User nice@titanic.nyme.hu added comment https://bugzilla.novell.com/show_bug.cgi?id=469638#c11 Tamás Németh <nice@titanic.nyme.hu> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|nice@titanic.nyme.hu | --- Comment #11 from Tamás Németh <nice@titanic.nyme.hu> 2009-02-12 02:33:10 MST --- Created an attachment (id=272202) --> (https://bugzilla.novell.com/attachment.cgi?id=272202) Full gdb output OK, I've changed the screen resolution (actually from 1024x768 to 1400x1050), and this is what happened then: Program received signal SIGSEGV, Segmentation fault. __glXDeassociateContext (glxc=0x5ccc950) at glxutil.c:80 80 ; prev = curr, curr = curr->nextDrawPriv ) { (gdb) bt #0 __glXDeassociateContext (glxc=0x5ccc950) at glxutil.c:80 #1 0x00007f1b80933aaf in __glXContextDestroy (context=0x5b40c80) at glxcmds.c:151 #2 0x00007f1b8093fc52 in __glXDRIcontextDestroy (baseContext=0x5ccc950) at glxdri.c:304 #3 0x00007f1b80935c6c in __glXFreeContext (cx=0x5ccc950) at glxext.c:149 #4 0x00007f1b80935cb3 in ContextGone (cx=0x5b40c80, id=2177912896) at glxext.c:98 #5 0x0000000000434125 in FreeResourceByType (id=25198348, type=52, skipFree=0) at resource.c:597 #6 0x00007f1b809325be in __glXDisp_DestroyContext (cl=<value optimized out>, pc=<value optimized out>) at glxcmds.c:338 #7 0x00007f1b80935f92 in __glXDispatch (client=0xaa1810) at glxext.c:512 #8 0x000000000044beb4 in Dispatch () at dispatch.c:454 #9 0x000000000043231d in main (argc=8, argv=0x7fff8bcad7a8, envp=<value optimized out>) at main.c:441 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=469638 User sndirsch@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=469638#c12 --- Comment #12 from Stefan Dirsch <sndirsch@novell.com> 2009-02-12 03:32:03 MST --- Hmm. Maybe I'm blind, but currently I don't see the null pointer dereference. Here is the context: /* ** Deassociate a context from a drawable */ void __glXDeassociateContext(__GLXcontext *glxc) { __GLXcontext *curr, *prev; prev = NULL; if (glxc->drawPriv) { for ( curr = glxc->drawPriv->drawGlxc; curr != NULL ----> ; prev = curr, curr = curr->nextDrawPriv ) { if (curr == glxc) { /* found context. Deassociate. */ if (prev == NULL) { glxc->drawPriv->drawGlxc = curr->nextDrawPriv; } else { prev->nextDrawPriv = curr->nextDrawPriv; } curr->nextDrawPriv = NULL; __glXUnrefDrawable(glxc->drawPriv); break; } } } prev = NULL; if (glxc->readPriv) { for ( curr = glxc->readPriv->readGlxc ; curr != NULL ; prev = curr, curr = curr->nextReadPriv ) { if (curr == glxc) { /* found context. Deassociate. */ if (prev == NULL) { glxc->readPriv->readGlxc = curr->nextReadPriv; } else { prev->nextReadPriv = curr->nextReadPriv; } curr->nextReadPriv = NULL; __glXUnrefDrawable(glxc->readPriv); break; } } } } -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=469638 Stefan Dirsch <sndirsch@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|sndirsch@novell.com |xorg-maintainer-bugs@forge. | |provo.novell.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=469638 User sndirsch@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=469638#c13 Stefan Dirsch <sndirsch@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sndirsch@novell.com AssignedTo|xorg-maintainer-bugs@forge. |mhopf@novell.com |provo.novell.com | --- Comment #13 from Stefan Dirsch <sndirsch@novell.com> 2009-02-12 04:27:53 MST --- Looks like it's not a null pointer dereference, but some other bad value of curr. Reassigning. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=469638 User mhopf@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=469638#c14 Matthias Hopf <mhopf@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO Info Provider| |nice@titanic.nyme.hu --- Comment #14 from Matthias Hopf <mhopf@novell.com> 2009-02-12 10:58:21 MST --- The issue is that this code has already changed upstream. So it will be more difficult to actually debug. Does the Xserver crash during enabling/disabling of compositing, or during resolution change? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=469638 User nice@titanic.nyme.hu added comment https://bugzilla.novell.com/show_bug.cgi?id=469638#c15 Tamás Németh <nice@titanic.nyme.hu> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|nice@titanic.nyme.hu | --- Comment #15 from Tamás Németh <nice@titanic.nyme.hu> 2009-02-12 11:03:46 MST --- During resolution change (but not every time) and compositing DISABLING. This gdb output shows a crash by resolution change. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=469638 User mhopf@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=469638#c16 --- Comment #16 from Matthias Hopf <mhopf@novell.com> 2009-02-26 10:07:45 MST --- Could be related to upstream bugs xorg #17953 or #16314. Not related to xorg #16884 - this is solved differently, but with the same effect in our version. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com