GNOME Bugzilla – Bug 317087
When iPod is plugged in, rhythmbox crashes on startup.
Last modified: 2006-03-05 18:25:03 UTC
Steps to reproduce: 1. plugin iPod (I am using gnome-volume-manager) 2. start rhythmbox 3. Stack trace: Backtrace was generated from '/usr/bin/rhythmbox' (no debugging symbols found) Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1". (no debugging symbols found) `system-supplied DSO at 0xffffe000' has disappeared; keeping its symbols. (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) [Thread debugging using libthread_db enabled] [New Thread -1225279808 (LWP 8053)] [New Thread -1235551312 (LWP 8056)] [New Thread -1227158608 (LWP 8055)] (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) 0xffffe410 in __kernel_vsyscall ()
+ Trace 63170
Thread 1 (Thread -1225279808 (LWP 8053))
Other information: This only happens when the iPod is plugged in and did not occur on previous versions of RB.
no reason to close it. The Ubuntu equivalent is: http://bugzilla.ubuntu.com/show_bug.cgi?id=16088 Can you get a debug backtrace?
Created attachment 52595 [details] gdb output As the doctor ordered...
Hello Jeremy. Sorry to inform you this is not a debug backtrace :) Did you installed the debug packages related to gnome (gtk, glib, ...) ? see http://live.gnome.org/GettingTraces/DistroSpecificInstructions, you'll see instruction for ubuntu. It will help us a lot. thanks
Comment on attachment 52595 [details] gdb output (gdb) run Starting program: /usr/bin/rhythmbox [Thread debugging using libthread_db enabled] [New Thread -1224821056 (LWP 12526)] [New Thread -1226699856 (LWP 12529)] [New Thread -1235092560 (LWP 12530)] [New Thread -1235534928 (LWP 12531)] [Thread -1235534928 (LWP 12531) exited] [New Thread -1243931728 (LWP 12532)] [Thread -1243931728 (LWP 12532) exited] GLib-ERROR **: gmem.c:141: failed to allocate 1815031612 bytes aborting... Program received signal SIGABRT, Aborted. [Switching to Thread -1224821056 (LWP 12526)] 0xffffe410 in __kernel_vsyscall () (gdb) thread apply all bt full
+ Trace 63175
Should I format my iPod to rule out any itunesdb weirdness? The iPod works fine in GTKPod and iTunes on OS X.
The problem is that the length of the of a playlist (mhod) is being reported as around 1.8Gb, so it's trying to allocate that much memory. GTKPod and iTunes may have some sanity checking in place, so that it doesn't cause problems for them.
Does that happen if you start rhythmbox and then plug the iPod? I'm a bit clueless about that bug, the iPod database is probably misparsed. I'm about to replace this parsing code with the one from libgpod, so the best thing to do is probably to wait and test if it still happens with this new code...
Yes it does. I reformatted the iPod. When the iPod is blank, the crash does not occur, as would be expected I suppose. I then loaded a few albums and podcasts through iTunes, the crash started ocurring again.
Could you test with a fresh ipod library with no podcast at all on it?
I deleted all of my podcasts via iTunes and the crash no longer happens. No more LugRadio on the iPod for me :( ? Is there anything particularly unique about the way podcasts are added to the DB? Or could it simply be one bad file?
Yeah, Podcasts are pretty different from regular songs, and since they didn't exist when the code was written, it's not that surprising that having podcasts in the DB can confuse RB. The good news is that this should be fixed when I commit the patch to use libgpod instead of the current parsing code ;)
*** Bug 326209 has been marked as a duplicate of this bug. ***
Rb now uses libgpod, please reopen if that's still reproduceable with recent versions.