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 551404 - Crashes Banshee/Totem when attempting to play file
Crashes Banshee/Totem when attempting to play file
Status: RESOLVED INCOMPLETE
Product: GStreamer
Classification: Platform
Component: dont know
0.10.x
Other All
: High critical
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-09-08 18:03 UTC by Blake Johnson
Modified: 2009-03-12 09:31 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Blake Johnson 2008-09-08 18:03:08 UTC
Steps to reproduce:
1. Launch Banshee.
2. Play a song.
3. Death.


Stack trace:
bjohnson@BLAKEJOHNSON:~/Desktop> banshee-1 --debug
** Running Mono with --debug   **
[Debug 11:17:51.193] NDesk.DBus.Bus.Session.RequestName ('org.bansheeproject.Banshee') => PrimaryOwner
[Info  11:17:51.199] Running Banshee 1.2.1
[Debug 11:17:51.799] Core service started (DBusServiceManager, 0.001206s)
[Debug 11:17:51.811] Core service started (DBusCommandService, 0.010213s)
[Debug 11:17:51.850] Opened SQLite connection to /home/bjohnson/.config/banshee-1/banshee.db
[Debug 11:17:51.850] Core service started (DbConnection, 0.038687s)
[Debug 11:17:51.856] Database version 17 is up to date
[Debug 11:17:51.872] Core service started (PreferenceService, 0.010398s)
[Debug 11:17:51.873] Core service started (SourceManager, 0.001354s)
[Debug 11:17:52.003] Core service started (MediaProfileManager, 0.129216s)
[Debug 11:17:52.006] Core service started (PlayerEngine, 0.002481s)
[Debug 11:17:52.012] Configuration client extension loaded (Banshee.GnomeBackend.GConfConfigurationClient)
[Debug 11:17:52.052] IO provider extension loaded (Banshee.IO.Unix.Provider)
[Debug 11:17:52.057] Core service started (TranscoderService, 0.007565s)
[Debug 11:17:52.059] Core service started (PlaybackController, 0.002151s)
[Debug 11:17:52.060] Core service started (ImportSourceManager, 0.000358s)
[Debug 11:17:52.064] Core service started (LibraryImportManager, 0.004476s)
[Debug 11:17:52.065] Core service started (UserJobManager, 0.000447s)
[Debug 11:17:52.077] Core service started (HardwareManager, 0.011887s)
[Debug 11:17:52.093] Adding icon theme search path: /usr/share/banshee-1/icons
[Debug 11:17:52.094] Core service started (GtkElementsService, 0.016747s)
[Debug 11:17:52.135] Core service started (InterfaceActionService, 0.041115s)
[Debug 11:17:52.135] Album artwork path set to /home/bjohnson/.cache/album-art
[Debug 11:17:52.135] Core service started (ArtworkManager, 0.000605s)
[Debug 11:17:52.476] Core service started (NereidPlayerInterface, 0.340615s)
[Debug 11:17:52.518] Extension service started (AudioCdService, 0.040864s)
[Debug 11:17:52.520] Extension service started (DaapService, 0.001166s)
[Debug 11:17:52.521] Extension service started (DapService, 0.000901s)
[Debug 11:17:52.533] Extension service started (BookmarksService, 0.011487s)
[Debug 11:17:52.537] Extension service started (CoverArtService, 0.004226s)
[Debug 11:17:52.553] Extension service started (LastfmRecommendationService, 0.015986s)
[Debug 11:17:52.577] Audioscrobbler state: connected
[Debug 11:17:52.579] Extension service started (AudioscrobblerService, 0.026198s)
[Debug 11:17:52.582] Extension service started (GnomeService, 0.002693s)
[Debug 11:17:52.631] Extension service started (NotificationAreaService, 0.048793s)
[Debug 11:17:52.819] Extension service started (PodcastService, 0.187302s)
[Debug 11:17:52.821] Using GNOME 2.22 API for Multimedia Keys
[Debug 11:17:52.821] Extension service started (MultimediaKeysService, 0.00269s)
[Debug 11:17:52.955] GStreamer pipeline does not run: audioconvert ! xingenc bitrate=128 ! id3v2mux
[Debug 11:17:53.005] GStreamer pipeline does not run: audioconvert ! fluwmaenc bitrate=64000 vbr=false ! fluasfmux
[Debug 11:17:53.005] Extension service started (GStreamerCoreService, 0.183323s)
[Debug 11:17:53.010] (libbanshee:player) Using built-in equalizer element
[Debug 11:17:53.028] Player state change: NotReady -> Ready
[Debug 11:17:53.036] Player state change: Ready -> Idle
[Info  11:17:53.039] All services are started 1.243419s
[Debug 11:17:53.397] Loaded IScreensaverManager: Banshee.GnomeBackend.GnomeScreensaverManager
[Info  11:17:53.698] nereid Client Started
[Debug 11:17:53.719] Dap support extension loaded: Banshee.Dap.MassStorage
[Debug 11:17:53.931] Dap support extension loaded: Banshee.Dap.Mtp
[Debug 11:17:54.034] Dap support extension loaded: Banshee.Dap.Ipod
[Debug 11:17:56.138] Querying model for track to play in Linear:Next mode
[Debug 11:17:56.141] Player state change: Idle -> Loading
[Debug 11:17:56.417] Player state change: Loading -> Loaded
banshee-1: pcm_pulse.c:199: pulse_pointer: Assertion `pcm->stream' failed.

** (Nereid:11140): WARNING **: Thread (nil) may have been prematurely finalized

** (Nereid:11140): WARNING **: Thread (nil) may have been prematurely finalized
Segmentation fault

Other information:
It would be nice if Banshee would attempt to display an error of what's wrong rather than just instant death.  For the record, Totem dies too, but mplayer works, so I appear to have some Gstreamer issues going on here...
Comment 1 Andrew Conkling 2008-09-08 21:20:31 UTC
(In reply to comment #0)
> For the record, Totem dies too, but mplayer
> works, so I appear to have some Gstreamer issues going on here...

OK, thanks for reporting.
Comment 2 Andrew Conkling 2008-09-08 21:22:59 UTC
I meant to add that I was moving the product from Banshee --> GStreamer since it happens in Totem too. :) If you could be more specific about your GNOME/GStreamer version and the type of audio file you're trying to play, that would be great.
Comment 3 Blake Johnson 2008-09-08 22:52:41 UTC
Any kind of audio file. Wavpack, MP3, etc.  Any kind of sound.

Gstreamer: 0.10.20-42.pm.1  (i586)

Anyway, what I was referring to in the bug report was a nice way to error out instead of just instant death.  A message like "Banshee is unable to play this due to a misconfiguration with Gstreamer" or something.
Comment 4 René Stadler 2008-10-26 15:24:28 UTC
You can try running these commands at the terminal:

gst-launch-0.10 playbin uri=file:///path/to/some/autofile.mp3
gst-launch-0.10 playbin2 uri=file:///path/to/some/autofile.mp3

These play a file in a fashion similar to totem.  If they crash, run them under gdb like this:

gdb --args gst-launch-0.10 playbin uri=file:///path/to/some/autofile.mp3

Enter "run" to start the program, when you get the prompt back enter "bt" to get the backtrace, which you can paste here.

Since any audio file crashes, it might be audio output related.  Try running this:

gst-launch-0.10 audiotestsrc ! autoaudiosink -v

(This plays an audio test signal)
Comment 5 Blake Johnson 2008-10-26 15:32:14 UTC
Well, I'm not actually having this specific issue anymore, but I filed the bug report with the intention of having Banshee / Totem gracefully erroring out instead of just dieing.

Without having to launch the program from terminal in debug mode, I'd rather just get an GTK based error message like "Error initializing Gstreamer components", or "Unable to connect to PulseAudio server"
Comment 6 René Stadler 2008-10-26 15:43:37 UTC
Yes of course, but a crasher always takes down the whole process.

Since we can't possibly figure out what went wrong and the problem disappeared, I'm closing this bug.

Next time you encounter something like this, you can obtain the backtrace right away while you still experience the problem.  There are general instructions on http://live.gnome.org/GettingTraces.  Some distributions also have support for using bug buddy/apport/whatever to automatically collect this information and send it to a server.
Comment 7 Tobias Mueller 2009-03-12 09:31:14 UTC
Closing this bug report as no further information has been provided. Please feel free to reopen this bug if you can provide the information asked for.
Thanks!