GNOME Bugzilla – Bug 719497
videoflip: crashes on tag list without orientation tag in git master
Last modified: 2013-11-28 17:04:43 UTC
(gdb) thread apply all bt
+ Trace 232850
Thread 20 (Thread 0x7f9b9d13c700 (LWP 3699))
Thread 16 (Thread 0x7f9bb9770700 (LWP 3695))
This is what happens in the terminal running the application *** Error in `python3': free(): invalid pointer: 0x00007f9bcc56ad3c *** ======= Backtrace: ========= /lib64/libc.so.6(+0x75d9f)[0x7f9be24fad9f] /lib64/libc.so.6(+0x7d098)[0x7f9be2502098] /lib64/libglib-2.0.so.0(g_free+0xf)[0x7f9bdac7df7f] /usr/lib64/gstreamer-1.0/libgstvideofilter.so(+0x5129)[0x7f9bb83dc129] /lib64/libgstreamer-1.0.so.0(+0x5fe7b)[0x7f9bced48e7b] /lib64/libgstreamer-1.0.so.0(+0x60666)[0x7f9bced49666] /lib64/libgstreamer-1.0.so.0(+0x60ae8)[0x7f9bced49ae8] /lib64/libgstreamer-1.0.so.0(+0x5eed2)[0x7f9bced47ed2] /lib64/libgstreamer-1.0.so.0(gst_pad_push_event+0x378)[0x7f9bced52148] /lib64/libgstbase-1.0.so.0(+0x34df6)[0x7f9bcc56cdf6] /lib64/libgstreamer-1.0.so.0(+0x5fe7b)[0x7f9bced48e7b] /lib64/libgstreamer-1.0.so.0(+0x60666)[0x7f9bced49666] /lib64/libgstreamer-1.0.so.0(+0x60ae8)[0x7f9bced49ae8] /lib64/libgstreamer-1.0.so.0(+0x5eed2)[0x7f9bced47ed2] /lib64/libgstreamer-1.0.so.0(gst_pad_push_event+0x378)[0x7f9bced52148] /lib64/libgstreamer-1.0.so.0(+0x692cf)[0x7f9bced522cf] /lib64/libgstreamer-1.0.so.0(gst_pad_forward+0x1c7)[0x7f9bced4f187] /lib64/libgstreamer-1.0.so.0(gst_pad_event_default+0xfe)[0x7f9bced4f2be] /usr/lib64/gstreamer-1.0/libgstdeinterlace.so(+0xa76e)[0x7f9b9fdc676e] /lib64/libgstreamer-1.0.so.0(+0x5fe7b)[0x7f9bced48e7b] /lib64/libgstreamer-1.0.so.0(+0x60666)[0x7f9bced49666] /lib64/libgstreamer-1.0.so.0(+0x60ae8)[0x7f9bced49ae8] /lib64/libgstreamer-1.0.so.0(+0x5eed2)[0x7f9bced47ed2] /lib64/libgstreamer-1.0.so.0(gst_pad_push_event+0x378)[0x7f9bced52148] /lib64/libgstreamer-1.0.so.0(+0x692cf)[0x7f9bced522cf] /lib64/libgstreamer-1.0.so.0(gst_pad_forward+0x1c7)[0x7f9bced4f187] /lib64/libgstreamer-1.0.so.0(gst_pad_event_default+0xfe)[0x7f9bced4f2be] /lib64/libgstreamer-1.0.so.0(+0x5fe7b)[0x7f9bced48e7b] /lib64/libgstreamer-1.0.so.0(+0x60666)[0x7f9bced49666] /lib64/libgstreamer-1.0.so.0(+0x60ae8)[0x7f9bced49ae8] /lib64/libgstreamer-1.0.so.0(+0x5eed2)[0x7f9bced47ed2] /lib64/libgstreamer-1.0.so.0(gst_pad_push_event+0x378)[0x7f9bced52148] /lib64/libgstreamer-1.0.so.0(+0x692cf)[0x7f9bced522cf] /lib64/libgstreamer-1.0.so.0(gst_pad_forward+0x1c7)[0x7f9bced4f187] /lib64/libgstreamer-1.0.so.0(gst_pad_event_default+0xfe)[0x7f9bced4f2be] /lib64/libgstreamer-1.0.so.0(+0x5fe7b)[0x7f9bced48e7b] /lib64/libgstreamer-1.0.so.0(+0x60666)[0x7f9bced49666] /lib64/libgstreamer-1.0.so.0(+0x60ae8)[0x7f9bced49ae8] /lib64/libgstreamer-1.0.so.0(+0x5eed2)[0x7f9bced47ed2] /lib64/libgstreamer-1.0.so.0(gst_pad_push_event+0x378)[0x7f9bced52148] /lib64/libgstvideo-1.0.so.0(+0x20f7b)[0x7f9bccc30f7b] /lib64/libgstvideo-1.0.so.0(gst_video_decoder_finish_frame+0x2e0)[0x7f9bccc34100] /usr/lib64/gstreamer-1.0/libgstmpeg2dec.so(+0x404b)[0x7f9bc000904b] (more listings)
Looks like my fault again, it's in videoflip ...
commit b8f689a9d97b7a90a3c40d5249c964e35a000b4a Author: Tim-Philipp Müller <tim@centricular.com> Date: Thu Nov 28 16:09:04 2013 +0000 videoflip: don't crash on tag events without orientation tag Would crash in g_free() trying to free an uninitialised pointer. https://bugzilla.gnome.org/show_bug.cgi?id=719497
And to redeem myself ... commit 77833b886d1ac162cb75d749e3e4d912823cabd5 Author: Nicolas Dufresne <nicolas.dufresne@collabora.com> Date: Thu Nov 28 11:58:42 2013 -0500 videoflip: Add unit test for the 'automatic' method These new tests send a tag event before seding the buffer. Tested case are an empty tag list, a tag list with orientation-180 set and an invalid orientation value. https://bugzilla.gnome.org/show_bug.cgi?id=719497