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 325034 - Don't display extra partitions on ipods
Don't display extra partitions on ipods
Status: RESOLVED FIXED
Product: rhythmbox
Classification: Other
Component: Removable Media
0.9.x
Other other
: High major
: ---
Assigned To: RhythmBox Maintainers
RhythmBox Maintainers
Depends on:
Blocks: 338564
 
 
Reported: 2005-12-27 02:18 UTC by macros56
Modified: 2007-11-18 18:36 UTC
See Also:
GNOME target: ---
GNOME version: 2.11/2.12


Attachments
Look for the iPod database even if we are using HAL (2.04 KB, patch)
2006-04-15 09:50 UTC, Christophe Fergeau
accepted-commit_after_freeze Details | Review

Description macros56 2005-12-27 02:18:30 UTC
Distribution: Ubuntu 5.10 (breezy)
Package: rhythmbox
Severity: critical
Version: GNOME2.12.1 0.9.x
Gnome-Distributor: Ubuntu
Synopsis: Crash on Startup
Bugzilla-Product: rhythmbox
Bugzilla-Component: CORBA interface
Bugzilla-Version: 0.9.x
BugBuddy-GnomeVersion: 2.0 (2.12.0)
Description:
Description of the crash:
TAs rhythmbox loads up, a crash occurs.  I have my iPod currently
connected and I haven't tried to restart my computer.

Steps to reproduce the crash:
1. Start rhythmbox

Expected Results:
Crash forcing rhythmbox to quit

How often does this happen?
Every time, however, I haven't restarted my computer

Additional Information:



Debugging Information:

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)
(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 -1225468224 (LWP 21534)]
[New Thread -1235407952 (LWP 21536)]
[New Thread -1227015248 (LWP 21535)]
(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)
(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 -1225468224 (LWP 21534))

  • #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_assert_warning
    from /usr/lib/libglib-2.0.so.0
  • #10 rb_ipod_source_get_type
  • #11 g_child_watch_add
    from /usr/lib/libglib-2.0.so.0
  • #12 g_main_context_dispatch
    from /usr/lib/libglib-2.0.so.0
  • #13 g_main_context_check
    from /usr/lib/libglib-2.0.so.0
  • #14 g_main_loop_run
    from /usr/lib/libglib-2.0.so.0
  • #15 bonobo_main
    from /usr/lib/libbonobo-2.so.0
  • #16 main
  • #0 __kernel_vsyscall




------- Bug created by bug-buddy at 2005-12-27 02:18 -------

Comment 1 James "Doc" Livingston 2006-01-12 09:54:43 UTC
Thanks for the bug report. Unfortunately, that stack trace is not very useful in determining the cause of the crash. Can you get us one with debugging symbols? Please see http://live.gnome.org/GettingTraces for more information on how to do so.
Comment 2 macros56 2006-01-13 22:49:37 UTC
Hi James,

I've kinda figured out part of the problem.  I had linux on my ipod and it seems that even after I installed it, it left an ext3 partition on it.  When I unmount the linux partition from my computer and run rhythmbox the problem doesn't occur anymore.  However, if the ext3 partition is mounted rhythmbox crashes.  I'll try to get the debug info up if you still think this problem is worth dealing with.  I'm planning on maybe just reformatting my ipod anyways.  Thanks, James.

Josh
Comment 3 macros56 2006-01-13 22:50:47 UTC
Oops installed on my last comment is supposed to say uninstalled.

Josh
Comment 4 James "Doc" Livingston 2006-01-14 03:44:55 UTC
Getting a backtrace would be very handy.

I fairly sure I can guess what the problem is anyway: when using HAL, rb_ipod_is_volume_ipod will return TRUE for every partition on the ipod, not just the one with the DB. It probably shouldn't do this, since we only want to load the one that contains the DB.
Comment 5 macros56 2006-01-15 00:21:43 UTC
Ok I'll get that backtrace and debugging symbols up as soon as I can.  I'll even leave the linux partition to see if the crash still occurs after make the changes with rb_ipod_is_volume_ipod.  
Comment 6 macros56 2006-01-15 17:58:51 UTC
Hi James,

