[gst-devel] strange segfault

yuri noferini yurix at picsi.it
Mon Feb 28 15:29:14 CET 2005


hi guys,
first: sorry for my italian english....it should sound as a melting
point of different cultures but it's just an alert: if you don't
understand my post, it's my fault.

now, i'm just starting playing with gstreamer and gst-ffmpeg.
i've written several stupid apps, nothing more than examples code.

but (i hate that shity 'but') with my new app, i'm getting myself in
trouble.
the is a multithreaded transcoder, it take a dv file in one thread,
decode and encode (using ffenc_mpeg4 )the video in the second thread,
and another thread make the same with audio.

my problem is the segfault in the ffenc_mpeg4....
or better in sda16_y2_mmx2 function from file motion_est_mmx.c

this is a description of my enviroment and the output of ddd:

debian sarge
gcc-3.3.5 (i've tried gcc-3.4 also)
gstreamaer from debian
gst-ffmpeg 0.8.3

any ideas?
if you want i can post my code.....


Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1218851920 (LWP 858)]
0xb778b9f0 in sad16_y2_mmx2 (v=0x0, blk2=0xb68d0008 "\033\033\034\035
\035\035\035\035\035\035\036\036\037\037\037\037\037\037\036\036\035\033
\032\031\030\030\030\030\030\030\030\030\030\030\031\032\032\033\034
\034", '\036' <repeats 17 times>, "\037\036\035\034\035\034\033\033\033
\032\031\031\031\031\031\030\030\027\027\030\031\032\033\034\034\034\035
\036\036\036\037\036\037\037\037\037    \037\036\036\037\037\036\035\037
\037\037\037\037\036\036\036\035\035\036\037\036\037  \036\"\"\"\"(=V
\200\221\222\217\220\215\216\220\210\216\215\216\214\212\207\213\215\214
\211\211\215\216\214\212\213\214\213\215\213\215\216\214\210\220\211\212
\213\212\211\213\211\215\205\206\211\211\212\204\201\205\204\204\207\206
\203\204\204\204\201\201\201\200\202\201\177\177~{}~|~"...,
blk1=0xb6a7cd50 <Address 0xb6a7cd50 out of bounds>, stride=720, h=16) at
motion_est_mmx.c:94
/root/gst-ffmpeg-0.8.3/gst-libs/ext/ffmpeg/libavcodec/i386/motion_est_mmx.c:94:3192:beg:0xb778b9f0

-- 
yuri noferini <yurix at picsi.it>




More information about the gstreamer-devel mailing list