Banshee crashes when attempting to calculate BPM of files with sample rate less than 8000 Hz

Bug #1310854 reported by Tim Embler
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Banshee
New
Medium
banshee (Ubuntu)
Triaged
Undecided
Unassigned

Bug Description

I just upgraded from Ubuntu 13.10 to 14.04 and Banshee now crashes at startup.

Nothing else was changed. I tried reinstalling Banshee but that did not help any either.

Below is the banshee error log

exec -a banshee mono /usr/lib/banshee/Banshee.exe --redirect-log --play-enqueued

[Info 10:21:58.458] Running Banshee 2.6.2: [Ubuntu Trusty Tahr (development branch) (linux-gnu, x86_64) @ 2014-03-25 10:44:19 UTC]

(Banshee:29456): GLib-GObject-WARNING **: attempting to add an interface (AtkComponent) to class (__gtksharp_49_Hyena_Gui_BaseWidgetAccessible) after class_init

(Banshee:29456): GLib-GObject-WARNING **: attempting to add an interface (AtkSelection) to class (__gtksharp_50_Hyena_Data_Gui_Accessibility_ListViewAccessible+601+5b+5bBanshee_Collection_TrackInfo+2c+20Banshee_Core+2c+20Version+3d2_6_0_0+2c+20Culture+3dneutral+2c+20PublicKeyToken+3dnull+5d+5d) after class_init

(Banshee:29456): GLib-GObject-WARNING **: attempting to add an interface (AtkTable) to class (__gtksharp_50_Hyena_Data_Gui_Accessibility_ListViewAccessible+601+5b+5bBanshee_Collection_TrackInfo+2c+20Banshee_Core+2c+20Version+3d2_6_0_0+2c+20Culture+3dneutral+2c+20PublicKeyToken+3dnull+5d+5d) after class_init

(Banshee:29456): GLib-GObject-WARNING **: attempting to add an interface (AtkSelection) to class (__gtksharp_56_Hyena_Data_Gui_Accessibility_ListViewAccessible+601+5b+5bBanshee_Collection_Database_QueryFilterInfo+601+5b+5bSystem_String+2c+20mscorlib+2c+20Version+3d4_0_0_0+2c+20Culture+3dneutral+2c+20PublicKeyToken+3db77a5c561934e089+5d+5d+2c+20Banshee_Services+2c+20Version+3d2_6_0_0+2c+20Culture+3dneutral+2c+20PublicKeyToken+3dnull+5d+5d) after class_init

(Banshee:29456): GLib-GObject-WARNING **: attempting to add an interface (AtkTable) to class (__gtksharp_56_Hyena_Data_Gui_Accessibility_ListViewAccessible+601+5b+5bBanshee_Collection_Database_QueryFilterInfo+601+5b+5bSystem_String+2c+20mscorlib+2c+20Version+3d4_0_0_0+2c+20Culture+3dneutral+2c+20PublicKeyToken+3db77a5c561934e089+5d+5d+2c+20Banshee_Services+2c+20Version+3d2_6_0_0+2c+20Culture+3dneutral+2c+20PublicKeyToken+3dnull+5d+5d) after class_init

(Banshee:29456): GLib-GObject-WARNING **: attempting to add an interface (AtkSelection) to class (__gtksharp_62_Hyena_Data_Gui_Accessibility_ListViewAccessible+601+5b+5bBanshee_Collection_ArtistInfo+2c+20Banshee_Core+2c+20Version+3d2_6_0_0+2c+20Culture+3dneutral+2c+20PublicKeyToken+3dnull+5d+5d) after class_init

(Banshee:29456): GLib-GObject-WARNING **: attempting to add an interface (AtkTable) to class (__gtksharp_62_Hyena_Data_Gui_Accessibility_ListViewAccessible+601+5b+5bBanshee_Collection_ArtistInfo+2c+20Banshee_Core+2c+20Version+3d2_6_0_0+2c+20Culture+3dneutral+2c+20PublicKeyToken+3dnull+5d+5d) after class_init

(Banshee:29456): GLib-GObject-WARNING **: attempting to add an interface (AtkSelection) to class (__gtksharp_68_Hyena_Data_Gui_Accessibility_ListViewAccessible+601+5b+5bBanshee_Collection_YearInfo+2c+20Banshee_Core+2c+20Version+3d2_6_0_0+2c+20Culture+3dneutral+2c+20PublicKeyToken+3dnull+5d+5d) after class_init

(Banshee:29456): GLib-GObject-WARNING **: attempting to add an interface (AtkTable) to class (__gtksharp_68_Hyena_Data_Gui_Accessibility_ListViewAccessible+601+5b+5bBanshee_Collection_YearInfo+2c+20Banshee_Core+2c+20Version+3d2_6_0_0+2c+20Culture+3dneutral+2c+20PublicKeyToken+3dnull+5d+5d) after class_init

(Banshee:29456): GLib-GObject-WARNING **: attempting to add an interface (AtkSelection) to class (__gtksharp_74_Hyena_Data_Gui_Accessibility_ListViewAccessible+601+5b+5bBanshee_Collection_AlbumInfo+2c+20Banshee_Core+2c+20Version+3d2_6_0_0+2c+20Culture+3dneutral+2c+20PublicKeyToken+3dnull+5d+5d) after class_init

(Banshee:29456): GLib-GObject-WARNING **: attempting to add an interface (AtkTable) to class (__gtksharp_74_Hyena_Data_Gui_Accessibility_ListViewAccessible+601+5b+5bBanshee_Collection_AlbumInfo+2c+20Banshee_Core+2c+20Version+3d2_6_0_0+2c+20Culture+3dneutral+2c+20PublicKeyToken+3dnull+5d+5d) after class_init
[Info 10:21:59.408] Updating web proxy from GConf
[Info 10:21:59.527] All services are started 0.838939

(Banshee:29456): GLib-CRITICAL **: Source ID 111 was not found when attempting to remove it

(Banshee:29456): GLib-CRITICAL **: Source ID 143 was not found when attempting to remove it
[Info 10:22:00.206] AmazonMP3 store redirect URL: https://one.ubuntu.com/music/store/amz/

(Banshee:29456): GLib-CRITICAL **: Source ID 225 was not found when attempting to remove it

(Banshee:29456): GLib-CRITICAL **: Source ID 223 was not found when attempting to remove it
[Info 10:22:00.848] nereid Client Started
[Info 10:22:00.898] GStreamer version 1.2.3.0, gapless: True, replaygain: True

(Banshee:29456): GLib-CRITICAL **: Source ID 559 was not found when attempting to remove it

(Banshee:29456): GLib-CRITICAL **: Source ID 731 was not found when attempting to remove it

