GNOME Bugzilla – Bug 666584
Invalid memory access in gsth264parse
Last modified: 2011-12-20 13:13:39 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.
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.