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 680480 - valgrind warning when calling gst_caps_from_string with video/quicktime,variant=iso
valgrind warning when calling gst_caps_from_string with video/quicktime,varia...
Status: RESOLVED NOTABUG
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
0.11.x
Other Linux
: Normal normal
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2012-07-23 19:47 UTC by Jens Georg
Modified: 2012-07-24 09:24 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Jens Georg 2012-07-23 19:47:39 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
Comment 1 Tim-Philipp Müller 2012-07-23 22:04:01 UTC
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.
Comment 2 Jens Georg 2012-07-24 07:00:18 UTC
String is in topic: "video/quicktime,variant=iso"
Comment 3 Tim-Philipp Müller 2012-07-24 09:24:57 UTC
Ah, sorry, missed that. I don't think it changes anything though :)