Summary: | Nautilus not opening, processes appear to hang | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Joe Urbanski <jourbans> |
Component: | [OLD] GNOME | Assignee: | Gentoo Linux Gnome Desktop Team <gnome> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | CC: | geriel, lucass, paer.karlsson |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
Stack trace output where nautilus doesn't launch
Stack trace output where nautilus does launch gdb backtrace of hanging processes 2nd gdb backrtrace log of hanging process |
Description
Joe Urbanski
2004-09-23 09:43:17 UTC
Created attachment 40227 [details]
Stack trace output where nautilus doesn't launch
File generated from "strace -o output -f nautilus"
Created attachment 40228 [details]
Stack trace output where nautilus does launch
Generated with "strace -o output -f nautilus"
its probably more interesting to attach gdb to the 'hanging' nautilus process & get a backtrace. You have to recompile nautilus with debugging info. Also you should always provide your 'emerge info' with a bugreport, like the bugform states. Here's my 'emerge info': Portage 2.0.50-r11 (default-x86-2004.2, gcc-3.3.4, glibc-2.3.3.20040420-r1, 2.6.8-gentoo-r3) ================================================================= System uname: 2.6.8-gentoo-r3 i686 Intel(R) Pentium(R) 4 CPU 1.80GHz Gentoo Base System version 1.4.16 distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=pentium4 -funroll-loops -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium4 -funroll-loops -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache distcc sandbox userpriv usersandbox" GENTOO_MIRRORS="ftp://ftp.ussg.iu.edu/pub/linux/gentoo ftp://csociety-ftp.ecn.purdue.edu/pub/gentoo/ ftp://gentoo.netnitco.net/pub/mirrors/gentoo/source/" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://spout.ussg.indiana.edu/gentoo-portage/" USE="X acpi alsa apm arts avi berkdb bitmap-fonts cdparanoia cdr crypt cups divx4linux dvd dvdr encode esd evo foomaticdb gdbm gif gimpprint gnome gnutls gpm gstreamer gtk gtk2 gtkhtml imlib java jpeg kde kerberos krb4 ldap libg++ libwww lzo mad maildir mikmod mmx motif mozilla mpeg nas ncurses nls oggvorbis opengl oss pam pcre pdflib perl png python qt quicktime readline samba sdl slang spell sse ssl svga tcltk tcpd tiff truetype x86 xinerama xml2 xmms xprint xv xvid zlib" Created attachment 40615 [details]
gdb backtrace of hanging processes
Here's the requested gdb backtrace of the hanging processes.
the backtrace is pretty useless as it is, you have to set 'debug' in USE & recompile nautilus for a start i guess. Nautilus was compiled with debug flags in the last backtrace I submitted, and "etcat -u nautilus" verified that. Just in case, I reemerged it with "USE="debug" emerge -va nautilus" after verifying that the debug flags were being picked up. I even remerged a second time with the FEATURES="nostrip" option as suggested by the output of "etcat -u nautilus". On both occasions, the backtrace results were similar to the first submitted gdb backtrace log. I'll attach the last backtrace log. Perhaps I need to reemerge one or more of the libraries gdb is loading symbols from (or failing to load since they are not emerged with the debug flag) using the debug flag? Created attachment 40731 [details]
2nd gdb backrtrace log of hanging process
I got the same behaviour after upgrading to gnome-2.8. Starting nautilus from a command shell gives nothing. I ran strace on the process and it is waiting on a futex. Such as: feinorgh@aiskylos ~ $ strace -p `pidof nautilus` Process 9522 attached - interrupt to quit futex(0x8119564, FUTEX_WAIT, 3, NULL I don't know if this is the same problem as the original bug reporters but the symptoms are similar. emerge info: Portage 2.0.51_rc9 (default-x86-1.4, gcc-3.4.2, glibc-2.3.4.20041006-r0, 2.6.8-gentoo-r9 i686) ================================================================= System uname: 2.6.8-gentoo-r9 i686 Intel(R) Pentium(R) 4 CPU 2.26GHz Gentoo Base System version 1.5.3 distcc 2.18 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.92.0.2-r1 Headers: sys-kernel/linux26-headers-2.6.8.1-r1 Libtools: sys-devel/libtool-1.5.2-r5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=pentium4 -O3 -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/afs/C /etc/afs/afsws /etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium4 -O3 -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache distcc distlocks fixpackages sandbox userpriv usersandbox" GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo/ http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/ http://ftp.rhnet.is/pub/gentoo/ http://gentoo.inode.at/ http://mirror.gentoo.ru/pub/mirror/gentoo/ http://ftp.iasi.roedu.net/mirrors/gentoo.org/ http://mirrors.tds.net/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://ftp.easynet.nl/mirror/gentoo/ http://gentoo.seren.com/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://kmssghost1.kmss.com/gentoo-portage" USE="3ds X X509 aac aalib acl acpi acpi4linux afs aim alsa amd antlr apache2 ardour-ksi asterisk async atlas auctex audiofile autofs avi bdf berkdb bitmap-fonts blender-game bonobo bsh cairo cap caps cddb cdf cdparanoia cdr chroot clamav clanJavaScript clanVoice clisp cmucl crypt cscope ctype cups curl curlwrappers dbx dga dio directfb distribution divx4linux dlopen dnd doc droproot dts dv dvd dvdread editor edl eds emacs emacs-w3 encode erandom escreen esd ethereal evo exif ext-png ext-zlib f77 faac faad fam fastcgi fbcon fbdev ffmpeg fftw flac flash flatfile fltk fluidsynth fmod foomaticdb ftp gb gcj gcl gd gdbm geoip ggi gif gimp gimpprint glade glgd gmp gmtsuppl gnome gnomedb gnuplot gphoto2 gpm gps graphviz gs gsl gstreamer gtk gtk2 guile hal hdf hdf5 iconv icq ide imagemagick imap imlib imlib2 jabber jack jack-tmpfs java javadoc javascript jbig jboss jce jdepend jp2 jpeg js jsch jta junit jython ladcca latex lcms ldap libcaca libg++ libgd libgda libsamplerate libwww live lm_sensors ltsp lua lufsusermount lzo lzw lzw-tiff mad maildir matroska mbox mbrola mcal md5sum mdb memlimit mhash mikmod mime ming mldonkeypango mmx mmx2 mng mono mozcalendar mozdevelop mozilla moznocompose moznoirc mozp3p mozsvg mp3 mpeg mpeg4 mpi mplayer msn music mysql nagios-dns nagios-ntp nagios-ping nagios-ssh nas ncurses netbeans netcdf network nis nls nocd nptl ntlm oav objc odbc offensive oggvorbis openal opengl openssh oro oscar oss pam parse-clocks pcntl pcre pdf pdflib perl php pic pie plotutils png posix ppds print psyco pthreads python qt quicktime quotes readline recode rplay rrdtool rtc ruby ruby18 samba sasl scanner sdk sdl server session sharedmem skey slang slp sndfile snmp soap sockets socks5 soundtouch sox speex spell spl sse sse2 ssl stencil-buffer svg sysvipc t1lib tcltk tcpd tcsim tetex tga theora tidy tiff timidity tokenizer tools transcode truetype type1 unicode usagi usb v4l v4l2 vhosts vim vim-with-x virus-scan vnc wmf wxwin wxwindows x86 xchattext xforms xfs xine xml xml2 xmlrpc xmms xosd xpm xprint xsl xv xvid xvmc yahoo yaz yv12 zlib video_cards_matrox" Quick fix: stopping d-bus seems to fix the problem. After /etc/init.d/dbus stop, nautilus starts without any problems. @ comment 9 & 10 : File another bug, because the reporter is using gnome 2.6, so not using dbus. Also, try to get some debug info from dbus, what it is hanging on obviously... @ reporter : with that backtrace we still can't do much, i guess you'll have to build more (system ?) stuff with debugging info. In the initial report you mention it started when you started to use a ntpd daemon, if you disable this daemon does that influence the behaviour ? I tried not using ntp, and didn't have any problems, but then again, the problem was so intermittant, I wasn't sure there was a relationship. I'd rahter fight with nautilus and leave ntpd up so all my machines are time-synched (call me anal). Regardless, I've switched my Gnome desktops to have Nautilus draw the desktop, just not show any icons, which seems to prevent the problem pretty well. That keeps a nautilus process spawned early and always around. I've switched the status to Resolved: WORKSFORME, as: 1) this seems to be a problem unique to me 2) I don't ahve the time to rebuild every library with the debug flag 3) I've got an acceptable workaround Cheers everyone... |