GNOME Bugzilla – Bug 442378
0.11 ipod eject = crash
Last modified: 2007-06-02 10:12:13 UTC
The bug has been opened on https://bugs.launchpad.net/ubuntu/+source/rhythmbox/+bug/117724 "Binary package hint: rhythmbox rhythmbox 0.11.0-0ubuntu1 when hitting the eject button rhythmbox crashes gdb says: Program received signal SIGSEGV, Segmentation fault. [Switching to Thread -1230506288 (LWP 16240)] 0xb7eaf04d in rb_source_delete_thyself () from /usr/lib/librhythmbox-core.so.0 (gdb) nothing before regarding the crash ... first you select the ipod in the left list, then click on the "eject this device" button in the toolbar, near the visual effects one. The same behavior if I use eject from right clicking on the ipod name. I can eject the ipod through the drivemount applet and the desktop without problems. ...
+ Trace 136856
Thread 1 (Thread -1230203184 (LWP 20154))
Created attachment 89077 [details] [review] Fix attempt Hopefully this patch should fix that crash. The rb-source.c hunk adds a g_return_if_fail to make sure rb doesn't crash when rb_source_delete_thyself is called with a NULL param. The rb-ipod-source.c hunk is only worth testing if the reporter has smart playlists on his ipod, but if that's the case, that should fix the crash. I haven't tested if that patch compiles, it may need a few adjustments ;)
(In reply to comment #1) > Created an attachment (id=89077) [edit] > Fix attempt > Compile tested with svn trunk
I don't understand why it need playlists to work..
Maybe I understood now: I had a strange playlist with no title, the cause might be it, because now that I removed it the eject is ok, and now in rhythmbox I can see other playlists too! (before I couldn't)
the crash happens after creating a smart playlist with gtkpod, the patch makes it work correctly
To tell the truth I have never created such playlist I've just installed gtkpod to remove every playlist...
Committed to svn thanks.
Ok it works now, it must have been itunes! Thank you very much