Bug 759080

Summary: [abrt] gnome-settings-daemon-3.2.2-1.fc16: create_device: Process /usr/libexec/gnome-settings-daemon was killed by signal 11 (SIGSEGV)
Product: [Fedora] Fedora Reporter: Grega Bremec <gregab>
Component: gnome-settings-daemonAssignee: Bastien Nocera <bnocera>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 16CC: arik.kfir, bnocera, clodoaldo.pinto.neto, ljhanson, mkasik, rstrode, scampa.giovanni
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:bfa8b41100f1a3aca22c390230647facbe207bc0
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-03-21 14:53:44 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
File: dso_list
none
File: smolt_data
none
File: var_log_messages
none
File: maps
none
File: backtrace none

Description Grega Bremec 2011-12-01 11:37:30 UTC
libreport version: 2.0.7
abrt_version:   2.0.6
backtrace_rating: 4
cmdline:        /usr/libexec/gnome-settings-daemon
crash_function: create_device
executable:     /usr/libexec/gnome-settings-daemon
kernel:         3.1.2-1.fc16.x86_64
pid:            1921
pwd:            /home/gregab
reason:         Process /usr/libexec/gnome-settings-daemon was killed by signal 11 (SIGSEGV)
time:           Thu 01 Dec 2011 12:22:51 PM CET
uid:            1000
username:       gregab

backtrace:      Text file, 38372 bytes
dso_list:       Text file, 13816 bytes
maps:           Text file, 63699 bytes
smolt_data:     Text file, 3658 bytes
var_log_messages: Text file, 13491 bytes

comment:
:It's getting from bad to worse. I've reported this bug in FC14 and FC15, where the result of it was that GUI settings (such as theme colours, icons and fonts) were lost until gnome-settings-daemon was restarted.
:Now it actually started KILLING the Xorg server. Great. The reason for this? Yes, it's shitty Apple hardware, but still - under no circumstances should Xorg be killed because of this:
:
:Dec  1 12:23:03 lunik kernel: [ 2778.454274] hub 7-0:1.0: port 2 disabled by hub (EMI?), re-enabling...
:Dec  1 12:23:03 lunik kernel: [ 2778.454289] usb 7-2: USB disconnect, device number 42
:Dec  1 12:23:03 lunik kernel: [ 2778.455981] bcm5974: bcm5974: button urb failed: -19
:Dec  1 12:23:03 lunik kernel: [ 2778.470097] bcm5974: bcm5974: could not read from device
:Dec  1 12:23:03 lunik kernel: [ 2778.682198] usb 7-2: new full speed USB device number 43 using uhci_hcd
:Dec  1 12:23:03 lunik kernel: [ 2778.859117] usb 7-2: New USB device found, idVendor=05ac, idProduct=0231
:Dec  1 12:23:03 lunik kernel: [ 2778.859128] usb 7-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
:Dec  1 12:23:03 lunik kernel: [ 2778.859135] usb 7-2: Product: Apple Internal Keyboard / Trackpad
:Dec  1 12:23:03 lunik kernel: [ 2778.859141] usb 7-2: Manufacturer: Apple, Inc.
:Dec  1 12:23:03 lunik kernel: [ 2778.869441] input: Apple, Inc. Apple Internal Keyboard / Trackpad as /devices/pci0000:00/0000:00:
:1d.2/usb7/7-2/7-2:1.0/input/input89
:Dec  1 12:23:03 lunik kernel: [ 2778.870059] apple 0003:05AC:0231.0052: input,hidraw0: USB HID v1.11 Keyboard [Apple, Inc. Apple I
:nternal Keyboard / Trackpad] on usb-0000:00:1d.2-2/input0
:Dec  1 12:23:03 lunik kernel: [ 2779.105078] usb 7-2: ctrl urb status -75 received
:Dec  1 12:23:03 lunik kernel: [ 2779.105447] apple 0003:05AC:0231.0053: hidraw1: USB HID v1.11 Device [Apple, Inc. Apple Internal 
:Keyboard / Trackpad] on usb-0000:00:1d.2-2/input1
:Dec  1 12:23:03 lunik kernel: [ 2779.107267] input: bcm5974 as /devices/pci0000:00/0000:00:1d.2/usb7/7-2/7-2:1.2/input/input90

environ:
:XDG_VTNR=1
:XDG_SESSION_ID=2
:HOSTNAME=lunik.p0f.net
:IMSETTINGS_INTEGRATE_DESKTOP=yes
:SHELL=/bin/bash
:TERM=dumb
:HISTSIZE=1000
:XDG_SESSION_COOKIE=707050ea2ec03d252230ee8200000016-1322735840.86810-1046235957
:GNOME_KEYRING_CONTROL=/tmp/keyring-HbdP5h
:IMSETTINGS_MODULE=none
:USER=gregab
:USERNAME=gregab
:MAIL=/var/spool/mail/gregab
:PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/gregab/.local/bin:/home/gregab/bin
:DESKTOP_SESSION=gnome
:QT_IM_MODULE=xim
:PWD=/home/gregab
:XMODIFIERS=@im=none
:GNOME_KEYRING_PID=1742
:LANG=en_US.UTF-8
:GDMSESSION=gnome
:HISTCONTROL=ignoredups
:HOME=/home/gregab
:XDG_SEAT=seat0
:SHLVL=1
:LOGNAME=gregab
:CVS_RSH=ssh
:DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-8afB02bXVI,guid=ef71c62425a67f4aa5f6592700000023
:'LESSOPEN=||/usr/bin/lesspipe.sh %s'
:WINDOWPATH=1
:XDG_RUNTIME_DIR=/run/user/gregab
:DISPLAY=:0
:XAUTHORITY=/var/run/gdm/auth-for-gregab-sAzFQK/database
:_=/usr/bin/gnome-session
:GNOME_DESKTOP_SESSION_ID=this-is-deprecated
:SESSION_MANAGER=local/unix:@/tmp/.ICE-unix/1746,unix/unix:/tmp/.ICE-unix/1746
:DESKTOP_AUTOSTART_ID=1044a91fa823c47539132273584098183800000017460000

