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 666584 - Invalid memory access in gsth264parse
Invalid memory access in gsth264parse
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other Linux
: Normal normal
: 0.10.23
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-12-20 12:00 UTC by Vincent Penquerc'h
Modified: 2011-12-20 13:13 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Vincent Penquerc'h 2011-12-20 12:00:10 UTC
Running valgrind on gst-discoverer-0.10 ~/Samples/sample_h264_heaac.ts.
File is at http://www.dsc.ufcg.edu.br/~cezane/sample_h264_heaac.ts


==28193== Memcheck, a memory error detector
==28193== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al.
==28193== Using Valgrind-3.6.0.SVN-Debian and LibVEX; rerun with -h for copyright info
==28193== Command: gst-discoverer-0.10 ~/Samples/sample_h264_heaac.ts
==28193== 
GStreamer has detected that it is running inside valgrind.
It might now take different code paths to ease debugging.
Of course, this may also lead to different bugs.
Analyzing file:///home/v/Samples/sample_h264_heaac.ts
==28193== Thread 3:
==28193== Conditional jump or move depends on uninitialised value(s)
==28193==    at 0xB02D546: gst_h264_parse_process_nal (gsth264parse.c:478)
==28193==    by 0xB02F1A3: gst_h264_parse_check_valid_frame (gsth264parse.c:737)
==28193==    by 0x52818D7: gst_base_parse_chain (gstbaseparse.c:2407)
==28193==    by 0xB030005: gst_h264_parse_chain (gsth264parse.c:1826)
==28193==    by 0x551A8FF: gst_pad_chain_data_unchecked (gstpad.c:4271)
==28193==    by 0x551B206: gst_pad_push_data (gstpad.c:4506)
==28193==    by 0x552298C: gst_pad_push (gstpad.c:4730)
==28193==    by 0x8C3E061: gst_multi_queue_loop (gstmultiqueue.c:1087)
==28193==    by 0x554888C: gst_task_func (gsttask.c:327)
==28193==    by 0x63BD73E: g_thread_pool_thread_proxy (gthreadpool.c:319)
==28193==    by 0x63BB7E3: g_thread_create_proxy (gthread.c:1897)
==28193==    by 0x663B970: start_thread (pthread_create.c:304)
==28193== 
Done discovering file:///home/v/Samples/sample_h264_heaac.ts
An error was encountered while discovering the file
 Could not decode stream.
Comment 1 Mark Nauwelaerts 2011-12-20 13:13:39 UTC
commit 248a1c86e0e4d60ec52ac13700fe392a2677cdf2
Author: Mark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>
Date:   Tue Dec 20 14:04:52 2011 +0100

    codecparsers: h264: clear sei message prior to parsing
    
    Fixes #666584.

... and in release branch ...

commit bde1e71ee04dda896af99767181a6e58d0f29b35
Author: Mark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>
Date:   Tue Dec 20 14:04:52 2011 +0100

    codecparsers: h264: clear sei message prior to parsing
    
    Fixes #666584.