Bug 157382 - banshee segfaults on start with a mounted iPod device
Summary: banshee segfaults on start with a mounted iPod device
Status: RESOLVED FIXED
: 157384 157385 157424 157486 (view as bug list)
Alias: None
Product: SUSE Linux 10.1
Classification: openSUSE
Component: GNOME (show other bugs)
Version: RC 1
Hardware: i686 SuSE Linux 10.1
: P5 - None : Major (vote)
Target Milestone: ---
Assignee: Aaron Bockover
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-11 02:03 UTC by Martin Szulecki
Modified: 2006-04-24 16:12 UTC (History)
1 user (show)

See Also:
Found By: Beta-Customer
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
Native GDB Backtrace (1.58 KB, text/plain)
2006-04-10 19:20 UTC, Martin Szulecki
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Szulecki 2006-03-11 02:03:45 UTC
banshee segfaults on startup when my iPod (FAT32) 3G Firewire is mounted.

Command Line:
---
<:~/> banshee
Warning: [3/11/2006 2:52:17 AM] (Cannot connect to NetworkManager) - An available, working network connection will be assumed
Debug: [3/11/2006 2:52:18 AM] (Changed active playback engine) - GStreamer
Debug: [3/11/2006 2:52:18 AM] (Loaded primary playback engine) - GStreamer
Debug: [3/11/2006 2:52:18 AM] (Loaded Audio CD playback engine) - GStreamer
Debug: [3/11/2006 2:52:18 AM] (Audio CD Core Initialized) -
Segmentation fault
---

Description:

I THINK this does not affect regular iPod users as mine contains iPodlinux which resides on an extra ext3 partition on the iPod disk. I assume some routines (or libraries) in banshee do not compensate for this and might get "disturbed" by the two "iPod's". (However unmounting the ext3 partition did not help. Only unounting the main iPod partition makes banshee startup. I hope banshee does not generally fail with an iPod mounted.)

Details:

Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/sdb2              9700344   1725896   7974448  18% /media/IPOD-1
/dev/sdb3                31109     10252     19251  35% /media/disk

/dev/sdb2 on /media/IPOD-1 type vfat (rw,nosuid,nodev,flush,shortname=winnt,utf8,uid=1000)
/dev/sdb3 on /media/disk type ext3 (rw,nosuid,nodev)

Installed package(s):

- banshee-devel (0.10.7-3 / _0.10.7-3)
- banshee-debuginfo (0.10.7-3 / _0.10.7-3)
- banshee (0.10.7-3 / _0.10.7-3)
- banshee-engine-gst (0.10.7-3 / _0.10.7-3)
- banshee-plugins-default (0.10.7-3 / _0.10.7-3)

Attempts to fix it WITHOUT success (same segfault):

- Reinstalled all packages
- umount /media/disk/ (unmount that supposingly problematic partition)

Attempts to fix with success:

- Unmount iPod device
- Use Rhythmbox instead

Debug:

*** I don't know how to supply a backtrace/debugging information as it is a mono application. Will supply anything you need for debugging purposes if required. ***
Comment 1 Christian Boltz 2006-03-11 12:05:39 UTC
*** Bug 157384 has been marked as a duplicate of this bug. ***
Comment 2 Christian Boltz 2006-03-11 12:05:48 UTC
*** Bug 157385 has been marked as a duplicate of this bug. ***
Comment 3 Christian Boltz 2006-03-11 12:10:41 UTC
IMHO, a segfault can't be minor...

BTW, your description sounds like the ext3 partition doesn't have to do much with the problem - but I'm not sure about that.
What happens if you umount the vfat partition and keep the ext3 mounted?
Comment 4 Martin Szulecki 2006-03-11 13:07:30 UTC
*** Bug 157424 has been marked as a duplicate of this bug. ***
Comment 5 Martin Szulecki 2006-03-11 13:13:35 UTC
Unmounting the regular IPOD partition prevents the crash to happen.
So assuming more or less the ext3 partition has not much to do with the problem.

Comment #4 above's bug-duplicate contains more information including backtrace which points to a problem in libipoddevice.

...
#17 0xb3106538 in ipod_device_new () from /usr/lib/libipoddevice.so.0
..

BTW: Sorry for duplicates however yesterday the novell site took a long time to react when commiting and I was prepsented with an error site (site timeout) where I was not aware that the bugreport had infact already been posted...
Comment 6 Christian Boltz 2006-03-12 19:31:54 UTC
*** Bug 157486 has been marked as a duplicate of this bug. ***
Comment 7 Christian Boltz 2006-03-12 19:33:11 UTC
BTW: Bug 157486 includes a stacktrace.
Comment 8 Martin Szulecki 2006-04-10 19:20:16 UTC
Created attachment 77609 [details]
Native GDB Backtrace
Comment 9 Martin Szulecki 2006-04-11 10:57:02 UTC
Bug applies to all 2G and lower generation iPod's with which banshee won't work.

Issue was in libipoddevice 0.4.1.

Bug fixed in CVS Head and upcoming 0.4.3 (http://bugzilla.gnome.org/show_bug.cgi?id=338006).
Comment 10 Martin Szulecki 2006-04-21 14:28:34 UTC
I recommend upgrading the package to the latest version from here:

http://banshee-project.org/Subprojects/Libipoddevice

Just bumbing this, as it is very easy to fix and I got fears it won't make it into the release of 10.1. (Will draw banshee unusable for all 1G and 2G iPod owners)
Comment 11 JP Rosevear 2006-04-24 16:12:21 UTC
We work closely with Aaron on banshee issues.  I've submitted the fix for RC3.

Also bumping up the severity, this did actually turn out to be pretty critical.