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 135937 - Rhythmbox HEAD + gstreamer HEAD crash on song change
Rhythmbox HEAD + gstreamer HEAD crash on song change
Status: RESOLVED FIXED
Product: rhythmbox
Classification: Other
Component: general
HEAD
Other Linux
: Normal normal
: ---
Assigned To: RhythmBox Maintainers
RhythmBox Maintainers
Depends on:
Blocks:
 
 
Reported: 2004-03-02 08:19 UTC by Peter Williams
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.3/2.4



Description Peter Williams 2004-03-02 08:19:55 UTC
As soon as a song ends, rhythmbox crashes. It seems to be failing to write
updated metadata.

  • #0 rhythmdb_tree_evaluate_query
    at rhythmdb-tree.c line 1443
  • #1 rhythmdb_evaluate_query
    at rhythmdb.c line 1802
  • #2 rhythmdb_query_model_entry_changed_cb
    at rhythmdb-query-model.c line 623
  • #3 rb_marshal_VOID__POINTER_INT_POINTER_POINTER
    at rb-marshal.c line 499
  • #4 g_closure_invoke
    at gclosure.c line 437
  • #5 signal_emit_unlocked_R
    at gsignal.c line 2436
  • #6 g_signal_emit_valist
    at gsignal.c line 2195
  • #7 g_signal_emit
    at gsignal.c line 2239
  • #8 emit_changed_signals
    at rhythmdb.c line 613
  • #9 rhythmdb_write_unlock_internal
    at rhythmdb.c line 630
  • #10 rhythmdb_write_unlock
    at rhythmdb.c line 643
  • #11 action_thread_main
    at rhythmdb.c line 1102
  • #12 g_thread_create_proxy
    at gthread.c line 601
  • #13 start_thread
    from /lib/tls/libpthread.so.0
  • #2 rhythmdb_query_model_entry_changed_cb
    at rhythmdb-query-model.c line 623
$1 = {db = 0x81db0c8, sort_func = 0, sort_user_data = 0x0, query = 0x0, 
  stamp = 3060987877, max_size_mb = 0, max_count = 0, cancelled = 0,
connected = 1, 
  model_poll_id = 5724, total_duration = 1263, total_size = 24720656, 
  entries = 0x43a12c60, reverse_map = 0x43a12c90, query_complete = 0x43a12ce0, 
  pending_updates = 0x43a12d50, reorder_drag_and_drop = 0}


(gdb) p *model->priv->db->priv
$4 = {name = 0x81dbf78 "/home/peter/.gnome2/rhythmbox/rhythmdb.xml", lock =
{mutex = {
      runtime_mutex = 0x0, static_mutex = {
        pad = "\000\000\000\000\000\000\000\0000{\023C", '\0' <repeats 11
times>, 
        dummy_double = 0, dummy_pointer = 0x0, dummy_long = 0}}, read_cond
= 0x821a0e0, 
    write_cond = 0x832b958, read_counter = 0, have_writer = 1, want_to_read
= 0, 
    want_to_write = 0}, column_types = 0x81db570, query_thread_pool =
0x81db6b8, 
  metadata = 0x81db480, vfsinfo = 0x0, query_in_progress = 0, 
  main_thread_cancel = 0x81db170, update_queue = 0x81db1e0, add_queue =
0x81db250, 
  action_queue = 0x81db2c0, dry_run = 0, no_update = 0, writelocked = 0,
readlocks = 0, 
  added_entries = 0x0, changed_entries = 0x8368b7c, propname_map = 0x81db668, 
  thread_reaper_id = 5698, status_queue = 0x81db330, outstanding_threads = 0, 
  exit_mutex = 0x0, exiting = 0}
Comment 1 Peter Williams 2004-03-02 08:21:24 UTC
by the way, this is 100% reproducible for me, on every song change.
Comment 2 Christophe Fergeau 2004-03-02 09:33:28 UTC
This is quite likely a dup of the gstreamer head opt bug.

*** This bug has been marked as a duplicate of 135672 ***
Comment 3 Peter Williams 2004-03-02 21:20:19 UTC
I don't think so. The problem is that model->priv->query is NULL while
the code expects it to be valid; I don't think this is on the the
GStreamer end at all.
Comment 4 Christophe Fergeau 2004-03-02 21:26:44 UTC
Can you try with a GStreamer cvs version before this entry :
                                                                     
          
2004-02-24  Andy Wingo  <wingo@pobox.com>
                                                                     
          
        * gst/gstelement.c (gst_element_dispose): Protect against multiple
        invocations.

Comment 5 Colin Walters 2004-03-02 21:36:52 UTC
Peter, you're absolutely right.

* committed
walters@rhythmbox.org--2003b/rhythmbox--mainline--0.7--patch-243