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 565764 - crash while encoding using id3mux
crash while encoding using id3mux
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-ugly
0.10.9
Other Linux
: Normal critical
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-12-27 10:46 UTC by Christian Kirbach
Modified: 2009-06-06 10:21 UTC
See Also:
GNOME target: ---
GNOME version: 2.23/2.24



Description Christian Kirbach 2008-12-27 10:46:19 UTC
gst pipe used for encoding

audio/x-raw-int,rate=44100,channels=2 ! lame name=enc quality=0 vbr=4 vbr-mean-bitrate=320 vbr-min-bitrate=256 ! xingmux ! id3mux

can you confirm that this crash is caused by libid3tag and not by invalid usage of libid3tag by gstreamer?


(gdb) bt full
  • #0 id3_ucs4_copy
    from /usr/lib/libid3tag.so.0
  • #1 id3_ucs4_duplicate
    from /usr/lib/libid3tag.so.0
  • #2 id3_field_addstring
    from /usr/lib/libid3tag.so.0
  • #3 ??
    from /usr/lib/gstreamer-0.10/libgstmad.so
  • #4 structure_foreach_wrapper
    at gsttaglist.c line 908
  • #5 gst_structure_foreach
    at gststructure.c line 913
  • #6 gst_tag_list_foreach
    at gsttaglist.c line 933
  • #7 ??
    from /usr/lib/gstreamer-0.10/libgstmad.so
  • #8 ??
    from /usr/lib/gstreamer-0.10/libgstmad.so
  • #9 gst_pad_chain_unchecked
    at gstpad.c line 3877
  • #10 gst_pad_push
    at gstpad.c line 4045
  • #11 ??
    from /usr/lib/gstreamer-0.10/libgstmpegaudioparse.so
  • #12 gst_pad_chain_unchecked
    at gstpad.c line 3877
  • #13 gst_pad_push
    at gstpad.c line 4045
  • #14 ??
    from /usr/lib/gstreamer-0.10/libgstlame.so
  • #15 gst_pad_chain_unchecked
  • #16 gst_pad_push
    at gstpad.c line 4045
  • #17 gst_base_transform_chain
    at gstbasetransform.c line 1916
  • #18 gst_pad_chain_unchecked
    at gstpad.c line 3877
  • #19 gst_pad_push
    at gstpad.c line 4045
  • #20 gst_base_transform_chain
    at gstbasetransform.c line 1916
  • #21 gst_pad_chain_unchecked
    at gstpad.c line 3877
  • #22 gst_pad_push
  • #23 gst_base_transform_chain
    at gstbasetransform.c line 1916
  • #24 gst_pad_chain_unchecked
    at gstpad.c line 3877
  • #25 gst_pad_push
    at gstpad.c line 4045
  • #26 gst_pad_chain_unchecked
    at gstpad.c line 3877
  • #27 gst_pad_push
    at gstpad.c line 4045
  • #28 gst_queue_loop
    at gstqueue.c line 1047
  • #29 gst_task_func
    at gsttask.c line 192
  • #30 g_thread_pool_thread_proxy
    at /build/buildd/glib2.0-2.18.2/glib/gthreadpool.c line 265
  • #31 g_thread_create_proxy
    at /build/buildd/glib2.0-2.18.2/glib/gthread.c line 635
  • #32 start_thread
    from /lib/libpthread.so.0
  • #33 clone
    from /lib/libc.so.6
  • #34 ??




nazgul@rivendell:~$ gst-inspect mad
Factory Details:
  Long name:	mad mp3 decoder
  Class:	Codec/Decoder/Audio
  Description:	Uses mad code to decode mp3 streams
  Author(s):	Wim Taymans <wim@fluendo.com>
  Rank:		secondary (128)

Plugin Details:
  Name:			mad
  Description:		id3 tag manipulation and mp3 decoding based on the mad library
  Filename:		/usr/lib/gstreamer-0.10/libgstmad.so
  Version:		0.10.9
  License:		GPL
  Source module:	gst-plugins-ugly
  Binary package:	GStreamer Ugly Plugins (Ubuntu)
  Origin URL:		https://launchpad.net/distros/ubuntu/+source/gst-plugins-ugly0.10
Comment 1 Tim-Philipp Müller 2008-12-27 18:03:51 UTC
Hard to say what's going on here with the information provided.

Could you install the debug packages for gstreamer0.10-plugins-ugly/libgstmad and libgstid3tag?

Could you make a debug log (GST_DEBUG=*:5 whateverapp 2>dbg.log) and attach it here, bzip2'ed?

PS: you should use id3v2mux.

Comment 2 Christian Kirbach 2009-01-04 23:23:46 UTC
Ironically it does only crash with debugging disabled
Comment 3 Edward Hervey 2009-03-06 08:47:31 UTC
looking closer at the backtrace... the bug seems to be in mad (see #3, #7, #8).

The code of mad has changed a bit recently, can you try with latest releases (0.10.10) of ugly ?
Comment 4 Tim-Philipp Müller 2009-06-06 10:21:00 UTC
commit 78ed09615b164b734f1304f3cbbc3170238dc0e7
Author: Tim-Philipp Müller <tim.muller@collabora.co.uk>
Date:   Fri Jun 5 20:53:57 2009 +0100

    mad, id3mux: (re)move broken, unmaintained and unloved id3mux element
    
    It will be reborn with a shiny new code base under its hood in -bad.
    See #581756 and #565764.


commit 09a304b39ad5d5b692ca0893fc98c959e5a16da7
Author: Tim-Philipp Müller <tim.muller@collabora.co.uk>
Date:   Sat Jun 6 00:39:10 2009 +0100

    id3tag: rename new id3tag element to id3mux replacing the one removed from -ugly