Here's what I got using gdb with bug buddy to get stack traces.  I'm not sure if this actually has debugging symbols.

Thread 1 (Thread -1225066816 (LWP 10357))

  • #0 ??
  • #1 ??
  • #2 ??
  • #3 ??
  • #4 __waitpid_nocancel
    from /lib/tls/i686/cmov/libpthread.so.0
  • #5 libgnomeui_module_info_get
    from /usr/lib/libgnomeui-2.so.0
  • #6 <signal handler called>
  • #7 ??
  • #8 ??
  • #9 ??
  • #10 ??
  • #11 raise
    from /lib/tls/i686/cmov/libc.so.6
  • #12 abort
    from /lib/tls/i686/cmov/libc.so.6
  • #13 IA__g_logv
    at gmessages.c line 497
  • #14 IA__g_log
    at gmessages.c line 517
  • #15 IA__g_assert_warning
    at gmessages.c line 552
  • #16 rb_ipod_source_get_type
  • #17 g_idle_dispatch
    at gmain.c line 3813
  • #18 IA__g_main_context_dispatch
    at gmain.c line 1934
  • #19 g_main_context_iterate
    at gmain.c line 2565
  • #20 IA__g_main_loop_run
    at gmain.c line 2769
  • #21 bonobo_main
    from /usr/lib/libbonobo-2.so.0
  • #22 main
  • #0 ??

Comment 7 James "Doc" Livingston 2006-01-16 05:07:58 UTC
I'm fairly sure that this has been fixed in cvs by other changes, so shouldn't occur. We shouldn't display sources for volumes with a db, though.
Comment 8 James "Doc" Livingston 2006-01-24 23:54:30 UTC
Retitling bug.
Comment 9 Alex Lancaster 2006-02-15 05:17:39 UTC
Moving to "Removable Media" component.
Comment 10 Christophe Fergeau 2006-04-15 09:13:45 UTC
Josh, is that still happening with CVS HEAD ?
Comment 11 James "Doc" Livingston 2006-04-15 09:31:24 UTC
If RB is build against HAL, it uses the result of hal_udi_is_ipod, without checking for the db file. hal_udi_is_ipod simply checks whether the device that is the parent of the volume is an iPod, so extra volumes that are on an iPod (which have no db file) are also detected.

Basically, we should look for the db file (or use some libgpod function) even when HAL says it's an ipod.
Comment 12 Christophe Fergeau 2006-04-15 09:50:56 UTC
Created attachment 63547 [details] [review]
Look for the iPod database even if we are using HAL

This makes the iPod source always tests if an iPod database is available even if hal is used (HAL is only used to filter out non-iPod volumes). We should test for some other file though if we want to be able to support empty iPods.
Comment 13 James "Doc" Livingston 2006-04-15 10:03:27 UTC
Looks good.

I'm not sure how we want to check for an ipod that has no volumes with a db file.
Comment 14 Christophe Fergeau 2006-04-15 10:16:36 UTC
The DB file is not there when an iPod is empty, but some files are automatically added by the iPod firmware even if they are removed (eg there's a DeviceInfo file or whatever it's named containing the iPod serial number and things like that which is always present from my experience). 
Comment 15 Christophe Fergeau 2006-04-16 10:20:53 UTC
I committed that, hopefully that will fix the problem, feel free to reopen if you are still having issues (this has been committed after the 0.9.4 release).
Comment 16 Jamin W. Collins 2007-11-18 18:36:31 UTC
I know this is listed as FIXED.  However, I recently added an ext3 partition to my iPod and Rhythmbox is displaying both the vfat partition and the new (currently empty) ext3 partition.  This is under v0.9.6, which based on the comments in this thread should have the correction applied.