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 140081 - segfault on startup
segfault on startup
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-04-14 19:36 UTC by David Schleef
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description David Schleef 2004-04-14 19:36:36 UTC


Thread 7 (Thread 81926 (LWP 4535))

  • #0 __pthread_sigsuspend
    from /lib/libpthread.so.0
  • #1 ??
  • #2 __pthread_wait_for_restart_signal
    from /lib/libpthread.so.0
  • #3 pthread_cond_wait
    from /lib/libpthread.so.0
  • #4 g_static_rw_lock_writer_lock
    from /usr/lib/libglib-2.0.so.0
  • #5 rhythmdb_write_lock
    at rhythmdb.c line 638
  • #6 rhythmdb_tree_parser_end_element
    at rhythmdb-tree.c line 495
  • #7 xmlParseStartTag
    from /usr/lib/libxml2.so.2
  • #8 xmlParseElement
    from /usr/lib/libxml2.so.2
  • #9 xmlParseContent
    from /usr/lib/libxml2.so.2
  • #10 xmlParseElement
    from /usr/lib/libxml2.so.2
  • #11 xmlParseDocument
    from /usr/lib/libxml2.so.2
  • #12 rhythmdb_tree_load
    at rhythmdb-tree.c line 633
  • #13 rhythmdb_load_thread_main
    at rhythmdb.c line 1232
  • #14 g_static_private_free
    from /usr/lib/libglib-2.0.so.0
  • #15 pthread_start_thread
    from /lib/libpthread.so.0
  • #16 pthread_start_thread_event
    from /lib/libpthread.so.0

Thread 5 (Thread 49156 (LWP 4533))

  • #0 __pthread_sigsuspend
    from /lib/libpthread.so.0
  • #1 ??
  • #2 __pthread_wait_for_restart_signal
    from /lib/libpthread.so.0
  • #3 __pthread_alt_lock
    from /lib/libpthread.so.0
  • #4 pthread_mutex_lock
    from /lib/libpthread.so.0
  • #5 g_source_attach
    from /usr/lib/libglib-2.0.so.0
  • #6 g_source_destroy
    from /usr/lib/libglib-2.0.so.0
  • #7 link_io_add_watch_fd
    from /usr/lib/libORBitCosNaming-2.so.0
  • #8 link_io_remove_watch
    from /usr/lib/libORBitCosNaming-2.so.0
  • #9 link_connection_unref
    from /usr/lib/libORBitCosNaming-2.so.0
  • #10 link_connection_write
    from /usr/lib/libORBitCosNaming-2.so.0
  • #11 giop_connection_close
    from /usr/lib/libORBit-2.so.0
  • #12 g_object_class_list_properties
    from /usr/lib/libgobject-2.0.so.0
  • #13 link_connection_ref
    from /usr/lib/libORBitCosNaming-2.so.0
  • #14 ORBit_small_invoke_stub
    from /usr/lib/libORBit-2.so.0
  • #15 ORBit_small_invoke_stub_n
    from /usr/lib/libORBit-2.so.0
  • #16 ORBit_c_stub_invoke
    from /usr/lib/libORBit-2.so.0
  • #17 Bonobo_UIContainer_setAttr
    from /usr/lib/libbonobo-2.so.0
  • #18 bonobo_ui_component_set_prop
    from /usr/lib/libbonoboui-2.so.0
  • #19 bonobo_ui_component_set_prop
    from /usr/lib/libbonoboui-2.so.0
  • #20 rb_bonobo_set_sensitive
    at rb-bonobo-helpers.c line 67
  • #21 rb_shell_clipboard_sync
    at rb-shell-clipboard.c line 357
  • #22 g_cclosure_marshal_VOID__POINTER
    from /usr/lib/libgobject-2.0.so.0
  • #23 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #24 g_signal_emit_by_name
    from /usr/lib/libgobject-2.0.so.0
  • #25 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #26 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #27 rhythmdb_emit_entry_deleted
    at rhythmdb.c line 2176
  • #28 rhythmdb_entry_delete
    at rhythmdb.c line 1495
  • #29 update_song
    at rhythmdb.c line 1103
  • #30 update_thread_main
    at rhythmdb.c line 1137
  • #31 g_static_private_free
    from /usr/lib/libglib-2.0.so.0
  • #32 pthread_start_thread
    from /lib/libpthread.so.0
  • #33 pthread_start_thread_event
    from /lib/libpthread.so.0

