FS#26636 - [gnome-shell] gnome-shell segfault when started from gdm 3.2.0

Attached to Project: Arch Linux
Opened by Artiom Molchanov (artiom) - Wednesday, 26 October 2011, 17:46 GMT
Last edited by Roman Kyrylych (Romashka) - Tuesday, 01 November 2011, 16:00 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture x86_64
Severity Critical
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
gdm 3.2.1.1-1 don't start with gnome-shell 3.2.1-1
gnome-shell segfault
Oct 26 16:43:25 localhost kernel: [ 47.435907] gnome-shell[1816]: segfault at 0 ip (null) sp 00007fff5f74aeb8 error 14 in gnome-shell[400000+4000]
Oct 26 16:43:26 localhost kernel: [ 48.515345] gnome-shell[1831]: segfault at 0 ip (null) sp 00007fffcfa9c818 error 14 in gnome-shell[400000+4000]
Oct 26 16:47:33 localhost kernel: [ 295.642869] gnome-shell[2052]: segfault at 0 ip (null) sp 00007fffc1438f48 error 14 in gnome-shell[400000+4000]
Oct 26 16:47:34 localhost kernel: [ 296.726824] gnome-shell[2095]: segfault at 0 ip (null) sp 00007fff36227c18 error 14 in gnome-shell[400000+4000]
Oct 26 17:05:29 localhost kernel: [ 1371.792491] gnome-shell[4048]: segfault at 0 ip (null) sp 00007fff6db36848 error 14 in gnome-shell[400000+4000]
Oct 26 17:05:30 localhost kernel: [ 1372.799572] gnome-shell[4093]: segfault at 0 ip (null) sp 00007fff65b2c628 error 14 in gnome-shell[400000+4000]
Oct 26 17:21:12 localhost kernel: [ 2314.936327] gnome-shell[12702]: segfault at 0 ip (null) sp 00007fff6a3dc1e8 error 14 in gnome-shell[400000+4000]
Oct 26 17:21:14 localhost kernel: [ 2315.988838] gnome-shell[12743]: segfault at 0 ip (null) sp 00007fff54ed8098 error 14 in gnome-shell[400000+4000]
Oct 26 18:03:56 localhost kernel: [ 898.665802] gnome-shell[3562]: segfault at 0 ip (null) sp 00007fffbf9768d8 error 14 in gnome-shell[400000+4000]
Oct 26 18:03:58 localhost kernel: [ 899.705655] gnome-shell[3603]: segfault at 0 ip (null) sp 00007fffd1d91f58 error 14 in gnome-shell[400000+4000]
Oct 26 19:34:49 localhost kernel: [ 6351.599244] gnome-shell[23843]: segfault at 0 ip (null) sp 00007fff125325a8 error 14 in gnome-shell[400000+4000]
Oct 26 19:34:50 localhost kernel: [ 6352.516204] gnome-shell[23886]: segfault at 0 ip (null) sp 00007fff41d984f8 error 14 in gnome-shell[400000+4000]

But when I downgrade just gdm to gdm 3.0.4-2 it works and I can login. But no more colours and wallpaper on the greeting screen.


Steps to reproduce:

Upgrade gnome and gdm
Restart gdm
gdm crashed immediately.
This task depends upon

Closed by  Roman Kyrylych (Romashka)
Tuesday, 01 November 2011, 16:00 GMT
Reason for closing:  Works for me
Additional comments about closing:  "Problem resolved"
Comment by Artiom Molchanov (artiom) - Wednesday, 26 October 2011, 17:51 GMT
Gdm logs
Comment by Ionut Biru (wonder) - Wednesday, 26 October 2011, 17:56 GMT
install this debug packages

http://pkgbuild.com/~ioni/debug/

try to get a proper backtrace
Comment by Artiom Molchanov (artiom) - Friday, 28 October 2011, 07:11 GMT
The problem was here:
NVIDIA: could not open the device file /dev/nvidiactl (Permission denied).
crw-rw---- 1 root vglusers 195, 255 Oct 28 08:20 /dev/nvidiactl

So gdm user must be in vglusers group to start gnome-shell
Comment by Ionut Biru (wonder) - Friday, 28 October 2011, 07:21 GMT
why is your nvidiactl node have that permission?

ls -l /dev/nvidia*
crw-rw-rw- 1 root root 195, 0 Oct 28 13:19 /dev/nvidia0
crw-rw-rw- 1 root root 195, 255 Oct 28 13:19 /dev/nvidiactl
Comment by Artiom Molchanov (artiom) - Friday, 28 October 2011, 07:45 GMT
crw-rw---- 1 root vglusers 195, 0 Oct 28 09:40 /dev/nvidia0
Comment by Artiom Molchanov (artiom) - Friday, 28 October 2011, 07:46 GMT
I don't know...
Comment by Ionut Biru (wonder) - Friday, 28 October 2011, 07:52 GMT
pacman -Qs nvidia

ls /etc/udev/rules.d

ls /lib/udev/rules.d
Comment by Artiom Molchanov (artiom) - Friday, 28 October 2011, 07:54 GMT
[artiom@neptun ~]$ pacman -Qs nvidia
local/lib32-libvdpau 0.4.1-3
Nvidia VDPAU library (32-bit)
local/lib32-nvidia-utils-bumblebee 285.05.09-1
NVIDIA drivers utilities and libraries (32-bit). Repacked and installed in
different folder to be used simultaneously with libgl.
local/libvdpau 0.4.1-1
Nvidia VDPAU library
local/nvidia-beta 285.05.09-1
NVIDIA beta drivers for linux.
local/nvidia-utils-beta 285.05.09-1
NVIDIA beta drivers utilities and libraries.
[artiom@neptun ~]$ ls /etc/udev/rules.d
99_smfpautoconf.rules z98_omnikey_rfid.rules
[artiom@neptun ~]$ ls /lib/udev/rules.d
10-dm.rules 78-sound-card.rules
10-vboxdrv.rules 80-drivers.rules
11-dm-lvm.rules 80-udisks.rules
13-dm-disk.rules 81-arch.rules
40-gphoto.rules 85-usbmuxd.rules
42-qemu-usb.rules 90-alsa-restore.rules
50-firmware.rules 90-hal.rules
50-udev-default.rules 90-libgpod.rules
52-libmtp.rules 90-pulseaudio.rules
53-sane.rules 95-cd-devices.rules
60-cdrom_id.rules 95-dm-notify.rules
60-pcmcia.rules 95-keyboard-force-release.rules
60-persistent-alsa.rules 95-keymap.rules
60-persistent-input.rules 95-udev-late.rules
60-persistent-serial.rules 95-upower-battery-recall-dell.rules
60-persistent-storage.rules 95-upower-battery-recall-fujitsu.rules
60-persistent-storage-tape.rules 95-upower-battery-recall-gateway.rules
60-persistent-v4l.rules 95-upower-battery-recall-ibm.rules
61-accelerometer.rules 95-upower-battery-recall-lenovo.rules
61-gnome-bluetooth-rfkill.rules 95-upower-battery-recall-toshiba.rules
64-md-raid.rules 95-upower-csr.rules
69-cd-sensors.rules 95-upower-hid.rules
70-infrared.rules 95-upower-wup.rules
70-udev-acl.rules 97-bluetooth-hid2hci.rules
75-net-description.rules 99-fuse.rules
75-probe_mtd.rules 99-gpsd-usb.rules
75-tty-description.rules kino.rules
77-nm-olpc-mesh.rules
[artiom@neptun ~]$
Comment by Ionut Biru (wonder) - Friday, 28 October 2011, 07:54 GMT
hmm are you using gnome in a special environment like a thinclient or xen?
i googled for vglusers and found this:
http://en.wikipedia.org/wiki/VirtualGL
Comment by Artiom Molchanov (artiom) - Friday, 28 October 2011, 07:57 GMT
No, I have a normal installation.
Comment by Ionut Biru (wonder) - Friday, 28 October 2011, 07:58 GMT
not quite, you have a hybrid setup and use bumblebee, which is mostly a hack. i guess from there comes the wrong permission
Comment by Artiom Molchanov (artiom) - Friday, 28 October 2011, 08:11 GMT
[artiom@neptun ~]$ ls -l /dev/nvidia*
crw-rw---- 1 root vglusers 195, 0 Oct 28 10:08 /dev/nvidia0
crw-rw---- 1 root vglusers 195, 255 Oct 28 10:08 /dev/nvidiactl
[artiom@neptun ~]$ pacman -Qs nvidia
local/lib32-libvdpau 0.4.1-3
Nvidia VDPAU library (32-bit)
local/lib32-nvidia-utils 285.05.09-1
NVIDIA drivers utilities and libraries. (32-bit)
local/libvdpau 0.4.1-1
Nvidia VDPAU library
local/nvidia 285.05.09-1
NVIDIA drivers for linux.
local/nvidia-utils 285.05.09-1
NVIDIA drivers utilities and libraries.
[artiom@neptun ~]$

Loading...