Trying to access unmounted SMBFS share in Rhythmbox causes entire system crash

Bug #39958 reported by Mark Reitblatt
10
Affects Status Importance Assigned to Milestone
linux-source-2.6.15 (Ubuntu)
Fix Released
Medium
Unassigned
rhythmbox (Ubuntu)
Invalid
Critical
Unassigned

Bug Description

I have an SMBFS share named "Share" in my fstab as follows:
//10.8.0.1/Share /mnt/share smbfs rw,user,noauto,username=mark,uid=mark 0 0

When I try to access it in Rhythmbox through the "Add Folder" option, it prompts me for the password to "Share" (while it is unmounted), and immediately freezes my entire system. No capslock/numlock response or anything. I have to hold the power button to restart. If I try to access "Share" while it is mounted, everything works fine.

Note: I have enabled SUID root on smbmnt so that user mounts are possible. Also, the Samba share is being mounted over an OpenVPN tunnel, but I doubt that is relevant.

Revision history for this message
Mark Reitblatt (mark-reitblatt) wrote :

Rhythmbox 0.9.3.1

Revision history for this message
Sitsofe Wheeler (sitsofe) wrote :

If caps lock really stops working then this is a kernel bug not a rhythmbox bug. It should be impossible for userspace to cause complete kernel lockups...

Could you also attach the output of
lspci
?

Revision history for this message
Mark Reitblatt (mark-reitblatt) wrote : lspci output

Here it is. Interestingly enough, I can't get any other app in the "Sound and Video" menu to prompt me for the password when I try to access "Share". But, I get the prompt in "Text Editor" and it crashes there as well.

Revision history for this message
Mark Reitblatt (mark-reitblatt) wrote :

Not a Rhythmbox bug (Kernel bug)

Changed in rhythmbox:
status: Unconfirmed → Rejected
Revision history for this message
Sitsofe Wheeler (sitsofe) wrote :

Mark:
Could you also attach the output of
dmesg
in the same manner as you did for lspci?

Revision history for this message
Mark Reitblatt (mark-reitblatt) wrote : dmesg output

Here ya go.

Revision history for this message
Vipul Delwadia (vipul-delwadia) wrote :

I can confirm this in nautilus as well.

I have samba shares defined in my fstab, mounted using smbfs

If I use the terminal to mount the samba share then everything is fine, however if I double click the share in nautilus (when no samba shares are mounted) then the entire system locks up.

If there is already a samba share mounted (via smbfs) then nautilius will mount the double clicked share fine, but with no shares mounted the system locks up.

Revision history for this message
Sitsofe Wheeler (sitsofe) wrote :

Mark, Vipul:

I will just add that smbfs is deprecated in favour of the much better (and faster) cifs. Does switching to cifs sidestep your issue?

Changed in linux-source-2.6.15:
status: Unconfirmed → Needs Info
Revision history for this message
Mark Reitblatt (mark-reitblatt) wrote :

Yes, it does! I had no idea smbfs was deprecated. Thanks a lot!

Changed in linux-source-2.6.15:
status: Needs Info → Unconfirmed
Revision history for this message
Vipul Delwadia (vipul-delwadia) wrote :

Sorry for not getting back sooner!

Indeed it does, cifs has solved the problem.

I, too, had no idea that it was deprecated. It's strange how you install the package smbfs, which comes with mount.smbfs, but the one we want is mount.cifs (also in that package). Maybe there should be something on the wiki about this...?

Vipul

Revision history for this message
Daniel Holbach (dholbach) wrote :

Marking closed then, thanks for following up.

Changed in linux-source-2.6.15:
status: Unconfirmed → Fix Released
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.