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 637758 - [exiftag] Generates buffers with uninitialized data during taglist->exif buffer serialization
[exiftag] Generates buffers with uninitialized data during taglist->exif buff...
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
0.10.31
Other Linux
: Normal critical
: 0.10.32
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2010-12-21 16:10 UTC by Sebastian Dröge (slomo)
Modified: 2010-12-22 19:17 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Sebastian Dröge (slomo) 2010-12-21 16:10:15 UTC
See the jifmux unit test from gst-plugins-bad. It's the exif buffer for the taglist generated in the test which causes this warning

Running suite(s): jifmux
==28035== Thread 2:
==28035== Syscall param write(buf) points to uninitialised byte(s)
==28035==    at 0x385FEC2F1D: ??? (syscall-template.S:82)
==28035==    by 0x385FE6DBA2: _IO_file_write@@GLIBC_2.2.5 (fileops.c:1276)
==28035==    by 0x385FE6D819: new_do_write (fileops.c:530)
==28035==    by 0x385FE6DB0D: _IO_file_xsputn@@GLIBC_2.2.5 (fileops.c:1370)
==28035==    by 0x385FE63E5C: fwrite (iofwrite.c:45)
==28035==    by 0x67E423E: gst_file_sink_render (gstfilesink.c:653)
==28035==    by 0x4D71C74: gst_base_sink_render_object.clone.4 (gstbasesink.c:2872)
==28035==    by 0x4D740FE: gst_base_sink_queue_object_unlocked.clone.5 (gstbasesink.c:3153)
==28035==    by 0x4D74455: gst_base_sink_chain_unlocked.clone.6 (gstbasesink.c:3528)
==28035==    by 0x4D748AE: gst_base_sink_chain_main (gstbasesink.c:3566)
==28035==    by 0x4CA102B: gst_pad_chain_data_unchecked (gstpad.c:4231)
==28035==    by 0x4CA1872: gst_pad_push_data (gstpad.c:4463)
==28035==    by 0x4CA4718: gst_pad_push (gstpad.c:4685)
==28035==    by 0x4C2FBA9: gst_jif_mux_chain (gstjifmux.c:739)
==28035==    by 0x4CA102B: gst_pad_chain_data_unchecked (gstpad.c:4231)
==28035==    by 0x4CA1872: gst_pad_push_data (gstpad.c:4463)
==28035==    by 0x4CA4718: gst_pad_push (gstpad.c:4685)
==28035==    by 0x67B88B7: gst_jpegenc_term_destination (gstjpegenc.c:254)
==28035==    by 0x386F603C6E: jpeg_finish_compress (in /usr/lib/libjpeg.so.62.0.0)
==28035==    by 0x67B99FA: gst_jpegenc_chain (gstjpegenc.c:635)
==28035==  Address 0x5e379a3 is 483 bytes inside a block of size 15,833 alloc'd
==28035==    at 0x4A076B6: memalign (vg_replace_malloc.c:581)
==28035==    by 0x4A0770F: posix_memalign (vg_replace_malloc.c:709)
==28035==    by 0x4C77279: gst_buffer_try_new_and_alloc (gstbuffer.c:155)
==28035==    by 0x4CA08D3: gst_pad_alloc_buffer_full (gstpad.c:3020)
==28035==    by 0x4C305E2: gst_jif_mux_chain (gstjifmux.c:657)
==28035==    by 0x4CA102B: gst_pad_chain_data_unchecked (gstpad.c:4231)
==28035==    by 0x4CA1872: gst_pad_push_data (gstpad.c:4463)
==28035==    by 0x4CA4718: gst_pad_push (gstpad.c:4685)
==28035==    by 0x67B88B7: gst_jpegenc_term_destination (gstjpegenc.c:254)
==28035==    by 0x386F603C6E: jpeg_finish_compress (in /usr/lib/libjpeg.so.62.0.0)
==28035==    by 0x67B99FA: gst_jpegenc_chain (gstjpegenc.c:635)
==28035==    by 0x4CA102B: gst_pad_chain_data_unchecked (gstpad.c:4231)
==28035==    by 0x4CA1872: gst_pad_push_data (gstpad.c:4463)
==28035==    by 0x4CA4718: gst_pad_push (gstpad.c:4685)
==28035==    by 0x4D7A109: gst_base_src_loop (gstbasesrc.c:2503)
==28035==    by 0x4CCB5DF: gst_task_func (gsttask.c:318)
==28035==    by 0x3236A6EC0E: g_thread_pool_thread_proxy (gthreadpool.c:319)
==28035==    by 0x3236A6CD43: g_thread_create_proxy (gthread.c:1897)
==28035==    by 0x3860A068B9: start_thread (pthread_create.c:300)
Comment 1 Thiago Sousa Santos 2010-12-22 19:17:29 UTC
commit 17777f25960ef48cad4400c881002a4d1d1ac4ee
Author: Thiago Santos <thiago.sousa.santos@collabora.co.uk>
Date:   Wed Dec 22 10:32:03 2010 -0300

    tag: exif: Fix unitialized data warning
    
    Fixes a valgrind warning on jifmux tests on -bad caused by
    unitialized bytes.
    
    Fixes #637758