Ubuntu

[regression] Rhythmbox crashes with segfault when playing next track

Reported by Shane Synan on 2013-10-12

This bug report will be marked for expiration in 53 days if no further activity occurs. (find out why)

174
This bug affects 43 people
Affects Status Importance Assigned to Milestone
rhythmbox (Ubuntu)
High
Unassigned

Bug Description

How to reproduce:
> Start Rhythmbox, make sure you have at least two songs available and have the Zeitgeist plugin enabled
> Begin playback on a track, wait for it to finish (you can skip to near the end of the track if you're impatient)

Expected:
The next track plays, Rhythmbox doesn't crash.

What happens:
Rhythmbox reliably crashes whenever changing tracks.

Workaround:
Disable the Zeitgeist in the 'Rhythmbox->Plugins' menu. Thanks to Dac Chartrand (below) for discovering this!

Other notes:
I started playing from the "Music" view, viewing all artists and albums. Shuffle was enabled, repeat was disabled. I also edited PulseAudio's configuration to stream audio to my netbook, which is on the local LAN, running PulseAudio as a standard user.

/etc/pulse/client.conf
# Connect to the local music laptop
default-server = dj-foxee

All other media players on my computer have no issue with the media streaming (Totem, mplayer, GNOME-Sushi, Firefox, Adobe Flash). This only started happening after upgrading to Ubuntu 13.10 dev from 13.04.

System notes:
Ubuntu Saucy Salamander (development branch)
Rhythmbox 2.99.1-0ubuntu1

Rhythmbox debug log (rhythmbox --debug) when crashed:
[irrelevant messages snipped]
(16:26:05) [0x9dde70] [tick_cb] rb-shell-player.c:2611: tick: [file:///home/sly/Music/Music/Lifeformed/Fastfall/06%20-%20The%20Magnetic%20Tree.flac, 265785235000:268000000000(0)]
(16:26:05) [0x9dde70] [rhythmdb_read_enter] rhythmdb.c:1211: counter: 1
(16:26:05) [0x9dde70] [rhythmdb_read_enter] rhythmdb.c:1211: counter: 2
(16:26:05) [0x7f23ac002850] [query_thread_main] rhythmdb.c:4034: entering query thread
(16:26:05) [0x7f23ac002850] [rhythmdb_query_internal] rhythmdb.c:4011: doing query
(16:26:05) [0x7f23ac002850] [do_query_recurse] rhythmdb-tree.c:2316: doing recursive query, 1 conjunctions
(16:26:05) [0x7f23ac002850] [rhythmdb_query_model_add_results] rhythmdb-query-model.c:2248: adding 0 entries
(16:26:05) [0x7f23ac002850] [rhythmdb_query_internal] rhythmdb.c:4017: completed
(16:26:05) [0x7f23ac002850] [query_thread_main] rhythmdb.c:4034: entering query thread
(16:26:05) [0x7f23ac002850] [rhythmdb_query_internal] rhythmdb.c:4011: doing query
(16:26:05) [0x7f23ac002850] [do_query_recurse] rhythmdb-tree.c:2316: doing recursive query, 1 conjunctions
(16:26:05) [0x7f23ac002850] [rhythmdb_query_model_add_results] rhythmdb-query-model.c:2248: adding 0 entries
(16:26:05) [0x7f23ac002850] [rhythmdb_query_internal] rhythmdb.c:4017: completed
(16:26:05) [0x9dde70] [idle_process_update] rhythmdb-query-model.c:1187: inserting 0 rows
(16:26:05) [0x9dde70] [idle_process_update] rhythmdb-query-model.c:1187: inserting 0 rows
(16:26:05) [0x9dde70] [rhythmdb_process_one_event] rhythmdb.c:2525: processing RHYTHMDB_EVENT_QUERY_COMPLETE
(16:26:05) [0x9dde70] [rhythmdb_read_leave] rhythmdb.c:1225: counter: 1
(16:26:05) [0x9dde70] [rhythmdb_process_one_event] rhythmdb.c:2518: processing RHYTHMDB_EVENT_THREAD_EXITED
(16:26:05) [0x9dde70] [rhythmdb_process_one_event] rhythmdb.c:2525: processing RHYTHMDB_EVENT_QUERY_COMPLETE
(16:26:05) [0x9dde70] [rhythmdb_read_leave] rhythmdb.c:1225: counter: 0
(16:26:05) [0x9dde70] [rhythmdb_process_one_event] rhythmdb.c:2518: processing RHYTHMDB_EVENT_THREAD_EXITED
(16:26:05) [0x9dde70] [tick_cb] rb-shell-player.c:2611: tick: [file:///home/sly/Music/Music/Lifeformed/Fastfall/06%20-%20The%20Magnetic%20Tree.flac, 265985530000:268000000000(0)]
(16:26:05) [0x9dde70] [tick_cb] rb-shell-player.c:2611: tick: [file:///home/sly/Music/Music/Lifeformed/Fastfall/06%20-%20The%20Magnetic%20Tree.flac, 266186596000:268000000000(0)]
(16:26:05) [0x9dde70] [tick_cb] rb-shell-player.c:2611: tick: [file:///home/sly/Music/Music/Lifeformed/Fastfall/06%20-%20The%20Magnetic%20Tree.flac, 266387709000:268000000000(0)]
(16:26:05) [0x2a5a680] [rb_shell_player_handle_eos] rb-shell-player.c:510: handling eos for file:///home/sly/Music/Music/Lifeformed/Fastfall/06%20-%20The%20Magnetic%20Tree.flac
(16:26:05) [0x2a5a680] [rb_shuffle_play_order_get_next] rb-play-order-shuffle.c:195: choosing next entry in shuffle
(16:26:05) [0x2a5a680] [rb_shell_player_do_next_internal] rb-shell-player.c:1264: got new entry file:///home/sly/Music/Music/KJ-52/The%20Yearbook/05%20-%20It%20Aint%20Easy.flac from play order
(16:26:05) [0x2a5a680] [rb_shell_player_do_next_internal] rb-shell-player.c:1293: didn't get a new entry from queue play order
(16:26:05) [0x2a5a680] [impl_open] rb-player-gst.c:796: setting new uri to file:///home/sly/Music/Music/KJ-52/The%20Yearbook/05%20-%20It%20Aint%20Easy.flac
(16:26:06) [0x2a5a680] [impl_play] rb-player-gst.c:841: current track finishing, waiting for EOS to start next
(16:26:06) [0x2a5a680] [rb_shell_player_set_playing_entry] rb-shell-player.c:887: Success!
(16:26:06) [0x2a5a680] [rhythmdb_entry_set] rhythmdb.c:3236: queuing RHYTHMDB_ACTION_ENTRY_SET
(16:26:06) [0x2a5a680] [rb_shell_player_handle_eos_unlocked] rb-shell-player.c:460: updating play statistics
(16:26:06) [0x2a5a680] [rhythmdb_entry_set] rhythmdb.c:3236: queuing RHYTHMDB_ACTION_ENTRY_SET
(16:26:06) [0x2a5a680] [rhythmdb_entry_set] rhythmdb.c:3236: queuing RHYTHMDB_ACTION_ENTRY_SET
Segmentation fault (core dumped)

ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: libgstreamer0.10-0 0.10.36-1.2ubuntu1
ProcVersionSignature: Ubuntu 3.11.0-12.19-generic 3.11.3
Uname: Linux 3.11.0-12-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.12.5-0ubuntu2
Architecture: amd64
CheckboxSubmission: 535d52cf08b1e59fc90ec42e434fc960
CheckboxSystem: daed2f3d6643b4a84b4520a2427f8c2b
Date: Sat Oct 12 16:28:06 2013
InstallationDate: Installed on 2010-05-08 (1253 days ago)
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100429)
MarkForUpload: True
SourcePackage: gstreamer0.10
UpgradeStatus: Upgraded to saucy on 2013-10-09 (3 days ago)

Shane Synan (digitalcircuit) wrote :
Changed in gstreamer0.10 (Ubuntu):
status: New → Incomplete
status: Incomplete → New
Shane Synan (digitalcircuit) wrote :

After some thought, I'm changing the package from gstreamer to Rhythmbox as the bug does not happen in other GStreamer-based media players.

affects: gstreamer0.10 (Ubuntu) → rhythmbox (Ubuntu)
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in rhythmbox (Ubuntu):
status: New → Confirmed
Rowan Lonsdale (rowboggan) wrote :

This bug is affecting me too. However disabling the "Cover art search" plugin seemed to fix it for me.

Currently, I'm not playing music from a library; just audio CDs. Playing a CD for which album art could be found didn't seem to present a problem, but a CD that album art couldn't be retrieved for causes a segfault.

Dac Chartrand (conner-bw) wrote :

Wow, this is pretty awful.
I'm using Ubuntu 13.10 (64bit) and Rhythmbox crashes every time it tries to go to next song.
The proposed workaround in comment #4 does *not* work for me.

Dac Chartrand (conner-bw) wrote :

OK, I found a workaround:

The crash goes away after I disable the plugin:
Zeitgeist

Best regards,

I can confirm disabling Zeitgeist plugin fixes the issue for me (Saucy 64bit).

Best regards.

Shane Synan (digitalcircuit) wrote :

I also can confirm that Dac Chartrand's work-around.. works :) I've updated the bug description to reflect this; if any developer needs specific tests, I'd be willing to help in debugging.

description: updated

Looks like the problem gets triggered when catching the EOS signal on the backend player:

self.__eos_id = backend_player.connect("eos", self.on_backend_eos)

Skinny (stefaanvda-b) wrote :

This is what I get when rhythmbox crashes:

(rhythmbox:12010): GStreamer-WARNING **: gstpad.c:4506:store_sticky_event:<src_0:proxypad78> Sticky event misordering, got 'segment' before 'caps'
Segmentation fault (core dumped)

Zeitgeist was never enabled, so no fix there. I'll run again and provide the debug log later.

Sebastien Bacher (seb128) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. The issue you are reporting is an upstream one and it would be nice if somebody having it could send the bug to the developers of the software by following the instructions at https://wiki.ubuntu.com/Bugs/Upstream/GNOME. If you have done so, please tell us the number of the upstream bug (or the link), so we can add a bugwatch that will inform us about its status. Thanks in advance.

Also affects me, workaround that worked for me:

- disable zeitgeist plugin
- disable album cover search plugin

Changed in rhythmbox (Ubuntu):
importance: Undecided → High

Thank you for taking the time to report this bug and helping to make Ubuntu better. We are sorry that we do not always have the capacity to look at all reported bugs in a timely manner. There have been many changes in Ubuntu since that time you reported the bug and your problem may have been fixed with some of the updates. It would help us a lot if you could test it on a currently supported Ubuntu version. When you test it and it is still an issue, kindly upload the updated logs by running apport-collect <bug #> and any other logs that are relevant for this particular issue.

Changed in rhythmbox (Ubuntu):
status: Confirmed → Incomplete
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers