[gstreamer-bugs] [Bug 403739] ffenc_mpeg1/2video segfaults

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Fri Mar 2 03:57:33 PST 2007


Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=403739

  GStreamer | gst-ffmpeg | Ver: 0.10.2


Edward Hervey changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bilboed at bilboed.com
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1




------- Comment #2 from Edward Hervey  2007-03-02 11:55 UTC -------
more ffmpeg mysteries...

The backtrace is the following:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1082132800 (LWP 7667)]
ff_set_qscale (s=0x758960, qscale=<value optimized out>) at h263.c:2517
2517        s->y_dc_scale= s->y_dc_scale_table[ qscale ];
(gdb) bt
#0  ff_set_qscale (s=0x758960, qscale=<value optimized out>) at h263.c:2517
#1  0x00002b873d1d9c6a in encode_thread (c=<value optimized out>, arg=<value
optimized out>) at mpegvideo.c:4904
#2  0x00002b873d1c11a2 in avcodec_default_execute (c=0x7182c0,
func=0x2b873d1d9a20 <encode_thread>, arg=0x758a40, ret=0x0, count=1) at
utils.c:422
#3  0x00002b873d1ceb88 in MPV_encode_picture (avctx=0x7182c0, buf=<value
optimized out>, buf_size=<value optimized out>, data=0x717920) at
mpegvideo.c:5697
#4  0x00002b873d1c1670 in avcodec_encode_video (avctx=0x7182c0,
buf=0x2aaaaaaab010 "", buf_size=524288, pict=0x717920) at utils.c:895
#5  0x00002b873cff0559 in gst_ffmpegenc_chain_video (pad=<value optimized out>,
inbuf=0x732840) at gstffmpegenc.c:592
#6  0x00002b873b789258 in gst_pad_chain_unchecked (pad=0x63a170,
buffer=0x732840) at gstpad.c:3472
#7  0x00002b873b789bd0 in gst_pad_push (pad=0x63a000, buffer=0x732840) at
gstpad.c:3638
#8  0x00002b873cd417d2 in gst_base_src_loop (pad=0x63a000) at gstbasesrc.c:1600
#9  0x00002b873b7a3b84 in gst_task_func (task=0x72f840, tclass=0x526e50) at
gsttask.c:199
#10 0x00002b873c449499 in g_thread_pool_thread_proxy (data=<value optimized
out>) at gthreadpool.c:265
#11 0x00002b873c447e71 in g_thread_create_proxy (data=0x72ef50) at
gthread.c:591
#12 0x00002b873bfe0027 in start_thread () from /lib/libpthread.so.0
#13 0x00002b873c657f5d in clone () from /lib/libc.so.6
#14 0x0000000000000000 in ?? ()


Looking deeper I can't see the relationship between setting proper
intra_dc_precision and the fact that s->y_dc_scale_table has bogus value (here
0x1).


-- 
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email




More information about the Gstreamer-bugs mailing list