Gnome session restarts spontaneously

Bug #145015 reported by Michael Spinar on 2007-09-25
10
Affects Status Importance Assigned to Milestone
gnome-session
Expired
Critical
gnome-session (Ubuntu)
Medium
Ubuntu Desktop Bugs

Bug Description

Binary package hint: gnome-session

Gutsy, usually with firefox or ZSNES running, spontaneously exits from GDM. I then have to log in again. The software is up-to-date with required updates as of Sept. 25.

Sep 25 18:32:52 Jennifer-old gdm[5618]: DEBUG: Attempting to parse key string: debug/Enable=false
Sep 25 18:32:52 Jennifer-old gdm[5618]: DEBUG: Handling message: 'XPID 9974 0'
Sep 25 18:32:52 Jennifer-old gdm[5618]: DEBUG: Got XPID == 0
Sep 25 18:32:52 Jennifer-old gdm[5618]: DEBUG: Attempting to parse key string: debug/Enable=false
Sep 25 18:32:52 Jennifer-old gdm[5618]: DEBUG: Handling message: 'SESSPID 9974 0'
Sep 25 18:32:52 Jennifer-old gdm[5618]: DEBUG: Got SESSPID == 0
Sep 25 18:32:52 Jennifer-old gdm[9974]: DEBUG: slave_waitpid: done_waiting
Sep 25 18:32:52 Jennifer-old gdm[9974]: DEBUG: Session: start_time: 1190693656 end_time: 1190763172
Sep 25 18:32:52 Jennifer-old gdm[9974]: DEBUG: session '10020' exited with status '1', recording logout
Sep 25 18:32:52 Jennifer-old gdm[9974]: DEBUG: Display device is /dev/tty7 for display :0
Sep 25 18:32:52 Jennifer-old gdm[9974]: DEBUG: Writing logout utmp-wtmp record

ProblemType: Crash
Architecture: i386
Date: Thu Sep 20 20:44:11 2007
DistroRelease: Ubuntu 7.10
ExecutablePath: /usr/bin/gnome-session
NonfreeKernelModules: cdrom
Package: gnome-session 2.20.0-0ubuntu1
PackageArchitecture: i386
ProcCmdline: x-session-manager
ProcCwd: /home/mspinar
ProcEnviron:
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 LANG=en_US.UTF-8
 SHELL=/bin/bash
Signal: 11
SourcePackage: gnome-session
StacktraceTop:
 random_r () from /lib/tls/i686/cmov/libc.so.6
 srandom_r () from /lib/tls/i686/cmov/libc.so.6
 srandom () from /lib/tls/i686/cmov/libc.so.6
 gnome_sound_init () from /usr/lib/libgnome-2.so.0
 ?? ()
Title: gnome-session crashed with SIGSEGV in random_r()
Uname: Linux Jennifer-old 2.6.22-12-generic #1 SMP Sun Sep 23 18:11:30 GMT 2007 i686 GNU/Linux
UserGroups: adm admin audio cdrom dialout dip floppy lpadmin netdev plugdev powerdev scanner video

Michael Spinar (stormfront105) wrote :

StacktraceTop:random_r () from /lib/tls/i686/cmov/libc.so.6
srandom_r () from /lib/tls/i686/cmov/libc.so.6
srandom () from /lib/tls/i686/cmov/libc.so.6
gnome_sound_init (hostname=0x0) at gnome-sound.c:551
gsm_sound_login () at gsm-sound.c:93

Changed in gnome-session:
importance: Undecided → Medium
Sebastien Bacher (seb128) wrote :

Thanks for your bug report. This bug has been reported to the developers of the software. You can track it and make comments here: http://bugzilla.gnome.org/show_bug.cgi?id=480967

Changed in gnome-session:
assignee: nobody → desktop-bugs
status: New → Triaged
Changed in gnome-session:
status: Unknown → New
Sebastien Bacher (seb128) wrote :

Do you still get the issue? Do you have a way to trigger it?

Changed in gnome-session:
status: New → Incomplete
Jan Kaláb (pitel) wrote :

I have a similar issue, gnome session sometimes suddenly ends. But it has never happened when I was working, only after long time of inactivity, so I don't know if it's the same bug. But it didn't happened in feisty. And it happens only on my laptop, desktop is ok.

