Xorg crashes on resume from suspend ending the session or other vt switches -NewInputDeviceRequest+0x22d

Bug #310775 reported by Shiv V
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
xorg-server (Ubuntu)
Fix Released
High
Unassigned

Bug Description

Upon resume from suspend, I don't get the gnome-screensaver password dialog. Instead I get the GDM login screen. After I login, the output of /usr/bin/w shows that my previous session is no longer running and that the new session is on a different vt from the one that ended. The Xorg.0.log.old has a backtrace in the end that includes "Saw signal 11. Server aborting". This has happened twice in a row with identical Xorg.0.log.old files (attached). I didn't have this issue with intrepid. Any ideas?

Setup:
* MacbookPro2,2
* Ubuntu 9.04 Alpha

* xorg.conf:
Section "Device"
        Identifier "Configured Video Device"
        Driver "radeon"
        Option "AccelMethod" "EXA"
        Option "DRI" "on"
EndSection
Section "Monitor"
        Identifier "Configured Monitor"
EndSection
Section "Screen"
        Identifier "Default Screen"
        Monitor "Configured Monitor"
        Device "Configured Video Device"
        SubSection "Display"
                Virtual 3360 2100
                ViewPort 0 0
        EndSubSection
EndSection

* Backtrace from end of /var/log/Xorg.0.log.old:
Backtrace:
0: /usr/X11R6/bin/X(xorg_backtrace+0x26) [0x4ef056]
1: /usr/X11R6/bin/X(xf86SigHandler+0x41) [0x483a51]
2: /lib/libc.so.6 [0x7f15aa070030]
3: /usr/X11R6/bin/X(CheckMotion+0x3b) [0x45708b]
4: /usr/X11R6/bin/X [0x494bdc]
5: /usr/X11R6/bin/X(NewInputDeviceRequest+0x22d) [0x494e8d]
6: /usr/X11R6/bin/X [0x46acde]
7: /usr/lib/libhal.so.1 [0x7f15ab261ed9]
8: /lib/libdbus-1.so.3(dbus_connection_dispatch+0x33b) [0x7f15ab02790b]
9: /lib/libdbus-1.so.3 [0x7f15ab027ccb]
10: /usr/X11R6/bin/X [0x46a07b]
11: /usr/X11R6/bin/X(WakeupHandler+0x4b) [0x4513db]
12: /usr/X11R6/bin/X(WaitForSomething+0x1ef) [0x4ecadf]
13: /usr/X11R6/bin/X(Dispatch+0x80) [0x44d5a0]
14: /usr/X11R6/bin/X(main+0x3bd) [0x4332bd]
15: /lib/libc.so.6(__libc_start_main+0xe6) [0x7f15aa05b586]
16: /usr/X11R6/bin/X [0x432749]
Saw signal 11. Server aborting.
(II) UnloadModule: "synaptics"
(II) Macintosh mouse button emulation: Close
(II) UnloadModule: "evdev"
(II) Mouseemu virtual mouse: Close
(II) UnloadModule: "evdev"
(II) Apple Computer Apple Internal Keyboard / Trackpad: Close
(II) UnloadModule: "evdev"
(II) Mouseemu virtual keyboard: Close
(II) UnloadModule: "evdev"
(II) HID 05ac:1000: Close
(II) UnloadModule: "evdev"
 ddxSigGiveUp: Closing log

[lspci]
00:00.0 Host bridge [0600]: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express Memory Controller Hub [8086:27a0] (rev 03)
     Subsystem: Intel Corporation Device [8086:7270]
01:00.0 VGA compatible controller [0300]: ATI Technologies Inc M56P [Radeon Mobility X1600] [1002:71c5]
     Subsystem: Apple Computer Inc. Device [106b:0080]

Tags: resume xorg
Revision history for this message
Shiv V (svenkata) wrote :
Revision history for this message
Bryce Harrington (bryce) wrote :

Hi svenkata,

Please attach the output of `lspci -vvnn` too.

[This is an automated message. If this script has reached you erroneously, please accept our apologies; any reply to this message will be sufficient to prevent it from doing further automated processing.]

Changed in xorg:
status: New → Incomplete
Revision history for this message
Shiv V (svenkata) wrote :

Here's the output of lspci -vvnn run as root. Some more things I have noticed:

(a) I do not always lose my session. Sometimes I get the gnome-screensaver password prompt
(b) I also lose my session sometimes when I switch to a text vt. AFAIK, vt switching also happens during suspend/resume by pm-suspend.

I don't know much about graphics and framebuffers and text modes, but it seems that this bug is being triggered by switching between virtual terminals, in particular from "graphics mode" to "text mode". Does that help?

Bryce Harrington (bryce)
Changed in xorg:
status: Incomplete → Confirmed
Revision history for this message
Bryce Harrington (bryce) wrote :

Can you please collect a full backtrace? - see http://wiki.ubuntu.com/X/Backtracing for directions.

Changed in xorg-server:
importance: Undecided → High
status: Confirmed → Incomplete
Revision history for this message
Shiv V (svenkata) wrote :

I'm not having this problem any more :) Here are a few things that have changed:

before -> during -> after the problem:
xserver-xorg: 1:7.4~5ubuntu3 (last intrepid) -> first jaunty version through 1:7.4~5ubuntu10 -> 1:7.4~5ubuntu12
xserver-xorg-core: 2:1.5.2-2ubuntu3 (last intrepid) -> first jaunty version through 2:1.5.99.901-1ubuntu1 -> 2:1.5.99.902-0ubuntu1

I have also rolled back xserver-xorg-input-synaptics from 0.99.3-2ubuntu2 (jaunty) to 0.15.2-0ubuntu7 (intrepid) because of the overly-sensitive / unusable trackpad issue (LP: 320639, 321128 plus many duplicates)

Revision history for this message
Bryce Harrington (bryce) wrote :

Thanks for letting us know the issue is resolved.

description: updated
Changed in xorg-server:
status: Incomplete → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.