rhythmbox crashed with SIGSEGV in IA__g_hash_table_lookup()

Bug #285397 reported by Andreas Henriksson
6
Affects Status Importance Assigned to Milestone
Rhythmbox
Invalid
Unknown
rhythmbox (Ubuntu)
Invalid
Medium
Ubuntu Desktop Bugs

Bug Description

Binary package hint: rhythmbox

Added music library from ~/.gvfs/sftp on fatal.se/some/directory/

ProblemType: Crash
Architecture: i386
CrashCounter: 1
DistroRelease: Ubuntu 8.10
ExecutablePath: /usr/bin/rhythmbox
Package: rhythmbox 0.11.6svn20081008-0ubuntu3
ProcAttrCurrent: unconfined
ProcCmdline: rhythmbox
ProcEnviron:
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 LANG=en_US.UTF-8
 SHELL=/bin/bash
Signal: 11
SourcePackage: rhythmbox
StacktraceTop:
 IA__g_hash_table_lookup (hash_table=0x8bfa3b8, key=0x0)
 rb_refstring_new () from /usr/lib/librhythmbox-core.so.0
 ?? () from /usr/lib/librhythmbox-core.so.0
 g_thread_create_proxy (data=0x0)
 start_thread () from /lib/tls/i686/cmov/libpthread.so.0
Title: rhythmbox crashed with SIGSEGV in IA__g_hash_table_lookup()
Uname: Linux 2.6.27-7-generic i686
UserGroups: adm admin cdrom dialout fuse lpadmin plugdev sambashare

Revision history for this message
Andreas Henriksson (andreas-fatal) wrote :
Revision history for this message
Apport retracing service (apport) wrote : Symbolic stack trace

StacktraceTop:g_str_hash () from /usr/lib/libglib-2.0.so.0
g_hash_table_lookup () from /usr/lib/libglib-2.0.so.0
rb_refstring_new (init=0x0) at rb-refstring.c:75
action_thread_main (db=0x8d87098) at rhythmdb.c:2575
?? () from /usr/lib/libglib-2.0.so.0

Revision history for this message
Apport retracing service (apport) wrote : Symbolic threaded stack trace
Revision history for this message
Pedro Villavicencio (pedro) wrote :

trace matches http://bugzilla.gnome.org/show_bug.cgi?id=413914 which was closed as incomplete, could you get a backtrace of the issue? please follow the instructions at http://wiki.ubuntu.com/DebuggingProgramCrash and attach it to the report, thanks in advance.

Changed in rhythmbox:
assignee: nobody → desktop-bugs
importance: Undecided → Medium
status: New → Incomplete
Changed in rhythmbox:
status: Unknown → New
Revision history for this message
Andreas Henriksson (andreas-fatal) wrote :

Just reproduced it by loading archive from ~/.gvfs/sftp on fatal.se/ (root folder of the remote computer).

I don't think the backtrace is all that useful, there's already a NULL pointer passed into the hash function as key in the previous report visible which is probably why things blow up there.
Additionally there are several assertion failures before the crash, so I'm guessing there's memory corruption and the particular backtrace is just a symptom of that....

I'll try to fish out the new backtrace with debugging symbols and attach it as soon as I figure out how the ubuntu bug reporting tools work....

~$ rhythmbox

(rhythmbox:21326): Gtk-WARNING **: AudioCdSourcePopupCopyCd: missing action MusicAudioCDDuplicate

(rhythmbox:21326): Gtk-WARNING **: AudioCdSourcePopupCopyCd: missing action MusicAudioCDDuplicate

(rhythmbox:21326): GLib-GIO-CRITICAL **: g_file_info_get_name: assertion `G_IS_FILE_INFO (info)' failed

(rhythmbox:21326): GLib-GIO-CRITICAL **: g_file_get_child: assertion `name != NULL' failed

