Xorg crashed with SIGSEGV in xf86Wakeup() - hibernation attempt

Bug #343669 reported by Alexey Kotlyarov
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Invalid
Undecided
Unassigned
nvidia-graphics-drivers (Ubuntu)
Fix Committed
Medium
Unassigned

Bug Description

Upon attempt to hibernate, system restarted, then after a long wait (during that time, top said 90% of cpu was taken by metacity, 10% by apport) X went back to GDM prompt. PC wasn't powered down at all...

ProblemType: Crash
Architecture: amd64
CrashCounter: 1
DistroRelease: Ubuntu 9.04
ExecutablePath: /usr/bin/Xorg
NonfreeKernelModules: nvidia
Package: xserver-xorg-core 2:1.6.0-0ubuntu1 [modified: usr/lib/xorg/modules/extensions/libglx.so]
ProcAttrCurrent: unconfined
ProcCmdline: /usr/X11R6/bin/X :0 -br -audit 0 -auth /var/lib/gdm/:0.Xauth -nolisten tcp vt7
ProcEnviron:
 PATH=(custom, no user)
 LANG=ru_RU.UTF-8
ProcVersion: Linux version 2.6.28-9-generic (buildd@crested) (gcc version 4.3.3 (Ubuntu 4.3.3-5ubuntu2) ) #31-Ubuntu SMP Wed Mar 11 15:43:49 UTC 2009
Signal: 11
SourcePackage: xorg-server
StacktraceTop:
 ?? ()
 ?? ()
 ?? ()
 ?? ()
 xf86Wakeup ()
Title: Xorg crashed with SIGSEGV in xf86Wakeup()
Uname: Linux 2.6.28-9-generic x86_64
UserGroups:

Backtrace:
0: /usr/X11R6/bin/X(xorg_backtrace+0x26) [0x4f1916]
1: /usr/X11R6/bin/X(xf86SigHandler+0x41) [0x485a91]
2: /lib/libc.so.6 [0x7fc86eb21040]
3: /usr/lib/xorg/modules/drivers//nvidia_drv.so [0x7fc86ba5eb59]
4: /usr/lib/xorg/modules/drivers//nvidia_drv.so [0x7fc86ba4ea54]
5: /usr/X11R6/bin/X [0x48c992]
6: /usr/X11R6/bin/X [0x49dc79]
7: /usr/X11R6/bin/X(xf86Wakeup+0x41c) [0x48627c]
8: /usr/X11R6/bin/X(WakeupHandler+0x4b) [0x451ebb]
9: /usr/X11R6/bin/X(WaitForSomething+0x1ef) [0x4ef39f]
10: /usr/X11R6/bin/X(Dispatch+0x80) [0x44e070]
11: /usr/X11R6/bin/X(main+0x3bd) [0x433ddd]
12: /lib/libc.so.6(__libc_start_main+0xe6) [0x7fc86eb0c5a6]
13: /usr/X11R6/bin/X [0x433269]
Saw signal 11. Server aborting.
[ 4240.636323] (II) Logitech USB-PS/2 Optical Mouse: Close
[ 4240.636959] (II) UnloadModule: "evdev"
[ 4240.637247] (II) AT Translated Set 2 keyboard: Close
[ 4240.637360] (II) UnloadModule: "evdev"
[ 4240.638221] (II) Macintosh mouse button emulation: Close
[ 4240.638305] (II) UnloadModule: "evdev"
[ 4243.639923] (WW) NVIDIA(0): WAIT (2, 6, 0x8000, 0x00005c68, 0x000065bc)
[ 4250.652240] (WW) NVIDIA(0): WAIT (1, 6, 0x8000, 0x00005c68, 0x000065bc)
[ 4253.674308] (WW) NVIDIA(0): WAIT (2, 6, 0x8000, 0x00005c68, 0x000065d8)
[ 4260.666488] (WW) NVIDIA(0): WAIT (1, 6, 0x8000, 0x00005c68, 0x000065d8)
[ 4263.668236] (WW) NVIDIA(0): WAIT (2, 6, 0x8000, 0x00005c68, 0x00006928)
[ 4270.668250] (WW) NVIDIA(0): WAIT (1, 6, 0x8000, 0x00005c68, 0x00006928)
 ddxSigGiveUp: Closing log

[lspci]
00:00.0 Memory controller [0580]: nVidia Corporation CK804 Memory Controller [10de:005e] (rev a3)
     Subsystem: Micro-Star International Co., Ltd. Device [1462:7125]
05:00.0 VGA compatible controller [0300]: nVidia Corporation NV43 [GeForce 6600 GT] [10de:0140] (rev a2)
     Subsystem: ASUSTeK Computer Inc. Device [1043:81a4]

---
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.21.
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC1: alex 5801 F.... pulseaudio
 /dev/snd/controlC0: alex 5801 F.... pulseaudio
CRDA: Error: [Errno 2] Нет такого файла или каталога
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xfdff8000 irq 22'
   Mixer name : 'Realtek ALC888'
   Components : 'HDA:10ec0888,1458a002,00100001'
   Controls : 41
   Simple ctrls : 23
Card1.Amixer.info:
 Card hw:1 'U0x46d0x8da'/'USB Device 0x46d:0x8da at usb-0000:00:1a.2-1, full speed'
   Mixer name : 'USB Mixer'
   Components : 'USB046d:08da'
   Controls : 3
   Simple ctrls : 2
DistroRelease: Ubuntu 10.04
MachineType: Gigabyte Technology Co., Ltd. EP45-UD3LR
NonfreeKernelModules: nvidia
Package: nvidia-graphics-drivers-180 (not installed)
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.32-16-generic root=UUID=4118b20b-0d8a-407f-beb9-1616924463bc ro quiet splash
ProcEnviron:
 LANGUAGE=ru_RU:ru:en
 PATH=(custom, user)
 LANG=ru_RU.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-16.25-generic
Regression: Yes
Reproducible: Yes
RfKill:
 1: hci0: Bluetooth
  Soft blocked: no
  Hard blocked: no
Tags: lucid needs-upstream-testing regression-potential lucid lucid
TestedUpstream: No
Uname: Linux 2.6.32-16-generic x86_64
UserGroups: adm admin audio cdrom dialout dip fax floppy fuse lpadmin netdev plugdev sambashare tape video
WpaSupplicantLog:

dmi.bios.date: 01/27/2010
dmi.bios.vendor: Award Software International, Inc.
dmi.bios.version: F10
dmi.board.name: EP45-UD3LR
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.:bvrF10:bd01/27/2010:svnGigabyteTechnologyCo.,Ltd.:pnEP45-UD3LR:pvr:rvnGigabyteTechnologyCo.,Ltd.:rnEP45-UD3LR:rvrx.x:cvnGigabyteTechnologyCo.,Ltd.:ct3:cvr:
dmi.product.name: EP45-UD3LR
dmi.sys.vendor: Gigabyte Technology Co., Ltd.
system:
 distro: Ubuntu
 codename: lucid
 architecture: x86_64
 kernel: 2.6.32-16-generic

---
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.21.
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC1: alex 4245 F.... pulseaudio
 /dev/snd/controlC0: alex 4245 F.... pulseaudio
CRDA: Error: [Errno 2] Нет такого файла или каталога
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xfdff8000 irq 30'
   Mixer name : 'Realtek ALC888'
   Components : 'HDA:10ec0888,1458a002,00100001'
   Controls : 41
   Simple ctrls : 23
Card1.Amixer.info:
 Card hw:1 'U0x46d0x8da'/'USB Device 0x46d:0x8da at usb-0000:00:1a.2-1, full speed'
   Mixer name : 'USB Mixer'
   Components : 'USB046d:08da'
   Controls : 3
   Simple ctrls : 2
DistroRelease: Ubuntu 10.04
MachineType: Gigabyte Technology Co., Ltd. EP45-UD3LR
NonfreeKernelModules: nvidia
Package: nvidia-graphics-drivers-180 (not installed)
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.33-020633-generic root=UUID=4118b20b-0d8a-407f-beb9-1616924463bc ro quiet splash
ProcEnviron:
 LANGUAGE=ru_RU:ru:en
 PATH=(custom, user)
 LANG=ru_RU.UTF-8
 SHELL=/bin/bash
Regression: Yes
Reproducible: Yes
RfKill:
 0: hci0: Bluetooth
  Soft blocked: no
  Hard blocked: no
Tags: lucid regression-potential lucid
TestedUpstream: Yes
Uname: Linux 2.6.33-020633-generic x86_64
UserGroups: adm admin audio cdrom dialout dip fax floppy fuse lpadmin netdev plugdev sambashare tape video
WpaSupplicantLog:

dmi.bios.date: 01/27/2010
dmi.bios.vendor: Award Software International, Inc.
dmi.bios.version: F10
dmi.board.name: EP45-UD3LR
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.:bvrF10:bd01/27/2010:svnGigabyteTechnologyCo.,Ltd.:pnEP45-UD3LR:pvr:rvnGigabyteTechnologyCo.,Ltd.:rnEP45-UD3LR:rvrx.x:cvnGigabyteTechnologyCo.,Ltd.:ct3:cvr:
dmi.product.name: EP45-UD3LR
dmi.sys.vendor: Gigabyte Technology Co., Ltd.
system:
 distro: Ubuntu
 codename: lucid
 architecture: x86_64
 kernel: 2.6.33-020633-generic

Revision history for this message
Alexey Kotlyarov (koterpillar) wrote :
Bryce Harrington (bryce)
description: updated
Revision history for this message
Apport retracing service (apport) wrote : Symbolic stack trace

StacktraceTop:?? ()
?? ()
CMapEnterVT (index=0, flags=0)
xf86XVEnterVT (index=9538608, flags=0)
xf86Wakeup (blockData=<value optimized out>,

Revision history for this message
Apport retracing service (apport) wrote : Symbolic threaded stack trace
Changed in nvidia-graphics-drivers-180:
importance: Undecided → Medium
Bryce Harrington (bryce)
Changed in nvidia-graphics-drivers-180 (Ubuntu):
status: New → Confirmed
Revision history for this message
Bryce Harrington (bryce) wrote :

[This is an automated message]

In Jaunty (9.04), we have just updated to the latest
nvidia-graphics-drivers-180 package from nVidia, version 180.44.

This package provides fixes for a large number of bugs, and we need your
assistance in testing if it fixes the issue you reported.

To do this, please do the following:

 a. Update to the 180.44 version of -nvidia using your favorite update
     method

 b. Attempt to reproduce your bug

 c. If your bug still remains, please simply reply to this email
     indicating so.

 d. If your bug is now solved, you can help us by setting your bug
     report to Fix Released:
     * In launchpad, go to your bug report
     * Click on the downward pointing arrow under Status
     * Set the Status field to 'Fix Released'
     * Comment on the change, such as, 'Verified fixed in 180.44'
     * Click 'Save Changes'

 e. If the original problem is solved but there are now other problems,
     please close the original bug and open new ones for those issues.

Thank you!

For details on the changes in this version of -nvidia, please see:

   http://www.nvidia.com/object/linux_display_ia32_180.44.html

Changed in nvidia-graphics-drivers-180 (Ubuntu):
status: Confirmed → Invalid
Bryce Harrington (bryce)
Changed in nvidia-graphics-drivers-180 (Ubuntu):
status: Invalid → Confirmed
Revision history for this message
Alexey Kotlyarov (koterpillar) wrote :

With updated nvidia driver, hibernation doesn't succeed with the following messages:
BUG: soft lockup - CPU#0 stuck for 61s! [sh:3735]
or
BUG: soft lockup - CPU#0 stuck for 61s! [compiz.real:3739]
They keep repeating, so I reboot. After reboot, Apport finds a crash report but says it is corrupt and cannot be sent.

Revision history for this message
Alexey Kotlyarov (koterpillar) wrote :

Without nvidia driver, hibernation returns me to the "unlock computer" prompt, which is sad as well, but a different bug.

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

I've posted a new version of the -nvidia driver to our xorg-edgers PPA,
would you mind testing it either on Jaunty or Karmic and see if it
resolves this bug?

Get nvidia-graphics-drivers-180 - 185.18.14 here:

  https://edge.launchpad.net/~xorg-edgers/+archive/ppa

Changed in nvidia-graphics-drivers-180 (Ubuntu):
status: Confirmed → New
status: New → Incomplete
Revision history for this message
Alexey Kotlyarov (koterpillar) wrote : Re: [Bug 343669] Re: Xorg crashed with SIGSEGV in xf86Wakeup() - hibernation attempt

On Птн, 2009-06-26 at 03:29 +0000, Bryce Harrington wrote:
> I've posted a new version of the -nvidia driver to our xorg-edgers PPA,
> would you mind testing it either on Jaunty or Karmic and see if it
> resolves this bug?
The behavior now is, after some disk activity, screen goes to text mode
with messages from services startup and gives me this:
BUG: soft lockup - CPU#0 stuck for 61s! [process, pid]
where process was either sh or compiz.real.

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

Hmm. Well, possibly it is a kernel bug - adding a linux task so the kernel team can take a look at it.

Changed in nvidia-graphics-drivers-180 (Ubuntu):
status: Incomplete → Confirmed
Bryce Harrington (bryce)
tags: added: jaunty
Revision history for this message
Karl Hegbloom (karl.hegbloom) wrote :

Might be fixed in Lucid Lynx. See https://bugs.launchpad.net/ubuntu/+bug/181693

Revision history for this message
Jeremy Foshee (jeremyfoshee) wrote :

Hi Alexey,

Please be sure to confirm this issue exists with the latest development release of Ubuntu. ISO CD images are available from http://cdimage.ubuntu.com/releases/lucid . If the issue remains, please run the following command from a Terminal (Applications->Accessories->Terminal). It will automatically gather and attach updated debug information to this report.

apport-collect -p linux 343669

Also, if you could test the latest upstream kernel available that would be great. It will allow additional upstream developers to examine the issue. Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Once you've tested the upstream kernel, please remove the 'needs-upstream-testing' tag. This can be done by clicking on the yellow pencil icon next to the tag located at the bottom of the bug description and deleting the 'needs-upstream-testing' text. Please let us know your results.

Thanks in advance.

[This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]

tags: added: needs-kernel-logs
tags: added: needs-upstream-testing
tags: added: kj-triage
Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Alexey Kotlyarov (koterpillar) wrote :

Here is what happens now, with Lucid kernel and nvidia-current:
1. There is no "hibernate" menu in "Turn off computer", using "sudo pm-hibernate".
2. Screen goes blank, disk activity stops after a short time.
3. Ctrl-Alt-F1 brings me to an intact VT1. Alt-F8 shows GDM login prompt.
Attaching apport-collect data.

tags: added: apport-collected
description: updated
Revision history for this message
Alexey Kotlyarov (koterpillar) wrote : AlsaDevices.txt

apport information

Revision history for this message
Alexey Kotlyarov (koterpillar) wrote : AplayDevices.txt

apport information

Revision history for this message
Alexey Kotlyarov (koterpillar) wrote : ArecordDevices.txt

apport information

Revision history for this message
Alexey Kotlyarov (koterpillar) wrote : BootDmesg.txt

apport information

Revision history for this message
Alexey Kotlyarov (koterpillar) wrote : Card0.Amixer.values.txt

apport information

Revision history for this message
Alexey Kotlyarov (koterpillar) wrote : Card0.Codecs.codec.2.txt

apport information

Revision history for this message
Alexey Kotlyarov (koterpillar) wrote : Card1.Amixer.values.txt

apport information

Revision history for this message
Alexey Kotlyarov (koterpillar) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Alexey Kotlyarov (koterpillar) wrote : DkmsStatus.txt

apport information

Revision history for this message
Alexey Kotlyarov (koterpillar) wrote : GdmLog.txt

apport information

Revision history for this message
Alexey Kotlyarov (koterpillar) wrote : GdmLog1.txt

apport information

Revision history for this message
Alexey Kotlyarov (koterpillar) wrote : GdmLog2.txt

apport information

Revision history for this message
Alexey Kotlyarov (koterpillar) wrote : IwConfig.txt

apport information

Revision history for this message
Alexey Kotlyarov (koterpillar) wrote : Lspci.txt

apport information

Revision history for this message
Alexey Kotlyarov (koterpillar) wrote : Lsusb.txt

apport information

Revision history for this message
Alexey Kotlyarov (koterpillar) wrote : PciDisplay.txt

apport information

Revision history for this message
Alexey Kotlyarov (koterpillar) wrote : PciMultimedia.txt

apport information

Revision history for this message
Alexey Kotlyarov (koterpillar) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Alexey Kotlyarov (koterpillar) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Alexey Kotlyarov (koterpillar) wrote : ProcModules.txt

apport information

Revision history for this message
Alexey Kotlyarov (koterpillar) wrote : RelatedPackageVersions.txt

apport information

Revision history for this message
Alexey Kotlyarov (koterpillar) wrote : UdevDb.txt

apport information

Revision history for this message
Alexey Kotlyarov (koterpillar) wrote : UdevLog.txt

apport information

Revision history for this message
Alexey Kotlyarov (koterpillar) wrote : AlsaDevices.txt

apport information

description: updated
Revision history for this message
Alexey Kotlyarov (koterpillar) wrote :

With mainline 2.6.33, the computer hibernates, but on the next boot I get
swapon: /dev/sda4: software suspend data detected. Rewriting the swap signature.
After that, the boot proceeds normally - without any indication of previous hibernation.
Just in case, posting apport-collect again.

Revision history for this message
Alexey Kotlyarov (koterpillar) wrote : AplayDevices.txt

apport information

Revision history for this message
Alexey Kotlyarov (koterpillar) wrote : ArecordDevices.txt

apport information

Revision history for this message
Alexey Kotlyarov (koterpillar) wrote : BootDmesg.txt

apport information

Revision history for this message
Alexey Kotlyarov (koterpillar) wrote : Card0.Amixer.values.txt

apport information

Revision history for this message
Alexey Kotlyarov (koterpillar) wrote : Card0.Codecs.codec.2.txt

apport information

Revision history for this message
Alexey Kotlyarov (koterpillar) wrote : Card1.Amixer.values.txt

apport information

Revision history for this message
Alexey Kotlyarov (koterpillar) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Alexey Kotlyarov (koterpillar) wrote : IwConfig.txt

apport information

Revision history for this message
Alexey Kotlyarov (koterpillar) wrote : Lspci.txt

apport information

Revision history for this message
Alexey Kotlyarov (koterpillar) wrote : Lsusb.txt

apport information

Revision history for this message
Alexey Kotlyarov (koterpillar) wrote : PciMultimedia.txt

apport information

Revision history for this message
Alexey Kotlyarov (koterpillar) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Alexey Kotlyarov (koterpillar) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Alexey Kotlyarov (koterpillar) wrote : ProcModules.txt

apport information

Revision history for this message
Alexey Kotlyarov (koterpillar) wrote : RelatedPackageVersions.txt

apport information

Revision history for this message
Alexey Kotlyarov (koterpillar) wrote : UdevDb.txt

apport information

Revision history for this message
Alexey Kotlyarov (koterpillar) wrote : UdevLog.txt

apport information

Revision history for this message
Alexey Kotlyarov (koterpillar) wrote : WifiSyslog.txt

apport information

Bryce Harrington (bryce)
tags: added: lucid
Revision history for this message
Robert Hooker (sarvatt) wrote :

Thanks, from your comment #12 I can verify that it will be fixed on lucid when the next nvidia-current update is published after beta 1 is released.

Backtrace:
0: /usr/bin/X (xorg_backtrace+0x28) [0x4a25e8]
1: /usr/bin/X (0x400000+0x6538d) [0x46538d]
2: /lib/libpthread.so.0 (0x7f09b0e04000+0xf920) [0x7f09b0e13920]
3: /usr/lib/libpixman-1.so.0 (0x7f09b0769000+0x68c0) [0x7f09b076f8c0]
4: /usr/lib/libpixman-1.so.0 (0x7f09b0769000+0x34859) [0x7f09b079d859]
5: /usr/lib/libpixman-1.so.0 (0x7f09b0769000+0x2ef6b) [0x7f09b0797f6b]
6: /usr/lib/libpixman-1.so.0 (0x7f09b0769000+0x36cc2) [0x7f09b079fcc2]
7: /usr/lib/libpixman-1.so.0 (0x7f09b0769000+0x38030) [0x7f09b07a1030]
8: /usr/lib/libpixman-1.so.0 (0x7f09b0769000+0x2ec6a) [0x7f09b0797c6a]
9: /usr/lib/libpixman-1.so.0 (pixman_image_composite+0x17c) [0x7f09b0798acc]
10: /usr/lib/xorg/modules/libfb.so (fbComposite+0x220) [0x7f09ab7d5c10]
11: /usr/lib/xorg/extra-modules/nvidia_drv.so (0x7f09ab9e0000+0x32bf65) [0x7f09abd0bf65]
12: /usr/bin/X (0x400000+0xd74e0) [0x4d74e0]
13: /usr/bin/X (0x400000+0x16448d) [0x56448d]
14: /usr/bin/X (0x400000+0x1646c5) [0x5646c5]
15: /usr/bin/X (0x400000+0xa6156) [0x4a6156]
16: /usr/bin/X (0x400000+0x535d3) [0x4535d3]
17: /usr/bin/X (MapWindow+0x179) [0x457749]
18: /usr/bin/X (0x400000+0x30306) [0x430306]
19: /usr/bin/X (0x400000+0x30bdc) [0x430bdc]
20: /usr/bin/X (0x400000+0x2613a) [0x42613a]
21: /lib/libc.so.6 (__libc_start_main+0xfd) [0x7f09afafdc4d]
22: /usr/bin/X (0x400000+0x25ce9) [0x425ce9]
Segmentation fault at address 0x752c5

affects: nvidia-graphics-drivers-180 (Ubuntu) → nvidia-graphics-drivers (Ubuntu)
Changed in linux (Ubuntu):
status: Incomplete → Invalid
Changed in nvidia-graphics-drivers (Ubuntu):
status: Confirmed → Fix Committed
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.