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 664188 - crash when transcoding from FLAC to MP3 (while syncing device via Banshee)
crash when transcoding from FLAC to MP3 (while syncing device via Banshee)
Status: RESOLVED WONTFIX
Product: banshee
Classification: Other
Component: GStreamer
unspecified
Other Linux
: Normal major
: ---
Assigned To: GStreamer Maintainers
GStreamer Maintainers
gnome[unmaintained]
Depends on:
Blocks:
 
 
Reported: 2011-11-16 11:05 UTC by bugs
Modified: 2020-03-17 09:21 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Log (14.31 KB, text/plain)
2011-11-16 11:05 UTC, bugs
Details
Segfault error (20.32 KB, text/plain)
2011-11-16 11:18 UTC, bugs
Details
Segfault with --debug enabled (36.85 KB, text/plain)
2011-11-16 22:54 UTC, bugs
Details
Full log (9.76 KB, application/x-xz)
2011-11-20 18:08 UTC, bugs
Details

Description bugs 2011-11-16 11:05:27 UTC
Created attachment 201520 [details]
Log

When I try to sync a playlist to my Android Phone, the following occurs:

1) Banshee does not remember my playlist selection choice from previous sync, and occasionally displays three question marks before and after playlist names in the drop down menu. Example: Select playlist to sync: ???ANDROID???

2) Many tracks error out without warning on the GUI side.

3) The status indicates X amount of tracks are waiting to sync to the device, and then that number begins to grow without interaction.

4) Banshee then randomly crashes while syncing. - The main issue.

If the amount of songs I'm interesting in syncing is more than, like, 20, this makes Banshee a pain to use to sync music, because it needs to be constantly reopened, and files on the device are occasionally shorter than the originals. 

Also, I've used GTKPod previously, and iirc its transcoding does about 5 songs in parallel by default. Is there anyway to allow the option for transcoding more than one song at a time? It'd make the process much faster.

Log attached, I believe it may reflect the error. I will attach more as they come.
Thanks
Comment 1 bugs 2011-11-16 11:18:11 UTC
Created attachment 201522 [details]
Segfault error

Banshee just segfaulted when I began the sync. Once again, I needed to set it to sync ???ANDROID???, and as soon as it began, the program crashed (it either does this, or while about 20 songs into the sync).
Comment 2 bugs 2011-11-16 11:18:57 UTC
Could this be multiple errors?
Comment 3 Andrés G. Aragoneses (IRC: knocte) 2011-11-16 11:37:11 UTC
Hi, I'm very interested in the log posted in comment#1. Did you run banshee with the "--debug" argument to get it? If not, can you do it again this way?
Comment 4 Andrés G. Aragoneses (IRC: knocte) 2011-11-16 13:24:36 UTC
Also, can you give us the version of Mono that you're using? (Run "mono --version" in a terminal)
Comment 5 bugs 2011-11-16 22:53:46 UTC
Version info: 
 mono --version
Mono JIT compiler version 2.10.6 (tarball Wed Oct 19 06:33:45 UTC 2011)
Copyright (C) 2002-2011 Novell, Inc, Xamarin, Inc and Contributors. www.mono-project.com
	TLS:           __thread
	SIGSEGV:       altstack
	Notifications: epoll
	Architecture:  amd64
	Disabled:      none
	Misc:          softdebug 
	LLVM:          supported, not enabled.
	GC:            Included Boehm (with typed GC and Parallel Mark)
Comment 6 bugs 2011-11-16 22:54:24 UTC
Created attachment 201563 [details]
Segfault with --debug enabled
Comment 7 David Nielsen 2011-11-20 16:32:46 UTC
This looks like it might be two different issues, at least the first log you provided shows a different issue than the second debug log.

However it would likely be useful if we could see what invalid UTF-8 string is parsed along, so could you please follow the instructions here  to collect a full Debug log rather than just the stacktrace?

https://live.gnome.org/Banshee/CommonQuestions/Logs