(rhythmbox:21326): GLib-GIO-CRITICAL **: g_file_get_uri: assertion `G_IS_FILE (file)' failed
Segmentation fault (core dumped)

Revision history for this message
Andreas Henriksson (andreas-fatal) wrote :
Download full text (9.6 KiB)

Here's the new backtrace with rhythmbox-dbg installed:

:~$ gdb rhythmbox
GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...
(gdb) run
Starting program: /usr/bin/rhythmbox
[Thread debugging using libthread_db enabled]
[New Thread 0xb644c720 (LWP 22169)]
[New Thread 0xb60bdb90 (LWP 22184)]
[Thread 0xb60bdb90 (LWP 22184) exited]
[New Thread 0xb60bdb90 (LWP 22190)]

(rhythmbox:22169): Gtk-WARNING **: AudioCdSourcePopupCopyCd: missing action MusicAudioCDDuplicate

(rhythmbox:22169): Gtk-WARNING **: AudioCdSourcePopupCopyCd: missing action MusicAudioCDDuplicate
[Thread 0xb60bdb90 (LWP 22190) exited]
[New Thread 0xb60bdb90 (LWP 22192)]
[Thread 0xb60bdb90 (LWP 22192) exited]
[New Thread 0xb60bdb90 (LWP 22197)]
[New Thread 0xb4b53b90 (LWP 22198)]
[New Thread 0xb4352b90 (LWP 22199)]
[Thread 0xb60bdb90 (LWP 22197) exited]
[New Thread 0xb60bdb90 (LWP 22204)]
[New Thread 0xb3b38b90 (LWP 22205)]
[Thread 0xb60bdb90 (LWP 22204) exited]
[New Thread 0xb60bdb90 (LWP 22206)]
[Thread 0xb60bdb90 (LWP 22206) exited]
[New Thread 0xb60bdb90 (LWP 22211)]
[Thread 0xb60bdb90 (LWP 22211) exited]
[New Thread 0xb60bdb90 (LWP 22212)]

(rhythmbox:22169): GLib-GIO-CRITICAL **: g_file_info_get_name: assertion `G_IS_FILE_INFO (info)' failed

(rhythmbox:22169): GLib-GIO-CRITICAL **: g_file_get_child: assertion `name != NULL' failed

(rhythmbox:22169): GLib-GIO-CRITICAL **: g_file_get_uri: assertion `G_IS_FILE (file)' failed

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb4b53b90 (LWP 22198)]
0xb6e4ed07 in g_str_hash () from /usr/lib/libglib-2.0.so.0
(gdb) bt
#0 0xb6e4ed07 in g_str_hash () from /usr/lib/libglib-2.0.so.0
#1 0xb6e1de87 in g_hash_table_lookup () from /usr/lib/libglib-2.0.so.0
#2 0xb7eadb51 in rb_refstring_new (init=0x0) at rb-refstring.c:75
#3 0xb7eb2ad9 in action_thread_main (db=0x84fc0b8) at rhythmdb.c:2575
#4 0xb6e5602f in ?? () from /usr/lib/libglib-2.0.so.0
#5 0xb7ce350f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#6 0xb6d0c7ee in clone () from /lib/tls/i686/cmov/libc.so.6
(gdb) bt full
#0 0xb6e4ed07 in g_str_hash () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#1 0xb6e1de87 in g_hash_table_lookup () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#2 0xb7eadb51 in rb_refstring_new (init=0x0) at rb-refstring.c:75
 ret = <value optimized out>
#3 0xb7eb2ad9 in action_thread_main (db=0x84fc0b8) at rhythmdb.c:2575
 action = (RhythmDBAction *) 0x8d64f90
 __FUNCTION__ = "action_thread_main"
 __PRETTY_FUNCTION__ = "action_thread_main"
#4 0xb6e5602f in ?? () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#5 0xb7ce350f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
#6 0xb6d0c7ee in clone () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
(gdb) thread apply all bt full

