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 317087 - When iPod is plugged in, rhythmbox crashes on startup.
When iPod is plugged in, rhythmbox crashes on startup.
Status: RESOLVED FIXED
Product: rhythmbox
Classification: Other
Component: general
0.9.x
Other All
: High critical
: ---
Assigned To: RhythmBox Maintainers
RhythmBox Maintainers
: 326209 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2005-09-24 05:43 UTC by Jeremy Teale
Modified: 2006-03-05 18:25 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
gdb output (6.19 KB, text/plain)
2005-09-24 12:08 UTC, Jeremy Teale
Details

Description Jeremy Teale 2005-09-24 05:43:24 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 ()

Thread 1 (Thread -1225279808 (LWP 8053))

  • #0 __kernel_vsyscall
  • #1 __waitpid_nocancel
    from /lib/tls/i686/cmov/libpthread.so.0
  • #2 libgnomeui_module_info_get
    from /usr/lib/libgnomeui-2.so.0
  • #3 <signal handler called>
  • #4 __kernel_vsyscall
  • #5 raise
    from /lib/tls/i686/cmov/libc.so.6
  • #6 abort
    from /lib/tls/i686/cmov/libc.so.6
  • #7 g_logv
    from /usr/lib/libglib-2.0.so.0
  • #8 g_log
    from /usr/lib/libglib-2.0.so.0
  • #9 g_malloc
    from /usr/lib/libglib-2.0.so.0
  • #10 rb_ipod_source_new
  • #11 ipod_get_next_item
  • #12 rb_ipod_source_new
  • #13 g_child_watch_add
    from /usr/lib/libglib-2.0.so.0
  • #14 g_main_context_dispatch
    from /usr/lib/libglib-2.0.so.0
  • #15 g_main_context_check
    from /usr/lib/libglib-2.0.so.0
  • #16 g_main_loop_run
    from /usr/lib/libglib-2.0.so.0
  • #17 bonobo_main
    from /usr/lib/libbonobo-2.so.0
  • #18 main
  • #0 __kernel_vsyscall

Other information:
This only happens when the iPod is plugged in and did not occur on
previous versions of RB.
Comment 1 Sebastien Bacher 2005-09-24 11:48:24 UTC
no reason to close it. The Ubuntu equivalent is:
http://bugzilla.ubuntu.com/show_bug.cgi?id=16088

Can you get a debug backtrace?
Comment 2 Jeremy Teale 2005-09-24 12:08:50 UTC
Created attachment 52595 [details]
gdb output

As the doctor ordered...
Comment 3 Baptiste Mille-Mathias 2005-09-24 12:14:37 UTC
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 4 Jeremy Teale 2005-09-24 12:18:02 UTC
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


Comment 5 Jeremy Teale 2005-09-24 12:27:32 UTC
Should I format my iPod to rule out any itunesdb weirdness? The iPod works fine
in GTKPod and iTunes on OS X.
Comment 6 James "Doc" Livingston 2005-09-24 12:36:39 UTC
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.
Comment 7 Christophe Fergeau 2005-09-26 09:29:35 UTC
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... 
Comment 8 Jeremy Teale 2005-09-26 11:46:57 UTC
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.
Comment 9 Christophe Fergeau 2005-09-26 11:55:50 UTC
Could you test with a fresh ipod library with no podcast at all on it?
Comment 10 Jeremy Teale 2005-09-26 12:24:15 UTC
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?
Comment 11 Christophe Fergeau 2005-09-26 12:28:07 UTC
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 ;)
Comment 12 Sebastien Bacher 2006-01-08 18:18:19 UTC
*** Bug 326209 has been marked as a duplicate of this bug. ***
Comment 13 Christophe Fergeau 2006-03-05 18:25:03 UTC
Rb now uses libgpod, please reopen if that's still reproduceable with recent versions.