Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 236791 - gnome-base/nautilus-2.22.5.1* fails to start (crash) when user
Summary: gnome-base/nautilus-2.22.5.1* fails to start (crash) when user
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: AMD64 Linux
: High normal with 1 vote (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-05 14:23 UTC by Nicolas Sebrecht
Modified: 2008-10-24 14:14 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
gdb nautilus 2>1 |tee gdb-nautilus.backtrace (gdb-nautilus.backtrace,10.36 KB, text/plain)
2008-09-07 04:12 UTC, Nicolas Sebrecht
Details
new backtrace (nautilus.backtrace.log,644 bytes, text/plain)
2008-09-09 15:54 UTC, Nicolas Sebrecht
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nicolas Sebrecht 2008-09-05 14:23:29 UTC
When logged as a user, nautilus fails to start.

Reproducible : always.

Error messages in console :

% nautilus
Initializing nautilus-open-terminal extension
seahorse nautilus module initialized

(nautilus:16501): GLib-GIO-CRITICAL **: g_unix_mount_is_system_internal: assertion `mount_entry != NULL' failed
%


# emerge --info
Portage 2.1.4.4 (default/linux/amd64/2008.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-gentoo-r8-v1 x86_64)
=================================================================
System uname: 2.6.24-gentoo-r8-v1 x86_64 Intel(R) Core(TM)2 Duo CPU P8400 @ 2.26GHz
Timestamp of tree: Tue, 02 Sep 2008 16:04:01 +0000
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.4.4-r13, 2.5.2-r6
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=nocona -pipe -s"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=nocona -pipe -s"
DISTDIR="/usr/portage/distfiles"
FEATURES="candy cvs distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://88.191.53.13/gentoo/ http://gentoo.modulix.net/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://gentoo.tiscali.nl/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/"
LANG="fr_FR.UTF-8"
LC_ALL="fr_FR.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en-US en_GB fr_FR fr"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 3ds 7zip X Xaw3d a52 aac aalib ace acpi additions adns alsa amarok amazon amd64 amr amrnb amrwb amuled ao aotuv apache2 aqua_theme artworkextra asf audacious audiofile automount bash-completion berkdb bidi bindist binfilter bl bluetooth bonjour bonobo branding bzip2 cairo caps cardbus catalogs ccache cdda cddb cdio cdparanoia cdr chardet chm chroot cjk clamav cli colordiff console cracklib crypt cscope css cups cursors cvs cvsgraph cxx daap dbus dc1394 devhelp device-mapper dga dict directfb directv divx djvu dmi dri dts dv dvb dvd dvdr dvdread eds emacs emerald emoticon emovix enca encode enscript eolconv epson escreen esd exif extra extra-cardsets fam fame fasttrack fat fbcon fbsplash ffmpeg firefox flac font-server foomaticdb fortran fpx fr ftp fuse gadu gaim gajim gb gcj gconf gd gdb gdbm gdm gedit ggi gif gimp gimpprint glade glib glitz glut gmail gmedia gmp gnet gnome gnome-print gnutella gopher gphoto2 gpm gs gsnd gstreamer gtk gtkhtml guionly gzip gzip-el hal hardened hddtemp hdri hpn html icons iconv icq id3 id3tag idn image imagemagick imap imlib inherit-graph injection iptv isdnlog ivtv jabber java javascript jbig jfs john jpeg jpeg2k kerberos keyring kqemu lame lcd lcms leim libcaca libdsk libgda libnotify libwww live lm_sensors logrotate lzo lzw mad madwifi magic mail maildir maps math matroska mbox mcal mcve md5sum mdb meanwhile midi mikmod milter mime mixer mjpeg mmap mmx mng mod modplug mods motif mouse mozilla mp2 mp3 mpeg mpi mplayer msn mudflap multicall multilib multiprocess multiuser musepack musicbrainz mysql mysqli na_icons nas nautilus ncurses nemesi network new-login nfs njb nls nntp nocd nodrm normalize nptl nptlonly nsplugin ntfs nuv nvidia odbc ofx ogg ole openal opengl openmp openntpd openssl osc oscar ots pam pango pch pcmcia pcre pdf perl pidgin plotutils png pop posix postgres postproc ppds pppd prediction print profile pvr python qemu qmax qq qt3 qt3support qt4 quicktime radio rar raw readline realmedia recode reflection reiser4 reiserfs rhythmbox roe rogue rpm rtsp sdk sdl sdl-image sdl-sound session sharedmem shorten shout silc simplexml skins slp smartcard smime smp smtp sndfile sockets socks5 sourceview sox speex spell spl sqlite sqlite3 srt sse sse2 ssl startup-notification stream svg svgz sylpheed symlink sysfs syslog sysvipc szip taglib tagwriting tcl tcpd teamarena teletext tetex textures tga tgif themes theora thesaurus threads thunderbird tidy tiff tk transcode trayicon truetype tv_check tv_combiner tv_pick_cgi twolame unicode unzip upnp usb v4l v4l2 valgrind vcd vcdx vditool videos vim-syntax vim-with-x vizualisation vlm vorbis wavpack wddx wifi wireshark wma wmf wmp wordperfect wxwindows xanim xatrix xcomposite xext xface xfs xine xml xmlrpc xorg xosd xpm xprint xscreensaver xv xvid xvmc yahoo yv12 zephyr zip zlib zsh-completion zvbi" 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="keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en-US en_GB fr_FR fr" USERLAND="GNU" VIDEO_CARDS="vesa fglrx radeonhd"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY


# cat /etc/group
adm::4:root,adm,daemon
audio::18:nicolas
avahi:x:1011:
bin::1:root,bin,daemon
cdrom::19:nicolas,haldaemon
cdrw::80:haldaemon
console::17:
cron:x:16:
crontab:x:407:
daemon::2:root,bin,daemon
dialout::20:root
disk::6:root,adm,haldaemon
floppy::11:root,haldaemon
games:x:35:nicolas
gdm:x:1003:
haldaemon:x:1001:haldaemon
kmem::9:
locate:x:245:
lp::7:lp
lpadmin:x:106:
mail::12:mail
man::15:man
mem::8:
messagebus:x:408:
mysql:x:60:
netdev:x:1010:
news::13:news
nicolas:x:1009:
nobody::65534:
nofiles:x:200:
nogroup::65533:
ntp:x:123:
plugdev:x:1002:haldaemon,nicolas
portage::250:portage
root::0:root
smmsp:x:209:smmsp
sshd:x:22:
sys::3:root,bin,adm
tape::26:root
tty::5:
usb::85:nicolas,haldaemon
users::100:games,nicolas
utmp:x:406:
uucp::14:uucp
vboxusers:x:1012:nicolas
video::27:root,nicolas
wheel::10:root,nicolas
Comment 1 Nicolas Sebrecht 2008-09-05 14:28:55 UTC
Notes:
- root has no problem to start nautilus.
- this is a clean new installation from scratch.
- same error occurs with 2.22.5.1 and 2.22.5.1-r1.
Comment 2 Rémi Cardona (RETIRED) gentoo-dev 2008-09-05 14:49:37 UTC
Could you attach your fstab?

Thanks
Comment 3 Nicolas Sebrecht 2008-09-05 15:37:39 UTC
# cat /etc/fstab 

# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/md1		/boot		ext3		noatime		1 2
/dev/md5		/		ext3		noatime		0 1
/dev/md6		/usr/portage	reiserfs	noatime		1 2
/dev/md7		/home		ext3		noatime		1 2
/dev/md8		/mnt/eve	ext3		noatime		1 2
/mnt/eve	/home/nicolas/eve	auto		bind		0 0
/dev/sda3		none		swap		sw		0 0
/dev/sdb3		none		swap		sw		0 0
/dev/cdrom		/mnt/cdrom	auto		noauto,ro	0 0
#/dev/fd0		/mnt/floppy	auto		noauto		0 0

# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for 
# POSIX shared memory (shm_open, shm_unlink).
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
#  use almost no memory if not populated with files)
shm		/dev/shm	tmpfs		nodev,nosuid,noexec	0 0
tmpfs		/tmp		tmpfs		nodev,nosuid		0 0
tmpfs		/var/tmp	tmpfs		nodev,nosuid		0 0


# cat /etc/mdadm.conf 
ARRAY /dev/md1 level=raid1 num-devices=2 UUID=b7dffc36:752c5702:c27f8210:4e2b5aa7
ARRAY /dev/md5 level=raid1 num-devices=2 UUID=a33f89fd:08c3594d:e71ccd1d:d0b508d2
ARRAY /dev/md7 level=raid1 num-devices=2 UUID=ab981248:e9993e6d:38391ac9:5ccb5f80
ARRAY /dev/md8 level=raid0 num-devices=2 UUID=99ba07af:9b670207:9d3fe9ce:ffe884cd
ARRAY /dev/md6 level=raid0 num-devices=2 UUID=b7355d04:4559f1bd:c88d740f:a35eb017
Comment 4 Nicolas Sebrecht 2008-09-07 04:12:41 UTC
Created attachment 164768 [details]
gdb nautilus 2>1 |tee gdb-nautilus.backtrace

Here is a backtrace. The initial error comes after the last "quit" gdb command.

This is always reproducible.
Nautilus hangs with a blank window.

I can improve research or send more info if needed.
Comment 5 Rémi Cardona (RETIRED) gentoo-dev 2008-09-08 06:27:06 UTC
(In reply to comment #4)
> I can improve research or send more info if needed.

Yes please, that backtrace is _nearly_ useless, but that's ok ;)

Could you rebuild those packages reading those instructions : http://www.gentoo.org/proj/en/qa/backtraces.xml

1) glib
2) gvfs
3) eel
4) nautilus

I think that should give us a better idea of who is calling what under which circumstances.

Thanks for your efforts!
Comment 6 Nicolas Sebrecht 2008-09-09 15:54:53 UTC
Created attachment 165026 [details]
new backtrace


> Yes please, that backtrace is _nearly_ useless, but that's ok ;)

I hope this last one will help more.

> Could you rebuild those packages reading those instructions :
> http://www.gentoo.org/proj/en/qa/backtraces.xml
>
> 1) glib
> 2) gvfs
> 3) eel
> 4) nautilus

Done. Is this last backtrace more usefull ?
I tried the coredump method too but I did'nt found them..

Note that with the new options the bugzilla tool started automatically. So I've done gnome bug report too with this tool. You can refer to :
http://bugzilla.gnome.org/show_bug.cgi?id=551451

It seems that it's already fixed. I'll wait for the Gentoo next version and I will test it.

I found this webpage :
http://gpnl.larrythecow.org/
Is the right place to know the versions of softwares integrated to portage ? I mean without using « emerge --sync » that use as least as possible ?

> Thanks for your efforts!

Thanks to you. I need more gdb/development practice before being a good beta tester. I guess that's the best way to be a good developer in the Gentoo team. ,-)
Comment 7 Rémi Cardona (RETIRED) gentoo-dev 2008-09-09 16:28:10 UTC
(In reply to comment #6)
> Done. Is this last backtrace more usefull ?
> I tried the coredump method too but I did'nt found them..

Nope, I think you must have missed something in the guide because gdb says "no stack".

The first log you posted had a good backtrace but it lacked unmangled symbol names, whereas this one has good symbols but there's no full trace (ie, the path taken inside the code leading to the crash)

> It seems that it's already fixed. I'll wait for the Gentoo next version and I
> will test it.

Yeah, that's the bug I had in mind, but I failed to see the "bind" in your fstab. If you remove the bind (temporarily), things should work better.

In any case, the next glib should be fixed. I'll try to see if a patch can be backported.

> I found this webpage :
> http://gpnl.larrythecow.org/
> Is the right place to know the versions of softwares integrated to portage ?

You might want to check this out instead ;) http://packages.gentoo.org/

Thanks
Comment 8 Nicolas Sebrecht 2008-09-09 17:00:37 UTC
(In reply to comment #7)

> Nope, I think you must have missed something in the guide because gdb says "no
> stack".
> 
> The first log you posted had a good backtrace but it lacked unmangled symbol
> names, whereas this one has good symbols but there's no full trace (ie, the
> path taken inside the code leading to the crash)

Ok. I'll look at more gdb documentation.

> In any case, the next glib should be fixed. I'll try to see if a patch can be
> backported.

Well, I'm using pc man file manager instead wich is a good alternative.

> You might want to check this out instead ;) http://packages.gentoo.org/

I didn't found a search tool but I'll go ahead using the news feed.

I leave the bug as new at that time.

Thank you.
Comment 9 Gilles Dartiguelongue (RETIRED) gentoo-dev 2008-10-05 22:31:27 UTC
the last backtrace is better but you need to type bt full in there so we get the stack of calls.
Comment 10 Nicolas Sebrecht 2008-10-15 18:06:06 UTC
(In reply to comment #9)
> the last backtrace is better but you need to type bt full in there so we get
> the stack of calls.

Ok.

I still don't see why but I can't reproduce the bug for some days. If I achieve to reproduce it, I'll give you the steps.

Comment 11 sid 2008-10-24 14:14:08 UTC
Hi,

I have the same problem. But only if i try to access at startup to access a "bind" mounted directory. e.g. "home/test" is "bind" mounted

##################################################
nautilus /home/test/
(nautilus:22543): GLib-GIO-CRITICAL **: g_unix_mount_is_system_internal: assertion `mount_entry != NULL' failed
##################################################

bugreport:
http://bugzilla.gnome.org/show_bug.cgi?id=526868