Thread 12 (Thread 0x...

Read more...

Revision history for this message
Andreas Henriksson (andreas-fatal) wrote :
Download full text (8.9 KiB)

Here's a backtrace from rhythmbox rebuild with DEB_BUILD_OPTIONS="noopt,debug,nostrip":

/tmp$ gdb rhythmbox
GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...
(gdb) run
Starting program: /usr/bin/rhythmbox
[Thread debugging using libthread_db enabled]
[New Thread 0xb657c720 (LWP 14268)]
[New Thread 0xb61edb90 (LWP 14288)]
[Thread 0xb61edb90 (LWP 14288) exited]
[New Thread 0xb61edb90 (LWP 14293)]

(rhythmbox:14268): Gtk-WARNING **: AudioCdSourcePopupCopyCd: missing action MusicAudioCDDuplicate

(rhythmbox:14268): Gtk-WARNING **: AudioCdSourcePopupCopyCd: missing action MusicAudioCDDuplicate
[Thread 0xb61edb90 (LWP 14293) exited]
[New Thread 0xb61edb90 (LWP 14298)]
[Thread 0xb61edb90 (LWP 14298) exited]
[New Thread 0xb61edb90 (LWP 14299)]
[New Thread 0xb4f18b90 (LWP 14300)]
[Thread 0xb61edb90 (LWP 14299) exited]
[New Thread 0xb61edb90 (LWP 14305)]
[New Thread 0xb46feb90 (LWP 14306)]
[New Thread 0xb3efdb90 (LWP 14307)]
[Thread 0xb61edb90 (LWP 14305) exited]
[Thread 0xb3efdb90 (LWP 14307) exited]
[New Thread 0xb61edb90 (LWP 14312)]
[New Thread 0xb3efdb90 (LWP 14313)]
[Thread 0xb61edb90 (LWP 14312) exited]
[Thread 0xb3efdb90 (LWP 14313) exited]
[Thread 0xb46feb90 (LWP 14306) exited]
[New Thread 0xb46feb90 (LWP 14318)]

(rhythmbox:14268): GLib-GIO-CRITICAL **: g_file_info_get_name: assertion `G_IS_FILE_INFO (info)' failed

(rhythmbox:14268): GLib-GIO-CRITICAL **: g_file_get_child: assertion `name != NULL' failed

(rhythmbox:14268): GLib-GIO-CRITICAL **: g_file_get_uri: assertion `G_IS_FILE (file)' failed

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb4f18b90 (LWP 14300)]
0xb6f7ed07 in g_str_hash () from /usr/lib/libglib-2.0.so.0
(gdb) bt
#0 0xb6f7ed07 in g_str_hash () from /usr/lib/libglib-2.0.so.0
#1 0xb6f4de87 in g_hash_table_lookup () from /usr/lib/libglib-2.0.so.0
#2 0xb7fe04c7 in rb_refstring_new (init=0x0) at rb-refstring.c:75
#3 0xb7fe6e54 in rhythmdb_execute_enum_dir (db=0x9c790b8, action=0xa4feaa8)
    at rhythmdb.c:2575
#4 0xb7fe7542 in action_thread_main (db=0x9c790b8) at rhythmdb.c:2723
#5 0xb6f8602f in ?? () from /usr/lib/libglib-2.0.so.0
#6 0xb7e1350f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7 0xb6e3c7ee in clone () from /lib/tls/i686/cmov/libc.so.6
(gdb) bt full
#0 0xb6f7ed07 in g_str_hash () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#1 0xb6f4de87 in g_hash_table_lookup () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#2 0xb7fe04c7 in rb_refstring_new (init=0x0) at rb-refstring.c:75
 ret = (RBRefString *) 0xa4a9ba8
#3 0xb7fe6e54 in rhythmdb_execute_enum_dir (db=0x9c790b8, action=0xa4feaa8)
    at rhythmdb.c:2575
 result = (RhythmDBEvent *) 0xa4e7988
 file_info = (GFileInfo *) 0x0
 child = (GFile *) 0x0
 child_uri = 0x0
 dir = (GFile *) 0xa4bc400
 dir_enum = (GFileEnumerator *) 0xa4e7df0
 error = (GError *) 0xa4de570
 __FU...

Read more...

Changed in rhythmbox:
status: New → Invalid
Revision history for this message
Andreas Henriksson (andreas-fatal) wrote :

Wrong upstream bug tracked.....

10:13 < moch> the ubuntu bug appears to be something like #556729

That's http://bugzilla.gnome.org/show_bug.cgi?id=556729

Revision history for this message
Pedro Villavicencio (pedro) wrote :

that's a duplicate then.

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

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.