event_log:
:2011-12-01-12:26:31> Querying server settings
:2011-12-01-12:26:35  Preparing an archive to upload
:2011-12-01-12:26:37  Uploading 2 megabytes
:2011-12-01-12:26:40  Upload successful
:2011-12-01-12:26:41  Retrace job started
:2011-12-01-12:26:52  Analyzing crash data
:2011-12-01-12:27:03  Initializing virtual root
:2011-12-01-12:27:14  Initializing virtual root
:2011-12-01-12:27:25  Initializing virtual root
:2011-12-01-12:27:36  Initializing virtual root
:2011-12-01-12:27:47  Initializing virtual root
:2011-12-01-12:27:58  Initializing virtual root
:2011-12-01-12:28:09  Initializing virtual root
:2011-12-01-12:28:19  Initializing virtual root
:2011-12-01-12:28:30  Initializing virtual root
:2011-12-01-12:28:41  Initializing virtual root
:2011-12-01-12:28:52  Initializing virtual root
:2011-12-01-12:29:03  Initializing virtual root
:2011-12-01-12:29:14  Initializing virtual root
:2011-12-01-12:29:25  Initializing virtual root
:2011-12-01-12:29:36  Initializing virtual root
:2011-12-01-12:29:47  Initializing virtual root
:2011-12-01-12:29:58  Initializing virtual root
:2011-12-01-12:30:09  Initializing virtual root
:2011-12-01-12:30:20  Initializing virtual root
:2011-12-01-12:30:31  Initializing virtual root
:2011-12-01-12:30:42  Cleaning up virtual root
:2011-12-01-12:30:53  Retrace job finished successfully
:2011-12-01-12:35:37> Element 'xsession_errors' saved
:2011-12-01-12:35:37> GConf directory /apps/gnome-settings-daemon does not exist
:2011-12-01-12:35:37* (exited with 1)
:2011-12-01-12:35:38> Smolt profile successfully saved

xsession_errors:
:(gnome-settings-daemon:4746): color-plugin-WARNING **: failed to get edid: unable to get EDID for output
:(gnome-settings-daemon:4746): updates-plugin-WARNING **: Failed to get symlink: Error stating file '/run/udev/firmware-missing/b43-open/ucode11.fw': No such file or directory
:(gnome-settings-daemon:4746): updates-plugin-WARNING **: Failed to get symlink: Error stating file '/run/udev/firmware-missing/b43/ucode11.fw': No such file or directory

Comment 1 Grega Bremec 2011-12-01 11:37:33 UTC
Created attachment 539108 [details]
File: dso_list

Comment 2 Grega Bremec 2011-12-01 11:37:35 UTC
Created attachment 539109 [details]
File: smolt_data

Comment 3 Grega Bremec 2011-12-01 11:37:37 UTC
Created attachment 539110 [details]
File: var_log_messages

Comment 4 Grega Bremec 2011-12-01 11:37:39 UTC
Created attachment 539111 [details]
File: maps

Comment 5 Grega Bremec 2011-12-01 11:37:42 UTC
Created attachment 539112 [details]
File: backtrace

Comment 6 Grega Bremec 2011-12-01 13:13:47 UTC
Package: gnome-settings-daemon-3.2.2-1.fc16
Architecture: x86_64
OS Release: Fedora release 16 (Verne)

Comment
-----
The same again, this time without crashing the X server.

Comment 7 Clodoaldo Pinto Neto 2011-12-02 13:07:02 UTC
Package: gnome-settings-daemon-3.2.2-1.fc16
Architecture: x86_64
OS Release: Fedora release 16 (Verne)

Comment
-----
I don't how it happened

Comment 8 Grega Bremec 2011-12-03 12:21:00 UTC
The Apple MacBook 4.1 keyboard and trackpad are connected internally using USB. The USB host they are connected to and/or the PCB they are connected through have a bug thet will sometimes fire up a storm of bogus interrupts, thereby confusing the host controller into resetting the bus. Several times in a row, until the interrupt storm settles down. This is the background to this bug.

The bug itself is that gnome-settings-daemon crashes due to SIGSEGV in such cases.

In previous versions it only reset GUI settings to defaults and most of the problems were resolved by restarting it (f.e. opening the "Appearance" applet of GNOME 2).

Now, it is only rarely that Xorg server survives this (see my other post for one such case). Usually it will crash completely due to gnome-settings-daemon's fault, forcing a user to log in again.

BTW, I am running a vesafb session, so GNOME 3 session is in fallback mode. No acceleration whatsoever.

Comment 9 Grega Bremec 2011-12-03 12:36:22 UTC
Just a real-life equivalent of my case (where bad hardware is to blame): a user disconnects their USB HID, changes their mind and reconnects it back immediately. That could basically describe what's going on here in the simplest of terms.

Comment 10 Arik Kfir 2011-12-13 10:22:05 UTC
Package: gnome-settings-daemon-3.2.2-1.fc16
Architecture: x86_64
OS Release: Fedora release 16 (Verne)

Comment
-----
I was doing nothing - it just happened.

Comment 11 abrt-bot 2012-03-21 14:53:44 UTC
Backtrace analysis found this bug to be similar to bug #719119, closing as duplicate.

Bugs which were found to be similar to this bug: 
  gnome-settings-daemon: bug #684551, bug #697760, bug #719119, bug #756548, bug #761567, bug #766359
  gtk3: bug #699925

This comment is automatically generated.

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