I'm using Ubuntu Dapper on some elderly hardware. As with Jan Kalab, this has happened to me a number of times after a period of inactivity. On the last occasion, I had only a Gnome Terminal, Emacs and Xdvi running; I was sitting on the other side of the room, the screensaver was running, and then suddenly there was just a Gnome Login window.

It happened to me again this evening. Here's some stuff from /var/log

/var/log/messages syslog and user.log:
21:04:44 localhost gconfd (pt-5429): Received signal 15, shutting down cleanly
21:04:53 localhost gconfd (pt-5429): Exiting

auth.log:
21:04:51 localhost gdm[4876]: (pam_unix) session closed for user pt

daemon.log:
21:04:53 localhost gdm[4876]: Error reinitilizing server

Xorg.0.log:
Fatal server error: Caught signal 4. Server aborting

This was preceded by the following backtrace:
0: /usr/bin/X(xf86SigHandler+0x86) [0x80b4b06]
1: [0xffffe420]
2: /usr/lib/xorg/modules/extensions/libGLcore.so(_swrast_Triangle+0x2d) [0xb7b5b77d]
3: /usr/lib/xorg/modules/extensions/libGLcore.so [0xb7b9bae5]
4: /usr/lib/xorg/modules/extensions/libGLcore.so [0xb7bb325f]
5: /usr/lib/xorg/modules/extensions/libGLcore.so [0xb7bb45ab]
6: /usr/lib/xorg/modules/extensions/libGLcore.so(_tnl_run_pipeline+0x16e) [0xb7ba24b7]
7: /usr/lib/xorg/modules/extensions/libGLcore.so(_tnl_playback_vertex_list+0x4cc) [0xb7ba8c3c]
8: /usr/lib/xorg/modules/extensions/libGLcore.so [0xb7ac5872]
9: /usr/lib/xorg/modules/extensions/libGLcore.so(_mesa_CallList+0x47) [0xb7ac5d07]
10: /usr/lib/xorg/modules/extensions/libGLcore.so(glCallList+0x23) [0xb7aa9eed]
11: /usr/lib/xorg/modules/extensions/libglx.so(__glXDisp_CallList+0x1f) [0xb7cad3f3]
12: /usr/lib/xorg/modules/extensions/libglx.so(__glXRender+0xd0) [0xb7cc573f]
13: /usr/lib/xorg/modules/extensions/libglx.so [0xb7cc848d]
14: /usr/bin/X(Dispatch+0x19e) [0x8085d86]
15: /usr/bin/X(main+0x47c) [0x806e108]
16: /lib/tls/libc.so.6(__libc_start_main+0xd4) [0xb7de7ea4]
17: /usr/bin/X(FontFileCompleteXLFD+0x8d) [0x806d671]

Hope this helps a bit.

Sebastien Bacher (seb128) wrote :

This new comment is an xorg crasher not a gnome-session issue

Sebastien Bacher (seb128) wrote :

nobody seems to have the issue on hardy, closing the bug, feel free to reopen if you get the issue again using the new version

Changed in gnome-session:
status: Triaged → Invalid

Maybe the bug has metamorphosed. At any rate, the following is similar, but I cannot work out
the appropriate heading under which to report it - if you know, please redirect my report as
appropriate.

I now have Xubuntu 8.04 (from the 24 April CD image) on the same machine.

On several occasions "it" (probably the X server) has frozen. This collection of log files comes
from the first such occasion. The update-manager was doing its stuff in the background
(fixing the SSL vulnerability), although that hangs too, and I think I had XDVI running, maybe
Firefox. I was mainly using Emacs22-gtk. I deleted a line in a file, the lines either side appeared
superimposed, then the mouse cursor disappeared.

I managed to login remotely using ssh. I found that the X server was taking 98% of the CPU,
so I killed it, but it resurrected itself and again hogged the CPU. This happenned several times.
However, I managed to save these files from /var/log.

I have had two more similar experiences, without being about to save the logs.

Similar reports on other Linux web sites have said that X hogs the CPU when there is a remote
session, but that I cannot see how to do diagnosis without having a remote session.

Sebastien Bacher (seb128) wrote :

your comment doesn't seem to be a gdm crash issue

Changed in gnome-session:
status: Incomplete → Invalid
istblacken (behlulkahyaoglu) wrote :
Download full text (4.2 KiB)

