Banshee crashes whilst scanning library on remote server

Bug #1489419 reported by riban
24
This bug affects 4 people
Affects Status Importance Assigned to Milestone
banshee (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

I have Banshee configured to store its library on a remote SMB share which already contains my music collection. When I ask Banshee to rescan library, it starts, scans a couple of albums then crashes. Starting Banshee from the command line shows an error on crash thus:

  (Banshee:9020): GLib-ERROR **: Creating pipes for GWakeup: Too many open files

  Trace/breakpoint trap (core dumped)

I am using Banshee 2.6.2 on Ubuntu Studio 15.04 on Dell Latitude E6510 (64-bit).
The SMB share is on an Intel Atom host running Ubuntu Server 14.04.

I have attached the crash dump file.

Revision history for this message
riban (brian-riban) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in banshee (Ubuntu):
status: New → Confirmed
Revision history for this message
Chow Loong Jin (hyperair) wrote :

Sounds like something's leaking file descriptors. Could you run "lsof -p <banshee pid> -n" a couple of times while it is scanning, but before it crashes?

Revision history for this message
Fixerdave (fixerdave) wrote :

Same problem... took a bit to discover Banshee shows up as "Main Thread" in the ps list.

Anyway, lsof log attached. Basically ran the command a few times, once before and then as many times as I could before it crashed out. Later runs have lots of repeated:
Main\x20T 6052 fixerdave 290u a_inode 0,11 0 8006 [eventfd]

Revision history for this message
Fixerdave (fixerdave) wrote :

Note there is another related Bug #1533480.
Does not seem to be SMB specific.

People are having some success with turning off various plugins and/or letting the media update plugin work without doing a manual import. Neither resolves for me. May be related to media library size. I'm only getting about 13GB of 80GB imported. Each run imports a little bit more before crashing.

This is with Ubuntu 16.4 gnome, x64, and I ended up with some KDE backend.

Revision history for this message
themmm (themmm) wrote :

For me the following "fixed" the Bug:

I mounted the SMB shares via fstab to something like

/home/media/user/mountpoint

Before this the link to the smb share was something like

"'/run/user/1000/gvfs/smb-share:server=name_of_server,share=Name_of_smb_share/folder'".

Now the library scan works flawless.

Greetings
themmm

Revision history for this message
Fixerdave (fixerdave) wrote :

"I mounted the SMB shares via fstab..."

Confirmed... fixed it for me too. 69GB imported without issue.

Thanks for that,

David...

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.