Bug 1815 - Gnome-shell crash
Summary: Gnome-shell crash
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal critical
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-15 20:40 CEST by Marianne Lombard
Modified: 2011-08-21 16:05 CEST (History)
5 users (show)

See Also:
Source RPM: gnome-shell
CVE:
Status comment:


Attachments
Backtrace of gnome-shell (2.17 KB, text/plain)
2011-06-17 19:30 CEST, John Balcaen
Details
bt full (17.52 KB, text/plain)
2011-06-18 12:54 CEST, John Balcaen
Details

Description Marianne Lombard 2011-06-15 20:40:03 CEST
I upgrade my cauldron install a few days ago for using Gnome3 

Install work well and gnome3 launch but every time I try to launch a application (no matter wich one), the system crash and tell me he is sorry before bring me back to GDM
Marianne Lombard 2011-06-15 20:40:09 CEST

CC: (none) => marianne

Comment 1 John Balcaen 2011-06-17 19:30:37 CEST
Created attachment 577 [details]
Backtrace of gnome-shell

Attached is a backtrace of the crash of gnome-shell few seconds after the gnome-session start.

Relaunched from tty gnome-shell (via a DISPLAY=:0 gnome-shell) does not crash anymore.
Comment 2 John Balcaen 2011-06-17 19:31:26 CEST
Blino on irc is pointing to this commit http://git.gnome.org/browse/gnome-shell/commit/src/shell-xfixes-cursor.c?id=88de26138a8b79d89884ff2eb6471c5a8e3b39ca

CC: (none) => balcaen.john, dmorganec

Comment 3 D Morgan 2011-06-17 22:17:49 CEST
Marianne do you have the same backtrace ?
Comment 4 D Morgan 2011-06-18 02:14:56 CEST
for comment #3, unfortunately the git commit is already on our version of gnome shell.
Comment 5 D Morgan 2011-06-18 12:13:51 CEST
is adwaita-cursor-theme installed for you ?
Comment 6 John Balcaen 2011-06-18 12:54:51 CEST
Created attachment 582 [details]
bt full

