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=1fffffff 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=1fffffff 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=1fffffff counts=0x7ffe7bc0e950 FindAllClientResources: resources loop: this=0x7ffe7b0cd610 next=(nil) this->value=0x7ffe7b0cd5b0 id=54 type=0 ResFindAllRes: value=0x7ffe7b0cd5b0 id=84 type=0 TypeMask=1fffffff 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 0x00005555555ccce2 in AddResource (id=84, type=0, value=0x5555559ddaa0) at ../../dix/resource.c:799 client = <optimised out> rrec = <optimised out> res = <optimised out> head = <optimised out> #2 0x000055555566e5ce in RRProviderCreate (pScreen=0x5555559b5a80, name=0x5555559bd550 "radeon", nameLength=6) at ../../randr/rrprovider.c:361 provider = 0x5555559ddaa0 pScrPriv = 0x5555559d9a50 line 361: if (!AddResource (provider->id, RRProviderType, (pointer) provider)) return NULL; RRProviderType set in RRProviderInit #3 0x000055555562ab04 in xf86RandR12CreateObjects12 (pScreen=0x5555559b5a80) at ../../../../hw/xfree86/modes/xf86RandR12.c:1572 pScrn = 0x5555559b7c80 config = 0x5555559ba040 c = <optimised out> o = <optimised out> #4 xf86RandR12Init12 (pScreen=0x5555559b5a80) at ../../../../hw/xfree86/modes/xf86RandR12.c:1929 pScrn = <optimised out> rp = 0x5555559d9a50 randrp = 0x7ffff6343ac0 <_IO_stdfile_2_lock> i = <optimised out> #5 xf86RandR12Init (pScreen=0x5555559b5a80) at ../../../../hw/xfree86/modes/xf86RandR12.c:897 rp = 0x38 randrp = <optimised out> #6 0x000055555561e596 in xf86CrtcScreenInit (screen=0x5555559b5a80) at ../../../../hw/xfree86/modes/xf86Crtc.c:778 scrn = <optimised out> config = 0x5555559ba040 c = <optimised out> #7 0x00007ffff4c15625 in ?? () from /usr/lib/xorg/modules/drivers/radeon_drv.so No symbol table info available. #8 0x00005555555a9d25 in AddScreen (pfnInit=0x7ffff4c15150, argc=1, argv=0x7fffffffe678) at ../../dix/dispatch.c:3830 i = 0 pScreen = 0x5555559b5a80 ret = <optimised out> #9 0x00005555555eb4c3 in InitOutput (pScreenInfo=0x5555555e40c0 <xf86SetDGAMode>, argc=1, argv=0x7fffffffe678) at ../../../../hw/xfree86/common/xf86Init.c:913 i = <optimised out> j = <optimised out> k = <optimised out> scr_index = <optimised out> modulelist = <optimised out> optionlist = 0x5555559a4040 screenpix24 = <optimised out> pix24 = <optimised out> pix24From = <optimised out> pix24Fail = 0 as far as I can tell 'RRProviderType' is never initialised, because as far as I can tell RRProviderInit in randr/RRProviderInit is never called, and neither can I see where it's supposed to be called. So I think there are three fixes that are needed here: 1) Xext/xres.c ResFindAllRes change counts[(type & TypeMask) -1]++ to if ((type & TypeMask)!=0) counts[(type & TypeMask) - 1]++; 2) If it's not legal to have a 0-type'd resource, then dix/resource.c:AddResource should check for it and reject it. 3) fix either randr/rrprovider.c or whatever should be calling RRProviderInit to call it before hand. Reply at: https://bugs.launchpad.net/ubuntu/+source/xorg- server/+bug/1060059/comments/19 ** Changed in: xorg-server Status: Unknown => Confirmed ** Changed in: xorg-server Importance: Unknown => Medium -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to xorg-server in Ubuntu. https://bugs.launchpad.net/bugs/1060059 Title: Xorg crashed with SIGABRT in ResFindAllRes() Status in X.Org X server: Confirmed Status in “xorg-server” package in Ubuntu: Triaged Status in “xorg-server” source package in Quantal: Triaged Bug description: Crashed as soon as xrestop is run ProblemType: Crash DistroRelease: Ubuntu 12.10 Package: xserver-xorg-core 2:1.13.0-0ubuntu5 ProcVersionSignature: Ubuntu 3.5.0-16.25-generic 3.5.4 Uname: Linux 3.5.0-16-generic x86_64 .tmp.unity.support.test.0: ApportVersion: 2.5.3-0ubuntu1 Architecture: amd64 CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins' CompositorRunning: compiz CrashCounter: 1 Date: Tue Oct 2 17:43:30 2012 DistUpgraded: Fresh install DistroCodename: quantal DistroVariant: ubuntu ExecutablePath: /usr/bin/Xorg ExecutableTimestamp: 1348785641 GraphicsCard: Advanced Micro Devices [AMD] nee ATI RV730XT [Radeon HD 4670] [1002:9490] (prog-if 00 [VGA controller]) Subsystem: Giga-byte Technology Device [1458:21b2] InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Alpha amd64 (20120905.2) MachineType: Gigabyte Technology Co., Ltd. GA-MA780G-UD3H ProcCmdline: /usr/bin/X :0 -core -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch -background none ProcCwd: /etc/X11 ProcEnviron: ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.5.0-16-generic root=UUID=e9e28db6-3c36-4e13-bea1-017b97bd28d8 ro quiet splash vt.handoff=7 Signal: 6 SourcePackage: xorg-server StacktraceTop: ?? () FindAllClientResources () ?? () ?? () ?? () Title: Xorg crashed with SIGABRT in FindAllClientResources() UpgradeStatus: No upgrade log present (probably fresh install) UserGroups: dmi.bios.date: 12/30/2008 dmi.bios.vendor: Award Software International, Inc. dmi.bios.version: F1 dmi.board.name: GA-MA780G-UD3H dmi.board.vendor: Gigabyte Technology Co., Ltd. dmi.board.version: x.x dmi.chassis.type: 3 dmi.chassis.vendor: Gigabyte Technology Co., Ltd. dmi.modalias: dmi:bvnAwardSoftwareInternational,Inc.:bvrF1:bd12/30/2008:svnGigabyteTechnologyCo.,Ltd.:pnGA-MA780G-UD3H:pvr:rvnGigabyteTechnologyCo.,Ltd.:rnGA-MA780G-UD3H:rvrx.x:cvnGigabyteTechnologyCo.,Ltd.:ct3:cvr: dmi.product.name: GA-MA780G-UD3H dmi.sys.vendor: Gigabyte Technology Co., Ltd. version.compiz: compiz 1:0.9.8.2+bzr3377-0ubuntu1 version.ia32-libs: ia32-libs N/A version.libdrm2: libdrm2 2.4.39-0ubuntu1 version.libgl1-mesa-dri: libgl1-mesa-dri 9.0~git20120917.7cfd42ce-0ubuntu3 version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A version.libgl1-mesa-glx: libgl1-mesa-glx 9.0~git20120917.7cfd42ce-0ubuntu3 version.xserver-xorg-core: xserver-xorg-core 2:1.13.0-0ubuntu5 version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.7.3-0ubuntu1 version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:6.99.99~git20120913.8637f772-0ubuntu1 version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.20.9-0ubuntu1 version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.2-0ubuntu2 To manage notifications about this bug go to: https://bugs.launchpad.net/xorg-server/+bug/1060059/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp