Banshee crashes on very short mp3s

Bug #757740 reported by Alistair Buxton
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Banshee
Confirmed
Medium
banshee (Ubuntu)
Triaged
Medium
Unassigned

Bug Description

Binary package hint: banshee

While testing bug 396268 I found this easily reproducable crash in Banshee. Simply import a very short MP3 (eg 0.1 seconds) into the library and set it to repeat single. Eventually Banshee will crash with this error:

Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object
at Banshee.Sources.PrimarySource/<OnTracksChanged>c__AnonStorey19.<>m__13 () <0x00054>
at Hyena.ThreadAssist.SpawnFromMain (System.Threading.ThreadStart) <0x0002f>
at Banshee.Sources.PrimarySource.OnTracksChanged (Hyena.Query.QueryField[]) <0x00073>
at Banshee.Sources.PrimarySource.NotifyTracksChanged (Hyena.Query.QueryField[]) <0x0001b>
at Banshee.Collection.Database.DatabaseTrackInfo.Save (bool,Hyena.Query.QueryField[]) <0x00263>
at Banshee.Collection.Database.DatabaseTrackInfo.UpdateLastPlayed () <0x0006f>
at Banshee.GStreamer.PlayerEngine.OnAboutToFinish (intptr) <0x0001d>
at (wrapper native-to-managed) Banshee.GStreamer.PlayerEngine.OnAboutToFinish (intptr) <0x0006f>

I won't upload the MP3 again, it's available here:
https://bugs.launchpad.net/banshee/+bug/396268/+attachment/2018058/+files/short.mp3

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: banshee 1.8.1-0ubuntu1
ProcVersionSignature: Ubuntu 2.6.35-25.44-generic 2.6.35.10
Uname: Linux 2.6.35-25-generic x86_64
NonfreeKernelModules: nvidia
Architecture: amd64
Date: Mon Apr 11 17:32:10 2011
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
ProcEnviron:
 PATH=(custom, user)
 LANG=en_GB.utf8
 SHELL=/bin/bash
SourcePackage: banshee

Revision history for this message
Alistair Buxton (a-j-buxton) wrote :
Revision history for this message
Alistair Buxton (a-j-buxton) wrote :

Reproduced with Banshee 2.0 from the daily-ppa, with this output:

Stacktrace:

Native stacktrace:

 banshee() [0x48563b]
 banshee() [0x4d275f]
 /lib/libpthread.so.0(+0xfb40) [0x7f361dd79b40]
 [0x7f361e9d3fd8]

Debug info from gdb:

Could not attach to process. If your uid matches the uid of the target
process, check the setting of /proc/sys/kernel/yama/ptrace_scope, or try
again as the root user. For more details, see /etc/sysctl.d/10-ptrace.conf
ptrace: Operation not permitted.

=================================================================
Got a SIGSEGV while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================

Aborted

Changed in banshee:
importance: Unknown → Medium
status: Unknown → New
Victor Vargas (kamus)
Changed in banshee (Ubuntu):
importance: Undecided → Medium
status: New → Triaged
Changed in banshee:
status: New → Invalid
Revision history for this message
Alistair Buxton (a-j-buxton) wrote :

upstream bug was marked duplicate, so changing url to that of master bug, because apparently launchpad doesn't know how

Changed in banshee:
importance: Medium → Unknown
status: Invalid → Unknown
Changed in banshee:
importance: Unknown → Medium
status: Unknown → Confirmed
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.