i am having the same issue with Jaunty. (9.04) Gdm spontaneously restarts (randomly) and not related to any other software. here is my sys.log
May 11 16:32:50 syslogd 1.5.0#5ubuntu3: restart.
May 11 16:32:50 anacron[3149]: Job `cron.daily' terminated
May 11 16:32:50 anacron[3149]: Normal exit (1 job run)
May 11 16:40:01 /USR/SBiN/CRON[6108]: (root) CMD ([ -x /usr/sbin/update-motd ] && /usr/sbin/update-motd 2>/dev/null)
May 11 16:50:01 /USR/SBiN/CRON[6348]: (root) CMD ([ -x /usr/sbin/update-motd ] && /usr/sbin/update-motd 2>/dev/null)
May 11 17:00:01 /USR/SBiN/CRON[6583]: (root) CMD ([ -x /usr/sbin/update-motd ] && /usr/sbin/update-motd hourly 2>/dev/null)
May 11 17:00:01 behlul-laptop /USR/SBiN/CRON[6587]: (root) CMD ([ -x /usr/sbin/update-motd ] && /usr/sbin/update-motd 2>/dev/null)
May 11 17:10:01 behlul-laptop /USR/SBiN/CRON[6855]: (root) CMD ([ -x /usr/sbin/update-motd ] && /usr/sbin/update-motd 2>/dev/null)
May 11 17:17:01 behlul-laptop /USR/SBiN/CRON[7173]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
May 11 17:20:01 behlul-laptop /USR/SBiN/CRON[7229]: (root) CMD ([ -x /usr/sbin/update-motd ] && /usr/sbin/update-motd 2>/dev/null)
May 11 17:30:01 behlul-laptop /USR/SBiN/CRON[7466]: (root) CMD ([ -x /usr/sbin/update-motd ] && /usr/sbin/update-motd 2>/dev/null)
May 11 17:40:01 behlul-laptop /USR/SBiN/CRON[7711]: (root) CMD ([ -x /usr/sbin/update-motd ] && /usr/sbin/update-motd 2>/dev/null)
May 11 17:50:01 behlul-laptop /USR/SBiN/CRON[7943]: (root) CMD ([ -x /usr/sbin/update-motd ] && /usr/sbin/update-motd 2>/dev/null)
May 11 18:00:01 behlul-laptop /USR/SBiN/CRON[8172]: (root) CMD ([ -x /usr/sbin/update-motd ] && /usr/sbin/update-motd hourly 2>/dev/null)
May 11 18:00:01 behlul-laptop /USR/SBiN/CRON[8173]: (root) CMD ([ -x /usr/sbin/update-motd ] && /usr/sbin/update-motd 2>/dev/null)
May 11 18:06:03 behlul-laptop gdm[4204]: WARNING: gdm_slave_xioerror_handler: Fatal X error - :0 restarting
May 11 18:06:04 behlul-laptop bonobo-activation-server (behlul-8360): could not associate with desktop session: Failed to connect to socket /tmp/dbus-GaHxEml4kX: Connection refused
May 11 18:06:05 behlul-laptop acpid: client 4216[0:0] has disconnected
May 11 18:06:05 behlul-laptop acpid: client 4216[0:0] has disconnected
May 11 18:06:05 behlul-laptop acpid: client connected from 8381[0:0]
May 11 18:06:08 behlul-laptop acpid: client connected from 8381[0:0]
May 11 18:06:15 behlul-laptop pulseaudio[8491]: pid.c: Stale PID file, overwriting.
May 11 18:06:18 behlul-laptop gnome-session[8419]: WARNING: Could not launch application 'nm-applet.desktop': Unable to start application: "nm-applet" oğul süreç çalıştırılırken hata oluştu (No such file or directory)
May 11 18:06:18 behlul-laptop pulseaudio[8491]: module-x11-xsmp.c: X11 session manager not running.
May 11 18:06:18 behlul-laptop pulseaudio[8491]: module.c: Failed to load module "module-x11-xsmp" (argument: ""): initialization failed.
May 11 18:06:19 behlul-laptop anacron[8690]: Anacron 2.3 started on 2009-05-11
May 11 18:06:19 behlul-laptop anacron[8690]: Normal exit (0 jobs run)
May 11 18:10:01 behlul-laptop /USR/SBiN/CRON[8827]: (root) CMD ([ -x /usr/sbin/update-motd ] && /us...

Read more...

Download full text (6.6 KiB)

You have a crashing Xserver that's unrelated to this bug

On May 11, 2009 4:25 PM, "istblacken" <email address hidden> wrote:

i am having the same issue with Jaunty. (9.04) Gdm spontaneously restarts
(randomly) and not related to any other software. here is my sys.log
May 11 16:32:50 syslogd 1.5.0#5ubuntu3: restart.
May 11 16:32:50 anacron[3149]: Job `cron.daily' terminated
May 11 16:32:50 anacron[3149]: Normal exit (1 job run)
May 11 16:40:01 /USR/SBiN/CRON[6108]: (root) CMD ([ -x
/usr/sbin/update-motd ] && /usr/sbin/update-motd 2>/dev/null)
May 11 16:50:01 /USR/SBiN/CRON[6348]: (root) CMD ([ -x
/usr/sbin/update-motd ] && /usr/sbin/update-motd 2>/dev/null)
May 11 17:00:01 /USR/SBiN/CRON[6583]: (root) CMD ([ -x
/usr/sbin/update-motd ] && /usr/sbin/update-motd hourly 2>/dev/null)
May 11 17:00:01 behlul-laptop /USR/SBiN/CRON[6587]: (root) CMD ([ -x
/usr/sbin/update-motd ] && /usr/sbin/update-motd 2>/dev/null)
May 11 17:10:01 behlul-laptop /USR/SBiN/CRON[6855]: (root) CMD ([ -x
/usr/sbin/update-motd ] && /usr/sbin/update-motd 2>/dev/null)
May 11 17:17:01 behlul-laptop /USR/SBiN/CRON[7173]: (root) CMD ( cd / &&
run-parts --report /etc/cron.hourly)
May 11 17:20:01 behlul-laptop /USR/SBiN/CRON[7229]: (root) CMD ([ -x
/usr/sbin/update-motd ] && /usr/sbin/update-motd 2>/dev/null)
May 11 17:30:01 behlul-laptop /USR/SBiN/CRON[7466]: (root) CMD ([ -x
/usr/sbin/update-motd ] && /usr/sbin/update-motd 2>/dev/null)
May 11 17:40:01 behlul-laptop /USR/SBiN/CRON[7711]: (root) CMD ([ -x
/usr/sbin/update-motd ] && /usr/sbin/update-motd 2>/dev/null)
May 11 17:50:01 behlul-laptop /USR/SBiN/CRON[7943]: (root) CMD ([ -x
/usr/sbin/update-motd ] && /usr/sbin/update-motd 2>/dev/null)
May 11 18:00:01 behlul-laptop /USR/SBiN/CRON[8172]: (root) CMD ([ -x
/usr/sbin/update-motd ] && /usr/sbin/update-motd hourly 2>/dev/null)
May 11 18:00:01 behlul-laptop /USR/SBiN/CRON[8173]: (root) CMD ([ -x
/usr/sbin/update-motd ] && /usr/sbin/update-motd 2>/dev/null)
May 11 18:06:03 behlul-laptop gdm[4204]: WARNING:
gdm_slave_xioerror_handler: Fatal X error - :0 restarting
May 11 18:06:04 behlul-laptop bonobo-activation-server (behlul-8360): could
not associate with desktop session: Failed to connect to socket
/tmp/dbus-GaHxEml4kX: Connection refused
May 11 18:06:05 behlul-laptop acpid: client 4216[0:0] has disconnected
May 11 18:06:05 behlul-laptop acpid: client 4216[0:0] has disconnected
May 11 18:06:05 behlul-laptop acpid: client connected from 8381[0:0]
May 11 18:06:08 behlul-laptop acpid: client connected from 8381[0:0]
May 11 18:06:15 behlul-laptop pulseaudio[8491]: pid.c: Stale PID file,
overwriting.
May 11 18:06:18 behlul-laptop gnome-session[8419]: WARNING: Could not launch
application 'nm-applet.desktop': Unable to start application: "nm-applet"
oğul süreç çalıştırılırken hata oluştu (No such file or directory)
May 11 18:06:18 behlul-laptop pulseaudio[8491]: module-x11-xsmp.c: X11
session manager not running.
May 11 18:06:18 behlul-laptop pulseaudio[8491]: module.c: Failed to load
 module "module-x11-xsmp" (argument: ""): initialization failed.
May 11 18:06:19 behlul-laptop anacron[8690]: Anacron 2.3 started on
2009-05-11
May 11 18:06:19 behlul-laptop anacron[869...

Read more...

Changed in gnome-session:
importance: Unknown → Critical
status: Invalid → Expired
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.