Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 264243 - gnome-base/nautilus-2.24.2 crash on new media/hardware detection
Summary: gnome-base/nautilus-2.24.2 crash on new media/hardware detection
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL: http://forums.opensuse.org/applicatio...
Whiteboard:
Keywords:
Depends on:
Blocks: gnome2.24
  Show dependency tree
 
Reported: 2009-03-30 05:57 UTC by Eddy Zavaleta
Modified: 2009-10-29 07:56 UTC (History)
2 users (show)

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


Attachments
Info from /var/log/messages when I disattach my usb mouse (var-log-messages,6.87 KB, text/plain)
2009-03-31 08:05 UTC, Eddy Zavaleta
Details
Backtrace from bug buddy using debug use flag for nautilus. (backtrace.log,7.78 KB, text/plain)
2009-03-31 08:09 UTC, Eddy Zavaleta
Details
Logs from nautilus crash without debugging symbols. (nautilus-without-debugging-info.log,1.83 KB, text/plain)
2009-04-24 06:29 UTC, Eddy Zavaleta
Details
Backtrace with more debugging symbols (bug-buddy, glibc & gtk+). (backtrace.log,9.56 KB, text/plain)
2009-04-24 19:11 UTC, Eddy Zavaleta
Details
nautilus-bt.log (nautilus-bt.log,649 bytes, text/plain)
2009-09-23 14:16 UTC, Marcello Magaldi
Details
nautilus-bt.log (nautilus-bt.log,927 bytes, text/plain)
2009-09-23 14:41 UTC, Marcello Magaldi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Eddy Zavaleta 2009-03-30 05:57:51 UTC
Every time I attach/disattach a USB device (mouse, keyboard, ..) or insert/remove any removable medium I got a Bug Buddy window telling me "Open Folder" application has crashed.

Bug Buddy - Review Crash Details

Distribution: Gentoo Base System release 1.12.11.1
Gnome Release: 2.24.3 2009-03-22 (Gentoo)
BugBuddy Version: 2.24.2

System: Linux 2.6.29 #3 SMP PREEMPT Fri Mar 27 04:10:12 CST 2009 i686
X Vendor: The X.Org Foundation
X Vendor Release: 10300000
Selinux: No
Accessibility: Disabled
GTK+ Theme: Murrine Brave
Icon Theme: gnome-brave

Memory status: size: 0 vsize: 0 resident: 0 share: 0 rss: 0 rss_rlim: 0
CPU usage: start_time: 0 rtime: 0 utime: 0 stime: 0 cutime:0 cstime: 0 timeout: 0 it_real_value: 0 frequency: 0



----------- .xsession-errors (299 sec old) ---------------------
(evolution:6413): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated
(evolution:6413): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated
(evolution:6413): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated
(evolution:6413): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated
(evolution:6413): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated
warning: line 6050: incompatible stripping characters and condition
warning: line 6062: incompatible stripping characters and condition
(evolution:6413): gtkhtml-WARNING **: oo
ERROR:Environment:/etc/texmf/texmf.cnf not found, using default value for TEXMFDIST (/usr/share/texmf-texlive)
--------------------------------------------------

I have noticed that this does not happens when hal daemon is stopped but I suppose this is because no hardware changes are detected.


Reproducible: Always

Steps to Reproduce:
1. start a gnome session (I use gdm)
2. attach any usb device or insert a usb disk, CD, DVD, ...
3.

Actual Results:  
Bug Buddy window, Nautilus crash a restart inmediatly. The new device or medium recognized and working fine. 

Expected Results:  
The new device or medium recognized and working fine without the crash. 

Portage 2.1.6.7 (default/linux/x86/2008.0/desktop, gcc-4.1.2, glibc-2.8_p20080602-r1, 2.6.29 i686)
=================================================================
System uname: Linux-2.6.29-i686-Genuine_Intel-R-_CPU_1600_@_2.16GHz-with-glibc2.0
Timestamp of tree: Sun, 29 Mar 2009 06:45:02 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 2.1.7
dev-lang/python:     2.5.2-r7
dev-util/cmake:      2.6.2-r1
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.9.6-r2, 1.10.2
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.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=prescott -fomit-frame-pointer -pipe -mno-tls-direct-seg-refs"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=prescott -fomit-frame-pointer -pipe -mno-tls-direct-seg-refs"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.usu.edu/mirrors/gentoo/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j3"
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="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X a52 aac aalib accessibility acl acpi aiglx alsa amr amrnb amrwb apache2 asf aspnet aspnet2 avahi avi bash-completion beagle berkdb bidi bitmap-fonts bittorrent blender-game bluetooth bonjour branding brasero bzip2 cairo caps cdda cddb cdio cdparanoia cdr cdrkit chm cli cracklib crypt cups custom-cflags custom-optimization daap dbus devhelp device-mapper dia divx4linux djvu dmx dri dts dv dvd dvdr dvdread dvi eds emboss enchant encode esd evo exif fam ffmpeg firefox flac freetype gaim galago gdbm gif gimp glade glitz gnome gnome-keyring gnome-print gnutls gpm gstreamer gtk gtk+ gtk2 gtkhtml hal httpd hvm iconv ieee1394 imagemagick imlib inherit-graph inotify ipod ipv6 isdnlog isight ithreads jabber java java6 jingle jpeg kerberos lame laptop latex ldap libcaca libnotify libsamplerate lirc live lm_sensors mad math matroska mdb midi mikmod mjpeg mmx mmxext mng mono moonlight mozdevelop mozsvg mp3 mp4 mpeg mplayer msn mudflap musicbrainz mysql mysqli nautilus ncurses netboot nfs nls nptl nptlonly nsplugin ogg oggvorbis openexr opengl openmp openntpd pam parse-clocks pcre pdf perl png ppds pppd python qt3support quicktime readline reflection samba sdl session smp sourceview spell spl sqlite srt sse sse2 ssl startup-notification stream subversion suid svg sysfs t1lib tagwriting tcpd tetex theora threads tiff totem trayicon truetype truetype-fonts type1-fonts unicode usb v4l v4l2 v4l2src v4lsrc vcd vidix visualization vlm vorbis widescreen win32codecs wmf x264 x86 xattr xcb xcomposite xml xorg xpm xulrunner xv xvid zlib" ALSA_CARDS="hda-intel" 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 auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIRC_DEVICES="macmini" USERLAND="GNU" VIDEO_CARDS="radeon radeonhd vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Eddy Zavaleta 2009-03-31 08:05:36 UTC
Created attachment 186843 [details]
Info from /var/log/messages when I disattach my usb mouse
Comment 2 Eddy Zavaleta 2009-03-31 08:09:22 UTC
Created attachment 186845 [details]
Backtrace from bug buddy using debug use flag for nautilus.

I enabled debug flags for nautilus, hal, dbus, dbus-glib and glib. Now I have this backtrace when I attach/disattach my usb mouse.

I have these versions installed:
dev-libs/glib-2.18.4-r1  USE="debug fam xattr -doc -hardened (-selinux)"
sys-apps/dbus-1.2.3-r1  USE="X debug -doc (-selinux)"
dev-libs/dbus-glib-0.76  USE="debug -doc (-selinux)"
gnome-base/nautilus-2.24.2  USE="X beagle debug gnome -doc -tracker -xmp"
sys-apps/hal-0.5.11-r8  USE="X acpi crypt debug laptop -apm -dell -disk-partition -doc (-selinux)"
Comment 3 Eddy Zavaleta 2009-03-31 11:26:53 UTC
Nautilus stops crashing using sys-apps/hal-0.5.9.1-r3 but gnome deps tree is not satisfied and upgrading to hal-0.5.12_rc1 continues same behavior.
Comment 4 Gilles Dartiguelongue gentoo-dev 2009-04-23 22:42:58 UTC
it'd be best if you could rebuild the packages where debugging symbols are missing so we can forward this upstream.
Comment 5 Eddy Zavaleta 2009-04-24 06:29:52 UTC
Created attachment 189291 [details]
Logs from nautilus crash without debugging symbols.

I had rebuilt the packages without debug use flag and recomended safe flags from gentoo wiki.
Comment 6 Eddy Zavaleta 2009-04-24 06:31:22 UTC
This is my currently 'emerge --info':

Portage 2.1.6.7 (default/linux/x86/2008.0/desktop, gcc-4.3.2, glibc-2.8_p20080602-r1, 2.6.29 i686)
=================================================================
System uname: Linux-2.6.29-i686-Genuine_Intel-R-_CPU_1600_@_2.16GHz-with-glibc2.0
Timestamp of tree: Mon, 06 Apr 2009 14:15:02 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 2.1.7
dev-lang/python:     2.5.2-r7
dev-util/cmake:      2.6.2-r1
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.9.6-r2, 1.10.2
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.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=prescott -fomit-frame-pointer -pipe -mno-tls-direct-seg-refs"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=prescott -fomit-frame-pointer -pipe -mno-tls-direct-seg-refs"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.switch.ch/ftp/mirror/gentoo/ http://mirror.its.uidaho.edu/pub/gentoo/ http://gentoo.channelx.biz/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j3"
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="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X a52 aac aalib accessibility acl acpi aiglx alsa amr amrnb amrwb apache2 asf aspnet aspnet2 avahi avi bash-completion beagle berkdb bidi bitmap-fonts bittorrent blender-game bluetooth bonjour branding brasero bzip2 cairo caps cdda cddb cdio cdparanoia cdr cdrkit chm cli cracklib crypt cups custom-cflags custom-optimization daap dbus devhelp device-mapper dia divx4linux djvu dri dts dv dvd dvdr dvdread dvi eds emboss enchant encode esd evo exif fam ffmpeg firefox flac freetype gaim galago gdbm gif gimp glade glitz gnome gnome-keyring gnome-print gnomecd gnutls gpm gstreamer gtk gtk+ gtk2 gtkhtml hal hfs httpd hvm iconv ieee1394 imagemagick imlib inherit-graph inotify ipod ipv6 isdnlog isight ithreads jabber java java6 jingle jpeg kerberos lame laptop latex lcms ldap libcaca libnotify libsamplerate lirc live lm_sensors mad math matroska mdb midi mikmod mjpeg mmx mmxext mng mono moonlight mozdevelop mozsvg mp3 mp4 mpeg mplayer msn mudflap musicbrainz mysql mysqli nautilus ncurses netboot nfs nls nptl nptlonly nsplugin ogg oggvorbis openexr opengl openmp openntpd pam parse-clocks pcre pdf perl png ppds pppd pulseaudio python qt3support quicktime readline reflection samba sdl session smp sndfile sourceview spell spl sqlite sqlite3 srt sse sse2 ssl startup-notification stream subversion suid svg sysfs t1lib tagwriting tcpd tetex theora threads tiff totem trayicon truetype truetype-fonts type1-fonts unicode usb v4l v4l2 v4l2src v4lsrc vcd vidix visualization vlm vorbis webkit widescreen win32codecs wmf x264 x86 xattr xcb xcomposite xml xorg xpm xulrunner xv xvid zlib" ALSA_CARDS="hda-intel" 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 auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIRC_DEVICES="macmini" USERLAND="GNU" VIDEO_CARDS="radeonhd vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 7 Gilles Dartiguelongue gentoo-dev 2009-04-24 08:25:32 UTC
erm, I don't really see any interesting information in that attachment, maybe the gobject critical but I think this has more to do with nautilus-cd-burner and brasero with USE="nautilus" being installed at the same time. Again we need a backtrace with all symbols to forward this otherwise there is nothing much we can do.
Comment 8 Eddy Zavaleta 2009-04-24 19:11:42 UTC
Created attachment 189342 [details]
Backtrace with more debugging symbols (bug-buddy, glibc & gtk+).

Now I have these packages installed:
sys-apps/dbus-1.2.3-r1  USE="X debug -doc (-selinux)"
sys-libs/glibc-2.8_p20080602-r1  USE="debug nls -gd -glibc-omitfp (-hardened) (-multilib) -profile (-selinux) -vanilla" 
dev-libs/glib-2.18.4-r1  USE="debug fam xattr -doc -hardened (-selinux)"
dev-libs/dbus-glib-0.76  USE="debug -doc (-selinux)"
sys-apps/hal-0.5.11-r8  USE="X acpi crypt debug laptop -apm -dell -disk-partition -doc (-selinux)"
x11-libs/gtk+-2.14.7-r2  USE="X cups debug jpeg tiff -doc -jpeg2k -vim-syntax -xinerama"
gnome-extra/bug-buddy-2.24.2  USE="debug eds"
gnome-base/nautilus-2.24.2  USE="X beagle debug gnome -doc -tracker -xmp"
Comment 9 Eddy Zavaleta 2009-04-24 19:42:04 UTC
Uninstalling either nautilus-cd-burner or brasero (USE="nautilus") fix the problem, I already tried both choices and no more crashes.

Maybe these ebuilds should be mutually exclusive.
Comment 10 Nirbheek Chauhan (RETIRED) gentoo-dev 2009-04-24 19:43:41 UTC
(In reply to comment #9)
> Uninstalling either nautilus-cd-burner or brasero (USE="nautilus") fix the
> problem, I already tried both choices and no more crashes.
> 
> Maybe these ebuilds should be mutually exclusive.
> 

I didn't have this problem with 2.26, could someone verify that?
Comment 11 Gilles Dartiguelongue gentoo-dev 2009-04-26 21:42:12 UTC
I don't have this problem as well and I still have both n-c-b and brasero with nautilus integration.
Comment 12 Gilles Dartiguelongue gentoo-dev 2009-05-31 18:57:03 UTC
please get back to us.
Comment 13 Marcello Magaldi 2009-09-23 14:13:11 UTC
(In reply to comment #12)
> please get back to us.
> 

I have the same issue, I tried to unmerge both brasero and nautilus-cd-burner, then I re-emerged only brasero and the problem isn't there anymore.
Re-emerging nautilus-cd-burner makes this issue return. 
I will attach a bt. 
Comment 14 Marcello Magaldi 2009-09-23 14:16:28 UTC
Created attachment 205021 [details]
nautilus-bt.log

tell me if you need more debugging symbols (so which packages I have to rebuild with -ggdb and debug use flag)
Comment 15 Marcello Magaldi 2009-09-23 14:41:59 UTC
Created attachment 205025 [details]
nautilus-bt.log

full backtrace with hal , dbus, dbus-glib, gtk+ ,nautilus , nautilus-cd-burner , brasero compiled with debug use flag and with -ggdb CFLAG.

Do you need something more accurate than this ?
Comment 16 Marcello Magaldi 2009-09-23 15:33:53 UTC
I found a working workaround, since it isn't possible to have a gnome without nautilus-cd-burner ( sund-juicer depends unconditionally on it ), a working combination is to merge brasero without nautilus use flag. 
Doing so will make problem go away.
Comment 17 Marcello Magaldi 2009-09-23 15:53:25 UTC
I noticed this issue only on a amd64 machine, I really don't know if it is reproducible with other archs. To reproduce it on my amd64 system you should simply install brasero with nautilus use flag enabled , and install (if it's not) nautilus-cd-burner .
Comment 18 Mart Raudsepp gentoo-dev 2009-09-28 21:26:40 UTC
I vaguely remember hitting this too at office or somewhere when both burner extensions are installed for nautilus. I also think a newer nautilus or some other involved component fixes the crash, but you of course then get two "Write files to disk" (or however it's spelled) bars on burn:// and such
Comment 19 Marcello Magaldi 2009-10-08 16:57:28 UTC
(In reply to comment #18)
> I vaguely remember hitting this too at office or somewhere when both burner
> extensions are installed for nautilus. I also think a newer nautilus or some
> other involved component fixes the crash, but you of course then get two "Write
> files to disk" (or however it's spelled) bars on burn:// and such
> 


Since I upgrade to gnome 2.26 here on amd64 nautilus doesn't crash anymore also if nautilus-cd-burner and brasero have nautilus use flag enabled.
Comment 20 Gilles Dartiguelongue gentoo-dev 2009-10-29 07:56:37 UTC
nautilus 2.26 already or on it's way to stable. Closing then. Thanks for the heads up.