After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 649341 - Random crashes during playback when song ends
Random crashes during playback when song ends
Status: RESOLVED DUPLICATE of bug 638257
Product: banshee
Classification: Other
Component: general
2.0.0
Other Linux
: Normal normal
: 1.x
Assigned To: Banshee Maintainers
Banshee Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-05-04 02:21 UTC by Sergio Bobillier
Modified: 2011-06-12 10:32 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Sergio Bobillier 2011-05-04 02:21:46 UTC
Since Ubuntu 11.04 came out I have been using banshee since it is the default music player included in this distribution, however I have been having random crashes in Banshee at the middle of playback when the player finish a song (always a different song) it just crashes.

I ran it from the terminal to determine the reason of the crash and then came here trying to find a similar bug, it resembles this one: https://bugzilla.gnome.org/show_bug.cgi?id=638988 except for the type. This is the console output I got from the crashes:

-------------------------------------------------------------------

System.Int32 doesn't implement interface Banshee.Collection.Database.IFilterListModel
**
ERROR:mini-trampolines.c:183:mono_convert_imt_slot_to_vtable_slot: code should not be reached
Stacktrace:

  at Banshee.Collection.Database.DatabaseTrackListModel.Reload (Hyena.Data.IListModel) <0xffffffff>
  at Banshee.Collection.Database.DatabaseTrackListModel.Reload (Hyena.Data.IListModel) <0x002ca>
  at Banshee.Collection.Database.DatabaseTrackListModel.Reload () <0x0000f>
  at Banshee.Sources.DatabaseSource.RateLimitedReload () <0x0003e>
  at Banshee.Base.RateLimiter.InnerExecute () <0x00061>
  at Banshee.Base.RateLimiter.Execute () <0x0007b>
  at Banshee.Sources.DatabaseSource.Reload () <0x0002f>
  at Banshee.SmartPlaylist.SmartPlaylistSource.Reload () <0x00067>
  at Banshee.SmartPlaylist.SmartPlaylistSource.RefreshAndReload () <0x0001e>
  at Banshee.SmartPlaylist.SmartPlaylistSource.HandleTracksChanged (Banshee.Sources.Source,Banshee.Sources.TrackEventArgs) <0x000bb>
  at (wrapper delegate-invoke) Banshee.Sources.PrimarySource/TrackEventHandler.invoke_void__this___Source_TrackEventArgs (Banshee.Sources.Source,Banshee.Sources.TrackEventArgs) <0x0005e>
  at (wrapper delegate-invoke) Banshee.Sources.PrimarySource/TrackEventHandler.invoke_void__this___Source_TrackEventArgs (Banshee.Sources.Source,Banshee.Sources.TrackEventArgs) <0x00098>
  at (wrapper delegate-invoke) Banshee.Sources.PrimarySource/TrackEventHandler.invoke_void__this___Source_TrackEventArgs (Banshee.Sources.Source,Banshee.Sources.TrackEventArgs) <0x00098>
  at (wrapper delegate-invoke) Banshee.Sources.PrimarySource/TrackEventHandler.invoke_void__this___Source_TrackEventArgs (Banshee.Sources.Source,Banshee.Sources.TrackEventArgs) <0x00098>
  at (wrapper delegate-invoke) Banshee.Sources.PrimarySource/TrackEventHandler.invoke_void__this___Source_TrackEventArgs (Banshee.Sources.Source,Banshee.Sources.TrackEventArgs) <0x00098>
  at (wrapper delegate-invoke) Banshee.Sources.PrimarySource/TrackEventHandler.invoke_void__this___Source_TrackEventArgs (Banshee.Sources.Source,Banshee.Sources.TrackEventArgs) <0x00098>
  at (wrapper delegate-invoke) Banshee.Sources.PrimarySource/TrackEventHandler.invoke_void__this___Source_TrackEventArgs (Banshee.Sources.Source,Banshee.Sources.TrackEventArgs) <0x00098>
  at (wrapper delegate-invoke) Banshee.Sources.PrimarySource/TrackEventHandler.invoke_void__this___Source_TrackEventArgs (Banshee.Sources.Source,Banshee.Sources.TrackEventArgs) <0x00098>
  at Banshee.Sources.PrimarySource/<OnTracksChanged>c__AnonStorey21.<>m__18 () <0x000ab>
  at Hyena.ThreadAssist.SpawnFromMain (System.Threading.ThreadStart) <0x0002f>
  at Banshee.Sources.PrimarySource.OnTracksChanged (Hyena.Query.QueryField[]) <0x00063>
  at Banshee.Sources.PrimarySource.NotifyTracksChanged (Hyena.Query.QueryField[]) <0x0001b>
  at Banshee.Collection.Database.DatabaseTrackInfo.Save (bool,Hyena.Query.QueryField[]) <0x00293>
  at Banshee.Collection.Database.DatabaseTrackInfo.UpdateLastPlayed () <0x0006b>
  at Banshee.GStreamer.PlayerEngine.OnAboutToFinish (intptr) <0x0001d>
  at (wrapper native-to-managed) Banshee.GStreamer.PlayerEngine.OnAboutToFinish (intptr) <0x0006f>

Native stacktrace:

	banshee() [0x489171]
	/lib/x86_64-linux-gnu/libpthread.so.0(+0xfc60) [0x7fb99fd0cc60]
	/lib/x86_64-linux-gnu/libc.so.6(gsignal+0x35) [0x7fb99f717d05]
	/lib/x86_64-linux-gnu/libc.so.6(abort+0x186) [0x7fb99f71bab6]
	/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_assertion_message+0x12d) [0x7fb9a038f51d]
	banshee() [0x489936]
	banshee() [0x48a541]
	[0x40f80168]

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: Operación no permitida.

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

Abortado
sergio@sakura:~$

------------------------------------------------------------

System:

 -> Banshee 2.0.0

Ubuntu 11.04 (natty) 64bits (final)
Linux kernel: 2.6.38-8-generic
Gnome 2.32.1

Memory: 3.8 GiB
Processor: Intel Core i5 CPU 650 @ 3.2 Ghz

-------------------------------------------------------------

I would be happy to provide more information if needed. In the meanwhile I'm going back to Rhythmbox
Comment 1 Gabriel Burt 2011-05-04 16:10:36 UTC
I'm pretty sure this is a Mono bug, likely fixed in Mono > 2.6.7.
Comment 2 Andrés G. Aragoneses (IRC: knocte) 2011-06-12 10:04:19 UTC
*** Bug 651512 has been marked as a duplicate of this bug. ***
Comment 3 Andrés G. Aragoneses (IRC: knocte) 2011-06-12 10:32:11 UTC
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find.

(It's a Mono bug. If you still find this problem after upgrading your version of Mono, please reopen the Mono bug that is linked in bug 638257.)

*** This bug has been marked as a duplicate of bug 638257 ***