GNOME Bugzilla – Bug 753078
oggdemux: Segfault on state-change intensive test
Last modified: 2015-08-16 13:37:32 UTC
Easily reproducible segfault in oggdemux: GST_VALIDATE_SCENARIO=change_state_intensive gdb --args gst-validate-1.0 pushfilesrc location=~/gst-validate/gst-qa-assets/medias/ogg/vorbis_theora.1.ogg ! oggdemux ! vorbisdec ! fakesink sync=true ========================================= Running scenario change_state_intensive on pipeline pipeline0 ========================================= Starting pipeline 0:00:00.591158834 3893 0x84a530 ERROR vorbisdec gstvorbisdec.c:137:vorbis_dec_start:<vorbisdec0> start Pipeline started 0:00:00.595681879 3893 0x830ca0 ERROR vorbisdec gstvorbisdec.c:319:vorbis_handle_header_packet:<vorbisdec0> bos header Executing (40/40) set-state: state=null repeat=40 0:00:00.600249812 3893 0x84a530 ERROR vorbisdec gstvorbisdec.c:150:vorbis_dec_stop:<vorbisdec0> stop 0:00:00.600553397 3893 0x830ca0 ERROR validate gst-validate-reporter.c:176:gst_validate_report_valist: <oggdemux0:sink> 2085 (critical) : buffer: flow return from pad push doesn't match expected value : Wrong combined flow return ok(0). Expected: flushing(-2) Executing (subaction) set-state: state=playing 0:00:00.600922903 3893 0x84a530 ERROR vorbisdec gstvorbisdec.c:137:vorbis_dec_start:<vorbisdec0> start [New Thread 0x7fffe8dc1700 (LWP 3900)] [New Thread 0x7fffe95c2700 (LWP 3902)] [New Thread 0x7fffe2957700 (LWP 3901)] [New Thread 0x7fffe9dc3700 (LWP 3898)] [New Thread 0x7fffea5c4700 (LWP 3897)] Program received signal SIGSEGV, Segmentation fault.
+ Trace 235311
Thread 140737100125952 (LWP 3900)
Ignore the extra error messages in vorbisdec, I was trying to debug something else.
Created attachment 308496 [details] [review] oggdemux: Set chain pointers to NULL Otherwise, they will refer to freed memory
Makes sense, pushed, tahaks. commit 4665c0802a8ca087c1f222fcef5ec15d48953969 Author: Olivier Crête <olivier.crete@collabora.com> Date: Thu Jul 30 16:39:03 2015 -0400 oggdemux: Set chain pointers to NULL Otherwise, they will refer to freed memory https://bugzilla.gnome.org/show_bug.cgi?id=753078