<div>On Wed, Jul 21, 2010 at 2:32 PM, Jon Jackson <span dir="ltr">&lt;<a href="mailto:jsjweb@familyjackson.net">jsjweb@familyjackson.net</a>&gt;</span> wrote:</div><div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br><br><div class="gmail_quote"><div class="im">On Mon, Jul 19, 2010 at 12:29 PM, Josselin Mouette <span dir="ltr">&lt;<a href="mailto:joss@debian.org" target="_blank">joss@debian.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Le mercredi 14 juillet 2010 à 15:55 -0400, Jonathan Jackson a écrit :<br>
<div>&gt; On a Debian Lenny installation that has performed well for 6+ months, gnome sessions now hang during logon for all<br>
&gt; system users. This is after the desktop background and panels appear, but before any desktop icons or panel<br>
&gt; icons/menus are visible.  KDE sessions are fine.<br>
&gt;<br>
&gt; the last entry in ~/.xsession errors is &quot;Initializing gnome-mount extension&quot;<br>
&gt;<br>
&gt; /var/log/messages indicates the following errors coinciding with the session hang:<br>
&gt;<br>
&gt; Jul 14 15:27:39 genova kernel: [  661.024456] gnome-vfs-daemo[15293]: segfault at 0 ip 00007fc8584ceaf2 sp 00007fffc43cc3f8 error 4 in <a href="http://libc-2.7.so" target="_blank">libc-2.7.so</a>[7fc858454000+14a000]<br>


</div>[etc.]<br>
<br>
Thanks for your report.<br>
<br>
Unfortunately we need a backtrace of the crash to understand what is<br>
happening. See <a href="http://wiki.debian.org/HowToGetABacktrace" target="_blank">http://wiki.debian.org/HowToGetABacktrace</a><br>
<font color="#888888"><br></font></blockquote><div> </div></div><div>Ok, so I&#39;ve generated a trace following the instructions on the wiki page, thanks.</div><div><br></div><div><div>$ gdb /usr/lib/gnome-vfs-2.0/gnome-vfs-daemon </div>

<div>GNU gdb 6.8-debian</div><div>Copyright (C) 2008 Free Software Foundation, Inc.</div><div>License GPLv3+: GNU GPL version 3 or later &lt;<a href="http://gnu.org/licenses/gpl.html" target="_blank">http://gnu.org/licenses/gpl.html</a>&gt;</div>

<div>This is free software: you are free to change and redistribute it.</div><div>There is NO WARRANTY, to the extent permitted by law.  Type &quot;show copying&quot;</div><div>and &quot;show warranty&quot; for details.</div>

<div>This GDB was configured as &quot;x86_64-linux-gnu&quot;...</div><div>(gdb) set pagination 0</div><div>(gdb) run</div><div>Starting program: /usr/lib/gnome-vfs-2.0/gnome-vfs-daemon </div><div>[Thread debugging using libthread_db enabled]</div>

<div>[New Thread 0x7fa61029f6e0 (LWP 22354)]</div><div><br></div><div>(process:22354): libgnomevfs-CRITICAL **: gnome_vfs_get_uri_from_local_path: assertion `g_path_is_absolute (local_full_path)&#39; failed</div><div><br>

</div><div>(process:22354): libgnomevfs-CRITICAL **: gnome_vfs_get_uri_from_local_path: assertion `g_path_is_absolute (local_full_path)&#39; failed</div><div><br></div><div>Program received signal SIGSEGV, Segmentation fault.</div>

<div>[Switching to Thread 0x7fa61029f6e0 (LWP 22354)]</div><div>0x00007fa60ea8caf2 in strcmp () from /lib/libc.so.6</div><div>(gdb) bt</div><div>#0  0x00007fa60ea8caf2 in strcmp () from /lib/libc.so.6</div><div>#1  0x000000000040e530 in _gnome_vfs_volume_monitor_find_mtab_volume_by_activation_uri (volume_monitor=&lt;value optimized out&gt;, activation_uri=0x0) at gnome-vfs-volume-monitor.c:673</div>

<div>#2  0x000000000040cc2c in update_fstab_drives (volume_monitor_daemon=0x19f3280) at gnome-vfs-volume-monitor-daemon.c:708</div><div>#3  0x000000000040df2e in gnome_vfs_volume_monitor_daemon_init (volume_monitor_daemon=0x19f3280) at gnome-vfs-volume-monitor-daemon.c:191</div>

<div>#4  0x00007fa60f275fa5 in g_type_create_instance () from /usr/lib/libgobject-2.0.so.0</div><div>#5  0x00007fa60f25a7ab in ?? () from /usr/lib/libgobject-2.0.so.0</div><div>#6  0x00007fa60f25b5d2 in g_object_newv () from /usr/lib/libgobject-2.0.so.0</div>

<div>#7  0x00007fa60f25c327 in g_object_new_valist () from /usr/lib/libgobject-2.0.so.0</div><div>#8  0x00007fa60f25c46c in g_object_new () from /usr/lib/libgobject-2.0.so.0</div><div>#9  0x000000000040f071 in _gnome_vfs_get_volume_monitor_internal (create=1) at gnome-vfs-volume-monitor.c:446</div>

<div>#10 0x0000000000407b6e in main (argc=&lt;value optimized out&gt;, argv=&lt;value optimized out&gt;) at vfs-daemon.c:945</div></div><div><br></div></div><br>
</blockquote></div><br class="Apple-interchange-newline">I&#39;ve followed this up based on &#39;clue&#39; given by (_gnome_vfs_volume_monitor_find_mtab_volume_by_activation_uri ) and found this has been also been reported in Ubuntu<div>
<a href="https://bugs.launchpad.net/ubuntu/+source/gnome-vfs2/+bug/85477">https://bugs.launchpad.net/ubuntu/+source/gnome-vfs2/+bug/85477</a></div><div>and upstream</div><div><a href="https://bugzilla.gnome.org/show_bug.cgi?id=408553">https://bugzilla.gnome.org/show_bug.cgi?id=408553</a></div>
<div><br></div><div>And it appears to be related to parsing /etc/fstab</div><div><br></div><div>Looking at my /etc/fstab for anything unusual, I had an entry</div><div><br></div><div>UUID=A86EF81A6EF7DECE windows   ntfs    noauto,user,umask=227 0 0</div>
<div><br></div><div>which is valid in the sense that I mounted the file system without problems </div><div>cd /mnt</div><div>sudo mount windows</div><div><br></div><div>however the mount point is not a proper full path. Changing the mount point to /mnt/windows fixes the segfault in gnome-vfs-daemon and gnome sessions are working again. I&#39;ll post a comment also upstream</div>
</div><div><br></div><div>Thanks for recommending a backtrace as this was key to finding a solution,</div>