Another bt with bt full now :)
Comment 7 John Balcaen 2011-06-18 12:55:12 CEST
(In reply to comment #5)
> is adwaita-cursor-theme installed for you ?

it is.
Comment 8 Marianne Lombard 2011-06-18 16:59:03 CEST
(In reply to comment #7)
> (In reply to comment #5)
> > is adwaita-cursor-theme installed for you ?
> 
> it is.

Same for me
Comment 9 D Morgan 2011-06-18 21:12:14 CEST
Marianne can you provide me the backtrace too please ?
Comment 10 Shlomi Fish 2011-06-29 08:12:17 CEST
GNOME 3 crashes here after I:

1. Start it using "startx".

2. Start a terminal using "Activities -> Applications".

3. Move it for a while.

My system's specs are:

    Pentium 4, 2.4 GHz CPU.
    2.5 GB of RAM.
    An ATI Radeon HD 2600 card.
    One 160 GB Hard-disk and two smaller ones of 80 GB or so.
    A 19×´ LCD Screen by ViewSonic.
    A standard built-in ACâ97 sound-card.

CC: (none) => shlomif

Comment 11 John Balcaen 2011-06-29 17:14:13 CEST
(In reply to comment #10)
> GNOME 3 crashes here after I:
> 
Could you attach the backtrace please ?
Comment 12 Shlomi Fish 2011-06-30 00:56:41 CEST
(In reply to comment #11)
> (In reply to comment #10)
> > GNOME 3 crashes here after I:
> > 
> Could you attach the backtrace please ?

1. Well, what happens is that GNOME informs me that it closed.

2. How do I generate the backtrace?

Regards,

-- Shlomi Fish
Comment 13 John Balcaen 2011-06-30 11:46:50 CEST
(In reply to comment #12)
> 
> 1. Well, what happens is that GNOME informs me that it closed.
That gnome-shell crash or something was wrong ?
 
> 2. How do I generate the backtrace?

By attaching gdb to gnome-shell pid from a tty
switch to a tty (tty1 for example)

gdb --pid `pidof gnome-shell`
set logging on
set logging file /home/fish/gdb.txt
continue

switch back to gnome (tty7 or tty8)

& when the crash occurs switch back to tty1 
tape 
bt 
bt full
to get all the backtrace in /home/fish/gdb.txt
Comment 14 Shlomi Fish 2011-06-30 13:24:49 CEST
(In reply to comment #13)
> (In reply to comment #12)
> > 
> > 1. Well, what happens is that GNOME informs me that it closed.
> That gnome-shell crash or something was wrong ?
> 

Apparently gnome-shell did not crash. What I am getting is this dialogue:

[QUOTE]
Oh No! Something has gone wrong.
A problem has occured and the system can't recover.
Please log out and try again.

[ Log Out ]

[/QUOTE]

> > 2. How do I generate the backtrace?
> 
> By attaching gdb to gnome-shell pid from a tty
> switch to a tty (tty1 for example)
> 
> gdb --pid `pidof gnome-shell`
> set logging on
> set logging file /home/fish/gdb.txt
> continue
> 
> switch back to gnome (tty7 or tty8)
> 
> & when the crash occurs switch back to tty1 
> tape 
> bt 
> bt full
> to get all the backtrace in /home/fish/gdb.txt

Apparently, it's not gnome-shell that crashed:

[QUOTE]

Loaded symbols for /lib/libplds4.so
0xffffe430 in __kernel_vsyscall ()
(gdb) set logging on
Copying output to gdb.txt.
(gdb) set logging file /home/fish/gdb.txt
(gdb) set logging file /home/shlomif/gdb.txt
(gdb) continue
Continuing.
[New Thread 0xad3ffb70 (LWP 26374)]


[Thread 0xad3ffb70 (LWP 26374) exited]
[New Thread 0xad3ffb70 (LWP 26397)]
[New Thread 0xa39e9b70 (LWP 26398)]
[New Thread 0xa41eab70 (LWP 26399)]

Program received signal SIGHUP, Hangup.
0xffffe430 in __kernel_vsyscall ()
(gdb) 
Continuing.
[Thread 0xad3ffb70 (LWP 26397) exited]
[Thread 0xa41eab70 (LWP 26399) exited]
[Thread 0xa39e9b70 (LWP 26398) exited]
[Thread 0xb38ffb70 (LWP 26280) exited]
[Thread 0xae4ffb70 (LWP 26282) exited]
[Thread 0xaeefeb70 (LWP 26281) exited]
[Thread 0xb42cdb70 (LWP 26279) exited]

Program terminated with signal SIGHUP, Hangup.
The program no longer exists.
(gdb) 
The program is not being run.
(gdb) 

[/QUOTE]
Comment 15 John Balcaen 2011-06-30 18:34:18 CEST
(In reply to comment #14)
> (In reply to comment #13)
> > (In reply to comment #12)
> > > 
> > > 1. Well, what happens is that GNOME informs me that it closed.
> > That gnome-shell crash or something was wrong ?
> > 
> 
> Apparently gnome-shell did not crash. What I am getting is this dialogue:


ok.
so you can probably simply close the window « something is wrong » with a ALT+F4.
We're trying in fact to figure which program is crashing @ the start of the session.
When closing this windows you'll be able to use gnome3 without problem.
Comment 16 Shlomi Fish 2011-06-30 21:34:39 CEST
(In reply to comment #15)
> (In reply to comment #14)
> > (In reply to comment #13)
> > > (In reply to comment #12)
> > > > 
> > > > 1. Well, what happens is that GNOME informs me that it closed.
> > > That gnome-shell crash or something was wrong ?
> > > 
> > 
> > Apparently gnome-shell did not crash. What I am getting is this dialogue:
> 
> 
> ok.
> so you can probably simply close the window « something is wrong » with a
> ALT+F4.
> We're trying in fact to figure which program is crashing @ the start of the
> session.
> When closing this windows you'll be able to use gnome3 without problem.

I see. Yes, I guess you're right. It's still very misleading.

Regards,

-- Shlomi Fish
Comment 17 Bernd Deinzer 2011-07-20 18:25:42 CEST
(In reply to comment #15)
> (In reply to comment #14)
> > (In reply to comment #13)
> > > (In reply to comment #12)
> > > > 
> > > > 1. Well, what happens is that GNOME informs me that it closed.
> > > That gnome-shell crash or something was wrong ?
> > > 
> > 
> > Apparently gnome-shell did not crash. What I am getting is this dialogue:
> 
> 
> ok.
> so you can probably simply close the window « something is wrong » with a
> ALT+F4.
> We're trying in fact to figure which program is crashing @ the start of the
> session.
> When closing this windows you'll be able to use gnome3 without problem.

Maybe it's a missing gnome-shell.desktop file.

Create a gnome-shell.desktop file with the following content:

[Desktop Entry]
Type=Application
Exec=gnome-shell --replace
Hidden=false
NoDisplay=false
X-GNOME-Autostart-enabled=true
Name[en_US]=Gnome Shell
Name=Gnome Shell
Comment[en_US]=
Comment=


Store it in

/usr/share/gnome/autostart/


Works here on Cauldron i586

See also:
https://forums.mageia.org/en/viewtopic.php?f=15&t=695&start=30

chhers,
Bernd

CC: (none) => bernd.deinzer

Comment 18 Marianne Lombard 2011-08-14 18:09:41 CEST
Everything is back to normal since a few days. Looks like the last gnome-shell update has solved the problem
Comment 19 D Morgan 2011-08-21 16:05:49 CEST
thanks, then i close the bugreport.


Reopen it if the bug reappear.

Status: NEW => RESOLVED
Resolution: (none) => FIXED


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