[Bug 1060059] Re: Xorg crashed with SIGABRT in ResFindAllRes()
** Changed in: xorg-server (Ubuntu) Status: Triaged = Fix Released ** Changed in: xorg-server (Ubuntu Quantal) Status: Triaged = Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1060059 Title: Xorg crashed with SIGABRT in ResFindAllRes() To manage notifications about this bug go to: https://bugs.launchpad.net/xorg-server/+bug/1060059/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1060059] Re: Xorg crashed with SIGABRT in ResFindAllRes()
** Changed in: xorg-server Status: Confirmed = Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1060059 Title: Xorg crashed with SIGABRT in ResFindAllRes() To manage notifications about this bug go to: https://bugs.launchpad.net/xorg-server/+bug/1060059/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1060059] Re: Xorg crashed with SIGABRT in ResFindAllRes()
Launchpad has imported 6 comments from the remote bug at https://bugs.freedesktop.org/show_bug.cgi?id=57448. If you reply to an imported comment from within Launchpad, your comment will be sent to the remote bug automatically. Read more about Launchpad's inter-bugtracker facilities at https://help.launchpad.net/InterBugTracking. On 2012-11-23T09:17:00+00:00 Knut-petersen wrote: Hardware AOpen i915GMm-HFS, Pentium M Dothan, 2GB RAM Software == openSuSE 12.1 with kernel 3.6.7, fresh Xorg and xrestop Problem === Starting xrestop in a terminal window immediately kills Xorg. Keyboard and mouse dead, screen frozen. Login via ssh is possible, absolutely nothing related in dmesg and Xorg.0.log Restarting Xorg via ssh works fine and reanimates screen/keyboard/mouse. Starting xrestop via ssh -X from another system works fine. cu, Knut Reply at: https://bugs.launchpad.net/ubuntu/+source/xorg- server/+bug/1060059/comments/12 On 2012-11-23T09:23:27+00:00 Knut-petersen wrote: Forget about Starting xrestop via ssh -X from another system works fine. That does inspect the xserver on the wrong system. cu, Knut Reply at: https://bugs.launchpad.net/ubuntu/+source/xorg- server/+bug/1060059/comments/14 On 2012-11-23T11:16:01+00:00 Timo Aaltonen wrote: an example of a stacktrace https://launchpadlibrarian.net/118094777/Stacktrace.txt from ubuntu bug https://bugs.launchpad.net/ubuntu/quantal/+source/xorg- server/+bug/1060059 Reply at: https://bugs.launchpad.net/ubuntu/+source/xorg- server/+bug/1060059/comments/15 On 2012-11-24T21:53:02+00:00 Freedesktop-treblig wrote: Since everything useful was optimised out, I added some debug: FindAllClientResources: i=19 FindAllClientResources: resources loop: this=0x7ffe7b0cc420 next=(nil) this-value=0x7ffe7b0cc380 id=52 type=21 ResFindAllRes: value=0x7ffe7b0cc380 id=82 type=21 TypeMask=1fff counts=0x7ffe7bc0e950 FindAllClientResources: i=20 FindAllClientResources: resources loop: this=0x7ffe7b0cd840 next=(nil) this-value=0x7ffe7b0cd7d0 id=55 type=19 ResFindAllRes: value=0x7ffe7b0cd7d0 id=85 type=19 TypeMask=1fff counts=0x7ffe7bc0e950 FindAllClientResources: i=21 FindAllClientResources: resources loop: this=0x7ffe7b76a600 next=0x7ffe7b0cd610 this-value=0x7ffe7b76ae80 id=193 type=44 ResFindAllRes: value=0x7ffe7b76ae80 id=403 type=44 TypeMask=1fff counts=0x7ffe7bc0e950 FindAllClientResources: resources loop: this=0x7ffe7b0cd610 next=(nil) this-value=0x7ffe7b0cd5b0 id=54 type=0 ResFindAllRes: value=0x7ffe7b0cd5b0 id=84 type=0 TypeMask=1fff counts=0x7ffe7bc0e950 Reply at: https://bugs.launchpad.net/ubuntu/+source/xorg- server/+bug/1060059/comments/17 On 2012-11-25T00:37:02+00:00 Freedesktop-treblig wrote: OK, a bit more; xres.c ResFindAllRes doesn't handle the case where the type is 0 (it uses type-1 as an index into an array); it's trivial to fix that with an if ((type TypeMask)!=0) the question is should that ever happen? I can see that dix/resource.c:AddResource is getting called (once) with a type of 0 - is that legal? Reply at: https://bugs.launchpad.net/ubuntu/+source/xorg- server/+bug/1060059/comments/18 On 2012-11-25T01:17:38+00:00 Freedesktop-treblig wrote: and my final one for tonight: The case where AddResource is being called with a 0 type is internal to the server: No locals. #1 0x555ccce2 in AddResource (id=84, type=0, value=0x559ddaa0) at ../../dix/resource.c:799 client = optimised out rrec = optimised out res = optimised out head = optimised out #2 0x5566e5ce in RRProviderCreate (pScreen=0x559b5a80, name=0x559bd550 radeon, nameLength=6) at ../../randr/rrprovider.c:361 provider = 0x559ddaa0 pScrPriv = 0x559d9a50 line 361: if (!AddResource (provider-id, RRProviderType, (pointer) provider)) return NULL; RRProviderType set in RRProviderInit #3 0x5562ab04 in xf86RandR12CreateObjects12 (pScreen=0x559b5a80) at ../../../../hw/xfree86/modes/xf86RandR12.c:1572 pScrn = 0x559b7c80 config = 0x559ba040 c = optimised out o = optimised out #4 xf86RandR12Init12 (pScreen=0x559b5a80) at ../../../../hw/xfree86/modes/xf86RandR12.c:1929 pScrn = optimised out rp = 0x559d9a50 randrp = 0x76343ac0 _IO_stdfile_2_lock i = optimised out #5 xf86RandR12Init (pScreen=0x559b5a80) at ../../../../hw/xfree86/modes/xf86RandR12.c:897 rp = 0x38 randrp = optimised out #6
[Bug 1060059] Re: Xorg crashed with SIGABRT in ResFindAllRes()
It's interesting, I can't trigger this in either my quantal or raring vm, but I've had it happen on two different quantal machines; one Intel graphics one ATI (open driver). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1060059 Title: Xorg crashed with SIGABRT in ResFindAllRes() To manage notifications about this bug go to: https://bugs.launchpad.net/xorg-server/+bug/1060059/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1060059] Re: Xorg crashed with SIGABRT in ResFindAllRes()
I've just put a load of comments on the upstream bug The short story is that a patch to Xext/xres.c ResFindAllRes to change counts[(type TypeMask) -1]++ to if ((type TypeMask)!=0) counts[(type TypeMask) - 1]++; stops the crash. The longer story is, I don't think that case of a 0 type should be reached, but I don't know about the innards of X to be sure. I've commented one case on the upstream bug and how to stop it, and also a suggestion to make it safer to stop it triggering. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1060059 Title: Xorg crashed with SIGABRT in ResFindAllRes() To manage notifications about this bug go to: https://bugs.launchpad.net/xorg-server/+bug/1060059/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1060059] Re: Xorg crashed with SIGABRT in ResFindAllRes()
Thinkpad T420, (Intel Core i7) only Intel graphics enabled in BIOS. Ubuntu 12.10 Linux version 3.5.0-18-generic -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1060059 Title: Xorg crashed with SIGABRT in ResFindAllRes() To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/1060059/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1060059] Re: Xorg crashed with SIGABRT in ResFindAllRes()
** Bug watch added: freedesktop.org Bugzilla #57448 https://bugs.freedesktop.org/show_bug.cgi?id=57448 ** Also affects: xorg-server via https://bugs.freedesktop.org/show_bug.cgi?id=57448 Importance: Unknown Status: Unknown -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1060059 Title: Xorg crashed with SIGABRT in ResFindAllRes() To manage notifications about this bug go to: https://bugs.launchpad.net/xorg-server/+bug/1060059/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1060059] Re: Xorg crashed with SIGABRT in ResFindAllRes()
I'm reproducing it as well here, up-to-date quantal, ThinkPad T420s with only Intel HD enabled. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1060059 Title: Xorg crashed with SIGABRT in ResFindAllRes() To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/1060059/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1060059] Re: Xorg crashed with SIGABRT in ResFindAllRes()
** Changed in: xorg-server (Ubuntu) Importance: Medium = High -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1060059 Title: Xorg crashed with SIGABRT in ResFindAllRes() To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/1060059/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1060059] Re: Xorg crashed with SIGABRT in ResFindAllRes()
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: xorg-server (Ubuntu) Status: New = Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1060059 Title: Xorg crashed with SIGABRT in ResFindAllRes() To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/1060059/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1060059] Re: Xorg crashed with SIGABRT in ResFindAllRes()
** Changed in: xorg-server (Ubuntu) Status: Confirmed = Triaged -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1060059 Title: Xorg crashed with SIGABRT in ResFindAllRes() To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/1060059/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1060059] Re: Xorg crashed with SIGABRT in ResFindAllRes()
** Also affects: xorg-server (Ubuntu Quantal) Importance: High Status: Triaged ** Changed in: xorg-server (Ubuntu Quantal) Milestone: None = quantal-updates -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1060059 Title: Xorg crashed with SIGABRT in ResFindAllRes() To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/1060059/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1060059] Re: Xorg crashed with SIGABRT in ResFindAllRes()
It happend for me as well, but I got a segfault. I attach my logfile. Unity is running, up-to-date 12.10. Machine was upgraded a couple of times and suspsened/resumed a bunch of times too. ** Attachment added: Xorg.0.log.old https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/1060059/+attachment/3401219/+files/Xorg.0.log.old -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1060059 Title: Xorg crashed with SIGABRT in ResFindAllRes() To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/1060059/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1060059] Re: Xorg crashed with SIGABRT in ResFindAllRes()
** Changed in: xorg-server (Ubuntu Quantal) Assignee: (unassigned) = Canonical X.org (canonical-x) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1060059 Title: Xorg crashed with SIGABRT in ResFindAllRes() To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/1060059/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1060059] Re: Xorg crashed with SIGABRT in ResFindAllRes()
Funny fact: $ Xvfb :99 [different terminal] $ DISPLAY=:99 gnome-session (or gedit/emacs/gnome-terminal) does not crash -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1060059 Title: Xorg crashed with SIGABRT in ResFindAllRes() To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/1060059/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1060059] Re: Xorg crashed with SIGABRT in ResFindAllRes()
Timo, please forward this upstream. Maybe doublecheck that you can reproduce it as well. ** Changed in: xorg-server (Ubuntu Quantal) Assignee: Canonical X.org (canonical-x) = Timo Aaltonen (tjaalton) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1060059 Title: Xorg crashed with SIGABRT in ResFindAllRes() To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/1060059/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1060059] Re: Xorg crashed with SIGABRT in ResFindAllRes()
FWIW, this is perfectly reproducible on my installation; I've tried xrestop numerous times under Quantal, and every time the X session has crashed. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1060059 Title: Xorg crashed with SIGABRT in ResFindAllRes() To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/1060059/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1060059] Re: Xorg crashed with SIGABRT in ResFindAllRes()
** Visibility changed to: Public -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1060059 Title: Xorg crashed with SIGABRT in ResFindAllRes() To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/1060059/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs