Bug 726277 - [abrt] kernel: BUG: sleeping function called from invalid context at kernel/mutex.c:85
Summary: [abrt] kernel: BUG: sleeping function called from invalid context at kernel/m...
Keywords:
Status: CLOSED DUPLICATE of bug 716549
Alias: None
Product: Fedora
Classification: Fedora
Component: xorg-x11-drv-ati
Version: 15
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: X/OpenGL Maintenance List
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:bbf1082c2bd3317b7b6f5ceeec6...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-07-28 03:54 UTC by Earl Pomeroy
Modified: 2011-11-09 20:47 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2011-11-09 20:47:26 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Earl Pomeroy 2011-07-28 03:54:02 UTC
abrt version: 2.0.3
architecture:   x86_64
cmdline:        ro root=/dev/mapper/vg_callisto-lv_root rd_LVM_LV=vg_callisto/lv_root rd_LVM_LV=vg_callisto/lv_swap rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYTABLE=us rhgb quiet
component:      kernel
kernel:         2.6.38.8-35.fc15.x86_64
os_release:     Fedora release 15 (Lovelock)
package:        kernel
reason:         BUG: sleeping function called from invalid context at kernel/mutex.c:85
time:           Wed Jul 27 21:36:41 2011

backtrace:
:BUG: sleeping function called from invalid context at kernel/mutex.c:85
:in_atomic(): 0, irqs_disabled(): 1, pid: 2259, name: Xorg
:Pid: 2259, comm: Xorg Not tainted 2.6.38.8-35.fc15.x86_64 #1
:Call Trace:
: [<ffffffff81047d33>] __might_sleep+0xeb/0xf0
: [<ffffffff81477759>] mutex_lock+0x24/0x50
: [<ffffffff8147857b>] ? _raw_write_unlock_irqrestore+0x1b/0x1d
: [<ffffffffa00aa297>] drm_gem_object_unreference_unlocked+0x24/0x40 [radeon]
: [<ffffffffa00aa80f>] radeon_crtc_page_flip+0x46a/0x49b [radeon]
: [<ffffffffa00265da>] drm_mode_page_flip_ioctl+0x17b/0x1c9 [drm]
: [<ffffffffa0019861>] drm_ioctl+0x29e/0x37b [drm]
: [<ffffffff810f13cf>] ? pmd_offset+0x19/0x3f
: [<ffffffffa002645f>] ? drm_mode_page_flip_ioctl+0x0/0x1c9 [drm]
: [<ffffffff81111cd6>] ? kfree+0xcc/0xd8
: [<ffffffff81080b7b>] ? arch_local_irq_save+0x15/0x1b
: [<ffffffff8112f3ac>] do_vfs_ioctl+0x47e/0x4bf
: [<ffffffff81120ed6>] ? fsnotify_access+0x5f/0x67
: [<ffffffff8112f443>] sys_ioctl+0x56/0x7b
: [<ffffffff81009bc2>] system_call_fastpath+0x16/0x1b

comment:
:Laptop is constantly locking up in Gnome 3. This is the first time (out of dozens) a report has ever been generated.
:It may be related to flash. I'm using the 64-bit beta plugin, but I had the same trouble with the 32-bit plugin.
:It also may be related to audio. This is the only thing of interest in the log after each lockup:
:
:Jul 27 16:42:22 callisto gnome-session[1593]: Gdk-WARNING: gnome-session: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.#012
:Jul 27 16:42:22 callisto gnome-keyring-daemon[1584]: dbus failure unregistering from session: Connection is closed
:Jul 27 16:42:22 callisto gnome-keyring-daemon[1584]: dbus failure unregistering from session: Connection is closed
:Jul 27 22:42:23 callisto rtkit-daemon[1396]: Successfully made thread 10302 of process 10302 (/usr/bin/pulseaudio) owned by '42' high priority at nice level -11.
:Jul 27 22:42:23 callisto rtkit-daemon[1396]: Failed to make thread 10303 RT: Operation not permitted
:Jul 27 22:42:23 callisto rtkit-daemon[1396]: Failed to make thread 10303 RT: Operation not permitted
:Jul 27 22:42:23 callisto rtkit-daemon[1396]: Failed to make thread 10304 RT: Operation not permitted
:Jul 27 22:42:23 callisto rtkit-daemon[1396]: Failed to make thread 10304 RT: Operation not permitted
:Jul 27 16:42:23 callisto pulseaudio[10302]: module-alsa-card.c: Failed to find a working profile.
:Jul 27 16:42:23 callisto pulseaudio[10302]: module.c: Failed to load  module "module-alsa-card" (argument: "device_id="29" name="platform-thinkpad_acpi" card_name="alsa_card.platform-thinkpad_acpi" tsched=yes ignore_dB=no card_properties="module-udev-detect.discovered=1""): initialization failed.
:Jul 27 16:42:24 callisto gdm-simple-greeter[10309]: Gtk-WARNING: gtkwidget.c:6794: widget not within a GtkWindow
:Jul 27 16:42:24 callisto gdm-simple-greeter[10309]: Gtk-WARNING: gtk_widget_size_allocate(): attempt to allocate widget with width -47 and height -47
:
:I am really unable to pinpoint it to any one thing.