Thread 3 (Thread 16386 (LWP 4531))

  • #0 __pthread_sigsuspend
    from /lib/libpthread.so.0
  • #1 ??
  • #2 __pthread_wait_for_restart_signal
    from /lib/libpthread.so.0
  • #3 pthread_cond_wait
    from /lib/libpthread.so.0
  • #4 g_async_queue_push_unlocked
    from /usr/lib/libglib-2.0.so.0
  • #5 g_async_queue_pop_unlocked
    from /usr/lib/libglib-2.0.so.0
  • #6 g_static_rw_lock_free
    from /usr/lib/libglib-2.0.so.0
  • #7 g_static_private_free
    from /usr/lib/libglib-2.0.so.0
  • #8 pthread_start_thread
    from /lib/libpthread.so.0
  • #9 pthread_start_thread_event
    from /lib/libpthread.so.0

Thread 1 (Thread 16384 (LWP 4529))

  • #0 __pthread_sigsuspend
    from /lib/libpthread.so.0
  • #1 ??
  • #2 __pthread_wait_for_restart_signal
    from /lib/libpthread.so.0
  • #3 pthread_cond_wait
    from /lib/libpthread.so.0
  • #4 g_static_rw_lock_reader_lock
    from /usr/lib/libglib-2.0.so.0
  • #5 rhythmdb_read_lock
    at rhythmdb.c line 626
  • #6 rhythmdb_query_model_do_insert
    at rhythmdb-query-model.c line 775
  • #7 rhythmdb_query_model_poll
    at rhythmdb-query-model.c line 902
  • #8 idle_poll_model
    at rhythmdb-query-model.c line 859
  • #9 g_timeout_add
    from /usr/lib/libglib-2.0.so.0
  • #10 unblock_source
    from /usr/lib/libglib-2.0.so.0
  • #11 g_main_context_dispatch
    from /usr/lib/libglib-2.0.so.0
  • #12 g_main_context_dispatch
    from /usr/lib/libglib-2.0.so.0
  • #13 g_main_loop_run
    from /usr/lib/libglib-2.0.so.0
  • #14 bonobo_main
    from /usr/lib/libbonobo-2.so.0
  • #15 main
    at main.c line 174
  • #0 g_main_context_check
    from /usr/lib/libglib-2.0.so.0

Comment 1 David Schleef 2004-04-14 19:44:36 UTC
More info:

g_main_context_check (context=0x413006a0, max_priority=2147483647, 
    fds=0x841f220, n_fds=9) at gmain.c:2226
2226    gmain.c: No such file or directory.
        in gmain.c

line 2226 in gmain.c is

      if (pollrec->fd->events)
Comment 2 David Schleef 2004-04-15 23:20:49 UTC
Allegedly, this is due to deleted files in rhythmdb.xml.

Still segfaults, even after patch-245.
Comment 3 David Schleef 2004-04-15 23:58:59 UTC
new backtrace, with patch-245

Thread 7 (Thread 81926 (LWP 28303))

  • #0 __pthread_sigsuspend
    from /lib/libpthread.so.0
  • #1 ??
  • #2 __pthread_wait_for_restart_signal
    from /lib/libpthread.so.0
  • #3 pthread_cond_wait
    from /lib/libpthread.so.0
  • #4 g_static_rw_lock_writer_lock
    at gthread.c line 707
  • #5 rhythmdb_write_lock
    at rhythmdb.c line 638
  • #6 rhythmdb_tree_parser_end_element
    at rhythmdb-tree.c line 495
  • #7 xmlParseStartTag
    from /usr/lib/libxml2.so.2
  • #8 xmlParseElement
    from /usr/lib/libxml2.so.2
  • #9 xmlParseContent
    from /usr/lib/libxml2.so.2
  • #10 xmlParseElement
    from /usr/lib/libxml2.so.2
  • #11 xmlParseDocument
    from /usr/lib/libxml2.so.2
  • #12 rhythmdb_tree_load
    at rhythmdb-tree.c line 633
  • #13 rhythmdb_load_thread_main
    at rhythmdb.c line 1232
  • #14 g_thread_create_proxy
    at gthread.c line 551
  • #15 pthread_start_thread
    from /lib/libpthread.so.0
  • #16 pthread_start_thread_event
    from /lib/libpthread.so.0

