fusesmb aborts when accessing share with some tools

Bug #291777 reported by Cdh
26
This bug affects 3 people
Affects Status Importance Assigned to Milestone
fusesmb (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: fusesmb

Hi,
I don't know if this bug is in fusesmb or somewhere else but let's see...
I use XUbuntu 8.10, fusesmb is 0.8.7-1.

While looking around whether XFCE had a smb browser I found this thread:
http://ubuntuforums.org/showthread.php?t=304131
So I installed fusesmb, added my User to the group fuse, created /media/network and did chown <myuser>:fuse and chmod 777 on it. Then i ran fusesmb /media/network and it worked so far.

Now the problem:
When I access a share with thunar or pcmanfm (or other gnome/XFCE/gtk?? programs), fusesmb will abort randomly and display an error dialog "Transport endpoint is not connected."
At this point I can no longer access /media/network
ls -l /media gives
d????????? ? ? ? ? ? network
I can still cd into /media/network but ls (even sudo ls) gives "Permission denied".

I attached a log what fusesmb -d /media/network gives by accessing the share (I shortened it a bit).

On the other hand fusesmb seems to work well when not accessing the shares with other programs than thunar or pcmanfm. With Dolphin I can browse the share without any problems. On commandline I can cd into any directory, ls any files and play movies with mplayer etc.
There are some applications that break the fusesmb connection. But very randomly.
I can play movies with VLC, mplayer, Totem, Kaffeine. No problems here.
I can open pictures with Kolourpaint, Firefox, Gimp ...
With fspot, ristretto, gpic break fusesmb, but very randomly.

I'd guess that programs that use a "gnomish" way to list the files in a directory (the 3 imageviewer I named have a list of how many files there are in the directory), are causing fusesmb to "Abort".

Revision history for this message
Cdh (therealchris) wrote :
description: updated
Revision history for this message
Gabriel Jacobo (gabomdq) wrote :

I'm using Kubuntu 8.10 64 bits, and i can confirm the issue. The fuse mount randomly disconnects when playing a video file with SMPlayer, running in debug mode does not provide any meaningful output. Dismounting and remounting enables the mount again, but hitting play on SMPlayer provokes the disconnection at a random point (which can go from two seconds of hitting play to less than a minute after).

Revision history for this message
Florian Baumert (florian-baumert) wrote :

Same here with Ubuntu 8.10 (64 bit). Have it recompiled with debugging information and without stripping the executable. In gdb it crashes all the time in different places, sometimes with SIGABRT, sometimes with SIGSEGV.

If a crash with SIGABRT occurs, it is mostly in some memory free routines, called from libsmbclient. The SIGSEGV also occurs in libsmbclient, but the triggering function is always different (sometime gett_attr, sometimes fusesmb_read).

Anybody willing to check this? It renders the whole thing unusable.

Revision history for this message
Cdh (therealchris) wrote :

I don't think my bug is a duplicate to https://bugs.launchpad.net/bugs/198351
because fusesmb does work with no problems for kde programs (dolphin) and command line (cd, ls).
There is a clear ABORT happening when trying to get a directory listing with several tools like nautilus, thunar, ...

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.