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 451593 - rhythmbox crashed with SIGSEGV in rb_refstring_unref()
rhythmbox crashed with SIGSEGV in rb_refstring_unref()
Status: RESOLVED FIXED
Product: rhythmbox
Classification: Other
Component: general
0.11.x
Other Linux
: Normal normal
: ---
Assigned To: RhythmBox Maintainers
RhythmBox Maintainers
Depends on:
Blocks:
 
 
Reported: 2007-06-27 12:51 UTC by Sebastien Bacher
Modified: 2008-05-24 01:49 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Sebastien Bacher 2007-06-27 12:51:16 UTC
The bug has been opened on https://bugs.launchpad.net/ubuntu/+source/rhythmbox/+bug/121358

"Binary package hint: rhythmbox

I have a collection generated with rhythmbox in feisty and it works properly.
I've upgraded to gutsy and now when I try to play a file, rhythmbox puts an red icon near the file instead of playing it. When I double click the icon, a windows apears saying:

Internal GStreamer error: state change failed. Please file a bug at http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer.

That window has a close button only.

I tried to play some other files and then rhythmbox crashed.

Reopened rhythmbox and the same thing happens but rhythmbox doesn't crash while trying to play files.
...
I've found that this happens only if rhythmbox can't reach the audio hardware. I had an ALSA misconfiguration and once solved rhythmbox doesn't crash. Anyway this is a bug, if rhythmbox can't use the hardware it must say that instead of crash.
...
I tried to delete .asoundconf and .asoundrc.asoundconf but rhythmbox doesn't
crash now. Then I tried to select a nonexistent card (asoundconf
set-default-card nonexistent) and it crash again.
...
ProblemType: Crash
Architecture: amd64
CoreDump:

Date: Wed Jun 20 17:00:42 2007
Disassembly:

DistroRelease: Ubuntu 7.10
ExecutablePath: /usr/bin/rhythmbox
NonfreeKernelModules: nvidia
Package: rhythmbox 0.11.0-0ubuntu4
PackageArchitecture: amd64
...
GNU gdb 6.6-debian
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu"...
Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) handle s[KSIG33 pass nostop noprint
Signal        Stop	Print	Pass to program	Description
SIG33         No	No	Yes		Real-time event 33
(gdb) set pagination 0
(gdb) run
Starting program: /usr/bin/rhythmbox 
[Thread debugging using libthread_db enabled]
[New Thread 47231862116240 (LWP 18885)]
[New Thread 1082132800 (LWP 18889)]
[Thread 1082132800 (LWP 18889) exited]

(rhythmbox:18885): Gtk-WARNING **: Refusing to add non-unique action 'AutoPlaylistSearchAll' to action group 'AutoPlaylistActions'

(rhythmbox:18885): Gtk-WARNING **: Refusing to add non-unique action 'AutoPlaylistSearchArtists' to action group 'AutoPlaylistActions'

(rhythmbox:18885): Gtk-WARNING **: Refusing to add non-unique action 'AutoPlaylistSearchAlbums' to action group 'AutoPlaylistActions'

(rhythmbox:18885): Gtk-WARNING **: Refusing to add non-unique action 'AutoPlaylistSearchTitles' to action group 'AutoPlaylistActions'

(rhythmbox:18885): Gtk-WARNING **: Refusing to add non-unique action 'AutoPlaylistSearchAll' to action group 'AutoPlaylistActions'

(rhythmbox:18885): Gtk-WARNING **: Refusing to add non-unique action 'AutoPlaylistSearchArtists' to action group 'AutoPlaylistActions'

(rhythmbox:18885): Gtk-WARNING **: Refusing to add non-unique action 'AutoPlaylistSearchAlbums' to action group 'AutoPlaylistActions'

(rhythmbox:18885): Gtk-WARNING **: Refusing to add non-unique action 'AutoPlaylistSearchTitles' to action group 'AutoPlaylistActions'
[New Thread 1082132800 (LWP 18890)]
[Thread 1082132800 (LWP 18890) exited]
[New Thread 1082132800 (LWP 18891)]
[New Thread 1090525504 (LWP 18892)]
[New Thread 1098918208 (LWP 18893)]
[Thread 1082132800 (LWP 18891) exited]
[Thread 1098918208 (LWP 18893) exited]
[New Thread 1098918208 (LWP 18897)]
[New Thread 1082132800 (LWP 18898)]

(rhythmbox:18885): RhythmDB-CRITICAL **: rhythmdb_entry_get_string: assertion `entry != NULL' failed

(rhythmbox:18885): RhythmDB-CRITICAL **: rb_refstring_unref: assertion `val->refcount > 0' failed

(rhythmbox:18885): RhythmDB-CRITICAL **: rhythmdb_entry_ref: assertion `entry->refcount > 0' failed

(rhythmbox:18885): RhythmDB-CRITICAL **: rhythmdb_entry_ref: assertion `entry->refcount > 0' failed

(rhythmbox:18885): RhythmDB-CRITICAL **: rhythmdb_entry_get_string: assertion `entry->refcount > 0' failed

(rhythmbox:18885): RhythmDB-CRITICAL **: rhythmdb_entry_ref: assertion `entry->refcount > 0' failed

(rhythmbox:18885): RhythmDB-CRITICAL **: rhythmdb_entry_get_string: assertion `entry->refcount > 0' failed

(rhythmbox:18885): RhythmDB-CRITICAL **: rhythmdb_entry_ref: assertion `entry->refcount > 0' failed

(rhythmbox:18885): RhythmDB-CRITICAL **: rhythmdb_entry_get_string: assertion `entry->refcount > 0' failed

(rhythmbox:18885): RhythmDB-CRITICAL **: rhythmdb_entry_ref: assertion `entry->refcount > 0' failed

(rhythmbox:18885): RhythmDB-CRITICAL **: rhythmdb_entry_unref: assertion `entry->refcount > 0' failed

(rhythmbox:18885): RhythmDB-CRITICAL **: rhythmdb_entry_unref: assertion `entry->refcount > 0' failed

(rhythmbox:18885): RhythmDB-CRITICAL **: rhythmdb_entry_ref: assertion `entry->refcount > 0' failed

(rhythmbox:18885): RhythmDB-CRITICAL **: rhythmdb_entry_unref: assertion `entry->refcount > 0' failed

(rhythmbox:18885): RhythmDB-CRITICAL **: rhythmdb_entry_ref: assertion `entry->refcount > 0' failed

(rhythmbox:18885): RhythmDB-CRITICAL **: rhythmdb_entry_unref: assertion `entry->refcount > 0' failed

(rhythmbox:18885): RhythmDB-CRITICAL **: rhythmdb_entry_ref: assertion `entry->refcount > 0' failed

(rhythmbox:18885): RhythmDB-CRITICAL **: rhythmdb_entry_unref: assertion `entry->refcount > 0' failed

(rhythmbox:18885): RhythmDB-CRITICAL **: rhythmdb_entry_ref: assertion `entry->refcount > 0' failed

Program received signal SIGSEGV, Segmentation fault.

Thread 47231862116240 (LWP 18885)

  • #0 rb_refstring_unref
    at rb-refstring.c line 108
  • #1 rhythmdb_entry_set_internal
    at rhythmdb.c line 2791
  • #2 rb_shell_player_set_entry_playback_error
    at rb-shell-player.c line 1365
  • #3 rb_shell_player_error
    at rb-shell-player.c line 2892
  • #4 error_cb
    at rb-shell-player.c line 3023
  • #5 IA__g_closure_invoke
    at /build/buildd/glib2.0-2.13.5/gobject/gclosure.c line 490
  • #6 signal_emit_unlocked_R
    at /build/buildd/glib2.0-2.13.5/gobject/gsignal.c line 2440
  • #7 IA__g_signal_emit_valist
    at /build/buildd/glib2.0-2.13.5/gobject/gsignal.c line 2199
  • #8 IA__g_signal_emit
    at /build/buildd/glib2.0-2.13.5/gobject/gsignal.c line 2243
  • #9 rb_player_gst_bus_cb
    at rb-player-gst.c line 429
  • #10 ??
    from /usr/lib/libgstreamer-0.10.so.0
  • #11 IA__g_main_context_dispatch
    at /build/buildd/glib2.0-2.13.5/glib/gmain.c line 2061
  • #12 g_main_context_iterate
    at /build/buildd/glib2.0-2.13.5/glib/gmain.c line 2694
  • #13 IA__g_main_loop_run
    at /build/buildd/glib2.0-2.13.5/glib/gmain.c line 2898
  • #14 gtk_main
    from /usr/lib/libgtk-x11-2.0.so.0
  • #15 main
    at main.c line 305

Thread 1 (Thread 47231862116240 (LWP 18885))

  • #0 rb_refstring_unref
    at rb-refstring.c line 108
  • #1 rhythmdb_entry_set_internal
    at rhythmdb.c line 2791
  • #2 rb_shell_player_set_entry_playback_error
    at rb-shell-player.c line 1365
  • #3 rb_shell_player_error
    at rb-shell-player.c line 2892
  • #4 error_cb
    at rb-shell-player.c line 3023
  • #5 IA__g_closure_invoke
    at /build/buildd/glib2.0-2.13.5/gobject/gclosure.c line 490
  • #6 signal_emit_unlocked_R
    at /build/buildd/glib2.0-2.13.5/gobject/gsignal.c line 2440
  • #7 IA__g_signal_emit_valist
    at /build/buildd/glib2.0-2.13.5/gobject/gsignal.c line 2199
  • #8 IA__g_signal_emit
    at /build/buildd/glib2.0-2.13.5/gobject/gsignal.c line 2243
  • #9 rb_player_gst_bus_cb
    at rb-player-gst.c line 429
  • #10 ??
    from /usr/lib/libgstreamer-0.10.so.0
  • #11 IA__g_main_context_dispatch
    at /build/buildd/glib2.0-2.13.5/glib/gmain.c line 2061
  • #12 g_main_context_iterate
    at /build/buildd/glib2.0-2.13.5/glib/gmain.c line 2694
  • #13 IA__g_main_loop_run
    at /build/buildd/glib2.0-2.13.5/glib/gmain.c line 2898
  • #14 gtk_main
    from /usr/lib/libgtk-x11-2.0.so.0
  • #15 main
    at main.c line 305

Comment 1 Jonathan Matthew 2008-05-24 01:49:44 UTC
I'm pretty sure I've just fixed this problem.