Thread 5 (Thread 49156 (LWP 28301))

  • #0 __pthread_sigsuspend
    from /lib/libpthread.so.0
  • #1 ??
  • #2 __pthread_wait_for_restart_signal
    from /lib/libpthread.so.0
  • #3 __pthread_alt_lock
    from /lib/libpthread.so.0
  • #4 pthread_mutex_lock
    from /lib/libpthread.so.0
  • #5 g_source_destroy_internal
    at gmain.c line 900
  • #6 g_source_destroy
    at gmain.c line 958
  • #7 link_io_add_watch_fd
    from /usr/lib/libORBitCosNaming-2.so.0
  • #8 link_io_remove_watch
  • #9 link_connection_unref
    from /usr/lib/libORBitCosNaming-2.so.0
  • #10 link_connection_write
    from /usr/lib/libORBitCosNaming-2.so.0
  • #11 giop_connection_close
    from /usr/lib/libORBit-2.so.0
  • #12 g_object_last_unref
    at gobject.c line 429
  • #13 link_connection_ref
    from /usr/lib/libORBitCosNaming-2.so.0
  • #14 ORBit_small_invoke_stub
    from /usr/lib/libORBit-2.so.0
  • #15 ORBit_small_invoke_stub_n
    from /usr/lib/libORBit-2.so.0
  • #16 ORBit_c_stub_invoke
    from /usr/lib/libORBit-2.so.0
  • #17 Bonobo_UIContainer_setAttr
    from /usr/lib/libbonobo-2.so.0
  • #18 bonobo_ui_component_set_prop
    from /usr/lib/libbonoboui-2.so.0
  • #19 bonobo_ui_component_set_prop
    from /usr/lib/libbonoboui-2.so.0
  • #20 rb_bonobo_set_sensitive
    at rb-bonobo-helpers.c line 67
  • #21 rb_shell_clipboard_sync
    at rb-shell-clipboard.c line 372
  • #22 g_cclosure_marshal_VOID__POINTER
    at gmarshal.c line 601
  • #23 g_closure_invoke
    at gclosure.c line 437
  • #24 signal_emit_unlocked_R
    at gsignal.c line 2822
  • #25 g_signal_emit_valist
    at gsignal.c line 2554
  • #26 g_signal_emit
    at gsignal.c line 2612
  • #27 rhythmdb_emit_entry_deleted
    at rhythmdb.c line 2176
  • #28 rhythmdb_entry_delete
    at rhythmdb.c line 1495
  • #29 update_song
    at rhythmdb.c line 1103
  • #30 update_thread_main
    at rhythmdb.c line 1137
  • #31 g_thread_create_proxy
    at gthread.c line 551
  • #32 pthread_start_thread
    from /lib/libpthread.so.0
  • #33 pthread_start_thread_event
    from /lib/libpthread.so.0

Thread 3 (Thread 16386 (LWP 28299))

  • #0 __pthread_sigsuspend
    from /lib/libpthread.so.0
  • #1 ??
  • #2 __pthread_wait_for_restart_signal
    from /lib/libpthread.so.0
  • #3 pthread_cond_wait
    from /lib/libpthread.so.0
  • #4 g_async_queue_pop_intern_unlocked
    at gasyncqueue.c line 231
  • #5 g_async_queue_pop_unlocked
    at gasyncqueue.c line 293
  • #6 g_thread_pool_thread_proxy
    at gthreadpool.c line 96
  • #7 g_thread_create_proxy
    at gthread.c line 551
  • #8 pthread_start_thread
    from /lib/libpthread.so.0
  • #9 pthread_start_thread_event
    from /lib/libpthread.so.0

Thread 1 (Thread 16384 (LWP 28297))

  • #0 __pthread_sigsuspend
    from /lib/libpthread.so.0
  • #1 ??
  • #2 __pthread_wait_for_restart_signal
    from /lib/libpthread.so.0
  • #3 pthread_cond_wait
    from /lib/libpthread.so.0
  • #4 g_static_rw_lock_reader_lock
    at gthread.c line 707
  • #5 rhythmdb_read_lock
    at rhythmdb.c line 626
  • #6 rhythmdb_query_model_do_insert
    at rhythmdb-query-model.c line 789
  • #7 rhythmdb_query_model_poll
    at rhythmdb-query-model.c line 902
  • #8 idle_poll_model
    at rhythmdb-query-model.c line 859
  • #9 g_idle_dispatch
    at gmain.c line 3272
  • #10 g_main_dispatch
    at gmain.c line 1751
  • #11 g_main_context_dispatch
    at gmain.c line 2299
  • #12 g_main_context_iterate
    at gmain.c line 2380
  • #13 g_main_loop_run
    at gmain.c line 2600
  • #14 bonobo_main
    from /usr/lib/libbonobo-2.so.0
  • #15 main
    at main.c line 174

Comment 4 Colin Walters 2004-04-16 00:42:41 UTC
* committed rhythmbox-devel@gnome.org--2004/rhythmbox--main--0.7--patch-247

Thanks for helping to debug - this was a really nasty one.  We were definitely
talking to GTK+ in the RhythmDB thread (a big no-no).