Perhaps the locking issue in DAP handling is related to this?
https://bugzilla.gnome.org/show_bug.cgi?id=614039
Comment 8 bugs 2011-11-20 18:07:37 UTC
I don't think it's related. New log attached.
Comment 9 bugs 2011-11-20 18:08:06 UTC
Created attachment 201753 [details]
Full log
Comment 10 bugs 2011-12-05 02:45:18 UTC
bump :)
Comment 11 Andrés G. Aragoneses (IRC: knocte) 2011-12-05 10:13:15 UTC
(In reply to comment #10)
> bump :)

Sorry for the late reply :) Next time try to post logs in txt format, no need to compress them (makes it easy to view them straight away).

I see 2 problems in these log, first problem is this a managed exception which I think it's a Mono bug that is already filed (please confirm by searching in http://bugzilla.xamarin.com/):

[7 Warn  12:58:00.122] Caught an exception - System.ArgumentNullException: Argument cannot be null. (in `mscorlib')
  at System.Int32.Parse (System.String s, NumberStyles style, IFormatProvider provider) [0x00016] in /build/src/mono-2.10.6/mcs/class/corlib/System/Int32.cs:636 
  at System.Int32.Parse (System.String s, NumberStyles style) [0x00000] in /build/src/mono-2.10.6/mcs/class/corlib/System/Int32.cs:206 
  at Banshee.Hardware.Gio.UsbDevice.GetVendorId (IUsbDevice device) [0x00007] in /build/src/banshee-2.2.1/src/Backends/Banshee.Gio/Banshee.Hardware.Gio/UsbDevice.cs:112 
  at Banshee.Hardware.Gio.UsbDevice.get_VendorId () [0x00000] in /build/src/banshee-2.2.1/src/Backends/Banshee.Gio/Banshee.Hardware.Gio/UsbDevice.cs:197 
  at Banshee.Dap.MassStorage.DeviceMapper.Map (Banshee.Dap.MassStorage.MassStorageSource source) [0x00028] in /build/src/banshee-2.2.1/src/Dap/Banshee.Dap.MassStorage/Banshee.Dap.MassStorage/DeviceMapper.cs:44 
  at Banshee.Dap.MassStorage.MassStorageSource.DeviceInitialize (IDevice device) [0x0004d] in /build/src/banshee-2.2.1/src/Dap/Banshee.Dap.MassStorage/Banshee.Dap.MassStorage/MassStorageSource.cs:69 
  at Banshee.Dap.DapService.FindDeviceSource (IDevice device) [0x00025] in /build/src/banshee-2.2.1/src/Dap/Banshee.Dap/Banshee.Dap/DapService.cs:159 
[7 Warn  12:58:00.125] Caught an exception - System.ArgumentNullException: Argument cannot be null. (in `mscorlib')
  at System.Int32.Parse (System.String s, NumberStyles style, IFormatProvider provider) [0x00016] in /build/src/mono-2.10.6/mcs/class/corlib/System/Int32.cs:636 
  at System.Int32.Parse (System.String s, NumberStyles style) [0x00000] in /build/src/mono-2.10.6/mcs/class/corlib/System/Int32.cs:206 
  at Banshee.Hardware.Gio.UsbDevice.GetVendorId (IUsbDevice device) [0x00007] in /build/src/banshee-2.2.1/src/Backends/Banshee.Gio/Banshee.Hardware.Gio/UsbDevice.cs:112 
  at Banshee.Hardware.Gio.UsbDevice.get_VendorId () [0x00000] in /build/src/banshee-2.2.1/src/Backends/Banshee.Gio/Banshee.Hardware.Gio/UsbDevice.cs:197 
  at Banshee.Dap.MassStorage.DeviceMapper.Map (Banshee.Dap.MassStorage.MassStorageSource source) [0x00028] in /build/src/banshee-2.2.1/src/Dap/Banshee.Dap.MassStorage/Banshee.Dap.MassStorage/DeviceMapper.cs:44 
  at Banshee.Dap.MassStorage.MassStorageSource.DeviceInitialize (IDevice device) [0x0004d] in /build/src/banshee-2.2.1/src/Dap/Banshee.Dap.MassStorage/Banshee.Dap.MassStorage/MassStorageSource.cs:69 
  at Banshee.Dap.DapService.FindDeviceSource (IDevice device) [0x00025] in /build/src/banshee-2.2.1/src/Dap/Banshee.Dap/Banshee.Dap/DapService.cs:159 
[1 Debug 12:58:00.738] EqualizerManager - Saved equalizers to disk
[19 Debug 12:58:02.855] Encountered a problem processing: file:///media/30EC-1D09/MUSIC/Angels%20&%20Airwaves/We%20Don't%20Need%20To%20Whisper/00%20-%20The%20Adventure.mp3
[19 Warn  12:58:02.856] Caught an exception - TagLib.CorruptFileException: MPEG audio header not found. (in `taglib-sharp')
  at TagLib.Mpeg.AudioFile.ReadStart (Int64 start, ReadStyle propertiesStyle) [0x00028] in /build/src/taglib-sharp-2.0.3.7/src/TagLib/Mpeg/AudioFile.cs:241 
  at TagLib.NonContainer.File.Read (ReadStyle propertiesStyle) [0x0003c] in /build/src/taglib-sharp-2.0.3.7/src/TagLib/NonContainer/File.cs:379 
  at TagLib.NonContainer.File..ctor (IFileAbstraction abstraction, ReadStyle propertiesStyle) [0x00007] in /build/src/taglib-sharp-2.0.3.7/src/TagLib/NonContainer/File.cs:140 
  at TagLib.Mpeg.AudioFile..ctor (IFileAbstraction abstraction, ReadStyle propertiesStyle) [0x00000] in <filename unknown>:0 
  at (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke (System.Reflection.MonoCMethod,object,object[],System.Exception&)
  at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00119] in /build/src/mono-2.10.6/mcs/class/corlib/System.Reflection/MonoMethod.cs:526
Comment 12 Andrés G. Aragoneses (IRC: knocte) 2011-12-05 10:19:19 UTC
And the 2nd problem, which I think it's the original problem reported in this bug, seems to be an unmanaged crash in GStreamer, so I'm  going to retarget the product of this bug (GStreamer devs: excuse me if I don't use the correct component!).

The relevant part of the log is:


[1 Debug 13:02:45.775] Transcoding file:///home/ventricle/Music/Dave%20Matthews%20Band/The%20Best%20of%20What's%20Around,%20Volume%201/01.%20Don't%20Drink%20the%20Water.flac to file:///home/ventricle/.cache/banshee-1/transcoder/5ed6d6cf-7221-4b68-b9a1-6d5724676bc2.mp3
[1 Error 13:02:45.784] Cannot Convert File - GStreamer encountered a general stream error.: gstbaseparse.c(2695): gst_base_parse_loop (): /GstPipeline:pipeline/GstDecodeBin2:decodebin2/GstFlacParse:flacparse32:
streaming stopped, reason not-linked
[1 Debug 13:02:45.784] Transcoding file:///home/ventricle/Music/Dave%20Matthews%20Band/The%20Best%20of%20What's%20Around,%20Volume%201/02.%20Warehouse.flac to file:///home/ventricle/.cache/banshee-1/transcoder/cc77b905-f544-4699-a54c-507157d00600.mp3
[1 Error 13:02:45.806] Cannot Convert File - GStreamer encountered a general stream error.: gstbaseparse.c(2695): gst_base_parse_loop (): /GstPipeline:pipeline/GstDecodeBin2:decodebin2/GstFlacParse:flacparse33:
streaming stopped, reason not-linked
[1 Debug 13:02:45.806] Transcoding file:///home/ventricle/Music/Dave%20Matthews%20Band/The%20Best%20of%20What's%20Around,%20Volume%201/03.%20Say%20Goodbye.flac to file:///home/ventricle/.cache/banshee-1/transcoder/faad67f5-665e-40f6-9501-d7575fea337b.mp3
[1 Error 13:02:45.816] Cannot Convert File - GStreamer encountered a general stream error.: gstbaseparse.c(2695): gst_base_parse_loop (): /GstPipeline:pipeline/GstDecodeBin2:decodebin2/GstFlacParse:flacparse34:
streaming stopped, reason not-linked
[1 Debug 13:02:45.816] Transcoding file:///home/ventricle/Music/Dave%20Matthews%20Band/The%20Best%20of%20What's%20Around,%20Volume%201/04.%20Stay%20(Wasting%20Time).flac to file:///home/ventricle/.cache/banshee-1/transcoder/651dbe71-eea5-4471-b3e7-b80c6c7ea438.mp3
[1 Error 13:02:45.830] Cannot Convert File - GStreamer encountered a general stream error.: gstbaseparse.c(2695): gst_base_parse_loop (): /GstPipeline:pipeline/GstDecodeBin2:decodebin2/GstFlacParse:flacparse35:
streaming stopped, reason not-linked
[1 Debug 13:02:45.830] Transcoding file:///home/ventricle/Music/Dave%20Matthews%20Band/The%20Best%20of%20What's%20Around,%20Volume%201/05.%20Everyday%20(feat.%20Vusi%20Mahlasela).flac to file:///home/ventricle/.cache/banshee-1/transcoder/dc0386ed-f55b-4c64-9897-e486dcb5b294.mp3
[1 Error 13:02:45.851] Cannot Convert File - GStreamer encountered a general stream error.: gstbaseparse.c(2695): gst_base_parse_loop (): /GstPipeline:pipeline/GstDecodeBin2:decodebin2/GstFlacParse:flacparse36:
streaming stopped, reason not-linked
[1 Debug 13:02:45.851] Transcoding file:///home/ventricle/Music/Dave%20Matthews%20Band/The%20Best%20of%20What's%20Around,%20Volume%201/05.%20Everyday%20(feat.%20Vusi%20Mahlasela)%20(1).flac to file:///home/ventricle/.cache/banshee-1/transcoder/3e95216d-824b-45aa-bbee-bbc347ebd67f.mp3
[1 Error 13:02:45.872] Cannot Convert File - GStreamer encountered a general stream error.: gstbaseparse.c(2695): gst_base_parse_loop (): /GstPipeline:pipeline/GstDecodeBin2:decodebin2/GstFlacParse:flacparse37:
streaming stopped, reason not-linked
[1 Debug 13:02:45.872] Transcoding file:///home/ventricle/Music/Dave%20Matthews%20Band/The%20Best%20of%20What's%20Around,%20Volume%201/06.%20Louisiana%20Bayou%20(feat.%20Robert%20Randolph).flac to file:///home/ventricle/.cache/banshee-1/transcoder/c48a44e8-9e96-4e66-8ec4-c3fc7c21f49a.mp3
[1 Error 13:02:45.897] Cannot Convert File - GStreamer encountered a general stream error.: gstbaseparse.c(2695): gst_base_parse_loop (): /GstPipeline:pipeline/GstDecodeBin2:decodebin2/GstFlacParse:flacparse38:
streaming stopped, reason not-linked
[1 Debug 13:02:45.897] Transcoding file:///home/ventricle/Music/Dave%20Matthews%20Band/The%20Best%20of%20What's%20Around,%20Volume%201/07.%20Ants%20Marching.flac to file:///home/ventricle/.cache/banshee-1/transcoder/78516b8b-ef8e-4960-957b-5b9a23521da0.mp3
[1 Error 13:02:45.917] Cannot Convert File - GStreamer encountered a general stream error.: gstbaseparse.c(2695): gst_base_parse_loop (): /GstPipeline:pipeline/GstDecodeBin2:decodebin2/GstFlacParse:flacparse39:
streaming stopped, reason not-linked
[1 Debug 13:02:45.917] Transcoding file:///home/ventricle/Music/Dave%20Matthews%20Band/The%20Best%20of%20What's%20Around,%20Volume%201/08.%20Two%20Step.flac to file:///home/ventricle/.cache/banshee-1/transcoder/80cbadd8-338f-4e5b-a98f-18677da89ff6.mp3
[1 Error 13:02:45.927] Cannot Convert File - GStreamer encountered a general stream error.: gstbaseparse.c(2695): gst_base_parse_loop (): /GstPipeline:pipeline/GstDecodeBin2:decodebin2/GstFlacParse:flacparse40:
streaming stopped, reason not-linked
[1 Debug 13:02:45.927] Transcoding file:///home/ventricle/Music/OldSRV/David%20Guetta%20-%202009%20-%20One%20Love/14%20David%20Guetta%20&%20Afrojack%20Feat.%20Wynter%20Gordon%20,%20Toyfriend.flac to file:///home/ventricle/.cache/banshee-1/transcoder/b39e49f7-2ccb-4b7a-ad76-80ae01f40015.mp3
[1 Error 13:02:45.942] Cannot Convert File - GStreamer encountered a general stream error.: gstbaseparse.c(2695): gst_base_parse_loop (): /GstPipeline:pipeline/GstDecodeBin2:decodebin2/GstFlacParse:flacparse41:
streaming stopped, reason not-linked
[1 Debug 13:02:45.942] Transcoding file:///home/ventricle/Music/OldSRV/David%20Guetta%20-%202009%20-%20One%20Love/13%20David%20Guetta%20&%20Tocadisco%20Feat.%20Chris%20Willis%20,%20Sound%20Of%20Letting%20Go.flac to file:///home/ventricle/.cache/banshee-1/transcoder/8b3f5fd0-19d2-448b-a831-e1dfd9c53f2c.mp3
[1 Error 13:02:45.970] Cannot Convert File - GStreamer encountered a general stream error.: gstbaseparse.c(2695): gst_base_parse_loop (): /GstPipeline:pipeline/GstDecodeBin2:decodebin2/GstFlacParse:flacparse42:
streaming stopped, reason not-linked
[1 Debug 13:02:45.970] Transcoding file:///home/ventricle/Music/OldSRV/David%20Guetta%20-%202009%20-%20One%20Love/03%20David%20Guetta%20Feat.%20Akon%20,%20Sexy%20Bitch.flac to file:///home/ventricle/.cache/banshee-1/transcoder/75ebe59b-0bbc-4f52-ab39-f61d5a46c9a7.mp3
[1 Error 13:02:45.981] Cannot Convert File - GStreamer encountered a general stream error.: gstbaseparse.c(2695): gst_base_parse_loop (): /GstPipeline:pipeline/GstDecodeBin2:decodebin2/GstFlacParse:flacparse43:
streaming stopped, reason not-linked
[1 Debug 13:02:45.981] Transcoding file:///home/ventricle/Music/OldSRV/David%20Guetta%20-%202009%20-%20One%20Love/02%20David%20Guetta%20Feat.%20Chris%20Willis%20,%20Gettin'%20Over.flac to file:///home/ventricle/.cache/banshee-1/transcoder/ed921b2b-a077-4a0d-9b14-4d5a2585a6a8.mp3
[1 Error 13:02:46.005] Cannot Convert File - GStreamer encountered a general stream error.: gstbaseparse.c(2695): gst_base_parse_loop (): /GstPipeline:pipeline/GstDecodeBin2:decodebin2/GstFlacParse:flacparse44:
streaming stopped, reason not-linked
[1 Debug 13:02:46.005] Transcoding file:///home/ventricle/Music/OldSRV/David%20Guetta%20-%202009%20-%20One%20Love/11%20David%20Guetta%20Feat.%20Estelle%20,%20One%20Love.flac to file:///home/ventricle/.cache/banshee-1/transcoder/b37959c5-07c4-4027-b981-9b1cf98aec06.mp3
[1 Error 13:02:46.020] Cannot Convert File - GStreamer encountered a general stream error.: gstbaseparse.c(2695): gst_base_parse_loop (): /GstPipeline:pipeline/GstDecodeBin2:decodebin2/GstFlacParse:flacparse45:
streaming stopped, reason not-linked
[1 Debug 13:02:46.020] Transcoding file:///home/ventricle/Music/OldSRV/David%20Guetta%20-%202009%20-%20One%20Love/01%20David%20Guetta%20Feat.%20Kelly%20Rowland%20,%20When%20Love%20Takes%20Over.flac to file:///home/ventricle/.cache/banshee-1/transcoder/3301a902-d5b5-4676-9c19-1e71dbf24829.mp3
[1 Error 13:02:46.063] Cannot Convert File - GStreamer encountered a general stream error.: gstbaseparse.c(2695): gst_base_parse_loop (): /GstPipeline:pipeline/GstDecodeBin2:decodebin2/GstFlacParse:flacparse46:
streaming stopped, reason not-linked
[1 Debug 13:02:46.063] Transcoding file:///home/ventricle/Music/OldSRV/David%20Guetta%20-%202009%20-%20One%20Love/06%20David%20Guetta%20Feat.%20Kelly%20Rowland%20,%20It's%20The%20Way%20You%20Love%20Me.flac to file:///home/ventricle/.cache/banshee-1/transcoder/fa04ecd8-d449-436c-94d6-6a9ab9d103ec.mp3
[1 Error 13:02:46.074] Cannot Convert File - GStreamer encountered a general stream error.: gstbaseparse.c(2695): gst_base_parse_loop (): /GstPipeline:pipeline/GstDecodeBin2:decodebin2/GstFlacParse:flacparse47:
streaming stopped, reason not-linked
[1 Debug 13:02:46.074] Transcoding file:///home/ventricle/Music/OldSRV/David%20Guetta%20-%202009%20-%20One%20Love/04%20David%20Guetta%20Feat.%20Kid%20Cudi%20,%20Memories.flac to file:///home/ventricle/.cache/banshee-1/transcoder/5db0396a-417b-40aa-81f2-8ea965e857a6.mp3

Native stacktrace:

[1 Error 13:02:46.115] Cannot Convert File - GStreamer encountered a general stream error.: gstbaseparse.c(2695): gst_base_parse_loop (): /GstPipeline:pipeline/GstDecodeBin2:decodebin2/GstFlacParse:flacparse48:
streaming stopped, reason not-linked
[1 Debug 13:02:46.115] Transcoding file:///home/ventricle/Music/OldSRV/David%20Guetta%20-%202009%20-%20One%20Love/15%20David%20Guetta%20Feat.%20Makeba%20,%20If%20We%20Ever.flac to file:///home/ventricle/.cache/banshee-1/transcoder/bffb2974-140a-4b5e-bd37-739c3b084e2e.mp3
	banshee() [0x49197a]
	banshee() [0x41b997]
	/lib/libpthread.so.0(+0xf850) [0x7fbe97850850]
	/usr/lib/banshee/libbanshee.so(+0xc4cf) [0x7fbe872454cf]
	/usr/lib/libgobject-2.0.so.0(g_closure_invoke+0x154) [0x7fbe9077a0e4]
	/usr/lib/libgobject-2.0.so.0(+0x2106a) [0x7fbe9078c06a]
	/usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x851) [0x7fbe907956f1]
	/usr/lib/libgobject-2.0.so.0(g_signal_emit+0x82) [0x7fbe90795892]
	/usr/lib/gstreamer-0.10/libgstdecodebin2.so(+0x9308) [0x7fbe6efd2308]
	/usr/lib/gstreamer-0.10/libgstdecodebin2.so(+0xa620) [0x7fbe6efd3620]
	/usr/lib/libgstreamer-0.10.so.0(+0x24856) [0x7fbe866f6856]
	/usr/lib/libgstreamer-0.10.so.0(gst_pad_push_event+0x388) [0x7fbe86731848]
	/usr/lib/gstreamer-0.10/libgstflac.so(+0x9b1c) [0x7fbe67df4b1c]
	/usr/lib/libgstreamer-0.10.so.0(gst_pad_send_event+0x2d2) [0x7fbe86731192]
	/usr/lib/libgstreamer-0.10.so.0(gst_pad_push_event+0x253) [0x7fbe86731713]
	/usr/lib/libgstbase-0.10.so.0(gst_base_parse_push_frame+0x4ee) [0x7fbe86fff3ee]
	/usr/lib/gstreamer-0.10/libgstaudioparsers.so(+0x6ba7) [0x7fbe66425ba7]
	/usr/lib/gstreamer-0.10/libgstaudioparsers.so(+0x85cb) [0x7fbe664275cb]
	/usr/lib/libgstbase-0.10.so.0(+0x13434) [0x7fbe87000434]
	/usr/lib/libgstbase-0.10.so.0(+0x15a5d) [0x7fbe87002a5d]
	/usr/lib/libgstreamer-0.10.so.0(+0x84940) [0x7fbe86756940]
	/usr/lib/libglib-2.0.so.0(+0x6c598) [0x7fbe904e2598]
	/usr/lib/libglib-2.0.so.0(+0x6a076) [0x7fbe904e0076]
	/lib/libpthread.so.0(+0x7df0) [0x7fbe97848df0]
	/lib/libc.so.6(clone+0x6d) [0x7fbe9758e39d]

Debug info from gdb:
ptrace: No such process.
(Process died)
Comment 13 bugs 2011-12-21 21:12:46 UTC
Okay, so upon further investigation, apparently the failure in gstreamer causes an unhanded exception (or hard crash) in Banshee. I've since discovered that the root of this problem is corrupted FLAC files (flac -t illustrated this), but regardless, Banshee (or gstreamer) should display a soft error (as it normally does) rather than crashing.

Thanks
Comment 14 Andrés G. Aragoneses (IRC: knocte) 2011-12-21 21:32:05 UTC
(In reply to comment #13)
> but regardless, Banshee (or gstreamer) should display a soft error (as it
> normally does) rather than crashing.

If it's GStreamer which crashes, the fix needs to go in GStreamer, not Banshee.

I would suggest adjusting some settings of this bug (such as the version number of GStreamer in which you can reproduce it), so GStreamers devs can assist you better to fix the issue or to help you fix it.

Cheers
Comment 15 Vincent Penquerc'h 2012-01-17 12:18:06 UTC
The logs show flacparse/baseparse emitting an error, not a crash, so it seems it's doing its job properly and erroring out on those corrupt FLAC files.
The stack trace seems to point to libbanshee.so or libpthread.so. It would be helpful to see symbols for banshee and libbanshee.so to make that stack trace a bit more useful:

    banshee() [0x49197a]
    banshee() [0x41b997]
    /lib/libpthread.so.0(+0xf850) [0x7fbe97850850]
    /usr/lib/banshee/libbanshee.so(+0xc4cf) [0x7fbe872454cf]
    /usr/lib/libgobject-2.0.so.0(g_closure_invoke+0x154) [0x7fbe9077a0e4]

This comes from a signal sent by GStreamer, so it's theoretically possible that gst sends some invalid pointer, I guess, but the crash seems to be elsewhere from the above.

I think the bug should be reassigned to the banshee for now, as gst seems to have properly emitted an error, as shown by:

[1 Error 13:02:46.115] Cannot Convert File - GStreamer encountered a general
stream error.: gstbaseparse.c(2695): gst_base_parse_loop ():
/GstPipeline:pipeline/GstDecodeBin2:decodebin2/GstFlacParse:flacparse48:
streaming stopped, reason not-linked
Comment 16 Vincent Penquerc'h 2012-01-31 12:24:18 UTC
Well, no reply, gstreamer emitted an error properly, and the crash appears to be in libbanshee, though without debug info it's hard to have an idea whether this is a red herring or not, so this goes back to banshee for now.
Comment 17 André Klapper 2020-03-17 09:21:22 UTC
Banshee is not under active development anymore and had its last code changes more than three years ago. Its codebase has been archived.

Closing this report as WONTFIX as part of Bugzilla Housekeeping to reflect
reality. Please feel free to reopen this ticket (or rather transfer the project
to GNOME Gitlab, as GNOME Bugzilla is being shut down) if anyone takes the
responsibility for active development again.
See https://gitlab.gnome.org/Infrastructure/Infrastructure/issues/264 for more info.