Banshee freezes on copying to iPod music which needs transcoding

Bug #1159513 reported by Tommaso R. Donnarumma
32
This bug affects 5 people
Affects Status Importance Assigned to Milestone
banshee (Ubuntu)
Fix Released
Undecided
Unassigned
Raring
Fix Released
Undecided
Chow Loong Jin

Bug Description

After updating to raring, Banshee freezes each time I try to import to an iPod any music file which needs transcoding (i.e., FLAC and OGG). Importing music which doesn't need transcoding works, so the problem seems to be with the transcoding process itself and not with the iPod interaction.

I am able to transcode the files manually with SoundConverter, though I usually need to start the process two or three times and I still get spurious error messages (typically, the message says the output file cannot be saved, although the output file IS correctly saved and it plays back just fine).

This too is new since the upgrade. I do not know if the two problems are related and if they indicate a deeper problem in the GStreamer stack. Please let me know if there is any further testing that I can perform to help assess the problem. Please also let me know if you wish me to report separate bugs against SoundCoverter and/or GStreamer.

TEST CASE:
1. Launch Banshee
2. Attach an iPod
3. Attempt to transfer files which are not natively supported on iPods (e.g. flac, ogg)
4. Observe to see if the transcoding and transfer finishes successfully.

If the bug is present, Banshee freezes halfway and does not complete the transfer.

REGRESSION POTENTIAL:
Not much. The patch appears to be fairly localized between the BPM detection and transcoding bits, and should fix Banshee freezing while performing BPM detection as well.

Aside from the aforementioned two features, nothing else should be affected.

Revision history for this message
Tommaso R. Donnarumma (tawmas) wrote :
Revision history for this message
Joeri Eilander (fazioliamboina-deactivatedaccount) wrote :

hello,

could you maybe attach a screenshot of this issue? also, does this issue happen on 12.10? or just now after upgrade? and could you please run "apport-collect 1159513" in a terminal on your 13.04 installation?

thanks in advance.

Changed in banshee (Ubuntu):
status: New → Incomplete
Revision history for this message
Chow Loong Jin (hyperair) wrote : Re: [Bug 1159513] Re: Banshee freezes on copying to iPod music which needs transcoding

On 25/03/2013 05:45, Joeri Eilander wrote:
> hello,
>
> could you maybe attach a screenshot of this issue? also, does this issue
> happen on 12.10? or just now after upgrade? and could you please run
> "apport-collect 1159513" in a terminal on your 13.04 installation?
>
> thanks in advance.

Rather than that, could you follow the instructions in
http://banshee.fm/contribute/file-bugs/ to get a complete debug log when it
crashes please?

  status incomplete

--
Kind regards,
Loong Jin

Revision history for this message
Tommaso R. Donnarumma (tawmas) wrote :

This is the stak trace I get in the error popup:

An unhandled exception was thrown: Object reference not set to an instance of an object

at Banshee.Sources.PrimarySource.IncrementAddedTracks () <0x0004d>
at Banshee.Dap.DapSource.OnTrackTranscodeError (Banshee.Collection.TrackInfo) <0x00067>
at Banshee.MediaEngine.TranscoderService.OnError (object,Banshee.MediaEngine.TranscoderErrorArgs) <0x0007c>
at Banshee.GStreamer.Transcoder.OnError (Banshee.Collection.TrackInfo,string) <0x00063>
at Banshee.GStreamer.Transcoder.OnNativeError (intptr,intptr,intptr) <0x000f4>
at (wrapper native-to-managed) Banshee.GStreamer.Transcoder.OnNativeError (intptr,intptr,intptr) <0x00083>
at (wrapper managed-to-native) Gtk.Application.gtk_main () <0x00054>
at Gtk.Application.Run () <0x0000b>
at Banshee.Gui.GtkBaseClient.Run () <0x0005f>
at Banshee.Gui.GtkBaseClient.Startup () <0x00049>
at Hyena.Gui.CleanRoomStartup.Startup (Hyena.Gui.CleanRoomStartup/StartupInvocationHandler) <0x0008e>

I'm attaching the whole contents of banshee.log as requested.

Revision history for this message
Tommaso R. Donnarumma (tawmas) wrote :

Looking into banshee.log, the underlying problem seems to be the following:

[Error 19:09:33.070] Cannot Convert File - GStreamer encountered a general stream error.: gstbaseparse.c(3038): gst_base_parse_loop (): /GstPipeline:pipeline/GstDecodeBin:decodebin/GstFlacParse:flacparse0:
streaming stopped, reason not-linked

Changed in banshee (Ubuntu):
status: Incomplete → New
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in banshee (Ubuntu):
status: New → Confirmed
Revision history for this message
Alan Birstok (alanbir) wrote :

I have been having this issue and am now getting around to looking at it. I think it has something to do with gstreamer and not banshee.

Revision history for this message
Chow Loong Jin (hyperair) wrote :

On Tue, Jun 11, 2013 at 01:32:00AM -0000, Alan Birstok wrote:
> I have been having this issue and am now getting around to looking at
> it. I think it has something to do with gstreamer and not banshee.

Could you try the packages from https://launchpad.net/~banshee-team/+archive/ppa
and see if they fix the error for you?

  status incomplete

--
Kind regards,
Loong Jin

Changed in banshee (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Tankypon (tankypon) wrote :

I tried the new package of Banshee from the PPA and I detect no problems since the update : now Banshee doesn't crash, the conversion then the import of the musics runs properly. I have the music on my IPod. It seems to work! Anyone can confirm that?

Revision history for this message
David Legg (david-legg) wrote :

After seeing your success I too added the new package from the PPA and upgraded Banshee. It works!

I had been having the same issue as you but using a Samsung Galaxy SII on Ubuntu 13.04.

Revision history for this message
Chow Loong Jin (hyperair) wrote :

On Sat, Jun 15, 2013 at 04:15:29PM -0000, David Legg wrote:
> After seeing your success I too added the new package from the PPA and
> upgraded Banshee. It works!
>
> I had been having the same issue as you but using a Samsung Galaxy SII
> on Ubuntu 13.04.

Great, thanks for your replies. I'll need to get the new patches backported to
Ubuntu 13.04 then.

  affects ubuntu/banshee
  status fixreleased

  affects ubuntu/raring/banshee
  status triaged
  assignee hyperair

--
Kind regards,
Loong Jin

Changed in banshee (Ubuntu):
status: Incomplete → Fix Released
description: updated
Revision history for this message
Brian Murray (brian-murray) wrote : Please test proposed package

Hello Tommaso, or anyone else affected,

Accepted banshee into raring-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/banshee/2.6.1-1ubuntu1.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in banshee (Ubuntu Raring):
status: Triaged → Fix Committed
tags: added: verification-needed
Revision history for this message
Chow Loong Jin (hyperair) wrote : Re: [Bug 1159513] Re: Banshee freezes on copying to iPod music which needs transcoding

Looks like there's a regression in Bug #1193667. I'll make another upload
dropping the BPM portions of the patch.

  tag verification-failed -verification-needed

--
Kind regards,
Loong Jin

Revision history for this message
mark (tiberopoulos) wrote :

Well, I was previously unable to transcode anything in 13.04x64 and 2.6.1. Having shouted at GStreamer for a few weeks I enabled proposed updates just now and I confirm it works on both my Galaxy Note GT-N7000 and several USB .is_audio_player enabled sticks using Mass Storage. Only issue appears that whilst it does actually transfer and transcode all the tracks - it appears not to stop. The lower left hand indicator still continues. However, just starting another sync seems to push off the previous one and all is well.

Thanks.

Changed in banshee (Ubuntu Raring):
status: Fix Committed → Confirmed
tags: removed: verification-failed
Changed in banshee (Ubuntu Raring):
status: Confirmed → Triaged
Revision history for this message
Brian Murray (brian-murray) wrote : Please test proposed package

Hello Tommaso, or anyone else affected,

Accepted banshee into raring-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/banshee/2.6.1-1ubuntu1.2 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in banshee (Ubuntu Raring):
status: Triaged → Fix Committed
tags: added: verification-needed
Revision history for this message
mark (tiberopoulos) wrote :

Yes! I have given 2.6.1-1ubuntu1.2 a decent workover and cannot find any regressions. Transcoding is very stable.
Tks Ubuntu and Chow Loong Jin - with the USB interface improvements and this Banshee fix I now have full portability for my music collection across any device. This is something I have never been able to do in Linux . A major step forward. Thank you very much :)

Revision history for this message
Chow Loong Jin (hyperair) wrote : Re: [Bug 1159513] Re: Banshee freezes on copying to iPod music which needs transcoding

On Sun, Jun 30, 2013 at 06:35:32AM -0000, mark wrote:
> Yes! I have given 2.6.1-1ubuntu1.2 a decent workover and cannot find any
> regressions. Transcoding is very stable. Tks Ubuntu and Chow Loong Jin - with
> the USB interface improvements and this Banshee fix I now have full
> portability for my music collection across any device. This is something I
> have never been able to do in Linux . A major step forward. Thank you very
> much :)

Great, thanks for verifying!

--
Kind regards,
Loong Jin

tags: added: verification-done
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package banshee - 2.6.1-1ubuntu1.2

---------------
banshee (2.6.1-1ubuntu1.2) raring-proposed; urgency=low

  * [13571f2] Disable BPM support.
    It doesn't work prior to the GStreamer patch, and sigabrts with the patch
    due to a SoundTouch bug. (LP: #1193667)

banshee (2.6.1-1ubuntu1.1) raring-proposed; urgency=low

  * [6fe3971] Cherry-pick fix for transcoding exceptions (LP: #1159513)
 -- Chow Loong Jin <email address hidden> Tue, 25 Jun 2013 01:07:25 +0800

Changed in banshee (Ubuntu Raring):
status: Fix Committed → Fix Released
Revision history for this message
Brian Murray (brian-murray) wrote : Update Released

The verification of this Stable Release Update has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regresssions.

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.