GNOME Bugzilla – Bug 560155
segfault when trying to set tag to NULL with avimux
Last modified: 2009-01-23 08:45:59 UTC
Steps to reproduce: 1. create pipeline with avidemux and avimux 2. use GstTagSetter interface to set tag empty (NULL) 3. Stack trace: This GDB was configured as "i686-pc-linux-gnu"... (gdb) run Starting program: /home/karika/tagfilter-avi [New LWP 1712] Program received signal SIGSEGV, Segmentation fault. [Switching to LWP 1712] 0xb7d1e1d3 in strlen () from /lib/libc.so.6 (gdb) where
+ Trace 209571
Other information:
Created attachment 122394 [details] example code which crashes crashing example code
The example needs a change. It should listen to tag messages on the bus, filter the list and use GST_TAG_MERGE_REPLACE_ALL. I filed a enhancement bug #560302 to have a GST_TAG_MERGE_REMOVE. Looking at avimux now.
2008-11-11 Stefan Kost <ensonic@users.sf.net> * gst/avi/gstavimux.c: Don't segfault on string typed tags being NULL. Fixes #560155.