[Bug 652523] New: Xorg: SIGABRT at very start of session w/ emacs and dual head
https://bugzilla.novell.com/show_bug.cgi?id=652523 https://bugzilla.novell.com/show_bug.cgi?id=652523#c0 Summary: Xorg: SIGABRT at very start of session w/ emacs and dual head Classification: openSUSE Product: openSUSE 11.4 Version: Factory Platform: Other OS/Version: Other Status: NEW Severity: Major Priority: P5 - None Component: X.Org AssignedTo: bnc-team-xorg-bugs@forge.provo.novell.com ReportedBy: bphilips@novell.com QAContact: xorg-maintainer-bugs@forge.provo.novell.com Found By: --- Blocker: --- I am using Factory + X11:XOrg and running into a server crash. It seems to only happen with two displays and is reproducible when luanching emacs. (Related bug#648726). Program received signal SIGABRT, Aborted. 0x00007f92fff5e965 in raise () from /lib64/libc.so.6 (gdb) bt #0 0x00007f92fff5e965 in raise () from /lib64/libc.so.6 #1 0x00007f92fff5fe66 in abort () from /lib64/libc.so.6 #2 0x00007f92fff99c83 in __libc_message () from /lib64/libc.so.6 #3 0x00007f92fff9f266 in malloc_printerr () from /lib64/libc.so.6 #4 0x00007f92fffa1574 in _int_malloc () from /lib64/libc.so.6 #5 0x00007f92fffa3af9 in malloc () from /lib64/libc.so.6 #6 0x000000000043d7d9 in AddResource (id=52428885, type=1073741826, value=0x30586f0) at resource.c:503 #7 0x000000000042925f in ProcCreatePixmap (client=0x1ae1320) at dispatch.c:1429 #8 0x000000000042da81 in Dispatch () at dispatch.c:432 #9 0x0000000000425b5e in main (argc=9, argv=<value optimized out>, envp=<value optimized out>) at main.c:291 (gdb) Supportconfig in Attachment #396617. -- 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=652523 https://bugzilla.novell.com/show_bug.cgi?id=652523#c Stefan Dirsch <sndirsch@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P3 - Medium Status|NEW |ASSIGNED AssignedTo|bnc-team-xorg-bugs@forge.pr |sndirsch@novell.com |ovo.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=652523 https://bugzilla.novell.com/show_bug.cgi?id=652523#c1 Stefan Dirsch <sndirsch@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO InfoProvider| |bphilips@novell.com --- Comment #1 from Stefan Dirsch <sndirsch@novell.com> 2010-11-10 06:10:46 UTC --- Could you update kernel and X.Org zypper ar -f \ http://download.opensuse.org/repositories/Kernel:/HEAD/openSUSE_Factory/ \ Kernel:HEAD zypper ar -f \ http://download.opensuse.org/repositories/X11:/XOrg/openSUSE_Factory/ \ X11:XOrg zypper mr -p 90 Kernel:HEAD zypper mr -p 90 X11:XOrg zypper ref zypper in libtalloc2 zypper dup -r Kernel:HEAD zypper dup -r X11:XOrg zypper in xorg-x11-server-debuginfo xorg-x11-server-debugsource \ xorg-x11-driver-video-debuginfo xorg-x11-driver-video-debugsource \ xorg-x11-driver-input-debuginfo xorg-x11-driver-input-debugsource \ libpixman-1-0-debuginfo libpixman-1-0-debugsource \ libpciaccess0-debuginfo libpciaccess0-debugsource \ Mesa-debuginfo Mesa-debugsource and attach /var/log/Xorg.0.log? -- 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=652523 https://bugzilla.novell.com/show_bug.cgi?id=652523#c2 Brandon Philips <bphilips@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED InfoProvider|bphilips@novell.com | --- Comment #2 from Brandon Philips <bphilips@novell.com> 2010-11-10 20:50:08 UTC --- Created an attachment (id=399490) --> (http://bugzilla.novell.com/attachment.cgi?id=399490) Xorg.0.log.old -- 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=652523 https://bugzilla.novell.com/show_bug.cgi?id=652523#c3 --- Comment #3 from Brandon Philips <bphilips@novell.com> 2010-11-10 20:51:56 UTC --- Created an attachment (id=399491) --> (http://bugzilla.novell.com/attachment.cgi?id=399491) gdb backtrace -- 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=652523 https://bugzilla.novell.com/show_bug.cgi?id=652523#c4 Stefan Dirsch <sndirsch@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO InfoProvider| |bphilips@novell.com --- Comment #4 from Stefan Dirsch <sndirsch@novell.com> 2010-11-10 21:10:57 UTC --- Any chance to debug this any further? The SIGABRT appears to happen in malloc. Not sure why. -- 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=652523 https://bugzilla.novell.com/show_bug.cgi?id=652523#c5 Brandon Philips <bphilips@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED InfoProvider|bphilips@novell.com | --- Comment #5 from Brandon Philips <bphilips@novell.com> 2010-11-10 21:52:15 UTC --- (In reply to comment #4)
Any chance to debug this any further? The SIGABRT appears to happen in malloc. Not sure why.
I don't know where to start. Any pointers on how to run valgrind over Xorg successfully? Replacing /usr/bin/Xorg with a script that calls valgrind over /usr/bin/Xorg.orig doesn't seem to get me up to a working session. -- 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=652523 https://bugzilla.novell.com/show_bug.cgi?id=652523#c6 Stefan Dirsch <sndirsch@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO InfoProvider| |bphilips@novell.com --- Comment #6 from Stefan Dirsch <sndirsch@novell.com> 2010-11-10 22:01:32 UTC --- What about attaching gdb to Xorg process and setting a breakpoint in RegionCreate() ? -- 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=652523 https://bugzilla.novell.com/show_bug.cgi?id=652523#c7 --- Comment #7 from Stefan Dirsch <sndirsch@novell.com> 2010-11-24 22:48:12 UTC --- 2 weeks later. Any news on that one? -- 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=652523 https://bugzilla.novell.com/show_bug.cgi?id=652523#c8 Stefan Dirsch <sndirsch@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |RESOLVED InfoProvider|bphilips@novell.com | Resolution| |NORESPONSE --- Comment #8 from Stefan Dirsch <sndirsch@novell.com> 2010-12-04 00:02:03 UTC --- Still no feedback. Reporting it upstream would make most sense anyway. http://nouveau.freedesktop.org/wiki/FrontPage#Bugs -- 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=652523 https://bugzilla.novell.com/show_bug.cgi?id=652523#c9 Brandon Philips <bphilips@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|NORESPONSE | --- Comment #9 from Brandon Philips <bphilips@novell.com> 2010-12-04 00:33:45 UTC --- (In reply to comment #6)
What about attaching gdb to Xorg process and setting a breakpoint in RegionCreate() ?
Sorry I tried this earlier but forgot to respond. RegionCreate is called constantly particularly with rect=0x0, size=0. Any suggestions on how to narrow it down a bit? It seems like the corruption is happening long before RegionCreate since this function call happens so often in Xorg. -- 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=652523 https://bugzilla.novell.com/show_bug.cgi?id=652523#c10 Stefan Dirsch <sndirsch@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |NEEDINFO InfoProvider| |bphilips@novell.com --- Comment #10 from Stefan Dirsch <sndirsch@novell.com> 2010-12-04 05:01:01 UTC --- Isn't it the malloc() call which results in aborting the process? Could you play a bit with MALLOC_CHECK_ env. variable (see malloc(3) manual page) ? I guess we didn't see the diagnostic message on stderr yet. Should be in the logfile of your displaymanager. -- 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=652523 https://bugzilla.novell.com/show_bug.cgi?id=652523#c11 --- Comment #11 from Brandon Philips <bphilips@novell.com> 2010-12-07 04:32:32 UTC --- Created an attachment (id=403685) --> (http://bugzilla.novell.com/attachment.cgi?id=403685) Screenshot of corruption Adding MALLOC_CHECK_ options must adjust the timing just enough to avoid the bug. I can't trigger it when this is set. However, when X starts there are some very noticeable rendering errors all over the screen. See attached. -- 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=652523 https://bugzilla.novell.com/show_bug.cgi?id=652523#c12 --- Comment #12 from Brandon Philips <bphilips@novell.com> 2010-12-07 04:41:45 UTC --- Created an attachment (id=403686) --> (http://bugzilla.novell.com/attachment.cgi?id=403686) dmesg: PGRAPH_TRAP_TEXTURE - TP0: Unhandled ustatus 0x00000009 Error printed by the Kernel when Xorg crashed without MALLOC_CHECK set: nouveau 0000:02:00.0: PGRAPH_TRAP_TEXTURE - TP0: Unhandled ustatus 0x00000009 See the attached log for the full errror -- 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=652523 https://bugzilla.novell.com/show_bug.cgi?id=652523#c Brandon Philips <bphilips@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #403686|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=652523 https://bugzilla.novell.com/show_bug.cgi?id=652523#c Brandon Philips <bphilips@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|bphilips@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=652523 https://bugzilla.novell.com/show_bug.cgi?id=652523#c13 Stefan Dirsch <sndirsch@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Xorg: SIGABRT at very start |nouveau [NV98] SIGABRT of |of session w/ emacs and |Xorg due to mailloc |dual head |failures at very start of | |session w/ emacs and dual | |head --- Comment #13 from Stefan Dirsch <sndirsch@novell.com> 2010-12-07 07:33:30 UTC --- Well, I'm afraid that's deep inside Kernel DRM. -- 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=652523 https://bugzilla.novell.com/show_bug.cgi?id=652523#c Stefan Dirsch <sndirsch@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|X.Org |Kernel AssignedTo|sndirsch@novell.com |kernel-maintainers@forge.pr | |ovo.novell.com QAContact|xorg-maintainer-bugs@forge. |qa@suse.de |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=652523 https://bugzilla.novell.com/show_bug.cgi?id=652523#c14 Brandon Philips <bphilips@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|Kernel |X.Org Product|openSUSE 11.4 |openSUSE 11.3 Target Milestone|--- |Factory --- Comment #14 from Brandon Philips <bphilips@novell.com> 2010-12-07 21:12:39 UTC --- (In reply to comment #13)
Well, I'm afraid that's deep inside Kernel DRM.
Right, but I don't think it is the root cause. It may just be a symptom of Xorg crashing in some crazy state. Is there anything else I can try to debug Xorg? There is still some sort of bug that is being papered over by using MALLOC_CHECK_. -- 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=652523 https://bugzilla.novell.com/show_bug.cgi?id=652523#c Brandon Philips <bphilips@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|X.Org |X.Org AssignedTo|kernel-maintainers@forge.pr |bnc-team-xorg-bugs@forge.pr |ovo.novell.com |ovo.novell.com Product|openSUSE 11.3 |openSUSE 11.4 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=652523 https://bugzilla.novell.com/show_bug.cgi?id=652523#c15 Brandon Philips <bphilips@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 - Medium |P2 - High --- Comment #15 from Brandon Philips <bphilips@novell.com> 2010-12-07 21:17:10 UTC --- Increasing to high priority since shipping a NVIDIA driver that crashes when launching applications is fairly critical. -- 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=652523 https://bugzilla.novell.com/show_bug.cgi?id=652523#c16 Stefan Dirsch <sndirsch@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|X.Org |Kernel AssignedTo|bnc-team-xorg-bugs@forge.pr |kernel-maintainers@forge.pr |ovo.novell.com |ovo.novell.com QAContact|xorg-maintainer-bugs@forge. |qa@suse.de |provo.novell.com | --- Comment #16 from Stefan Dirsch <sndirsch@novell.com> 2010-12-07 21:29:54 UTC --- I disagree. I'm pretty sure the issue is inside Kernel DRM. I suggest to google for "PGRAPH_TRAP_TEXTURE - TP0: Unhandled ustatus" to verify that *and* finally open a bugreport upstream as proposed in comment #8 a few days ago. -- 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=652523 https://bugzilla.novell.com/show_bug.cgi?id=652523#c17 --- Comment #17 from Jeff Mahoney <jeffm@novell.com> 2010-12-07 23:23:57 UTC --- Strangely, the problem goes away for me when I add the following to /etc/init.d/xdm. export LIBC_FATAL_STDERR_=1 Stefan, what do you think the chances are that writing to the underlying vt while the X server is up is causing this issue? When glibc is aborting, at least using these code paths, it writes to the controlling terminal directly - bypassing stderr. gimp was reliably crashing for me. As was totem, usually in the first few seconds of playing a video. With LIBC_FATAL_STDERR_=1, gimp starts (with visual corruption) and totem works fine. -- 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=652523 https://bugzilla.novell.com/show_bug.cgi?id=652523#c18 --- Comment #18 from Jeff Mahoney <jeffm@novell.com> 2010-12-07 23:28:27 UTC --- Created an attachment (id=403859) --> (http://bugzilla.novell.com/attachment.cgi?id=403859) Complete abort() output I spoke too soon. I was just able to reproduce the issue _without_ the PGRAPH_TRAP_TEXTURE issue. The kernel log is clean. Here's the output of the crash. -- 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=652523 https://bugzilla.novell.com/show_bug.cgi?id=652523#c19 --- Comment #19 from Jeff Mahoney <jeffm@novell.com> 2010-12-08 01:04:28 UTC --- Seems mine is different as mine is in free(), not malloc. But, if it'll help: (gdb) list *+0x8528 0x8528 is in exaDestroyPixmap_mixed (exa_mixed.c:259). 254 pExaScr->info->DestroyPixmap(pScreen, pExaPixmap->driverPriv); 255 pExaPixmap->driverPriv = NULL; 256 257 if (pExaPixmap->pDamage) { 258 free(pExaPixmap->sys_ptr); 259 pExaPixmap->sys_ptr = NULL; 260 pExaPixmap->pDamage = NULL; 261 } 262 } 263 -- 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=652523 https://bugzilla.novell.com/show_bug.cgi?id=652523#c20 --- Comment #20 from Jeff Mahoney <jeffm@novell.com> 2010-12-08 20:07:04 UTC --- Created an attachment (id=404015) --> (http://bugzilla.novell.com/attachment.cgi?id=404015) Another backtrace - abort in free(), but a different path. (gdb) list *0x46b942 0x46b942 is in FreeOsBuffers (io.c:1102). 1097 if ((oci = oc->input)) 1098 { 1099 if (FreeInputs) 1100 { 1101 free(oci->buffer); 1102 free(oci); 1103 } 1104 else 1105 { 1106 FreeInputs = oci; -- 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=652523 https://bugzilla.novell.com/show_bug.cgi?id=652523#c21 Brandon Philips <bphilips@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CLOSED See Also| |https://bugs.freedesktop.or | |g/show_bug.cgi?id=32453 Resolution| |UPSTREAM --- Comment #21 from Brandon Philips <bphilips@novell.com> 2010-12-17 00:04:16 UTC --- Filed upstream. The backtrace changed slightly: https://bugs.freedesktop.org/show_bug.cgi?id=32453 Closing as upstream, again :( -- 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=652523 https://bugzilla.novell.com/show_bug.cgi?id=652523#c22 --- Comment #22 from Jeff Mahoney <jeffm@novell.com> 2011-01-05 20:03:04 UTC --- My issue was filed (and fixed) upstream in: https://bugs.freedesktop.org/show_bug.cgi?id=32803 -- at least the exaDestroyPixmap_mixed part. I haven't seen the FreeOsBuffers one in a while. -- 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