Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 319665

Summary: [gnome-overlay] gnome-base/nautilus-2.30.1 crashes when opening a particular window
Product: Gentoo Linux Reporter: Roelof Wobben <rwobben>
Component: [OLD] GNOMEAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED WORKSFORME    
Severity: critical CC: plaes
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: backtrace when I select the background from the particular directory

Description Roelof Wobben 2010-05-14 09:19:36 UTC
After opening a particular window which contains a xml file and a jpg file nauilus chrashes. This happens when I try to open the wallpaper directory which I downloaded from this place: https://launchpad.net/~bisigi/+archive/ppa/+files/wild-shine-theme_1.4.1.lucid.ppa1+nmu1.tar.gz

Reproducible: Always

Steps to Reproduce:
1. Download the theme
2. Unpack it in the root home directory
3. Goto the wallpaper dir
4, Nautilus chrashes
Actual Results:  
Nautlilus chrashes

Expected Results:  
Nautilus let me see the directory
Comment 1 Marc-Antoine Perennou 2010-05-14 10:02:04 UTC
Doesn't crash here.
Comment 2 Roelof Wobben 2010-05-14 10:03:47 UTC
(In reply to comment #1)
> Doesn't crash here.

Wierd,

Are you using arch or ~arch ?
Im using ~amd64.

Roelof
Comment 3 Pacho Ramos gentoo-dev 2010-05-14 10:44:44 UTC
Please test on a new created user account and, if still valid, try to get a proper backtrace (http://www.gentoo.org/proj/en/qa/backtraces.xml) and provide "emerge --info" output

Thanks
Comment 4 Roelof Wobben 2010-05-14 10:52:21 UTC
(In reply to comment #3)
> Please test on a new created user account and, if still valid, try to get a
> proper backtrace (http://www.gentoo.org/proj/en/qa/backtraces.xml) and provide
> "emerge --info" output
> Thanks

Hello Pacho, 

One question.
When I do the changes to cflags. Do I need to re-meerge nautilus or can I proceed with the installed nautlilus.

Roelof
Comment 5 Pacho Ramos gentoo-dev 2010-05-14 11:02:06 UTC
You need to re-emerge it (and probably also those packages in RDEPEND)
Comment 6 Roelof Wobben 2010-05-14 11:11:32 UTC
(In reply to comment #5)
> You need to re-emerge it (and probably also those packages in RDEPEND)

Oke, 

I will take the steps and report back.

Roelof
Comment 7 Roelof Wobben 2010-05-14 12:46:16 UTC
(In reply to comment #6)
> (In reply to comment #5)
> > You need to re-emerge it (and probably also those packages in RDEPEND)
> 
> Oke, 
> 
> I will take the steps and report back.
> 
> Roelof
> 


Hello, 

With another user it still chrashes on the same window.
Emerge --info :

Portage 2.1.8.3 (default/linux/amd64/10.0/no-multilib, gcc-4.4.3, glibc-2.11.1-r0, 2.6.32-gentoo-r7 x86_64)
=================================================================
System uname: Linux-2.6.32-gentoo-r7-x86_64-AMD_Athlon-tm-_64_Processor_3500+-with-gentoo-2.0.1
Timestamp of tree: Fri, 14 May 2010 08:45:01 +0000
app-shells/bash:     4.1_p5
dev-lang/python:     2.6.5-r2, 3.1.2-r3
dev-util/cmake:      2.8.1-r1
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.1-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.3.4, 4.4.3-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.33
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo"
LDFLAGS="-Wl,-O1"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/gnome /var/lib/layman/desktop-effects"
SYNC="rsync://rsync2.nl.gentoo.org/gentoo-portage"
USE="X acl amd64 berkdb bzip2 cairo cli cracklib crypt cups cxx device-mapper dri emerald evdev extras fortran gdbm gdu glitz gnome gpm gtk iconv ipv6 jpeg mmx modules mudflap ncurses nls nptl nptlonly openmp pam pcre perl pppd python readline reflection session spl sqlite sse sse2 ssl svg sysfs tcpd unicode xcb xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


SO im now going to work on the backtrace.

Roelof
Comment 8 Roelof Wobben 2010-05-14 13:21:31 UTC
(In reply to comment #7)
> (In reply to comment #6)
> > (In reply to comment #5)
> > > You need to re-emerge it (and probably also those packages in RDEPEND)
> > 
> > Oke, 
> > 
> > I will take the steps and report back.
> > 
> > Roelof
> > 

Hello, 

Here's the backtrace I get when re-emerging nautilus again :

gdb nautilus
GNU gdb (Gentoo 7.1 p1) 7.1
Copyright (C) 2010 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.
This GDB was configured as "x86_64-pc-linux-gnu".
For bug reporting instructions, please see:
<http://bugs.gentoo.org/>...
Reading symbols from /usr/bin/nautilus...done.
(gdb) bt
No stack.
(gdb) run
Starting program: /usr/bin/nautilus 
Traceback (most recent call last):
  File "/usr/share/gdb/auto-load/usr/lib64/libgobject-2.0.so.0.2400.1-gdb.py", line 9, in <module>
    from gobject import register
  File "/usr/share/glib-2.0/gdb/gobject.py", line 3, in <module>
    import gdb.backtrace
ImportError: No module named backtrace
[Thread debugging using libthread_db enabled]

Program exited normally.
(gdb) bt
No stack.

So nothing to see but it's still happens.

What's now the best step ?

Roelof

> 
> 
> Hello, 
> 
> With another user it still chrashes on the same window.
> Emerge --info :
> 
> Portage 2.1.8.3 (default/linux/amd64/10.0/no-multilib, gcc-4.4.3,
> glibc-2.11.1-r0, 2.6.32-gentoo-r7 x86_64)
> =================================================================
> System uname:
> Linux-2.6.32-gentoo-r7-x86_64-AMD_Athlon-tm-_64_Processor_3500+-with-gentoo-2.0.1
> Timestamp of tree: Fri, 14 May 2010 08:45:01 +0000
> app-shells/bash:     4.1_p5
> dev-lang/python:     2.6.5-r2, 3.1.2-r3
> dev-util/cmake:      2.8.1-r1
> sys-apps/baselayout: 2.0.1
> sys-apps/openrc:     0.6.1-r1
> sys-apps/sandbox:    2.2
> sys-devel/autoconf:  2.13, 2.65
> sys-devel/automake:  1.10.3, 1.11.1
> sys-devel/binutils:  2.20.1-r1
> sys-devel/gcc:       4.3.4, 4.4.3-r2
> sys-devel/gcc-config: 1.4.1
> sys-devel/libtool:   2.2.6b
> virtual/os-headers:  2.6.33
> ACCEPT_KEYWORDS="amd64 ~amd64"
> ACCEPT_LICENSE="* -@EULA"
> CBUILD="x86_64-pc-linux-gnu"
> CFLAGS="-O2 -pipe"
> CHOST="x86_64-pc-linux-gnu"
> CONFIG_PROTECT="/etc /usr/share/X11/xkb"
> CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf
> /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d
> /etc/terminfo"
> CXXFLAGS="-O2 -pipe"
> DISTDIR="/usr/portage/distfiles"
> FEATURES="assume-digests distlocks fixpackages news parallel-fetch
> protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
> GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo"
> LDFLAGS="-Wl,-O1"
> PKGDIR="/usr/portage/packages"
> PORTAGE_CONFIGROOT="/"
> PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
> --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles
> --exclude=/local --exclude=/packages"
> PORTAGE_TMPDIR="/var/tmp"
> PORTDIR="/usr/portage"
> PORTDIR_OVERLAY="/var/lib/layman/gnome /var/lib/layman/desktop-effects"
> SYNC="rsync://rsync2.nl.gentoo.org/gentoo-portage"
> USE="X acl amd64 berkdb bzip2 cairo cli cracklib crypt cups cxx device-mapper
> dri emerald evdev extras fortran gdbm gdu glitz gnome gpm gtk iconv ipv6 jpeg
> mmx modules mudflap ncurses nls nptl nptlonly openmp pam pcre perl pppd python
> readline reflection session spl sqlite sse sse2 ssl svg sysfs tcpd unicode xcb
> xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci
> emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m
> maestro3 trident usb-audio via82xx via82xx-modem ymfpci"
> ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file
> hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug
> rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic
> authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm
> authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache
> dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache
> filter headers include info log_config logio mem_cache mime mime_magic
> negotiation rewrite setenvif speling status unique_id userdir usertrack
> vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev mouse keyboard" KERNEL="linux"
> LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses
> text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia"
> XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface
> geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac
> delude chaos account" 
> Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG,
> LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS,
> PORTAGE_RSYNC_EXTRA_OPTS
> 
> 
> SO im now going to work on the backtrace.
> 
> Roelof
> 

Comment 9 Pacho Ramos gentoo-dev 2010-05-14 15:13:17 UTC
Seems that it's not crashing :-O, I would install gnome-extra/bug-buddy also and, then, try to reproduce the bug. If nautilus crashes, it will be cached by bug-buddy that will guide you. 
Comment 10 Roelof Wobben 2010-05-14 15:47:00 UTC
(In reply to comment #9)
> Seems that it's not crashing :-O, I would install gnome-extra/bug-buddy also
> and, then, try to reproduce the bug. If nautilus crashes, it will be cached by
> bug-buddy that will guide you. 
> 

Hello, 

Bug-buddy gives this :

he application File Browser crashed. The bug reporting tool was unable to collect enough information about the crash to be useful to the developers.

In order to submit useful reports, please consider installing debug packages for your distribution.
Click the link below to get information about how to install these packages:

Roelof
Comment 11 Roelof Wobben 2010-05-14 15:50:02 UTC
(In reply to comment #10)
> (In reply to comment #9)
> > Seems that it's not crashing :-O, I would install gnome-extra/bug-buddy also
> > and, then, try to reproduce the bug. If nautilus crashes, it will be cached by
> > bug-buddy that will guide you. 
> > 
> 
> Hello, 
> 
> Bug-buddy gives this :
> 
> he application File Browser crashed. The bug reporting tool was unable to
> collect enough information about the crash to be useful to the developers.
> 
> In order to submit useful reports, please consider installing debug packages
> for your distribution.
> Click the link below to get information about how to install these packages:
> 
> Roelof
> 

Hello ,

Maybe I can better use splitdebug instead of nostrip ?

Roelof
Comment 12 Pacho Ramos gentoo-dev 2010-05-14 18:18:25 UTC
I use splitdebug but, please, be sure you haven't missed any point in backtrace guide
Comment 13 Roelof Wobben 2010-05-14 19:21:00 UTC
(In reply to comment #12)
> I use splitdebug but, please, be sure you haven't missed any point in backtrace
> guide
> 

OKe, 

I change in make.conf this :
CFLAGS="-O2 -pipe -ggdb"
CXXFLAGS="-O2 -pipe -ggdb"
FEATURES="splitdebug"

But still the same backtrace :
localhost ~ # gdb nautilus
GNU gdb (Gentoo 7.1 p1) 7.1
Copyright (C) 2010 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.
This GDB was configured as "x86_64-pc-linux-gnu".
For bug reporting instructions, please see:
<http://bugs.gentoo.org/>...
Reading symbols from /usr/bin/nautilus...Reading symbols from /usr/lib64/debug/usr/bin/nautilus.debug...done.
done.
(gdb) run
Starting program: /usr/bin/nautilus 
warning: no loadable sections found in added symbol-file /usr/lib64/debug/usr/lib64/libnautilus-extension.so.1.1.0.debug
Traceback (most recent call last):
  File "/usr/share/gdb/auto-load/usr/lib64/libgobject-2.0.so.0.2400.1-gdb.py", line 9, in <module>
    from gobject import register
  File "/usr/share/glib-2.0/gdb/gobject.py", line 3, in <module>
    import gdb.backtrace
ImportError: No module named backtrace
[Thread debugging using libthread_db enabled]

Program exited normally.
(gdb) tb
No default breakpoint address now.
(gdb) bt
No stack.
(gdb) bt full
No stack.
(gdb) quit

Maybe now emerge the rdepend now with debugging symbols ?

Roelof

Comment 14 Pacho Ramos gentoo-dev 2010-05-14 20:04:13 UTC
(In reply to comment #13)
> FEATURES="splitdebug"
> 

You need to *append* splitdebug in features, not drop all the other.

> But still the same backtrace :
> localhost ~ # gdb nautilus
> GNU gdb (Gentoo 7.1 p1) 7.1
> Copyright (C) 2010 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.
> This GDB was configured as "x86_64-pc-linux-gnu".
> For bug reporting instructions, please see:
> <http://bugs.gentoo.org/>...
> Reading symbols from /usr/bin/nautilus...Reading symbols from
> /usr/lib64/debug/usr/bin/nautilus.debug...done.
> done.
> (gdb) run
> Starting program: /usr/bin/nautilus 
> warning: no loadable sections found in added symbol-file
> /usr/lib64/debug/usr/lib64/libnautilus-extension.so.1.1.0.debug
> Traceback (most recent call last):
>   File "/usr/share/gdb/auto-load/usr/lib64/libgobject-2.0.so.0.2400.1-gdb.py",
> line 9, in <module>
>     from gobject import register
>   File "/usr/share/glib-2.0/gdb/gobject.py", line 3, in <module>
>     import gdb.backtrace
> ImportError: No module named backtrace
> [Thread debugging using libthread_db enabled]
> 
> Program exited normally.
> (gdb) tb

Did you tried to reproduce the crash when running nautilus from gdb? 
Comment 15 Roelof Wobben 2010-05-14 20:10:18 UTC
(In reply to comment #14)
> (In reply to comment #13)
> > FEATURES="splitdebug"
> > 
> You need to *append* splitdebug in features, not drop all the other.
> > But still the same backtrace :
> > localhost ~ # gdb nautilus
> > GNU gdb (Gentoo 7.1 p1) 7.1
> > Copyright (C) 2010 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.
> > This GDB was configured as "x86_64-pc-linux-gnu".
> > For bug reporting instructions, please see:
> > <http://bugs.gentoo.org/>...
> > Reading symbols from /usr/bin/nautilus...Reading symbols from
> > /usr/lib64/debug/usr/bin/nautilus.debug...done.
> > done.
> > (gdb) run
> > Starting program: /usr/bin/nautilus 
> > warning: no loadable sections found in added symbol-file
> > /usr/lib64/debug/usr/lib64/libnautilus-extension.so.1.1.0.debug
> > Traceback (most recent call last):
> >   File "/usr/share/gdb/auto-load/usr/lib64/libgobject-2.0.so.0.2400.1-gdb.py",
> > line 9, in <module>
> >     from gobject import register
> >   File "/usr/share/glib-2.0/gdb/gobject.py", line 3, in <module>
> >     import gdb.backtrace
> > ImportError: No module named backtrace
> > [Thread debugging using libthread_db enabled]
> > 
> > Program exited normally.
> > (gdb) tb
> Did you tried to reproduce the crash when running nautilus from gdb? 

Hello, 

Sorry, but how do I append the splitdebug.
I thought this was the right way.

Yes, the trace is made when running nautilus from gdb.

Roelof
Comment 16 Pacho Ramos gentoo-dev 2010-05-14 20:32:55 UTC
We will try to do it in a different way then:
1. Revert to original /etc/make.conf
2. Run the following:
FEATURES="$FEATURES debug splitdebug" CFLAGS="$CFLAGS -ggdb" emerge -1 glib gnome-desktop pango gtk+ libxml2 gconf nautilus

Then, let bug-buddy act

Good luck!
Comment 17 Roelof Wobben 2010-05-15 07:52:39 UTC
Created attachment 231513 [details]
backtrace when I select the background from the particular directory
Comment 18 Pacho Ramos gentoo-dev 2010-05-15 08:56:07 UTC
Nice! :-D
Comment 19 Pacho Ramos gentoo-dev 2010-05-15 09:01:37 UTC
Are you able to reproduce this crash on a new created user account?
Comment 20 Roelof Wobben 2010-05-15 13:17:18 UTC
(In reply to comment #19)
> Are you able to reproduce this crash on a new created user account?
> 

Hello , 

On a newly created account this problem did not show up.
I have on a newly created account the problem that I can't open a terminal.
I then get this message : there is a error creating the child process for this terminal.

Roelof
Comment 21 Pacho Ramos gentoo-dev 2010-05-15 13:52:01 UTC
Then, nautilus crash seems to be caused by some old and buggy configuration, this bug would be invalid then as we wouldn't be able to know how to reproduce the crash. Maybe you could try moving away some config files (like .nautilus) and seeing the results. If you are able to know the exact steps to reproduce the problem on a new created user acccount, feel free to reopen with them. Thanks

About the other problem, you should probably try to launch "xterm" and see what prevents "gnome-terminal" from running. Please, go to forums to ask for help (bugzilla is not the proper place for making all this general investigations):
http://forums.gentoo.org

Good luck!
Comment 22 Roelof Wobben 2010-05-20 12:26:25 UTC
Hello Pacho,

I deleted all the config files of the regular user due to other problems.
And now nautilus chrashes also when these user chooses the background which is part of the theme.

I get no report from bug buddy 

Roelof
Comment 23 Roelof Wobben 2010-05-20 15:31:39 UTC
See above comment.
Chrash is reproduced as a regular user
Comment 24 Priit Laes (IRC: plaes) 2010-05-25 20:04:26 UTC
This could be due to problem in GTK+'s libpng loader when using libpng-1.4

Please re-emerge gtk+-2.20.1 and see whether it still crashes.
Comment 25 Pacho Ramos gentoo-dev 2010-06-13 17:44:49 UTC
(In reply to comment #24)
> This could be due to problem in GTK+'s libpng loader when using libpng-1.4
> 
> Please re-emerge gtk+-2.20.1 and see whether it still crashes.
> 

Yes, please try it with Gnome 2.30 that is entering official tree (in a few hours). I am unable to reproduce the crash with it