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 650358 - When just running OGG file from my disc while the dabase is being refreshed, RB crashes
When just running OGG file from my disc while the dabase is being refreshed, ...
Status: RESOLVED DUPLICATE of bug 647032
Product: rhythmbox
Classification: Other
Component: general
unspecified
Other Linux
: Normal major
: ---
Assigned To: RhythmBox Maintainers
RhythmBox Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-05-16 21:57 UTC by Matěj Cepl
Modified: 2011-05-17 02:18 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Matěj Cepl 2011-05-16 21:57:14 UTC
With RB rhythmbox-2.90.1-9.git20110502.fc15.x86_64

And yes, when doing in thread 1, frame 4

print entry->last_seen

I got 0 as the result.

---------------------------------

Program received signal SIGSEGV, Segmentation fault.
g_str_hash (v=0x0) at gstring.c:142
142	  for (p = v; *p != '\0'; p++)
Missing separate debuginfos, use: debuginfo-install dbus-python-0.83.0-8.fc15.x86_64 flac-1.2.1-6.fc12.x86_64 gamin-0.1.10-9.fc15.x86_64 gstreamer-plugins-bad-free-0.10.22-1.fc15.x86_64 gstreamer-plugins-good-0.10.29-1.fc15.x86_64 libXtst-1.2.0-2.fc15.x86_64 libasyncns-0.8-2.fc15.x86_64 libicu-4.4.2-8.fc16.x86_64 librsvg2-2.32.1-3.fc16.x86_64 libsndfile-1.0.24-1.fc15.x86_64 pycairo-1.8.8-2.fc14.x86_64 tcp_wrappers-libs-7.6-60.fc15.x86_64
(gdb) thread apply all backtrace
(gdb) thread apply all backtrace

Thread 1 (Thread 0x7ffff6dd49e0 (LWP 7657))

  • #0 g_str_hash
    at gstring.c line 142
  • #1 g_hash_table_lookup_node
    at ghash.c line 313
  • #2 g_hash_table_lookup
    at ghash.c line 902
  • #3 rb_refstring_new
    at rb-refstring.c line 88
  • #4 rhythmdb_entry_sync_mirrored
    at rhythmdb.c line 3669
  • #5 rhythmdb_entry_get_string
    at rhythmdb.c line 4757
  • #6 rb_entry_view_string_cell_data_func
    at rb-entry-view.c line 1051
  • #7 apply_cell_attributes
    at gtkcellarea.c line 1281
  • #8 g_hash_table_foreach
    at ghash.c line 1330
  • #9 gtk_cell_area_real_apply_attributes
    at gtkcellarea.c line 1310
  • #10 gtk_cell_area_box_apply_attributes
    at gtkcellareabox.c line 1320
  • #11 g_closure_invoke
    at gclosure.c line 767
  • #12 signal_emit_unlocked_R
    at gsignal.c line 3182
  • #13 g_signal_emit_valist
    at gsignal.c line 2983
  • #14 g_signal_emit
    at gsignal.c line 3040
  • #15 gtk_cell_area_apply_attributes
    at gtkcellarea.c line 2359
  • #16 validate_row
    at gtktreeview.c line 6152
  • #17 initialize_fixed_height_mode
    at gtktreeview.c line 6607
  • #18 do_validate_rows
    at gtktreeview.c line 6647
  • #19 gtk_tree_view_size_request
    at gtktreeview.c line 2438
  • #20 gtk_tree_view_get_preferred_height
    at gtktreeview.c line 2467
  • #21 compute_size_for_orientation
  • #22 gtk_scrolled_window_get_preferred_size
    at gtkscrolledwindow.c line 2155
  • #23 compute_size_for_orientation
    at gtksizerequest.c line 248
  • #24 gtk_box_get_size
    at gtkbox.c line 914
  • #25 compute_size_for_orientation
    at gtksizerequest.c line 248
  • #26 gtk_widget_get_preferred_size
    at gtksizerequest.c line 545
  • #27 gtk_notebook_size_request
    at gtknotebook.c line 1976
  • #28 gtk_notebook_get_preferred_width
    at gtknotebook.c line 2255
  • #29 compute_size_for_orientation
    at gtksizerequest.c line 215
  • #30 gtk_box_get_size
    at gtkbox.c line 911
  • #31 compute_size_for_orientation
    at gtksizerequest.c line 215
  • #32 gtk_paned_get_preferred_size
    at gtkpaned.c line 864
  • #33 compute_size_for_orientation
    at gtksizerequest.c line 215
  • #34 gtk_paned_get_preferred_size
    at gtkpaned.c line 875
  • #35 compute_size_for_orientation
    at gtksizerequest.c line 215
  • #36 gtk_box_get_size
  • #37 compute_size_for_orientation
    at gtksizerequest.c line 215
  • #38 gtk_window_get_preferred_width
    at gtkwindow.c line 6114
  • #39 compute_size_for_orientation
    at gtksizerequest.c line 215
  • #40 gtk_widget_get_preferred_size
    at gtksizerequest.c line 527
  • #41 gtk_window_compute_hints
    at gtkwindow.c line 7131
  • #42 gtk_window_compute_configure_request
    at gtkwindow.c line 6453
  • #43 gtk_window_move_resize
    at gtkwindow.c line 6684
  • #44 gtk_window_check_resize
    at gtkwindow.c line 5914
  • #45 g_closure_invoke
    at gclosure.c line 767
  • #46 signal_emit_unlocked_R
    at gsignal.c line 3290
  • #47 g_signal_emit_valist
    at gsignal.c line 2983
  • #48 g_signal_emit
    at gsignal.c line 3040
  • #49 gtk_container_idle_sizer
    at gtkcontainer.c line 1603
  • #50 gdk_threads_dispatch
    at gdk.c line 741
  • #51 g_main_dispatch
    at gmain.c line 2440
  • #52 g_main_context_dispatch
    at gmain.c line 3013
  • #53 g_main_context_iterate
    at gmain.c line 3091
  • #54 g_main_loop_run
    at gmain.c line 3299
  • #55 gtk_main
    at gtkmain.c line 1358
  • #56 main
    at main.c line 332
(gdb)
Comment 1 Matěj Cepl 2011-05-16 22:01:14 UTC
b.g.o suggested that this is a duplicate of my other bug 647032.
Comment 2 Christophe Fergeau 2011-05-16 22:05:37 UTC
The interesting bit of the backtrace is 
  • #0 g_str_hash
    at gstring.c line 142
  • #1 g_hash_table_lookup_node
    at ghash.c line 313
  • #2 g_hash_table_lookup
    at ghash.c line 902
  • #3 rb_refstring_new
    at rb-refstring.c line 88
  • #4 rhythmdb_entry_sync_mirrored
    at rhythmdb.c line 3669
  • #5 rhythmdb_entry_get_string
    at rhythmdb.c line 4757

Looking at rhythmdb_entry_sync_mirrored, rb_refsting_new is called with the result of val = rb_utf_friendly_time (entry->last_seen); which returns NULL when entry->last_seen is 0, which is the case here, so this would explain the bug. Looking at the backtrace from bug #647032 this indeed looks like a duplicate, I was confused by the initial comments from hadess, didn't pay attention he said it was a different bug.
Comment 3 Jonathan Matthew 2011-05-17 02:18:59 UTC

*** This bug has been marked as a duplicate of bug 647032 ***