Rhythmbox crashes with SIGSEGV during playback
version: git
I added debug code to print entry types of playing entries on connecting to (shell_player, "playing-song-changed")
. I was switching sources ( clicking on them ) when the crash occurred.
(rhythmbox:730561): Rhythmbox-WARNING **: 10:21:30.131: Database is read-only, not saving
entry type is ipod: /dev/sdb2
entry type is ipod: /dev/sdb2
(rhythmbox:730561): Rhythmbox-WARNING **: 10:21:38.131: Database is read-only, not saving
entry type is ipod: /dev/sdb2
(rhythmbox:730561): Rhythmbox-WARNING **: 10:21:42.132: Database is read-only, not saving
entry type is ipod: /dev/sdb2
entry type is ipod: /dev/sdb2
(rhythmbox:730561): Rhythmbox-WARNING **: 10:21:50.132: Database is read-only, not saving
entry type is ipod: /dev/sdb2
(rhythmbox:730561): Rhythmbox-WARNING **: 10:21:52.413: Database is read-only, not saving
(rhythmbox:730561): Rhythmbox-WARNING **: 10:21:55.132: Database is read-only, not saving
sys:1: Warning: invalid (NULL) pointer instance
sys:1: Warning: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
entry type is soundcloud
Segmentation fault (core dumped)
$ gsettings list-recursively org.gnome.rhythmbox.player
org.gnome.rhythmbox.player play-order 'random-by-age-and-rating'
org.gnome.rhythmbox.player use-xfade-backend true
org.gnome.rhythmbox.player volume 1.0
org.gnome.rhythmbox.player transition-time 60.0
(gdb) bt
#0 rb_source_can_pause (source=0x0) at rb-source.c:1189
#1 0x00007f3eea56a3fb in rb_shell_playing_changed_cb (player=<optimized out>, playing=1, shell=0x557884ffb220 [RBShell]) at rb-shell.c:2290
#5 0x00007f3ee9ba2edf in <emit signal ??? on instance 0x557885000310 [RBShellPlayer]> (instance=<optimized out>, signal_id=<optimized out>, detail=<optimized out>) at ../../../gobject/gsignal.c:3554
#2 0x00007f3ee9b83fd2 in g_closure_invoke (closure=0x55788518b7d0, return_value=0x0, n_param_values=2, param_values=0x7ffd6ec3ce80, invocation_hint=0x7ffd6ec3ce00) at ../../../gobject/gclosure.c:810
#3 0x00007f3ee9b97784 in signal_emit_unlocked_R
(node=node@entry=0x557885275e90, detail=detail@entry=0, instance=instance@entry=0x557885000310, emission_return=emission_return@entry=0x0, instance_and_params=instance_and_params@entry=0x7ffd6ec3ce80)
at ../../../gobject/gsignal.c:3742
#4 0x00007f3ee9ba254f in g_signal_emit_valist (instance=<optimized out>, signal_id=<optimized out>, detail=<optimized out>, var_args=var_args@entry=0x7ffd6ec3d050) at ../../../gobject/gsignal.c:3498
#9 0x00007f3ee9ba2edf in <emit signal notify:playing on instance 0x557885000310 [RBShellPlayer]> (instance=instance@entry=0x557885000310, signal_id=<optimized out>, detail=<optimized out>) at ../../../gobject/gsignal.c:3554
#6 0x00007f3ee9b83fd2 in g_closure_invoke (closure=0x5578851bb780, return_value=0x0, n_param_values=2, param_values=0x7ffd6ec3d2f0, invocation_hint=0x7ffd6ec3d270) at ../../../gobject/gclosure.c:810
#7 0x00007f3ee9b97784 in signal_emit_unlocked_R
(node=node@entry=0x557884d6b660, detail=detail@entry=3689, instance=instance@entry=0x557885000310, emission_return=emission_return@entry=0x0, instance_and_params=instance_and_params@entry=0x7ffd6ec3d2f0)
at ../../../gobject/gsignal.c:3742
#8 0x00007f3ee9ba254f in g_signal_emit_valist (instance=<optimized out>, signal_id=<optimized out>, detail=<optimized out>, var_args=var_args@entry=0x7ffd6ec3d4c0) at ../../../gobject/gsignal.c:3498
#10 0x00007f3ee9b88624 in g_object_dispatch_properties_changed (object=0x557885000310 [RBShellPlayer], n_pspecs=<optimized out>, pspecs=<optimized out>) at ../../../gobject/gobject.c:1206
#11 0x00007f3ee9b8aa52 in g_object_notify_by_spec_internal (pspec=<optimized out>, object=0x557885000310 [RBShellPlayer]) at ../../../gobject/gobject.c:1299
#12 g_object_notify (object=0x557885000310 [RBShellPlayer], property_name=0x7f3eea6278cf "playing") at ../../../gobject/gobject.c:1347
#16 0x00007f3ee9ba2edf in <emit signal ??? on instance 0x55788526a4e0 [RBPlayerGstXFade]> (instance=<optimized out>, signal_id=<optimized out>, detail=detail@entry=0) at ../../../gobject/gsignal.c:3554
#13 0x00007f3ee9b83fd2 in g_closure_invoke (closure=0x5578851b66e0, return_value=0x0, n_param_values=2, param_values=0x7ffd6ec3d7c0, invocation_hint=0x7ffd6ec3d740) at ../../../gobject/gclosure.c:810
#14 0x00007f3ee9b97784 in signal_emit_unlocked_R
(node=node@entry=0x5578851b0e00, detail=detail@entry=0, instance=instance@entry=0x55788526a4e0, emission_return=emission_return@entry=0x0, instance_and_params=instance_and_params@entry=0x7ffd6ec3d7c0)
at ../../../gobject/gsignal.c:3742
#15 0x00007f3ee9ba254f in g_signal_emit_valist (instance=<optimized out>, signal_id=<optimized out>, detail=<optimized out>, var_args=var_args@entry=0x7ffd6ec3d990) at ../../../gobject/gsignal.c:3498
#17 0x00007f3eea5ef3cc in _rb_player_emit_playing_stream (player=<optimized out>, stream_data=stream_data@entry=0x55788882b3e0) at rb-player.c:702
#18 0x00007f3eea5f79a4 in rb_player_gst_xfade_bus_cb (bus=0x55788658b700 [GstBus], message=0x7f3e40007100 [GstMessage], player=<optimized out>) at rb-player-gst-xfade.c:1761
#19 0x00007f3ee8daa65e in gst_bus_source_dispatch (source=0x557887c35ae0, callback=0x7f3eea5f7030 <rb_player_gst_xfade_bus_cb>, user_data=0x55788526a4e0) at gstbus.c:839
#20 0x00007f3ee9a9a4ce in g_main_dispatch (context=0x557884d75eb0) at ../../../glib/gmain.c:3309
#21 g_main_context_dispatch (context=context@entry=0x557884d75eb0) at ../../../glib/gmain.c:3974
#22 0x00007f3ee9a9a880 in g_main_context_iterate (context=context@entry=0x557884d75eb0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4047
#23 0x00007f3ee9a9a90f in g_main_context_iteration (context=context@entry=0x557884d75eb0, may_block=may_block@entry=1) at ../../../glib/gmain.c:4108
#24 0x00007f3ee907c02d in g_application_run (application=0x557884d7f140 [RBApplication], argc=argc@entry=1, argv=argv@entry=0x7ffd6ec3dfc8) at ../../../gio/gapplication.c:2559
#25 0x00007f3eea55dca6 in rb_application_run (app=0x557884d7f140 [RBApplication], argc=<optimized out>, argv=0x7ffd6ec3dfc8) at rb-application.c:595
#26 0x0000557884ac1249 in main (argc=3, argv=0x7ffd6ec3dfc8) at main.c:89
(gdb) p *shell->priv->player_shell->priv
$7 = {
db = 0x55788528a250 [RhythmDBTree],
syncing_state = 0,
queue_only = 0,
selected_source = 0x557885e6a380 [soundcloud+SoundCloudSource],
source = 0x0,
queue_source = 0x55788511a560 [RBPlayQueueSource],
current_playing_source = 0x0,
play_orders = 0x55788520acc0 = {
[0x55788518ab10 "queue"] = 0x557885194bd0,
[0x5578851b73e0 "shuffle"] = 0x5578851bdc00,
[0x557885194890 "random-by-age"] = 0x557885194860,
[0x5578851cd3c0 "linear"] = 0x5578851cd390,
[0x557885194ba0 "random-by-age-and-rating"] = 0x557885194b70,
[0x557885194a00 "random-by-rating"] = 0x5578851949d0,
[0x5578851bdee0 "random-equal-weights"] = 0x5578851bdeb0,
[0x5578851b7290 "linear-loop"] = 0x5578851b7260
},
did_retry = 0,
last_retry = {
tv_sec = 1596775915,
tv_usec = 732193
},
handling_error = 0,
mmplayer = 0x55788526a4e0,
elapsed = 0,
track_transition_time = 60000000000,
playing_entry = 0x55788882b3e0,
playing_entry_eos = 0,
play_order = 0x55788520ae20 [RBLinearPlayOrderLoop],
queue_play_order = 0x55788549aaa0 [RBQueuePlayOrder],
playlist_urls = 0x5578851f60e0,
parser_cancellable = 0x0,
header_widget = 0x5578852f0230 [RBHeader],
settings = 0x55788526e970 [GSettings],
ui_settings = 0x55788513bdc0 [GSettings],
has_prev = 0,
has_next = 0,
mute = 0,
volume = 1,
do_next_idle_id = 0,
error_idle_mutex = {
p = 0x0,
i = {0, 0}
},
error_idle_id = 0
}
Edited by crvi