GNOME Bugzilla – Bug 572891
Crashes while detecting bpm on wma file
Last modified: 2009-03-21 12:26:16 UTC
Steps to reproduce: 1. Run banshee from svn revision 5060 2. Enable BPM detection 3. Start up and wait till it hits a file that will make it to crash (wma in my case) Stack trace: ** Running Mono with --debug ** [Info 13:13:35.511] Running Banshee 1.4.2: [svn-checkout (linux-gnu, i686) @ 2009-02-23 10:20:01 CST] [Debug 13:13:36.486] Bus.Session.RequestName ('org.bansheeproject.Banshee') replied with PrimaryOwner [Debug 13:13:36.495] Core service started (DBusServiceManager, 0.002303s) [Debug 13:13:36.499] Registering remote object /org/bansheeproject/Banshee/DBusCommandService (Banshee.ServiceStack.DBusCommandService) on org.bansheeproject.Banshee [Debug 13:13:36.513] Core service started (DBusCommandService, 0.016897s) [Debug 13:13:36.637] Opened SQLite connection to /home/boris/.config/banshee-1/banshee.db [Debug 13:13:36.637] Core service started (DbConnection, 0.124075s) [Debug 13:13:36.641] Database version 24 is up to date [Debug 13:13:36.665] Core service started (PreferenceService, 0.022682s) [Debug 13:13:36.668] Registering remote object /org/bansheeproject/Banshee/SourceManager (Banshee.Sources.SourceManager) on org.bansheeproject.Banshee [Debug 13:13:36.668] Core service started (SourceManager, 0.001859s) [Debug 13:13:36.852] Core service started (MediaProfileManager, 0.184428s) [Debug 13:13:36.854] Registering remote object /org/bansheeproject/Banshee/PlayerEngine (Banshee.MediaEngine.PlayerEngineService) on org.bansheeproject.Banshee [Debug 13:13:36.856] Core service started (PlayerEngine, 0.003073s) [Debug 13:13:36.861] Configuration client extension loaded (Banshee.GnomeBackend.GConfConfigurationClient) [Debug 13:13:36.936] IO provider extension loaded (Banshee.IO.Unix.Provider) [Debug 13:13:36.943] Core service started (TranscoderService, 0.010501s) [Debug 13:13:36.946] Registering remote object /org/bansheeproject/Banshee/PlaybackController (Banshee.PlaybackController.PlaybackControllerService) on org.bansheeproject.Banshee [Debug 13:13:36.946] Core service started (PlaybackController, 0.002868s) [Debug 13:13:36.947] Core service started (ImportSourceManager, 0.000602s) [Debug 13:13:36.955] Core service started (LibraryImportManager, 0.007761s) [Debug 13:13:36.956] Core service started (UserJobManager, 0.000836s) [Debug 13:13:36.973] Core service started (HardwareManager, 0.016592s) [Debug 13:13:36.976] Bus.Session.RequestName ('org.bansheeproject.CollectionIndexer') replied with PrimaryOwner [Debug 13:13:36.978] Registering remote object /org/bansheeproject/Banshee/CollectionIndexerService (Banshee.Collection.Indexer.CollectionIndexerService) on org.bansheeproject.CollectionIndexer [Debug 13:13:36.979] Core service started (CollectionIndexerService, 0.005851s) [Debug 13:13:37.001] Adding icon theme search path: /usr/local/share/banshee-1/icons [Debug 13:13:37.015] Core service started (GtkElementsService, 0.036229s) [Debug 13:13:37.069] Core service started (InterfaceActionService, 0.053382s) [Debug 13:13:37.071] Album artwork path set to /home/boris/.cache/album-art [Debug 13:13:37.071] Core service started (ArtworkManager, 0.002257s) [Debug 13:13:37.647] Registering remote object /org/bansheeproject/Banshee/ClientWindow (Nereid.PlayerInterface) on org.bansheeproject.Banshee [Debug 13:13:37.647] Core service started (NereidPlayerInterface, 0.576021s) [Debug 13:13:37.760] GStreamer pipeline does not run: audioconvert ! lame mode=4 bitrate=128 ! id3v2mux [Debug 13:13:37.761] GStreamer pipeline does not run: audioconvert ! xingenc bitrate=128 ! id3v2mux [Debug 13:13:37.820] GStreamer pipeline does not run: audioconvert ! fluwmaenc bitrate=64000 vbr=false ! fluasfmux [Debug 13:13:37.821] Extension service started (GStreamerCoreService, 0.172894s) [Debug 13:13:37.827] (libbanshee:player) Using built-in equalizer element [Debug 13:13:37.843] Player state change: NotReady -> Ready [Debug 13:13:37.854] Player state change: Ready -> Idle [Debug 13:13:37.861] (libbanshee:player) Disabled ReplayGain [Debug 13:13:37.868] Extension service started (BpmService, 0.006305s) [Debug 13:13:37.872] Using GNOME 2.22 API for Multimedia Keys [Debug 13:13:37.872] Extension service started (MultimediaKeysService, 0.003698s) [Debug 13:13:38.088] Extension service started (PodcastService, 0.215561s) [Debug 13:13:38.089] Extension service started (DapService, 0.000621s) [Debug 13:13:38.092] Extension service started (GnomeService, 0.003124s) [Debug 13:13:38.113] Extension service started (LastfmRecommendationService, 0.021506s) [Debug 13:13:38.134] Core service started (Network, 0.004242s) [Debug 13:13:38.135] Audioscrobbler state: connected [Debug 13:13:38.138] Extension service started (AudioscrobblerService, 0.023768s) [Debug 13:13:38.139] Extension service started (DaapService, 0.001293s) [Debug 13:13:38.257] Extension service started (NotificationAreaService, 0.117711s) [Debug 13:13:38.268] Extension service started (BookmarksService, 0.01123s) [Debug 13:13:38.273] Extension service started (CoverArtService, 0.002156s) [Debug 13:13:38.319] Extension service started (AudioCdService, 0.045397s) [Info 13:13:38.320] All services are started 1.832163s [Debug 13:13:39.311] Registering remote object /org/bansheeproject/Banshee/SourceManager/PlayQueue (Banshee.PlayQueue.PlayQueueSource) on org.bansheeproject.Banshee [Debug 13:13:39.396] Loaded IScreensaverManager: Banshee.GnomeBackend.GnomeScreensaverManager [Debug 13:13:39.661] Creating Pango.Layout, configuring Cairo.Context [Debug 13:13:39.690] Creating Pango.Layout, configuring Cairo.Context [Debug 13:13:39.726] Creating new surface cache for 9216 KB (max) images, capped at 1 MB (113 items) [Debug 13:13:39.792] Creating Pango.Layout, configuring Cairo.Context [Info 13:13:39.965] nereid Client Started [Debug 13:13:39.968] Delayed Initializating Banshee.Podcasting.PodcastService [Debug 13:13:39.980] Refreshing any podcasts that haven't been updated in over an hour [Debug 13:13:39.986] Delayed Initializating Banshee.Dap.DapService [Debug 13:13:40.002] Dap support extension loaded: Banshee.Dap.MassStorage [Debug 13:13:40.241] Dap support extension loaded: Banshee.Dap.Ipod [Debug 13:13:40.413] Dap support extension loaded: Banshee.Dap.Mtp [Debug 13:13:40.592] Delayed Initializating Banshee.Daap.DaapService [Debug 13:13:42.682] GStreamer running beat detection on /media/disk/MP3/Godsmack/Awake/01. Godsmack - Sick of Life.wma ** (Banshee:16275): WARNING **: Thread (nil) may have been prematurely finalized Other information: I don't think it will crash on all files but I see it does crash on this one. Perhaps it's a general wma thing but I'm not sure about that.
Curious...what happens when you run the file through the bpm plugin directly? gst-launch -m filesrc location=/path/to/my.mp3 ! decodebin ! audioconvert ! bpmdetect ! fakesink sub "/path/to/my.mp3" with the Godsmack WMA and post output, please.
I have the same problem with WMA, and not with MP3. Running the gst-launch command with the MP3 I get that (at last): ... Se recibió un mensaje del elemento «pipeline0» (state-changed): GstMessageState, old-state=(GstState)GST_STATE_PAUSED, new-state=(GstState)GST_STATE_PLAYING, pending-state=(GstState)GST_STATE_VOID_PENDING; Se recibió un mensaje del elemento «bpmdetect0» (tag): taglist, beats-per-minute=(double)76.042205810546875; Se recibió un mensaje del elemento «bpmdetect0» (tag): taglist, beats-per-minute=(double)45.794898986816406; Se recibió un mensaje del elemento «bpmdetect0» (tag): taglist, beats-per-minute=(double)107.01914978027344; Se recibió un mensaje del elemento «bpmdetect0» (tag): taglist, beats-per-minute=(double)120.54854583740234; Se recibió un mensaje del elemento «bpmdetect0» (tag): taglist, beats-per-minute=(double)121.97309112548828; Se recibió un mensaje del elemento «bpmdetect0» (tag): taglist, beats-per-minute=(double)107.7630615234375; Se recibió un mensaje del elemento «bpmdetect0» (tag): taglist, beats-per-minute=(double)119.56239318847656; Se recibió un mensaje del elemento «bpmdetect0» (tag): taglist, beats-per-minute=(double)121.0074462890625; Se recibió un mensaje del elemento «bpmdetect0» (tag): taglist, beats-per-minute=(double)119.58699035644531; Se recibió un mensaje del elemento «bpmdetect0» (tag): taglist, beats-per-minute=(double)121.00196838378906; Se recibió un mensaje del elemento «bpmdetect0» (tag): taglist, beats-per-minute=(double)122.21091461181641; Se recibió un mensaje del elemento «bpmdetect0» (tag): taglist, beats-per-minute=(double)120.29743957519531; Se recibió un mensaje del elemento «bpmdetect0» (tag): taglist, beats-per-minute=(double)121.72551727294922; Se recibió un mensaje del elemento «bpmdetect0» (tag): taglist, beats-per-minute=(double)120.52864837646484; Se recibió un mensaje del elemento «bpmdetect0» (tag): taglist, beats-per-minute=(double)121.70600128173828; Se recibió un mensaje del elemento «bpmdetect0» (tag): taglist, beats-per-minute=(double)122.94893646240234; Se recibió un mensaje del elemento «pipeline0» (eos): no message details Se recibió un EOS del elemento «pipeline0». Execution ended after 2493226932 ns. Estableciendo el conducto a PAUSA ... Estableciando el conducto a PREPARADO ... Estableciendo el conducto a NULL ... LIBERANDO el conducto ... Running it with the WMA: ... Se recibió un mensaje del elemento «pipeline0» (state-changed): GstMessageState, old-state=(GstState)GST_STATE_PAUSED, new-state=(GstState)GST_STATE_PLAYING, pending-state=(GstState)GST_STATE_VOID_PENDING; Se recibió un mensaje del elemento «bpmdetect0» (tag): taglist, beats-per-minute=(double)47.272163391113281; Caught SIGSEGV accessing address 0xbd0adc98 Terminado (killed)
Sounds like a crash in the bpmdetect gstreamer element.
Could someone attach a wma file that results in this crash or install debug symbols for libc, glib, gstreamer and the gstreamer plugin packages and get a backtrace? gdb --args gst-launch-0.10 -m filesrc location=/path/to/wma ! decodebin ! audioconvert ! bpmdetect ! fakesink
Here goes a link: http://tuna.upv.es/audio/discos/EEU%20Empresariales%20de%20%20Barcelona/04%20-%20Gallito.wma It seems it happens with every track of that folder.
Works fine here... could you try to get a backtrace from gdb? :) And which versions of gstreamer, gst-plugins-base and gst-plugins-bad do you have installed and which version of soundtouch?
Created attachment 131073 [details] The debugging text running gst-launch. Firstly, I don't know very well how to use gdb... I have installed: * gstreamer 0.10.21 * gstreamer-plugins-base 0.10.21 * gstreamer-plugins-bad 0.10.9 * soundtouch 1.3.1 in Fedora 10 updated.
Thanks for taking the time to report this bug. This particular bug has already been reported into our bug tracking system, but we are happy to tell you that the problem has already been fixed. It should be solved in the next software version. You may want to check for a software upgrade. *** This bug has been marked as a duplicate of 570996 ***