(Banshee:29456): GLib-CRITICAL **: Source ID 580 was not found when attempting to remove it
banshee: BPMDetect.cpp:134: soundtouch::BPMDetect::BPMDetect(int, int): Assertion `2048 < decimateBy * 256' failed.

Native stacktrace:

 banshee() [0x4b73d8]
 /lib/x86_64-linux-gnu/libpthread.so.0(+0x10340) [0x7fbcb2713340]
 /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x39) [0x7fbcb2373f79]
 /lib/x86_64-linux-gnu/libc.so.6(abort+0x148) [0x7fbcb2377388]
 /lib/x86_64-linux-gnu/libc.so.6(+0x2fe36) [0x7fbcb236ce36]
 /lib/x86_64-linux-gnu/libc.so.6(+0x2fee2) [0x7fbcb236cee2]
 /usr/lib/x86_64-linux-gnu/libSoundTouch.so.0(_ZN10soundtouch9BPMDetectC2Eii+0x181) [0x7fbc68a70781]
 /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstsoundtouch.so(+0x4ef1) [0x7fbc68c7aef1]
 /usr/lib/x86_64-linux-gnu/libgstbase-1.0.so.0(+0x33950) [0x7fbca0811950]
 /usr/lib/x86_64-linux-gnu/libgstbase-1.0.so.0(+0x34091) [0x7fbca0812091]
 /usr/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0(+0x60ce8) [0x7fbca053ace8]
 /usr/lib/x86_64-linux-gnu/libgstbase-1.0.so.0(+0x34299) [0x7fbca0812299]
 /usr/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0(+0x60ce8) [0x7fbca053ace8]
 /usr/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0(gst_proxy_pad_chain_default+0xbb) [0x7fbca052cddb]
 /usr/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0(+0x60ce8) [0x7fbca053ace8]
 /usr/lib/x86_64-linux-gnu/libgstaudio-1.0.so.0(+0x191ec) [0x7fbca12fd1ec]
 /usr/lib/x86_64-linux-gnu/libgstaudio-1.0.so.0(+0x194a6) [0x7fbca12fd4a6]
 /usr/lib/x86_64-linux-gnu/libgstaudio-1.0.so.0(gst_audio_decoder_finish_frame+0x52c) [0x7fbca1301a9c]
 /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstmad.so(+0x1e65) [0x7fbc3a1d6e65]
 /usr/lib/x86_64-linux-gnu/libgstaudio-1.0.so.0(+0x1ac63) [0x7fbca12fec63]
 /usr/lib/x86_64-linux-gnu/libgstaudio-1.0.so.0(+0x1b03b) [0x7fbca12ff03b]
 /usr/lib/x86_64-linux-gnu/libgstaudio-1.0.so.0(+0x1c026) [0x7fbca1300026]
 /usr/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0(+0x60ce8) [0x7fbca053ace8]
 /usr/lib/x86_64-linux-gnu/libgstbase-1.0.so.0(gst_base_parse_push_frame+0x9f9) [0x7fbca07f4b09]
 /usr/lib/x86_64-linux-gnu/libgstbase-1.0.so.0(gst_base_parse_finish_frame+0x62b) [0x7fbca07f81bb]
 /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstaudioparsers.so(+0x11984) [0x7fbc3abec984]
 /usr/lib/x86_64-linux-gnu/libgstbase-1.0.so.0(+0x141e4) [0x7fbca07f21e4]
 /usr/lib/x86_64-linux-gnu/libgstbase-1.0.so.0(+0x14752) [0x7fbca07f2752]
 /usr/lib/x86_64-linux-gnu/libgstbase-1.0.so.0(+0x18609) [0x7fbca07f6609]
 /usr/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0(+0x8e4e9) [0x7fbca05684e9]
 /lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x6e89c) [0x7fbcaf66689c]
 /lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x6df15) [0x7fbcaf665f15]
 /lib/x86_64-linux-gnu/libpthread.so.0(+0x8182) [0x7fbcb270b182]
 /lib/x86_64-linux-gnu/libc.so.6(clone+0x6d) [0x7fbcb243830d]

Debug info from gdb:

ptrace: Operation not permitted.
No threads.

=================================================================
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.
=================================================================

Revision history for this message
Chow Loong Jin (hyperair) wrote : Re: [Bug 1310854] [NEW] banshee crashes when launching

On Mon, Apr 21, 2014 at 11:48:06PM -0000, Timothy Embler wrote:
> Public bug reported:
>
> I just upgraded from Ubuntu 13.10 to 14.04 and Banshee now crashes at
> startup.
>
> Nothing else was changed. I tried reinstalling Banshee but that did not
> help any either.
>
> Below is the banshee error log
>
> exec -a banshee mono /usr/lib/banshee/Banshee.exe --redirect-log
> --play-enqueued

Could you try this again using "banshee --debug --redirect-log", and posting the
~/.config/banshee-1/log file after that? It should show some information about
attempting to calculate the BPM for a specific file. If you could send me that
particular file as well, it would be great.

  status incomplete

--
Kind regards,
Loong Jin

Changed in banshee (Ubuntu):
status: New → Incomplete
Revision history for this message
Tim Embler (nonparity) wrote : Re: banshee crashes when launching
Download full text (14.2 KiB)

I have attached the file hitting the bpm error and the full log is below

That is an older one though that i've had for a few years so I wouldn't think it became corrupted but weirder things have happened

Anything else you notice in the log?

exec -a banshee mono --debug /usr/lib/banshee/Banshee.exe --debug --debug --redirect-log

[1 Debug 21:16:01.316] Bus.Session.RequestName ('org.bansheeproject.Banshee') replied with PrimaryOwner
[1 Info 21:16:01.343] Running Banshee 2.6.2: [Ubuntu Trusty Tahr (development branch) (linux-gnu, x86_64) @ 2014-03-25 10:44:19 UTC]
[1 Debug 21:16:01.350] Initializing GTK
[1 Debug 21:16:02.254] Post-Initializing GTK
[1 Debug 21:16:02.267] Configuration client extension loaded (Banshee.GnomeBackend.GConfConfigurationClient)
[1 Debug 21:16:02.269] Using default gconf-base-key
[1 Debug 21:16:02.346] Core service started (DBusServiceManager, 0.00102)
[1 Debug 21:16:02.348] Registering remote object /org/bansheeproject/Banshee/DBusCommandService (Banshee.ServiceStack.DBusCommandService) on org.bansheeproject.Banshee
[1 Debug 21:16:02.353] Core service started (DBusCommandService, 0.006904)
[1 Debug 21:16:02.382] Opened SQLite (version 3.8.2) connection to /home/tim/.config/banshee-1/banshee.db
[1 Debug 21:16:02.383] Core service started (DbConnection, 0.029763)
[1 Debug 21:16:02.388] Database version 45 is up to date
[1 Debug 21:16:02.420] Core service started (PreferenceService, 0.013446)
[1 Debug 21:16:02.425] Core service started (Network, 0.005234)
[1 Debug 21:16:02.425] Registering remote object /org/bansheeproject/Banshee/SourceManager (Banshee.Sources.SourceManager) on org.bansheeproject.Banshee
[1 Debug 21:16:02.425] Core service started (SourceManager, 0.000485)
[1 Debug 21:16:02.429] Core service started (MediaProfileManager, 0.000176)
[1 Debug 21:16:02.431] Registering remote object /org/bansheeproject/Banshee/PlayerEngine (Banshee.MediaEngine.PlayerEngineService) on org.bansheeproject.Banshee
[1 Debug 21:16:02.437] Core service started (PlayerEngine, 0.008205)
[1 Debug 21:16:02.447] Registering remote object /org/bansheeproject/Banshee/PlaybackController (Banshee.PlaybackController.PlaybackControllerService) on org.bansheeproject.Banshee
[1 Debug 21:16:02.448] Core service started (PlaybackController, 0.001824)
[1 Debug 21:16:02.456] Starting - Startup Job
[1 Debug 21:16:02.457] Core service started (JobScheduler, 0.009473)
[1 Debug 21:16:02.466] IO provider extension loaded (Banshee.IO.Gio.Provider)
[1 Debug 21:16:02.508] Loaded HardwareManager backend: Banshee.Hardware.Gio
[1 Debug 21:16:02.509] Core service started (HardwareManager, 0.051811)
[1 Debug 21:16:02.515] Bus.Session.RequestName ('org.bansheeproject.CollectionIndexer') replied with PrimaryOwner
[1 Debug 21:16:02.516] Registering remote object /org/bansheeproject/Banshee/CollectionIndexerService (Banshee.Collection.Indexer.CollectionIndexerService) on org.bansheeproject.CollectionIndexer
[1 Debug 21:16:02.517] Core service started (CollectionIndexerService, 0.007703)
[1 Debug 21:16:02.518] Core service started (SaveTrackMetadataService, 0.000874)
[1 Debug 21:16:02.522] Adding icon theme search path: /usr/share/banshee/icons
[1 Debug 21:1...

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

[Expired for banshee (Ubuntu) because there has been no activity for 60 days.]

Changed in banshee (Ubuntu):
status: Incomplete → Expired
Revision history for this message
Karl Speer (cidthecoatrack) wrote :

So I'm not sure why this expired, but I am also experiencing this issue. Stack trace is similar, and the error that kills the app is the same - "banshee: BPMDetect.cpp:134: soundtouch::BPMDetect::BPMDetect(int, int): Assertion `2048 < decimateBy * 256' failed.".

I did read a suggestion that turning off the BPM detection should fix it, but considering how fast the app crashes, I am not sure how to do that. Any help?

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

Run this in a terminal:
gconftool-2 --set /apps/banshee-1/plugins/bpm/auto_enabled -t bool false

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

Timothy, it looks like you're hitting an issue with the following file as per the log:

[17 Debug 21:16:07.446] GStreamer running beat detection on /home/tim/Music/christmas/15 Santa Claus Is Coming To Town 2001-12-16.mp3
banshee: BPMDetect.cpp:134: soundtouch::BPMDetect::BPMDetect(int, int): Assertion `2048 < decimateBy * 256' failed.

Karl, look for similar lines inside the output of "banshee --debug" and check the sample rate of the file mentioned in your case. The calculation for decimateBy seems to be sample rate divided by 1000, so if you give it a file with a sample rate too low, soundtouch will crash.

summary: - banshee crashes when launching
+ Banshee crashes when attempting to calculate BPM of files with sample
+ rate less than 8000 Hz
Changed in banshee (Ubuntu):
status: Expired → Triaged
Changed in banshee:
importance: Unknown → Medium
status: Unknown → New
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.