[Bug 663751] gst-ffmpeg segfault

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Jan 17 05:52:14 PST 2012


https://bugzilla.gnome.org/show_bug.cgi?id=663751
  GStreamer | gst-ffmpeg | git

--- Comment #6 from Nicola <lists at svrinformatica.it> 2012-01-17 13:52:10 UTC ---
After a full rebuild of gst-ffmpeg+libav the segfault is not more here, remain
a warning using this pipeline:

gst-launch --gst-fatal-warnings filesrc location=/tmp/test.gdp ! gdpdepay !
ffdec_mpeg4 ! xvimagesink


GStreamer-CRITICAL **: gst_util_fraction_multiply: assertion `a_d != 0' failed

Program received signal SIGTRAP, Trace/breakpoint trap.
[Switching to Thread 0x7ffff1469700 (LWP 31315)]
0x00007ffff73f2313 in g_logv () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
(gdb) bt
#0  0x00007ffff73f2313 in g_logv () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007ffff73f26a2 in g_log () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ffff7b834da in gst_util_fraction_multiply (a_n=0, a_d=0, b_n=12,
b_d=11, 
    res_n=0x7ffff1468550, res_d=<optimized out>) at gstutils.c:4215
#3  0x00007ffff36b774e in gst_xvimage_sink_different_size_suggestion
(xvimagesink=0x80bf10, 
    caps=<optimized out>) at xvimagesink.c:2502
#4  0x00007ffff36be012 in gst_xvimagesink_buffer_alloc (bsink=<optimized out>, 
    offset=<optimized out>, size=<optimized out>, caps=0x823040,
buf=0x7ffff1468760)
    at xvimagesink.c:2577
#5  0x00007ffff545026a in gst_base_sink_pad_buffer_alloc (pad=<optimized out>, 
    offset=18446744073709551615, size=622080, caps=0x823040,
buf=0x7ffff1468760)
    at gstbasesink.c:671
#6  0x00007ffff7b4c483 in gst_pad_buffer_alloc_unchecked (buf=0x7ffff1468760,
caps=0x823040, 
    size=622080, offset=18446744073709551615, pad=0x7bc820) at gstpad.c:3022
#7  gst_pad_alloc_buffer_full (pad=0x7bc6a0, offset=18446744073709551615,
size=622080, 
    caps=0x823040, buf=0x7ffff1468760, setcaps=1) at gstpad.c:3099
#8  0x00007ffff41c027f in alloc_output_buffer (ffmpegdec=0x802580,
outbuf=0x7ffff1468760, 
    width=<optimized out>, height=576) at gstffmpegdec.c:958
#9  0x00007ffff41c0866 in gst_ffmpegdec_get_buffer (context=0x82d8e0,
picture=0x89daa0)
    at gstffmpegdec.c:1071
#10 0x00007ffff4521bb7 in submit_packet (avpkt=0x7ffff1468950, p=0x8271c0)
    at libavcodec/pthread.c:554
#11 ff_thread_decode_frame (avctx=0x804a80, picture=0x804800,
got_picture_ptr=0x7ffff1468a04, 
---Type <return> to continue, or q <return> to quit---
    avpkt=0x7ffff1468950) at libavcodec/pthread.c:583
#12 0x00007ffff45a0281 in avcodec_decode_video2 (avctx=0x804a80,
picture=0x804800, 
    got_picture_ptr=0x7ffff1468a04, avpkt=0x7ffff1468950) at
libavcodec/utils.c:902
#13 0x00007ffff41c17b6 in gst_ffmpegdec_video_frame (ret=0x7ffff1468afc, 
    outbuf=0x7ffff14689d0, dec_info=0x802800, size=4448, data=0x89b650 "",
ffmpegdec=0x802580)
    at gstffmpegdec.c:1762
#14 gst_ffmpegdec_frame (ffmpegdec=0x802580, data=<optimized out>, size=4448, 
    got_data=0x7ffff1468af8, dec_info=0x802800, ret=0x7ffff1468afc) at
gstffmpegdec.c:2279
#15 0x00007ffff41c55c3 in gst_ffmpegdec_chain (pad=<optimized out>,
inbuf=0x822a90)
    at gstffmpegdec.c:2726
#16 0x00007ffff7b511aa in gst_pad_push (pad=0x7bc3a0, buffer=0x822a90) at
gstpad.c:4710
#17 0x00007ffff523167f in gst_gdp_depay_chain (pad=<optimized out>,
buffer=<optimized out>)
    at gstgdpdepay.c:328
#18 0x00007ffff7b511aa in gst_pad_push (pad=0x7bc0a0, buffer=0x8229f0) at
gstpad.c:4710
#19 0x00007ffff545e4cc in gst_base_src_loop (pad=0x7bc0a0) at gstbasesrc.c:2559
#20 0x00007ffff7b786e4 in gst_task_func (task=0x81f000) at gsttask.c:327
#21 0x00007ffff74117d8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#22 0x00007ffff740f2b6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#23 0x00007ffff718fefc in start_thread (arg=0x7ffff1469700) at
pthread_create.c:304
#24 0x00007ffff6eca89d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#25 0x0000000000000000 in ?? ()

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list