GNOME Bugzilla – Bug 680480
valgrind warning when calling gst_caps_from_string with video/quicktime,variant=iso
Last modified: 2012-07-24 09:24:57 UTC
==16229== Invalid read of size 8 ==16229== at 0x53CFC4F: __GI___strncasecmp_l (strcmp.S:213) ==16229== by 0x538200A: ____strtod_l_internal (strtod_l.c:566) ==16229== by 0x4ECA0F0: gst_value_deserialize_double (gstvalue.c:2398) ==16229== by 0x4EB132F: gst_structure_parse_value (gststructure.c:2204) ==16229== by 0x4EB459E: gst_structure_from_string (gststructure.c:2121) ==16229== by 0x4E6EA1F: gst_caps_from_string (gstcaps.c:1816) ==16229== by 0x40068F: main (in /home/jens/t) ==16229== Address 0x7225388 is 24 bytes inside a block of size 28 alloc'd ==16229== at 0x4C2B6CD: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==16229== by 0x5B9EEC8: g_malloc (gmem.c:159) ==16229== by 0x5BB3B2D: g_strdup (gstrfuncs.c:364) ==16229== by 0x4EB4165: gst_structure_from_string (gststructure.c:2258) ==16229== by 0x4E6EA1F: gst_caps_from_string (gstcaps.c:1816) ==16229== by 0x40068F: main (in /home/jens/t) LC_*: LC_PAPER=de_DE.UTF-8 LC_ADDRESS=de_DE.UTF-8 LC_MONETARY=de_DE.UTF-8 LC_NUMERIC=de_DE.UTF-8 LC_TELEPHONE=de_DE.UTF-8 LC_IDENTIFICATION=de_DE.UTF-8 LC_MEASUREMENT=de_DE.UTF-8 LC_TIME=de_DE.UTF-8 LC_NAME=de_DE.UTF-8
Well, it would be good to know what the string is exactly, but it looks like a false positive to me, side effect of an optimisation. It's rather unlikely that the string is not terminated properly here, or broken etc. So closing until there's evidence that anything's wrong in GStreamer bits of code.
String is in topic: "video/quicktime,variant=iso"
Ah, sorry, missed that. I don't think it changes anything though :)