Banshee crashes during sync

Bug #630941 reported by John Emhoff
22
This bug affects 5 people
Affects Status Importance Assigned to Milestone
banshee (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

Binary package hint: banshee

Banshee segfaults when it tries to sync songs to my MTP device. The console output is:

$ banshee
[Info 11:49:12.981] Running Banshee 1.6.1: [Ubuntu 10.04 LTS (linux-gnu, x86_64) @ 2010-06-18 18:47:49 UTC]
[Info 11:49:13.785] All services are started 0.650639
[Info 11:49:14.464] nereid Client Started
Device 0 (VID=0781 and PID=74c2) is a SanDisk Sansa Fuze v2.
[Info 11:49:38.185] Uncached artwork size 170 requested
Segmentation fault

$ lsb_release -rd
Description: Ubuntu 10.04.1 LTS
Release: 10.04

$ apt-cache policy banshee
banshee:
  Installed: 1.6.1-1~lucid1
  Candidate: 1.6.1-1~lucid1
  Version table:
 *** 1.6.1-1~lucid1 0
        500 http://ubuntu.media.mit.edu/ubuntu/ lucid-updates/universe Packages
        100 /var/lib/dpkg/status
     1.6.0-1 0
        500 http://ubuntu.media.mit.edu/ubuntu/ lucid/universe Packages

Revision history for this message
Victor Vargas (kamus) wrote :

What kind of MTP device do you have (Brand and model)?

Changed in banshee (Ubuntu):
importance: Undecided → Medium
Revision history for this message
John Emhoff (john-timeburger) wrote : Re: [Bug 630941] Re: Banshee crashes during sync

It's a Sandisk Sansa Fuze; let me know if there's any other information that
would be helpful.

On Sun, Oct 31, 2010 at 10:35 AM, Kamus <email address hidden> wrote:

> What kind of MTP device do you have (Brand and model)?
>
> ** Changed in: banshee (Ubuntu)
> Importance: Undecided => Medium
>
> --
> Banshee crashes during sync
> https://bugs.launchpad.net/bugs/630941
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in “banshee” package in Ubuntu: New
>
> Bug description:
> Binary package hint: banshee
>
> Banshee segfaults when it tries to sync songs to my MTP device. The console
> output is:
>
> $ banshee
> [Info 11:49:12.981] Running Banshee 1.6.1: [Ubuntu 10.04 LTS (linux-gnu,
> x86_64) @ 2010-06-18 18:47:49 UTC]
> [Info 11:49:13.785] All services are started 0.650639
> [Info 11:49:14.464] nereid Client Started
> Device 0 (VID=0781 and PID=74c2) is a SanDisk Sansa Fuze v2.
> [Info 11:49:38.185] Uncached artwork size 170 requested
> Segmentation fault
>
> $ lsb_release -rd
> Description: Ubuntu 10.04.1 LTS
> Release: 10.04
>
> $ apt-cache policy banshee
> banshee:
> Installed: 1.6.1-1~lucid1
> Candidate: 1.6.1-1~lucid1
> Version table:
> *** 1.6.1-1~lucid1 0
> 500 http://ubuntu.media.mit.edu/ubuntu/ lucid-updates/universe
> Packages
> 100 /var/lib/dpkg/status
> 1.6.0-1 0
> 500 http://ubuntu.media.mit.edu/ubuntu/ lucid/universe Packages
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/ubuntu/+source/banshee/+bug/630941/+subscribe
>

Revision history for this message
Victor Vargas (kamus) wrote :

John, please could you run in a terminal "banshee --debug" and attach all the output information in a text file.

Revision history for this message
David Nielsen (davidnielsen-deactivatedaccount) wrote :

Could be: https://bugzilla.gnome.org/show_bug.cgi?id=614039

Regardless a lot of sync and mtp bugs were fixed for 1.8.0 and beyond. Can you pleqase retest with the Banshee daily ppa?

Revision history for this message
Victor Vargas (kamus) wrote :

John, like David said, please could you try to reproduce this issue using banshee ppa that has 1.8.0 release?

Changed in banshee (Ubuntu):
status: New → Incomplete
Revision history for this message
John Emhoff (john-timeburger) wrote :

It seems like syncing with 1.8.0 doesn't work either. Instead of a segfault, it looks like every song results in an error (i.e., it cycles through all 600-ish songs in my library very quickly and accumulates about 600 errors) and then crashes with this exception:

Unhandled Exception: System.ArgumentNullException: Argument cannot be null.
Parameter name: obj
  at Banshee.Dap.Mtp.MtpSource.SyncPlaylists () [0x00000] in <filename unknown>:0
  at Banshee.Dap.DapSync.RateLimitedSync () [0x00000] in <filename unknown>:0
  at Banshee.Base.RateLimiter.InnerExecute () [0x00000] in <filename unknown>:0
  at Banshee.Base.RateLimiter.Execute () [0x00000] in <filename unknown>:0
  at Banshee.Dap.DapSync.<Sync>m__13 () [0x00000] in <filename unknown>:0

$ apt-cache policy banshee
banshee:
  Installed: 1.8.0-2ubuntu1~maverick2
  Candidate: 1.8.0-2ubuntu1~maverick2
  Version table:
 *** 1.8.0-2ubuntu1~maverick2 0
        500 http://us.archive.ubuntu.com/ubuntu/ maverick-updates/universe amd64 Packages
        100 /var/lib/dpkg/status
     1.8.0-1ubuntu1~hyper1+maverick 0
        500 http://ppa.launchpad.net/banshee-team/ppa/ubuntu/ maverick/main amd64 Packages
     1.7.6-0ubuntu1 0
        500 http://us.archive.ubuntu.com/ubuntu/ maverick/universe amd64 Packages

Revision history for this message
John Emhoff (john-timeburger) wrote :

Okay, so I tried again with banshee --debug with the intent of uploading the output here, but for whatever reason the sync seems to have mostly worked. 23 out of 605 songs failed with the message below. One of the lines claims that all storage is full or corrupt, but this seems unlikely considering the device says it has >6GB free and the 23 failures were not the last 23 songs to be sync'd.

Caught an exception - Mtp.LibMtpException: PTP Layer error 02ff: get_storage_freespace(): could not get storage info. (in `')

Mtp.LibMtpException: (Look this up in ptp.h for an explanation.) (in `')

Mtp.LibMtpException: check_if_file_fits(): error checking free storage. (in `')

Mtp.LibMtpException: get_writeable_storageid(): all device storage is full or corrupt. (in `')

Mtp.LibMtpException: PTP Layer error 02ff: send_file_object_info(): Could not send object info. (in `')

Mtp.LibMtpException: (Look this up in ptp.h for an explanation.) (in `')

Mtp.LibMtpException: LIBMTP_Send_Track_From_File_Descriptor(): subcall to LIBMTP_Send_File_From_File_Descriptor failed. (in `Mtp')
  at Mtp.LibMtpException.CheckErrorStack (Mtp.MtpDeviceHandle handle) [0x00000] in <filename unknown>:0
  at Mtp.Track.SendTrack (Mtp.MtpDeviceHandle handle, System.String path, Mtp.TrackStruct& metadata, Mtp.ProgressFunction callback, IntPtr data) [0x00000] in <filename unknown>:0
  at Mtp.MtpDevice.UploadTrack (System.String path, Mtp.Track track, Mtp.Folder folder, Mtp.ProgressFunction callback) [0x00000] in <filename unknown>:0
  at Banshee.Dap.Mtp.MtpSource.AddTrackToDevice (Banshee.Collection.Database.DatabaseTrackInfo track, Hyena.SafeUri fromUri) [0x00000] in <filename unknown>:0
  at Banshee.Dap.DapSource.AttemptToAddTrackToDevice (Banshee.Collection.Database.DatabaseTrackInfo track, Hyena.SafeUri fromUri) [0x00000] in <filename unknown>:0
  at Banshee.Dap.DapSource.AddTrackAndIncrementCount (Banshee.Collection.Database.DatabaseTrackInfo track) [0x00000] in <filename unknown>:0
  at Banshee.Sources.PrimarySource.AddTrackList (System.Object cached_list) [0x00000] in <filename unknown>:0
[1 Warn 12:11:38.310] Forcefully breaking out of RCS loop b/c change in total_width less than 1.0

Revision history for this message
folkg (graemefolk) wrote :

I am using a Creative Zii EGG. There is no problem when I sync on Windows, so I wonder if this is a libmtp problem or a banshee problem. I also get the same message as John.

[Warn 13:35:17.324] Caught an exception - Mtp.LibMtpException: PTP Layer error 02ff: create_new_abstract_list(): could not add tracks as object references. (in `')

Mtp.LibMtpException: (Look this up in ptp.h for an explanation.) (in `')

Mtp.LibMtpException: PTP Layer error 02fe: get_storage_freespace(): could not get storage info. (in `')

Mtp.LibMtpException: (Look this up in ptp.h for an explanation.) (in `')

Mtp.LibMtpException: check_if_file_fits(): error checking free storage. (in `')

Mtp.LibMtpException: get_writeable_storageid(): all device storage is full or corrupt. (in `')

Mtp.LibMtpException: PTP Layer error 2008: send_file_object_info():Could not send object property list. (in `')

Mtp.LibMtpException: (Look this up in ptp.h for an explanation.) (in `')

Mtp.LibMtpException: LIBMTP_Send_Track_From_File_Descriptor(): subcall to LIBMTP_Send_File_From_File_Descriptor failed. (in `Mtp')
  at Mtp.LibMtpException.CheckErrorStack (Mtp.MtpDeviceHandle handle) [0x00000] in <filename unknown>:0
  at Mtp.Track.SendTrack (Mtp.MtpDeviceHandle handle, System.String path, Mtp.TrackStruct& metadata, Mtp.ProgressFunction callback, IntPtr data) [0x00000] in <filename unknown>:0
  at Mtp.MtpDevice.UploadTrack (System.String path, Mtp.Track track, Mtp.Folder folder, Mtp.ProgressFunction callback) [0x00000] in <filename unknown>:0
  at Banshee.Dap.Mtp.MtpSource.AddTrackToDevice (Banshee.Collection.Database.DatabaseTrackInfo track, Hyena.SafeUri fromUri) [0x00000] in <filename unknown>:0
  at Banshee.Dap.DapSource.AttemptToAddTrackToDevice (Banshee.Collection.Database.DatabaseTrackInfo track, Hyena.SafeUri fromUri) [0x00000] in <filename unknown>:0
  at Banshee.Dap.DapSource.AddTrackAndIncrementCount (Banshee.Collection.Database.DatabaseTrackInfo track) [0x00000] in <filename unknown>:0
  at Banshee.Sources.PrimarySource.AddTrackList (System.Object cached_list) [0x00000] in <filename unknown>:0

Revision history for this message
Victor Vargas (kamus) wrote :

Please could be possible if you can try to reproduce this issue with latest release available from daily ppa repository? there is a 1.9.2 release there that has lot of improvements, features and fixes.

Revision history for this message
Victor Vargas (kamus) wrote :

We are closing this bug report because it lacks the information we need to investigate the problem, as described in the previous comments. Please reopen it if you can give us the missing information, and don't hesitate to submit bug reports in the future. To reopen the bug report you can click on the current status, under the Status column, and change the Status back to "New". Thanks again!

Changed in banshee (Ubuntu):
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.