Banshee silently crashes during play

Bug #883023 reported by David Ramalho
62
This bug affects 11 people
Affects Status Importance Assigned to Milestone
Banshee
Unknown
High
banshee (Ubuntu)
Invalid
Undecided
Unassigned
Oneiric
Invalid
Undecided
Unassigned
Precise
Invalid
Undecided
Unassigned
mono-zeroconf (Ubuntu)
Fix Released
Undecided
Unassigned
Oneiric
Fix Released
Undecided
Unassigned
Precise
Fix Released
Undecided
Unassigned

Bug Description

Banshee crashes when a DAAP server vanishes.

Test case:
1. Start up Banshee and make sure the DAAP extension is enabled.
2. Start up a DAAP server, e.g. Tangerine. This can be done on a separate machine to avoid touching Banshee (especially because Tangerine runs the CollectionIndexer).
3. Wait until the DAAP server appears in Banshee.
4. Close the DAAP server (killall -SIGINT tangerine/^C)
5. Banshee crashes.

Revision history for this message
David Ramalho (dramalho-gmail) wrote :
Changed in banshee (Ubuntu):
status: New → Triaged
Changed in banshee:
importance: Unknown → High
status: Unknown → New
Changed in banshee:
status: New → Incomplete
Revision history for this message
Christopher Kyle Horton (christhehorton) wrote :

My bug (879065) was marked as a dupe of this one.

Here is my banshee --debug output from that bug.

Revision history for this message
Christopher Kyle Horton (christhehorton) wrote :

Eventually I got fed up with Banshee and switched over to Rhythmbox. The latter does not have the same stability issues (i.e., I can actually listen to my music or online radio for longer than 10-20 minutes at a time), not to mention I appreciate Rhythmbox's better GNOME Shell integration.

I still have Banshee installed, though, if anyone wants me to help out with additional debugging work.

Revision history for this message
Chow Loong Jin (hyperair) wrote :

The DAAP extension is crashing. If you disabled it, Banshee would be smooth. I have a patch that may or may not fix issues, but upstream is unresponsive, and I don't really have an idea about why it's crashing in the first place. I might once my exams are over though.

Revision history for this message
Chow Loong Jin (hyperair) wrote :

Cross-posting from https://bugzilla.gnome.org/show_bug.cgi?id=662309#c19:

Well I think we've more or less figured out that this bug doesn't belong to
Banshee, so could a maintainer close this as NOTGNOME, please?

Thanks for all the help in debugging this issue!

For those interested:-
- https://github.com/mono/Mono.Zeroconf/pull/6 has a fix/workaround for this
crasher.
- The DBus# port can wait until DBus# gains TrapSignals/UntrapSignals, as shown
in https://github.com/mono/dbus-sharp/pull/23, because continuing to bundle
DBus# is not nice.
- I'm assuming that NDesk.DBus/DBus# is not wrong in dispatching more signals
while attempting to remove the signal handler.

Changed in banshee (Ubuntu):
status: Triaged → Invalid
description: updated
Changed in mono-zeroconf (Ubuntu):
status: New → Triaged
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package mono-zeroconf - 0.9.0-3

---------------
mono-zeroconf (0.9.0-3) unstable; urgency=low

  * [d83970d] Add patch to fix multiple/recursive Dispose calls (LP: #883023)

 -- Chow Loong Jin <email address hidden> Mon, 07 Nov 2011 11:12:36 +0800

Changed in mono-zeroconf (Ubuntu):
status: Triaged → Fix Released
Revision history for this message
Chow Loong Jin (hyperair) wrote :

Fixed mono-zeroconf uploaded to -proposed, waiting for approval..

Changed in banshee (Ubuntu Oneiric):
status: New → Invalid
Changed in mono-zeroconf (Ubuntu Oneiric):
status: New → Triaged
Revision history for this message
Martin Pitt (pitti) wrote : Please test proposed package

Hello David, or anyone else affected,

Accepted mono-zeroconf into oneiric-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

Changed in mono-zeroconf (Ubuntu Oneiric):
status: Triaged → Fix Committed
tags: added: verification-needed
Changed in banshee:
status: Incomplete → Unknown
Revision history for this message
David Ramalho (dramalho-gmail) wrote :

Sorry for the long delay, I do have Proposed updates enabled so I should be getting the updates, but banshee keeps on silently crashing, especially in the office where (if the bug is DAAP related) a lot of iTunes are coming and going

Revision history for this message
Chow Loong Jin (hyperair) wrote : Re: [Bug 883023] Re: Banshee silently crashes during play

On 24/11/2011 19:38, David Ramalho wrote:
> Sorry for the long delay, I do have Proposed updates enabled so I should
> be getting the updates, but banshee keeps on silently crashing,
> especially in the office where (if the bug is DAAP related) a lot of
> iTunes are coming and going

Could you check the version of your Banshee package? "apt-cache policy banshee"
in a terminal should do the trick.

--
Kind regards,
Loong Jin

Revision history for this message
Chow Loong Jin (hyperair) wrote :

On 24/11/2011 21:20, Chow Loong Jin wrote:
> On 24/11/2011 19:38, David Ramalho wrote:
>> Sorry for the long delay, I do have Proposed updates enabled so I should
>> be getting the updates, but banshee keeps on silently crashing,
>> especially in the office where (if the bug is DAAP related) a lot of
>> iTunes are coming and going
>
>
> Could you check the version of your Banshee package? "apt-cache policy banshee"
> in a terminal should do the trick.

Oh whoops, the package you should be looking at is libmono-zeroconf1.0-cil.

--
Kind regards,
Loong Jin

Revision history for this message
David Ramalho (dramalho-gmail) wrote :

libmono-zeroconf1.0-cil:
  Installed: 0.9.0-3~ubuntu0.1
  Candidate: 0.9.0-3~ubuntu0.1
  Version table:
 *** 0.9.0-3~ubuntu0.1 0
        500 http://archive.ubuntu.com/ubuntu/ oneiric-proposed/main amd64 Packages
        100 /var/lib/dpkg/status
     0.9.0-2build1 0
        500 http://archive.ubuntu.com/ubuntu/ oneiric/main amd64 Packages

Seems to be the right one ... right? :)

Revision history for this message
Chow Loong Jin (hyperair) wrote :

On 24/11/2011 23:55, David Ramalho wrote:
> libmono-zeroconf1.0-cil:
> Installed: 0.9.0-3~ubuntu0.1
> Candidate: 0.9.0-3~ubuntu0.1
> Version table:
> *** 0.9.0-3~ubuntu0.1 0
> 500 http://archive.ubuntu.com/ubuntu/ oneiric-proposed/main amd64 Packages
> 100 /var/lib/dpkg/status
> 0.9.0-2build1 0
> 500 http://archive.ubuntu.com/ubuntu/ oneiric/main amd64 Packages
>
>
> Seems to be the right one ... right? :)
>

Yep, that's the one. And it still has the DAAP crashes? If so, please copy out
~/.config/banshee-1/log before you restart Banshee, and upload it to this bug.

--
Kind regards,
Loong Jin

Revision history for this message
Haneef Mubarak (haneefmubarak) wrote :

I experienced this bug, and I have found a temporary fix (I use Oneiric):

I don't know if it works the GUI way, but since I prefer the command-line anyways:

-------------You Must be An Administrator on your local machine------------------------------------------------------------
sudo apt-get remove banshee # Do NOT use --purge
sudo apt-get install banshee
sudo shutdown -r now # You could also use 'sudo reboot now'
-------------You Must be An Administrator on your local machine------------------------------------------------------------

Or we could summarize it on one line (This installs a few extensions too, and it also updates your other packages - because this is what I used | Copy and paste this on one line in the Terminal) :

sudo apt-get remove banshee; sudo apt-get update; sudo apt-get install banshee banshee-extension-soundmenu banshee-extension-ubuntuonemusicstore; sudo apt-get upgrade; shutdown -r now

I was actually pretty amazed no one tried reinstalling.

Revision history for this message
Haneef Mubarak (haneefmubarak) wrote :

When you perform the above one-line fix by me, it's a good idea to close all other applications, otherwise it might not update right, also, I found a mistake, here is the correct version:

sudo apt-get remove banshee; sudo apt-get update; sudo apt-get install banshee banshee-extension-soundmenu banshee-extension-ubuntuonemusicstore; sudo apt-get upgrade; sudo shutdown -r now

Revision history for this message
Chow Loong Jin (hyperair) wrote :

On 04/12/2011 04:28, Haneef Mubarak wrote:
> I experienced this bug, and I have found a temporary fix (I use
> Oneiric):
>
> I don't know if it works the GUI way, but since I prefer the command-
> line anyways:
>
> -------------You Must be An Administrator on your local machine------------------------------------------------------------
> sudo apt-get remove banshee # Do NOT use --purge
> sudo apt-get install banshee
> sudo shutdown -r now # You could also use 'sudo reboot now'
> -------------You Must be An Administrator on your local machine------------------------------------------------------------
>
> Or we could summarize it on one line (This installs a few extensions
> too, and it also updates your other packages - because this is what I
> used | Copy and paste this on one line in the Terminal) :
>
> sudo apt-get remove banshee; sudo apt-get update; sudo apt-get install
> banshee banshee-extension-soundmenu banshee-extension-
> ubuntuonemusicstore; sudo apt-get upgrade; shutdown -r now
>
> I was actually pretty amazed no one tried reinstalling.

Reinstalling usually only ever helps if the installation was corrupted in some
way (e.g. due to disk corruption or someone with root privileges moving random
files in /usr around).

In the case of this bug, it's quite likely that it only helped because you
didn't upgrade your mono-zeroconf package in the first place, and the
reinstallation of Banshee helped you do that.

--
Kind regards,
Loong Jin

Revision history for this message
David Ramalho (dramalho-gmail) wrote :

Fresh silent crash on a heavy DAAP / iTunes network environment :)

Revision history for this message
Chow Loong Jin (hyperair) wrote :

On 07/12/2011 19:18, David Ramalho wrote:
> Fresh silent crash on a heavy DAAP / iTunes network environment :)
>
> ** Attachment added: "~/.config/banshee-1/log"
> https://bugs.launchpad.net/ubuntu/+source/banshee/+bug/883023/+attachment/2622860/+files/log
>

That crash is due to bug #782802 which is an unrelated bug.

--
Kind regards,
Loong Jin

Revision history for this message
David Ramalho (dramalho-gmail) wrote :

Ahh

I'll proceed to complain elsewhere I guess :) , thanks Chow :)

Revision history for this message
Chow Loong Jin (hyperair) wrote :

On 08/12/2011 00:54, David Ramalho wrote:
> Ahh
>
> I'll proceed to complain elsewhere I guess :) , thanks Chow :)
>

You probably want to subscribe yourself to the bug I mentioned (and the
gnome-bugs link on that bug as well).

--
Kind regards,
Loong Jin

Revision history for this message
Chow Loong Jin (hyperair) wrote :

Alright, I've tested it on my machine, and Banshee no longer crashes from disappearing DAAP shares.

tags: added: verification-done
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package mono-zeroconf - 0.9.0-3~ubuntu0.1

---------------
mono-zeroconf (0.9.0-3~ubuntu0.1) oneiric-proposed; urgency=low

  * Backport to oneiric-proposed.

mono-zeroconf (0.9.0-3) unstable; urgency=low

  * [d83970d] Add patch to fix multiple/recursive Dispose calls (LP: #883023)
 -- Chow Loong Jin <email address hidden> Thu, 10 Nov 2011 09:57:12 +0800

Changed in mono-zeroconf (Ubuntu Oneiric):
status: Fix Committed → 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.