Bug#542216: libgnomevfs2-extra: gnome-vfs-daemon periodically crashes due to undefined symbol referenced in libsmb.so

Josselin Mouette joss at debian.org
Tue Aug 18 14:57:25 UTC 2009


found 542216 1:2.24.1-4
thanks

Le mardi 18 août 2009 à 15:00 +0100, Peter Nelson a écrit : 
> gnome-vfs-daemon periodically crashes due to an undefined symbol referenced in 
> /usr/lib/gnome-vfs-2.0/modules/libsmb.so

Wow, good catch. This is a serious piece of WTF.

The problem is very simple. The gnome-vfs SMB method includes the
following:
int smbc_remove_unused_server(SMBCCTX * context, SMBCSRV * srv);

So it means that they are aware this is a private interface, but they
are using it nonetheless. Really, upstreams can go beyond cluelessness
sometimes.

This symbol disappeared from libsmbclient.so.0 somewhere between etch
and lenny, so the crashes start from lenny.

But the very intriguing thing is this:

> The effect of this is that, at least, nautilus will close open windows, and rhythmbox will drop and 
> reload its database, making this crash quite awkward. In general smb share browsing does work in 
> nautilus.

Indeed the module mostly works, otherwise we’d have noticed sooner. I’d
expect it to just refuse to load since it is missing a symbol. So, maybe
there is no crash until the module actually tries to use the symbol.

Still, I don’t know how to fix this. It requires major changes in the
smb module to use the correct API instead, and upstream is not really
maintaining gnome-vfs anymore.

Cheers,
-- 
 .''`.      Josselin Mouette
: :' :
`. `'   “I recommend you to learn English in hope that you in
  `-     future understand things”  -- Jörg Schilling
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Ceci est une partie de message num?riquement sign?e
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20090818/ea3133c6/attachment-0003.pgp>


More information about the pkg-gnome-maintainers mailing list