event_log:
:2011-07-27-21:51:25> Error sending kernel oops due to missing backtrace
:2011-07-27-21:51:25* (exited with 1)
:2011-07-27-21:51:25> Essential file 'duphash' is missing, can't continue..
:2011-07-27-21:51:25* (exited with 1)
:2011-07-27-21:51:48> Error sending kernel oops due to missing backtrace
:2011-07-27-21:51:48* (exited with 1)
:2011-07-27-21:51:48> Essential file 'duphash' is missing, can't continue..
:2011-07-27-21:51:48* (exited with 1)

Comment 1 Dave Jones 2011-09-01 16:25:50 UTC
Does this still happen with the 2.6.40.3 updates ?

Comment 2 Earl Pomeroy 2011-09-02 03:43:04 UTC
Yes, it is still happening. My laptop locked up several times over the weekend. Here is a snippet from my messages log:

Aug 28 19:35:35 callisto gnome-session[5190]: Gdk-WARNING: gnome-session: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.#012
Aug 28 19:35:35 callisto gnome-keyring-daemon[5182]: dbus failure unregistering from session: Connection is closed
Aug 28 19:35:35 callisto gnome-keyring-daemon[5182]: dbus failure unregistering from session: Connection is closed
Aug 28 19:35:35 callisto kernel: [32268.921497] npviewer.bin[10598]: segfault at 7fa9b885cd9c ip 00007fa9d8af18c2 sp 00007fa9b6ffaaf0 error 6 in libflashplayer.so[7fa9d8774000+1112000]
Aug 28 19:35:35 callisto abrt[10681]: Unrecognized variable 'DumpLocation' in '/etc/abrt/abrt.conf'
Aug 28 19:35:35 callisto abrtd: Unrecognized variable 'DumpLocation' in '/etc/abrt/abrt.conf'
Aug 29 01:35:36 callisto rtkit-daemon[1435]: Successfully made thread 10738 of process 10738 (/usr/bin/pulseaudio) owned by '42' high priority at nice level -11.
Aug 28 19:35:36 callisto abrt[10681]: saved core dump of pid 9049 (/usr/lib64/nspluginwrapper/npviewer.bin) to /var/spool/abrt/ccpp-2011-08-28-19:35:35-9049.new/coredump (237318144 bytes)
Aug 28 19:35:36 callisto abrtd: Unrecognized variable 'DumpLocation' in '/etc/abrt/abrt.conf'
Aug 28 19:35:36 callisto abrtd: Directory 'ccpp-2011-08-28-19:35:35-9049' creation detected
Aug 28 19:35:36 callisto abrtd: Corrupted or bad dump /var/spool/abrt/ccpp-2011-08-28-19:35:35-9049 (res:2), deleting
Aug 29 01:35:37 callisto rtkit-daemon[1435]: Failed to make thread 10741 RT: Operation not permitted
Aug 29 01:35:37 callisto rtkit-daemon[1435]: Failed to make thread 10741 RT: Operation not permitted
Aug 29 01:35:37 callisto rtkit-daemon[1435]: Failed to make thread 10742 RT: Operation not permitted
Aug 29 01:35:37 callisto rtkit-daemon[1435]: Failed to make thread 10742 RT: Operation not permitted
Aug 28 19:35:37 callisto pulseaudio[10738]: module-alsa-card.c: Failed to find a working profile.
Aug 28 19:35:37 callisto pulseaudio[10738]: module.c: Failed to load  module "module-alsa-card" (argument: "device_id="29" name="platform-thinkpad_acpi" card_name="alsa_card.platform-thinkpad_acpi" tsched=yes ignore_dB=no card_properties="module-udev-detect.discovered=1""): initialization failed.
Aug 28 19:35:38 callisto gdm-simple-greeter[10747]: Gtk-WARNING: gtkwidget.c:6796: widget not within a GtkWindow
Aug 28 19:35:38 callisto gdm-simple-greeter[10747]: Gtk-WARNING: gtk_widget_size_allocate(): attempt to allocate widget with width -47 and height -47
Aug 28 19:35:38 callisto gdm-simple-greeter[10747]: Gtk-CRITICAL: gtk_widget_get_mapped: assertion `GTK_IS_WIDGET (widget)' failed
Aug 28 19:35:38 callisto gdm-simple-greeter[10747]: GLib-GObject-WARNING: invalid (NULL) pointer instance
Aug 28 19:35:38 callisto gdm-simple-greeter[10747]: GLib-GObject-CRITICAL: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
Aug 28 19:35:38 callisto gdm-simple-greeter[10747]: Gtk-CRITICAL: gtk_widget_get_mapped: assertion `GTK_IS_WIDGET (widget)' failed
Aug 28 19:35:38 callisto gdm-simple-greeter[10747]: GLib-GObject-WARNING: invalid (NULL) pointer instance
Aug 28 19:35:38 callisto gdm-simple-greeter[10747]: GLib-GObject-CRITICAL: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
Aug 28 19:35:40 callisto dbus-daemon: [system] Activating service name='net.reactivated.Fprint' (using servicehelper)
Aug 28 19:35:40 callisto dbus-daemon: [system] Successfully activated service 'net.reactivated.Fprint'
Aug 29 01:35:48 callisto rtkit-daemon[1435]: Successfully made thread 10956 of process 10956 (/usr/bin/pulseaudio) owned by '500' high priority at nice level -11.
Aug 28 19:35:48 callisto pulseaudio[10956]: pid.c: Stale PID file, overwriting.
Aug 29 01:35:48 callisto rtkit-daemon[1435]: Successfully made thread 10961 of process 10956 (/usr/bin/pulseaudio) owned by '500' RT at priority 5.
Aug 29 01:35:48 callisto rtkit-daemon[1435]: Successfully made thread 10962 of process 10956 (/usr/bin/pulseaudio) owned by '500' RT at priority 5.
Aug 28 19:35:48 callisto pulseaudio[10956]: module-alsa-card.c: Failed to find a working profile.
Aug 28 19:35:48 callisto pulseaudio[10956]: module.c: Failed to load  module "module-alsa-card" (argument: "device_id="29" name="platform-thinkpad_acpi" card_name="alsa_card.platform-thinkpad_acpi" tsched=yes ignore_dB=no card_properties="module-udev-detect.discovered=1""): initialization failed.
Aug 28 19:35:49 callisto dbus-daemon: [system] Activating service name='org.freedesktop.PackageKit' (using servicehelper)
Aug 28 19:35:49 callisto dbus-daemon: [system] Successfully activated service 'org.freedesktop.PackageKit'

uname -a output:

Linux callisto 2.6.40.3-0.fc15.x86_64 #1 SMP Tue Aug 16 04:10:59 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux

The message output is slightly different than before but seems to indicate a problem with the flash plug-in. That would coincide with what I've been seeing which is the machine locking up while watching flash content. It seems to happen more in Chrome than Firefox, I can go for days without problems, but when it starts happening, it will happen repeatedly. 

Let me know if you need any more info, or if there is anything I can do to help you.

Comment 3 Earl Pomeroy 2011-09-02 03:45:57 UTC
Forgot to mention, I am using the Beta 2 11.0.d1.98 version of flash plug-in.

Comment 4 Adam Jackson 2011-11-09 20:47:26 UTC

*** This bug has been marked as a duplicate of bug 716549 ***


Note You need to log in before you can comment on or make changes to this bug.