After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 668800 - OpenSuse 12.1 (GNOME 3.2 - gnome-shell 3.2.1-2.6.1)
OpenSuse 12.1 (GNOME 3.2 - gnome-shell 3.2.1-2.6.1)
Status: RESOLVED DUPLICATE of bug 668930
Product: gnome-shell
Classification: Core
Component: general
3.2.x
Other Linux
: High critical
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
Depends on:
Blocks:
 
 
Reported: 2012-01-27 06:00 UTC by Alex
Modified: 2012-01-30 11:32 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
ScreenLog Of Debug (62.92 KB, application/octet-stream)
2012-01-27 15:36 UTC, Alex
Details
ScreeLog with replace variable on pid (58.36 KB, application/octet-stream)
2012-01-27 17:20 UTC, Alex
Details
Maybe I log into gnome-shell, and VT2 and do all the steps again? (26.98 KB, application/octet-stream)
2012-01-28 04:41 UTC, Alex
Details

Description Alex 2012-01-27 06:00:12 UTC
During operation, always occur segfolts. Gnome-shell at the same time restored after about 10 seconds.

$dmesg | grep seg
[  414.453829] gnome-shell[4118]: segfault at 27b3ee008 ip 00007f63930ccba8 sp 00007fff81190d40 error 4 in libglib-2.0.so.0.3000.1[7f639306a000+f6000]
[ 1206.714070] st: Version 20101219, fixed bufsize 32768, s/g segs 256
[ 1692.461678] gnome-shell[7189]: segfault at 394daa0f8 ip 00007f3c5fc46ba8 sp 00007fff44160d00 error 4 in libglib-2.0.so.0.3000.1[7f3c5fbe4000+f6000]
[ 2434.278506] gnome-shell[10666]: segfault at 1ede8e102 ip 00007ff0730d4ba8 sp 00007fff84b6af00 error 4 in libglib-2.0.so.0.3000.1[7ff073072000+f6000]
[ 4188.824107] gnome-shell[12756]: segfault at 30a0350f9 ip 00007f4abc1a9ba8 sp 00007fff4be68b00 error 4 in libglib-2.0.so.0.3000.1[7f4abc147000+f6000]
[ 4449.001203] gnome-shell[17479]: segfault at 214c75008 ip 00007fd4fae4fba8 sp 00007fffdc889b00 error 4 in libglib-2.0.so.0.3000.1[7fd4faded000+f6000]
[ 4951.946571] gnome-shell[18568]: segfault at 395b95008 ip 00007fd149a73ba8 sp 00007fff32acd530 error 4 in libglib-2.0.so.0.3000.1[7fd149a11000+f6000]
Comment 1 André Klapper 2012-01-27 08:57:42 UTC
Thanks for taking the time to report this bug.
Without a stack trace from the crash it's very hard to determine what caused it.
Can you get us a stack trace? Please see http://live.gnome.org/GettingTraces for more information on how to do so. Thanks in advance!
Comment 2 Alex 2012-01-27 09:47:34 UTC
I install gnome-shell-debuginfo, libgnome-desktop-3-2-debuginfo.

"After installing the relevant debugging information packages, just make the program crash again" -- OK

"Bug Buddy should then pop up and gather all information for you. You should then copy-and-paste the trace from bug-buddy into your previously filed bug report. We ask you to add the information as an attachment, if possible."

But Bug Buddy does not start automatically!

Then:
bug-buddy  --appname gnome-shell --pid 10374
bug-buddy  --appname gnome-shell --pid 10384

But: Bug Buddy не удалось определить версию рабочей среды GNOME. Возможно, не установлен компонент gnome-desktop. (Bug Buddy could not determine the version of the operating environment GNOME. Perhaps the component is not installed gnome-desktop)
(bug-buddy:11237): Gtk-WARNING **: Загружаемый модуль тем не найден в module_path: «murrine»,
I/O warning : failed to load external entity "/usr/share/gnome-about/gnome-version.xml"

But: libgnome-desktop-3-2 installed 
And: 
$cat /usr/share/gnome/gnome-version.xml 
<?xml version="1.0" encoding="UTF-8"?>
<gnome-version>
 <platform>3</platform>
 <minor>2</minor>
 <micro>1</micro>
 <distributor>SUSE</distributor>
Comment 3 Alex 2012-01-27 09:52:21 UTC
Maybe I just will perform on the workstation you need a commands and will lay out their conclusion?

P.S. Buddy's bug is another story (bug report)...
Comment 4 Alex 2012-01-27 10:22:13 UTC
(In reply to comment #3)

> P.S. Buddy's bug is another story (bug report)...
Affected version is Bug Buddy 2.32...hm...Why such an old version?...
Comment 5 Milan Bouchet-Valat 2012-01-27 11:10:35 UTC
I fear you'll have to get a backtrace by hand: :-(
https://live.gnome.org/GnomeShell/Debugging
Comment 6 Alex 2012-01-27 12:23:58 UTC
(In reply to comment #5)
> I fear you'll have to get a backtrace by hand: :-(
> https://live.gnome.org/GnomeShell/Debugging

I'll do it, but a bit later...
P.S. I will use one computer for debugging.
Comment 7 Alex 2012-01-27 15:36:34 UTC
Created attachment 206272 [details]
ScreenLog Of Debug
Comment 8 Alex 2012-01-27 15:37:41 UTC
Something went wrong. Details in the attachment(In reply to comment #7)
> Created an attachment (id=206272) [details]
> ScreenLog Of Debug
Comment 9 Milan Bouchet-Valat 2012-01-27 16:31:25 UTC
Thanks, but there's been a problem when running the xenv.sh script:
/home/leon/bin/xenv.sh: line 2: /proc//environ: Нет такого файла или каталога (which means No such file or directory)

The problem is that 'pgrep -u $USER gnome-session' doesn't seem to have returned anything. Could you run this command from a shell and tell us what's the result? 

If the result is empty, you can simply set the gnome_session variable by hand to contain the PID: run 'ps ax|grep gnome-session', note the PID, and then run
'export gnome-session=(type PID here)' before calling the script.
Comment 10 Alex 2012-01-27 17:20:01 UTC
Created attachment 206290 [details]
ScreeLog with replace variable on pid

Replay to Comment 9
Comment 11 Milan Bouchet-Valat 2012-01-27 17:48:31 UTC
Sorry, I really don't understand what you did in that session. Don't try to run gnome-shell in gdb until you're sure that the 'gnome_session' variable contains the right PID. Could you answer my questions verbally instead of posting that weird log? ;-)
Comment 12 Alex 2012-01-28 04:35:31 UTC
(In reply to comment #11)
> Sorry, I really don't understand what you did in that session. Don't try to run
> gnome-shell in gdb until you're sure that the 'gnome_session' variable contains
> the right PID. Could you answer my questions verbally instead of posting that
> weird log? ;-)

pgrep -u $USER gnome-session works ---- this only works if I login via gnome-shell!

If I can not login via gnome-shell, and login to the VT2, then:
Command: pgrep -u $USER gnome-session ---empty output, i.e.:
$ pgrep -u $USER gnome-session
$

I ran this command: 
$pgrep -u gnome-session
$3590
I.e., gnome-shell is running, but not on behalf of the user

cat ~/bin/xenv.sh 
gnome_session=$(pgrep -u $USER gnome-session)
eval export $(sed 's/\o000/\n/g;' < /proc/3590/environ | grep DISPLAY)
eval export $(sed 's/\o000/\n/g;' < /proc/3590/environ | grep XAUTHORITY)
eval export $(sed 's/\o000/\n/g;' < /proc/3590/environ | grep DBUS_SESSION_BUS_ADDRESS)

I.e. I changed the variable to a specific pid.

When you run this script ($ ~/bin/xenv.sh) I got the following errors:
cat ~/Документы/Bugs/screenlog.2 | grep Отказано
/home/leon/bin/xenv.sh: line 2: /proc/3590/environ: Отказано в доступе
/home/leon/bin/xenv.sh: line 3: /proc/3590/environ: Отказано в доступе
/home/leon/bin/xenv.sh: line 4: /proc/3590/environ: Отказано в доступе
(Access is denied)

Then I ran this command:
leon@comp:~> sudo ~/bin/xenv.sh 
root's password:
leon@comp:~> gdb /usr/bin/gnome-shell
GNU gdb (GDB) SUSE (7.3-41.1.2)
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
(gdb) run --replace
Starting program: /usr/bin/gnome-shell --replace
...
Missing separate debuginfo for /usr/lib64/....
Try: zypper install -C "debuginfo(build-id)=...."
This GDB was configured as "x86_64-suse-linux".
For bug reporting instructions, please see:
...
Ошибка менеджера окон: Unable to open X display 
[Inferior 1 (process 3795) exited with code 01]
(gdb) quit

P.S. Maybe I log into gnome-shell, and VT2 and do all the steps again?
Comment 13 Alex 2012-01-28 04:41:19 UTC
Created attachment 206308 [details]
Maybe I log into gnome-shell, and VT2 and do all the steps again?

Maybe I log into gnome-shell, and VT2 and do all the steps again?

leon@comp:~> cat ~/bin/xenv.sh 
gnome_session=$(pgrep -u $USER gnome-session)
eval export $(sed 's/\o000/\n/g;' < /proc/2142/environ | grep DISPLAY)
eval export $(sed 's/\o000/\n/g;' < /proc/2142/environ | grep XAUTHORITY)
eval export $(sed 's/\o000/\n/g;' < /proc/2142/environ | grep DBUS_SESSION_BUS_ADDRESS)
Comment 14 Milan Bouchet-Valat 2012-01-28 09:06:03 UTC
To be clear: you should start a normal GNOME session, including gnome-shell, then go to the VT and run these steps. gnome-shell will be replaced as needed. ATM, you're probably trying to access information about somebody else's gnome-session process, thus the failure.
Comment 15 Alex 2012-01-28 09:26:36 UTC
(In reply to comment #14)
> To be clear: you should start a normal GNOME session, including gnome-shell,
> then go to the VT and run these steps. gnome-shell will be replaced as needed.
> ATM, you're probably trying to access information about somebody else's
> gnome-session process, thus the failure.

Created an attachment (id=206308) [details]
I log into gnome-shell, and VT2 and do all the steps again

leon@comp:~> cat ~/bin/xenv.sh 
gnome_session=$(pgrep -u $USER gnome-session)
eval export $(sed 's/\o000/\n/g;' < /proc/2142/environ | grep DISPLAY)
eval export $(sed 's/\o000/\n/g;' < /proc/2142/environ | grep XAUTHORITY)
eval export $(sed 's/\o000/\n/g;' < /proc/2142/environ | grep
DBUS_SESSION_BUS_ADDRESS)
Comment 16 Alex 2012-01-28 09:36:25 UTC
dmesg | grep segfault
[  501.297660] gnome-shell[2325]: segfault at 2ba95f008 ip 00007f7131a02ba8 sp 00007ffff0447860 error 4 in libglib-2.0.so.0.3000.1[7f71319a0000+f6000]
[  684.656402] gnome-shell[26997]: segfault at 61257016 ip 00007f8b4f34f890 sp 00007ffff25b36a8 error 4 in libgobject-2.0.so.0.3000.1[7f8b4f31c000+4d000]
[  945.688820] gnome-shell[27669]: segfault at 30b852008 ip 00007fdadea87ba8 sp 00007fff27916be0 error 4 in libglib-2.0.so.0.3000.1[7fdadea25000+f6000]
[ 1758.657080] gnome-shell[19125]: segfault at 35fa20107 ip 00007f170e3a7ba8 sp 00007fff3cda1570 error 4 in libglib-2.0.so.0.3000.1[7f170e345000+f6000]
[ 2421.458271] gnome-shell[19638]: segfault at 100000007 ip 00007f3e9c0a5ba8 sp 00007fffa5fbf680 error 4 in libglib-2.0.so.0.3000.1[7f3e9c043000+f6000]
Comment 17 Alex 2012-01-29 14:59:23 UTC
The options for which this problem could arise:
1. Apparmor
2. ATI Radeon HD 5470 (ATI Catalyst 12.1) + Gnome-Shell

But it is not ruled out a bug in the gnome-shell itself
Comment 18 Milan Bouchet-Valat 2012-01-29 17:49:27 UTC
Ah, if you're using Catalyst, then you probably get hit by bug 668930, especially since the log you posted above says the bug occurs in libgobject. So I don't think it's worth trying to get a trace anymore.

If you have the possibility to try the free Nouveau driver, it would be interesting to check that the bug isn't present there too. You may use a Live CD to test a recent enough distribution.

*** This bug has been marked as a duplicate of bug 668930 ***
Comment 19 Alex 2012-01-30 06:31:01 UTC
I worked a little with the free driver Radeon. 

"Radeon is an open source Xorg driver for ATI Radeon cards. It is particularly useful for users of openSUSE 11.4 that have cards that ATI/AMD declared legacy cards, since the old Catalyst 9.3 driver does not support recent versions of the Linux kernel or Xorg.

It is in many respects better than the proprietary fglrx driver, though the 3D performance is not as good."

P.S. Nouveau: Accelerated Open Source driver for nVidia cards

Thank you all for your help!
Comment 20 Alex 2012-01-30 06:36:04 UTC
Yes, the problem is really in 12.1 AMD fglrx drivers:
-- https://bugzilla.gnome.org/show_bug.cgi?id=668800 (openSUSE 12.1+fglrx 12.1)
-- https://bugzilla.gnome.org/show_bug.cgi?id=668930 (Linux mint 12+fglrx 12.1)
-- https://bugzilla.redhat.com/show_bug.cgi?id=702257 (Fedora 15+fglrx 12.1)
Comment 22 Alex 2012-01-30 07:00:15 UTC
-- http://ati.cchtml.com/show_bug.cgi?id=339
P.s. We must send all of our bugs on ati bagtracker
Comment 23 André Klapper 2012-01-30 11:32:33 UTC
As Milan already said:
Alex: Please don't paste the same links in all Catalyst bugs you know of. These
are not always the same problem. For example, the first series of bugs is about
a crash, while the others are about image corruption.