Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
gnome-session crashed when resuming from suspend
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
geraint0923
n00b
n00b


Joined: 28 Jan 2011
Posts: 31

PostPosted: Tue Aug 02, 2011 5:12 am    Post subject: gnome-session crashed when resuming from suspend Reply with quote

Hi,everyone!
I installed gentoo in my thinkpad T420 these days,and installed gnome3.When closed the thinkpad lid,it could suspend to ram successfully ,but when I opened the thinkpad lid and gentoo began to resume ,gnome3 crashed immediately.
I checked /var/log/messages,it looked like :
Code:

Aug  2 11:44:18 localhost [ 1993.123539] acpid[669]: client connected from 762[0:0]
Aug  2 11:44:18 localhost [ 1993.123561] acpid[669]: 1 client rule loaded
Aug  2 11:44:19 localhost gnome-session[936]: Gdk-WARNING: The program 'gnome-session' received an X Window System error.
Aug  2 11:44:19 localhost This probably reflects a bug in the program.
Aug  2 11:44:19 localhost The error was 'XI_BadDevice (invalid Device parameter)'.
Aug  2 11:44:19 localhost (Details: serial 156 error_code 160 request_code 142 minor_code 48)
Aug  2 11:44:19 localhost (Note to programmers: normally, X errors are reported asynchronously;
Aug  2 11:44:19 localhost that is, you will receive the error a while after causing it.
Aug  2 11:44:19 localhost To debug your program, run it with the --sync command line
Aug  2 11:44:19 localhost option to change this behavior. You can then get a meaningful
Aug  2 11:44:19 localhost backtrace from your debugger if you break on the gdk_x_error() function.)
Aug  2 11:44:19 localhost kernel: [ 1993.290993] gnome-settings-[981]: segfault at 10 ip 00007f044a84b683 sp 00007fff82bb8850 error 4 in libgdk-3.so.0.0.12[7f044a80c000+78000]
Aug  2 11:44:19 localhost gdm-session-worker[830]: pam_unix(gdm:session): session closed for user gy
Aug  2 11:44:19 localhost gnome-keyring-daemon[992]: dbus failure unregistering from session: Connection is closed
Aug  2 11:44:19 localhost gnome-keyring-daemon[992]: dbus failure unregistering from session: Connection is closed
Aug  2 11:44:19 localhost su[1155]: pam_unix(su:session): session closed for user root
Aug  2 11:44:19 localhost polkitd(authority=local): Unregistered Authentication Agent for unix-session:/org/freedesktop/ConsoleKit/Session2 (system bus name :1.44, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.utf8) (disconnected from bus)
Aug  2 11:44:20 localhost [ 1994.433507] NetworkManager[670]: <info> Activation (wlan0) starting connection 'System (D-link-Geraint)'


I also checked the /var/log/Xorg.0.log.old,I found this error:
Code:

...
[    26.883] (**) Option "xkb_model" "evdev"
[    26.883] (**) Option "xkb_layout" "us"
[  1995.077] (II) Open ACPI successful (/var/run/acpid.socket)
[  1995.117] (II) NVIDIA(0): Setting mode "nvidia-auto-select"
[  1995.972] (EE) Unable to open evdev device "/dev/input/event9".
[  1995.972] [dix] couldn't enable device 10
[  1995.973] (--) SynPS/2 Synaptics TouchPad: touchpad found
[  1995.991] (II) config/udev: removing device SIGMACH1P USB Keyboard
[  1996.028] (II) SIGMACH1P USB Keyboard: Close
[  1996.028] (II) UnloadModule: "evdev"
[  1996.028] (II) Unloading evdev
[  1996.030] (II) config/udev: removing device SIGMACH1P USB Keyboard
[  1996.030] (II) SIGMACH1P USB Keyboard: Close
[  1996.031] (II) UnloadModule: "evdev"
[  1996.031] (II) Unloading evdev
...


It seems like that I lost device that related to /dev/input/event9 ,but I didn't unplug or plug any devices when thinkpad suspended. I only pluged USB keyboard and USB mouse before I boot my thinkpad.
I dont't know how to find out whatever device which was related to /dev/input/event9.

Any ideas?
Back to top
View user's profile Send private message
cdstealer
Guru
Guru


Joined: 30 Oct 2005
Posts: 423
Location: Leeds

PostPosted: Wed Aug 03, 2011 6:22 am    Post subject: Reply with quote

