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 560320 - segfault when trying to set tag to NULL with metadatamux
segfault when trying to set tag to NULL with metadatamux
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
0.10.8
Other All
: Normal critical
: 0.10.10
Assigned To: Stefan Sauer (gstreamer, gtkdoc dev)
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-11-11 11:51 UTC by Kari Kallioinen
Modified: 2009-01-30 11:30 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
example code which crashes (2.53 KB, text/x-csrc)
2008-11-11 11:52 UTC, Kari Kallioinen
Details
example code which crashes (2.60 KB, text/x-csrc)
2009-01-30 11:28 UTC, Stefan Sauer (gstreamer, gtkdoc dev)
Details

Description Kari Kallioinen 2008-11-11 11:51:32 UTC
Steps to reproduce:
1. create pipeline with metadatademux and metadatamux
2. use GstTagSetter interface to set tag empty (NULL)
3. 


Stack trace:
Program received signal SIGSEGV, Segmentation fault.
[Switching to LWP 8976]
0xb7cc71d3 in strlen () from /lib/libc.so.6
(gdb) where
  • #0 strlen
    from /lib/libc.so.6
  • #1 ??
    from /usr/lib/gstreamer-0.10/libgstmetadata.so
  • #2 ??


Other information:
Comment 1 Kari Kallioinen 2008-11-11 11:52:00 UTC
Created attachment 122402 [details]
example code which crashes
Comment 2 Stefan Sauer (gstreamer, gtkdoc dev) 2009-01-30 11:28:14 UTC
Created attachment 127527 [details]
example code which crashes

Slightly updated according to Bug #563221. Also demo how to make a testimage.
Comment 3 Stefan Sauer (gstreamer, gtkdoc dev) 2009-01-30 11:30:17 UTC
Its was actually fixed as part of
2008-12-16  Stefan Kost  <ensonic@users.sf.net>

	* ext/celt/gstceltenc.c:
	* ext/celt/gstceltenc.h:
	* ext/metadata/gstmetadatamux.c:
	* gst/qtmux/gstqtmux.c:
	* gst/qtmux/gstqtmux.h:
	  Totally remove the internal taglists and fully use tagsetter. Fixes
	  various tag muxing issues.