rhythmbox crashed with SIGSEGV in free()

Bug #560268 reported by iGadget
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Rhythmbox
Expired
Critical
rhythmbox (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

Binary package hint: rhythmbox

When I tried dragging a selection of MP3 files on my local harddrive to a newly created playlist on my iPhone 3GS, Rhythmbox crashed.

I expected it to transfer the files to the iPhone and add them to the playlist.

Fully updated (as of april 10, 2010) Lucid AMD64 installation connected to an iPhone 3GS running firmware 3.1.3.

ProblemType: Crash
DistroRelease: Ubuntu 10.04
Package: rhythmbox 0.12.8-0ubuntu1
ProcVersionSignature: Ubuntu 2.6.32-19.28-generic 2.6.32.10+drm33.1
Uname: Linux 2.6.32-19-generic x86_64
NonfreeKernelModules: nvidia
Architecture: amd64
Date: Sat Apr 10 22:17:49 2010
ExecutablePath: /usr/bin/rhythmbox
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Beta amd64 (20100318)
ProcCmdline: rhythmbox /home/username/.gvfs/iPhone\ van\ User Name\ ten\ Kate
ProcEnviron:
 LANGUAGE=nl:en
 LANG=nl_NL.utf8
 SHELL=/bin/bash
SegvAnalysis:
 Segfault happened at: 0x7f9f8e29cdfd <free+29>: mov -0x8(%rdi),%rsi
 PC (0x7f9f8e29cdfd) ok
 source "-0x8(%rdi)" (0x7f9f8e006c59) in non-readable VMA region: 0x7f9f8de15000-0x7f9f8e014000 ---p /usr/lib/libSM.so.6.0.1
 destination "%rsi" ok
SegvReason: reading VMA /usr/lib/libSM.so.6.0.1
Signal: 11
SourcePackage: rhythmbox
StacktraceTop:
 free () from /lib/libc.so.6
 ?? ()
 ?? ()
 ?? ()
 g_main_context_dispatch ()
Title: rhythmbox crashed with SIGSEGV in free()
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare vboxusers
XsessionErrors:
 (polkit-gnome-authentication-agent-1:1531): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed
 (file-roller:2038): Gtk-CRITICAL **: gtk_container_remove: assertion `GTK_IS_TOOLBAR (container) || widget->parent == GTK_WIDGET (container)' failed
 (file-roller:2038): Gtk-CRITICAL **: gtk_box_pack: assertion `child->parent == NULL' failed
 (file-roller:2038): Gtk-WARNING **: Attempting to add a widget with type GtkHBox to a GtkFrame, but as a GtkBin subclass a GtkFrame can only contain one widget at a time; it already contains a widget of type GtkHBox

Revision history for this message
iGadget (igadget) wrote :
Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 *__GI___libc_free (mem=0x7f9f8e006c61) at malloc.c:3709
 rb_ipod_db_rename_playlist_internal (
 rb_ipod_db_process_delayed_actions (
 ipod_db_saved_idle_cb (ipod_db=0x1caa1e0)
 g_main_context_dispatch ()

Revision history for this message
Apport retracing service (apport) wrote : Stacktrace.txt
Revision history for this message
Apport retracing service (apport) wrote : ThreadStacktrace.txt
Changed in rhythmbox (Ubuntu):
importance: Undecided → Medium
tags: removed: need-amd64-retrace
Revision history for this message
Pedro Villavicencio (pedro) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. Please try to obtain a valgrind log following the instructions at https://wiki.ubuntu.com/Valgrind and attach the file to the bug report. This will greatly help us in tracking down your problem.

Changed in rhythmbox (Ubuntu):
status: New → Incomplete
visibility: private → public
Revision history for this message
Pedro Villavicencio (pedro) wrote :

this bug is very similar to bug https://bugzilla.gnome.org/show_bug.cgi?id=551194 on the upstream BTS , but we still need a valgrind log to send upstream and help the developers to fix it, thanks.

Revision history for this message
iGadget (igadget) wrote :

Pedro, thanks for your response. So can you confirm I should do the following (I've never worked with Valgrind before):
-Install Valgrind
-Install rhythmbox-dbg
-Run the following command in a console:
G_SLICE=always-malloc G_DEBUG=gc-friendly valgrind -v --tool=memcheck --leak-check=full --num-callers=40 --log-file=valgrind.log /usr/bin/rhythmbox %U
-Try to reproduce the bug
-Pack the Valgrind logfile and attach it here

Please let me know.

Revision history for this message
iGadget (igadget) wrote :

Decided to go ahead and try it before getting your answer (if my procedure is wrong I can always try again, right?). What surprises me is the following:
-I create a new playlist on the iPhone through Rhythmbox. A sync action is called, which seems to finish succesfully.
-I then rename the newly created playlist to 'test'. Again, a sync action is called, which also seems to finish succesfully.
-When I look on the iPhone, there's no playlist present, however (different bug?).
-I finally drag some test mp3's onto the playlist I just created... and nothing happens. I tried again a second and a third time - just nothing. Nothing gets displayed in the logs, rhythmbox does nothing, the iPhone doesn't sync... Just nothing happens.

It's kind of hard to reproduce a bug when the step leading to the bug fails entirely... :(

I attached a video of what happens. Feel free to remove it if it's not useful.

Now what?

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

Yes, that what you need to do.

Revision history for this message
iGadget (igadget) wrote :

Pedro, thanks for answering my question in #7. But I guess you missed #8. Can you help me that one?

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

Ok, so -When I look on the iPhone, there's no playlist present, however (different bug?). <- this is a different issue and it's known to not work fine on iPod devices, might be the same on the iPhone since the database is similar. And those issues you're describing are separates issues, here we're tracking the crash, feel free to open new bug reports for such problems though, thanks in advance.

Changed in rhythmbox:
status: Unknown → New
Changed in rhythmbox:
importance: Unknown → Critical
Changed in rhythmbox:
status: New → Incomplete
Changed in rhythmbox:
status: Incomplete → Expired
Revision history for this message
Omer Akram (om26er) wrote :

the upstream bug has been closed as obsolete due to lack of information. since there have been no duplicates to this bug report. I am closing this bug now but feel free to report any other bugs you may find.

Changed in rhythmbox (Ubuntu):
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.