This is a bug.. have you looked at bugzilla?

https://bugzilla.gnome.org/buglist.cgi?quicksearch=suspend
_________________
# touch it
touch: cannot touch `it': Permission denied
Back to top
View user's profile Send private message
geraint0923
n00b
n00b


Joined: 28 Jan 2011
Posts: 31

PostPosted: Wed Aug 03, 2011 1:20 pm    Post subject: Reply with quote

cdstealer wrote:
This is a bug.. have you looked at bugzilla?

https://bugzilla.gnome.org/buglist.cgi?quicksearch=suspend


Sorry ,I just searched the problem in Gentoo bugzilla.
So what I can do is to wait until the bug is fixed. :(
Thank you anyway.
Back to top
View user's profile Send private message
cdstealer
Guru
Guru


Joined: 30 Oct 2005
Posts: 423
Location: Leeds

PostPosted: Wed Aug 03, 2011 2:50 pm    Post subject: Reply with quote

I'm not sure TBH.. I have the same issue on a Sony VAIO VPCF12MOE. I'm just not using suspend until it's fixed :( I've not had the time to investigate properly :)
_________________
# touch it
touch: cannot touch `it': Permission denied
Back to top
View user's profile Send private message
tetromino
Retired Dev
Retired Dev


Joined: 02 Dec 2003
Posts: 215

PostPosted: Wed Aug 03, 2011 11:26 pm    Post subject: Reply with quote

geraint0923, what version of gnome-session and gnome-settings-daemon do you have?

If you are using the latest (gnome-session-3.0.2 and gnome-settings-daemon-3.0.2-r2), please file a new bug in Gentoo bugzilla. Use "GNOME" for the component.

In the bug report, please:
1. attach your /var/log/Xorg.0.log.old from the crashed session (Xorg.0.log if X did not restart and you did not have to re-login using gdm/kdm/etc. after the crash);
2. attach your ~/.xsession-errors.old from the crashed session;
3. attach the output of emerge --info;
4. state the versions and USE flags of your xorg-server, libX11, gtk+, glib, and any package from the x11-drivers category that you have installed.
Back to top
View user's profile Send private message
geraint0923
n00b
n00b


Joined: 28 Jan 2011
Posts: 31

PostPosted: Thu Aug 04, 2011 10:15 am    Post subject: Reply with quote

tetromino wrote:
geraint0923, what version of gnome-session and gnome-settings-daemon do you have?

If you are using the latest (gnome-session-3.0.2 and gnome-settings-daemon-3.0.2-r2), please file a new bug in Gentoo bugzilla. Use "GNOME" for the component.

In the bug report, please:
1. attach your /var/log/Xorg.0.log.old from the crashed session (Xorg.0.log if X did not restart and you did not have to re-login using gdm/kdm/etc. after the crash);
2. attach your ~/.xsession-errors.old from the crashed session;
3. attach the output of emerge --info;
4. state the versions and USE flags of your xorg-server, libX11, gtk+, glib, and any package from the x11-drivers category that you have installed.


OK。I have the latest gnome-session and gnome-settings-daemon:
Code:

localhost gy # emerge -pv gnome-session gnome-settings-daemon

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   #] gnome-base/gnome-settings-daemon-3.0.2-r2  USE="policykit short-touchpad-timeout udev -cups -debug -packagekit -smartcard" 0 kB [1]
[ebuild   R   #] gnome-base/gnome-session-3.0.2  USE="ipv6 -debug -doc" 0 kB [1]

Total: 2 packages (2 reinstalls), Size of downloads: 0 kB
Portage tree and overlays:
 [0] /usr/portage
 [1] /var/lib/layman/gnome



Now,I am going to file a bug in Gentoo bugzilla.
Thank you.
Back to top
View user's profile Send private message
geraint0923
n00b
n00b


Joined: 28 Jan 2011
Posts: 31

PostPosted: Thu Aug 04, 2011 2:00 pm    Post subject: Reply with quote

cdstealer wrote:
I'm not sure TBH.. I have the same issue on a Sony VAIO VPCF12MOE. I'm just not using suspend until it's fixed :( I've not had the time to investigate properly :)


I unplug my USB keyboard and only use USB mouse ,then it work fine now , and it can resume from suspend without any crashing.
It seems that something wrong with my USB keyboard.
Do you use any pluged device like USB keyboard or mouse? Try to unplug those device may help. :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum