nautilus starts at boot then crashes 10 times

Bug #185728 reported by Enrico Gueli
This bug report is a duplicate of:  Bug #190996: nautilus crashed with SIGSEGV. Edit Remove
8
Affects Status Importance Assigned to Milestone
nautilus (Ubuntu)
Invalid
Medium
Ubuntu Desktop Bugs

Bug Description

Binary package hint: nautilus

Just when I upgraded from alpha2 to alpha3, nautilus stopped working at boot. Instead of showing me the desktop icons, it opens up the home directory window, then it closes it immediately. This is repeated exactly ten times, then it stops. Gnome panels and everything else work normally.
While running from command line, I get this error message:

** (nautilus:7716): WARNING **: Unable to add monitor: Not supported
*** glibc detected *** nautilus: munmap_chunk(): invalid pointer: 0x081d1d3c ***
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6(cfree+0x1bb)[0xb72cb50b]
/usr/lib/libglib-2.0.so.0(g_free+0x31)[0xb760cc21]
nautilus[0x80e82cb]
/usr/lib/libgio-2.0.so.0(g_simple_async_result_complete+0x71)[0xb76f28e1]
/usr/lib/libgio-2.0.so.0[0xb76daa96]
/usr/lib/libgio-2.0.so.0(g_simple_async_result_complete+0x71)[0xb76f28e1]
/usr/lib/libgio-2.0.so.0[0xb76f294e]
/usr/lib/libglib-2.0.so.0[0xb76031c1]
/usr/lib/libglib-2.0.so.0(g_main_context_dispatch+0x176)[0xb7604d76]
/usr/lib/libglib-2.0.so.0[0xb7608133]
/usr/lib/libglib-2.0.so.0(g_main_loop_run+0x1e7)[0xb7608517]
/usr/lib/libgtk-x11-2.0.so.0(gtk_main+0xb4)[0xb79f1984]
nautilus[0x807c2cd]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe0)[0xb7272450]
nautilus[0x8069bc1]
======= Memory map: ========
08048000-0816a000 r-xp 00000000 08:08 491889 /usr/bin/nautilus
0816a000-0816f000 rwxp 00122000 08:08 491889 /usr/bin/nautilus
0816f000-08749000 rwxp 0816f000 00:00 0 [heap]
b2aa2000-b2aa3000 ---p b2aa2000 00:00 0
b2aa3000-b32a3000 rwxp b2aa3000 00:00 0
b32a3000-b32a4000 ---p b32a3000 00:00 0
b32a4000-b3aa4000 rwxp b32a4000 00:00 0
b3aa4000-b3b04000 rwxs 00000000 00:09 3702803 /SYSV00000000 (deleted)
b3df3000-b46f4000 rwxp b3df3000 00:00 0
b46f4000-b46fb000 r-xp 00000000 08:08 492074 /usr/lib/libfam.so.0.0.0
b46fb000-b46fc000 rwxp 00006000 08:08 492074 /usr/lib/libfam.so.0.0.0
b46fc000-b4702000 r-xp 00000000 08:08 65434 /lib/libacl.so.1.1.0
b4702000-b4703000 rwxp 00005000 08:08 65434 /lib/libacl.so.1.1.0
b4710000-b471c000 r-xp 00000000 08:08 539959 /usr/lib/gnome-vfs-2.0/modules/libfile.so
b471c000-b471d000 rwxp 0000b000 08:08 539959 /usr/lib/gnome-vfs-2.0/modules/libfile.so
b471d000-b4821000 rwxp b471d000 00:00 0
b4821000-b48a7000 r-xp 00000000 08:08 686913 /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-Bold.ttf
b48a7000-b48c8000 r-xp 00000000 08:08 686821 /usr/share/fonts/truetype/freefont/FreeMonoBold.ttf
b48c8000-b48c9000 ---p b48c8000 00:00 0
b48c9000-b5118000 rwxp b48c9000 00:00 0
b5119000-b521d000 rwxp b5119000 00:00 0
b521d000-b52ad000 r-xp 00000000 08:08 686914 /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf
b52ad000-b52af000 r-xp 00000000 08:08 605127 /usr/lib/pango/1.6.0/modules/pango-basic-fc.so
b52af000-b52b0000 rwxp 00001000 08:08 605127 /usr/lib/pango/1.6.0/modules/pango-basic-fc.so
b52b0000-b52b6000 r-xs 00000000 08:08 295391 /var/cache/fontconfig/945677eb7aeaf62f1d50efc3fb3ec7d8-x86.cache-2
b52b6000-b52b9000 r-xs 00000000 08:08 295352 /var/cache/fontconfig/e383d7ea5fbe662a33d9b44caf393297-x86.cache-2
b52b9000-b52ba000 r-xs 00000000 08:08 295343 /var/cache/fontconfig/e3fa16a14183b06aa45b3e009278fd14-x86.cache-2
b52ba000-b52be000 r-xs 00000000 08:08 295342 /var/cache/fontconfig/921a30a17f0be15c70ac14043cb7a739-x86.cache-2
b52be000-b52bf000 r-xs 00000000 08:08 295339 /var/cache/fontconfig/c69f04ab05004e31a6d5e715764f16d8-x86.cache-2
b52bf000-b52c0000 r-xs 00000000 08:08 295300 /var/cache/fontconfig/4c73fe0c47614734b17d736dbde7580a-x86.cache-2
b52c0000-b52c3000 r-xs 00000000 08:08 295298 /var/cache/fontconfig/a755afe4a08bf5b97852ceb7400b47bc-x86.cache-2
b52c3000-b52c6000 r-xs 00000000 08:08 295296 /var/cache/fontconfig/6d41288fd70b0be22e8c3a91e032eec0-x86.cache-2
b52c6000-b52c9000 r-xs 00000000 08:08 295295 /var/cache/fontconfig/de156ccd2eddbdc19d37a45b8b2aac9c-x86.cache-2
b52c9000-b52d1000 r-xs 00000000 08:08 295293 /var/cache/fontconfig/e3de0de479f42330eadf588a55fb5bf4-x86.cache-2
b52d1000-b52d9000 r-xs 00000000 08:08 295292 /var/cache/fontconfig/0f34bcd4b6ee430af32735b75db7f02b-x86.cache-2
b52d9000-b52da000 r-xs 00000000 08:08 295288 /var/cache/fontconfig/4794a0821666d79190d59a36cb4f44b5-x86.cache-2
b52da000-b52dd000 r-xs 00000000 08:08 295270 /var/cache/fontconfig/de9486f0b47a4d768a594cb4198cb1c6-x86.cache-2
b52dd000-b52e4000 r-xs 00000000 08:08 295269 /var/cache/fontconfig/d52a8644073d54c13679302ca1180695-x86.cache-2
b52e4000-b5344000 rwxs 00000000 00:09 3670034 /SYSV00000000 (deleted)
b5344000-b5348000 r-xp 00000000 08:08 540008 /usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-png.so
b5348000-b5349000 rwxp 00003000 08:08 540008 /usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-png.so
b534a000-b555b000 r-xp 00000000 08:08 802081 /usr/share/icons/hicolor/icon-theme.cache
b555b000-b5cbf000 r-xp 00000000 08:08 801768 /usr/share/icons/gnome/icon-theme.cache
b5cbf000-b5d6a000 r-xp 00000000 08:08 805494 /usr/share/icons/Tangerine/icon-theme.cache
b5d6a000-b5d7a000 r-xs 00000000 08:08 637746 /usr/share/mime/mime.cache
b5d7a000-b5d90000 r-xp 00000000 08:08 754891 /usr/lib/gio/modules/libgiohal-volume-monitor.so
b5d90000-b5d91000 rwxp 00016000 08:08 754891 /usr/lib/gio/modules/libgiohal-volume-monitor.so
b5d91000-b5d9e000 r-xp 00000000 08:08 490944 /usr/lib/libhal.so.1.0.0
b5d9e000-b5d9f000 rwxp 0000d000 08:08 490944 /usr/lib/libhal.so.1.0.0
b5d9f000-b5f12000 r-xp 00000000 08:08 492506 /usr/lib/libpoppler.so.2.0.0
b5f12000-b5f32000 rwxp 00172000 08:08 492506 /usr/lib/libpoppler.so.2.0.0
b5f32000-b5f42000 r-xp 00000000 08:08 492356 /usr/lib/libkpathsea.so.4.0.0
b5f42000-b5f43000 rwxp 00010000 08:08 492356 /usr/lib/libkpathsea.so.4.0.0
b5f43000-b5f45000 rwxp b5f43000 00:00 0
b5f45000-b5f64000 r-xp 00000000 08:08 492352 /usr/lib/libjpeg.so.62.0.0
b5f64000-b5f65000 rwxp 0001e000 08:08 492352 /usr/lib/libjpeg.so.62.0.0
b5f65000-b60f6000 r-xp 00000000 08:08 492025 /usr/lib/libdjvulibre.so.15.5.0
b60f6000-b60fb000 rwxp 00190000 08:08 492025 /usr/lib/libdjvulibre.so.15.5.0
b60fb000-b6182000 rwxp b60fb000 00:00 0
b6182000-b6200000 ---p b6182000 00:00 0
b6202000-b6208000 r-xp 00000000 08:08 65553 /lib/libusb-0.1.so.4.4.4
b6208000-b620a000 rwxp 00005000 08:08 65553 /lib/libusb-0.1.so.4.4.4
b620a000-b625c000 r-xp 00000000 08:08 492606 /usr/lib/libtiff.so.4.2.1
b625c000-b625e000 rwxp 00052000 08:08 492606 /usr/lib/libtiff.so.4.2.1
b625e000-b627d000 r-xp 00000000 08:08 492504 /usr/lib/libpoppler-glib.so.2.0.0
b627d000-b627f000 rwxp 0001e000 08:08 492504 /usr/lib/libpoppler-glib.so.2.0.0
b6280000-b6283000 r-xp 00000000 08:08 65440 /lib/libattr.so.1.1.0
b6283000-b6284000 rwxp 00002000 08:08 65440 /lib/libattr.so.1.1.0
b6284000-b6288000 r-xs 00000000 08:08 294405 /var/cache/fontconfig/089dead882dea3570ffc31a9898cfb69-x86.cache-2
b6288000-b628a000 r-xs 00000000 08:08 295174 /var/cache/fontconfig/e13b20fdb08344e0e664864cc2ede53d-x86.cache-2
b628a000-b628b000 r-xp 00000000 08:08 540048 /usr/lib/gtk-2.0/2.10.0/loaders/svg_loader.so
b628b000-b628c000 rwxp 00000000 08:08 540048 /usr/lib/gtk-2.0/2.10.0/loaders/svg_loader.so
b628c000-b62e4000 r-xp 00000000 08:08 754753 /usr/lib/nautilus/extensions-2.0/libevince-properties-page.so
b62e4000-b62e7000 rwxp 00058000 08:08 754753 /usr/lib/nautilus/extensions-2.0/libevince-properties-page.so
b62e7000-b62e9000 rwxp b62e7000 00:00 0
b62e9000-b62ea000 ---p b62e9000 00:00 0
b62ea000-b6aea000 rwxp b62ea000 00:00 0
b6aea000-b6afc000 r-xp 00000000 08:08 540014 /usr/lib/gtk-2.0/2.10.0/engines/libubuntulooks.so
b6afc000-b6afd000 rwxp 00011000 08:08 540014 /usr/lib/gtk-2.0/2.10.0/engines/libubuntulooks.so
b6afd000-b6b1a000 r-xp 00000000 08:08 754892 /usr/lib/gio/modules/libgvfsdbus.so
b6b1a000-b6b1b000 rwxp 0001d000 08:08 754892 /usr/lib/gio/modules/libgvfsdbus.so
b6b1b000-b6b24000 r-xp 00000000 08:08 99187 /lib/tls/i686/cmov/libnss_files-2.7.so
b6b24000-b6b26000 rwxp 00008000 08:08 99187 /lib/tls/i686/cmov/libnss_files-2.7.so
b6b26000-b6b2e000 r-xp 00000000 08:08 99189 /lib/tls/i686/cmov/libnss_nis-2.7.so
b6b2e000-b6b30000 rwxp 00007000 08:08 99189 /lib/tls/i686/cmov/libnss_nis-2.7.so
b6b30000-b6b37000 r-xp 00000000 08:08 99185 /lib/tls/i686/cmov/libnss_compat-2.7.so
b6b37000-b6b39000 rwxp 00006000 08:08 99185 /lib/tls/i686/cmov/libnss_compat-2.7.so
b6b39000-b6b3d000 rwxp b6b39000 00:00 0
b6b3d000-b6b40000 r-xp 00000000 08:08 65479 /lib/libgpg-error.so.0.3.0
b6b40000-b6b41000 rwxp 00002000 08:08 65479 /lib/libgpg-error.so.0.3.0
b6b41000-b6b8c000 r-xp 00000000 08:08 65477 /lib/libgcrypt.so.11.2.3
b6b8c000-b6b8e000 rwxp 0004a000 08:08 65477 /lib/libgcrypt.so.11.2.3
b6b8e000-b6b9d000 r-xp 00000000 08:08 492600 /usr/lib/libtasn1.so.3.0.12
b6b9d000-b6b9e000 rwxp 0000e000 08:08 492600 /usr/lib/libtasn1.so.3.0.12
b6b9e000-b6b9f000 rwxp b6b9e000 00:00 0
b6b9f000-b6ba3000 r-xp 00000000 08:08 491872 /usr/lib/libXdmcp.so.6.0.0
b6ba3000-b6ba4000 rwxp 00003000 08:08 491872 /usr/lib/libXdmcp.so.6.0.0
b6ba4000-b6c67000 r-xp 00000000 08:08 490578 /usr/lib/libasound.so.2.0.0
b6c67000-b6c6c000 rwxp 000c2000 08:08 490578 /usr/lib/libasound.so.2.0.0
b6c6c000-b6c7b000 r-xp 00000000 08:08 66540 /lib/libbz2.so.1.0.4

Revision history for this message
Baptiste MATHUS (ml-batmat) wrote :

I have the same problem this bug report describes.

When I try starting nautilus, it displays then seems to crash, then reappears, then recrash, and so until I guess the maximum try count is reached.

When starting in the command line, here's what I see :
baptiste@pumte:~$ nautilus

** (nautilus:7605): WARNING **: Unable to add monitor: Not supported
Erreur de segmentation (core dumped)

I'm attaching a valgrind output as described on this page: https://wiki.ubuntu.com/Valgrind.
Note that I've got the impression that valgrind stopped tracking output after first automatic crash/restart of nautilus.

Let me know if you need additional information.

Revision history for this message
Baptiste MATHUS (ml-batmat) wrote :

In case of doubt, please note I'm reporting this bug using hardy. I updated my sources.list manually one week ago and started using it.

Hope it helps improving this release.
Cheers.

Revision history for this message
Enrico Gueli (e-gueli) wrote :

When I got today's package update (25/1/2008), something changed:
when I click any item in the Places menu, the nautilus window opens flawlessly.

It still crashes ten times either at boot and when I run it from the command line.

Revision history for this message
Mike MacCana (lovekudu) wrote :

Is your default icon size over 150%?

Revision history for this message
Enrico Gueli (e-gueli) wrote :

My default icon size never changed from 100%.

Revision history for this message
Baptiste MATHUS (ml-batmat) wrote :

In the meantime, I found what was wrong and had not reported it here yet.
It seems it was something related to the icon size (but 150%, I can't be sure since I'm not on my box at the moment) being to big.

Between two successive crashes, I did Ctrl-Minus to reduce the icon size and then it stopped crashing.

Revision history for this message
Pedro Villavicencio (pedro) wrote :

Thanks for your report, Is this still an issue with nautilus 2.21.90?

Changed in nautilus:
assignee: nobody → desktop-bugs
importance: Undecided → Medium
status: New → Incomplete
Revision history for this message
Enrico Gueli (e-gueli) wrote :

Just upgraded to version 2.21.90: the bug is still here.
Also, the Ctrl-minus trick doesn't work for me.

Revision history for this message
Pedro Villavicencio (pedro) wrote :

The Zoom crash is bug http://bugzilla.gnome.org/show_bug.cgi?id=511406 which was already fixed

Revision history for this message
newsie (spam-newsie) wrote :

same issue here with zoom set to 100%
running from command line with --no-desktop still gives the following warning:

** (nautilus:16775): WARNING **: Unable to add monitor: Not supported
but doesn't crash

Revision history for this message
pittipatti (pittipatti) wrote :

I had the same issue.

The problem was that I had a *.desktop starter-file owned and only accessable by root.
After changing the permissions so the user could read it, nautilus started without crash.

But this is just a workaround!

Revision history for this message
MickeA59 (mikael-andersson-home) wrote :

Running nautilus in terminal will give:
micke@micke-desktop:~$ nautilus
seahorse nautilus module initialized

** (nautilus:6708): WARNING **: Unable to add monitor: Not supported
Segmentation fault (core dumped)
micke@micke-desktop:~$
witch windows oening and crashing 10 times

Revision history for this message
Sebastien Bacher (seb128) wrote :

Could you use apport to send a new bug so it gets automatically retraced to a debug version?

Changed in nautilus:
status: Incomplete → Invalid
Revision history for this message
MickeA59 (mikael-andersson-home) wrote :

reported with trace at Bug #190996 //Mikael

Revision history for this message
Matt Perry (perrygeo) wrote :

For the record, I experienced this exact symptom. It appears to be a permissions issue since there was a *.desktop file owned by root in ~/Desktop. Removing this file fixed the bug.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.