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 673415 - Rhythmbox crashes when attempting to play song or radio stream
Rhythmbox crashes when attempting to play song or radio stream
Status: RESOLVED OBSOLETE
Product: rhythmbox
Classification: Other
Component: playback
2.96
Other Linux
: Normal major
: ---
Assigned To: RhythmBox Maintainers
RhythmBox Maintainers
Depends on:
Blocks:
 
 
Reported: 2012-04-03 09:36 UTC by Hans Nieser
Modified: 2018-05-24 17:24 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
quick and dirty patch to prevent the segfault (684 bytes, patch)
2012-04-03 09:36 UTC, Hans Nieser
none Details | Review
'rythmbox -D player' output (4.82 KB, text/plain)
2012-04-03 12:01 UTC, Hans Nieser
  Details

Description Hans Nieser 2012-04-03 09:36:38 UTC
Created attachment 211210 [details] [review]
quick and dirty patch to prevent the segfault

Since upgrading to rhythmbox 2.95 a while ago (and now 2.96), I frequently get a segfault when trying to play a song or internet radio stream. Almost always, after having rhythmbox segfault a couple times it will suddenly stop segfaulting and I can play different songs or radio streams for hours on end. Usually the exact sequence of actions before a segfault involves double-clicking an item in the browser, after which nothing happens. Then, clicking the same item again will make rhythmbox immediately segfault. This always happens exactly like this for 2 or 3 times when I re-launch rhythmbox, and then suddenly it'll stop segfaulting and just play my songs and streams normally.

The backtrace looks like this:

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff7b6ea8e in rb_player_gst_find_element_with_property (element=0x0, property=0x7ffff7b8de15 "volume")
    at rb-player-gst-helper.c:124
124     rb-player-gst-helper.c: No such file or directory.
(gdb) bt
  • #0 rb_player_gst_find_element_with_property
    at rb-player-gst-helper.c line 124
  • #1 track_change_done
    at rb-player-gst.c line 361
  • #2 state_change_finished
    at rb-player-gst.c line 427
  • #3 bus_cb
    at rb-player-gst.c line 529
  • #4 ??
    from /usr/lib64/libgstreamer-0.10.so.0
  • #5 g_main_context_dispatch
    from /usr/lib64/libglib-2.0.so.0
  • #6 g_main_context_iterate.clone.6
    from /usr/lib64/libglib-2.0.so.0
  • #7 g_main_loop_run
    from /usr/lib64/libglib-2.0.so.0
  • #8 gtk_main
    from /usr/lib64/libgtk-3.so.0
  • #9 g_application_run
    from /usr/lib64/libgio-2.0.so.0
  • #10 main
    at main.c line 99

I wrote a quick and dirty patch (which I'll attach, not sure if its useful, and only tested with 2.95) to prevent the segfault, but still requires me to occasionally double-click on an item twice before it starts playing
Comment 1 Jonathan Matthew 2012-04-03 09:59:29 UTC
Run 'rhythmbox -D player' in a terminal, cause the crash, then attach the output here.
Comment 2 Hans Nieser 2012-04-03 12:01:21 UTC
Created attachment 211218 [details]
'rythmbox -D player' output

Attached is the requested output. After starting rythmbox -D player, I immediately clicked on 'Radio' on the left-hand side, then double-clicked a radio station, waited for a few seconds as nothing appeared to be happening, then double-clicked again, resulting in the segfault
Comment 3 Jonathan Matthew 2012-04-03 21:00:27 UTC
I think the only way this can happen is if your gstreamer install is missing important plugins.  Do any of these commands result in 'no such plugin or element'?

gst-inspect-0.10 gsettingsaudiosink
gst-inspect-0.10 gconfaudiosink
gst-inspect-0.10 autoaudiosink
Comment 4 Hans Nieser 2012-04-04 17:26:42 UTC
Yep, the first one (gst-inspect-0.10 gsettingsaudiosink) prints that it couldn't find the plugin. I'm not sure what package on Gentoo contains this plugin, but it's something I'll look into
Comment 5 Hans Nieser 2012-08-02 20:12:32 UTC
I never quite figured out the deal with gsettingsaudiosink, but I have been using 2.97 for a while now and I am no longer encountering this problem.
Comment 6 GNOME Infrastructure Team 2018-05-24 17:24:17 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/rhythmbox/issues/1173.