[MEncoder-users] MEncoder segfault
Grozdan Nikolov
microchip at chello.be
Thu Jan 18 04:07:19 CET 2007
>
> Strange. Are you sure that gdb/ddd is using the copy of mencoder that you
> compiled with -g and not some other copy of mencoder?
>
> If you run "file mencoder", does it say "stripped" or "not stripped"?
> For debugging you want "not stripped".
>
> I'm running out of ideas. Anyone?
OK, I recompiled MPlayer again with '-g'..... seems now it works under gdb,
here's the output of it
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1217815984 (LWP 18952)]
0x081ed534 in swScale_MMX2 (c=0x89bf5f0, src=0x89955cc, srcStride=0xbfbd138c,
srcSliceY=144, srcSliceH=16,
dst=0x8989ee8, dstStride=0xbfbd1398) at swscale_template.c:2367
2367 asm volatile(
(gdb) bt
#0 0x081ed534 in swScale_MMX2 (c=0x89bf5f0, src=0x89955cc,
srcStride=0xbfbd138c, srcSliceY=144,
srcSliceH=16, dst=0x8989ee8, dstStride=0xbfbd1398) at
swscale_template.c:2367
#1 0x081e51b6 in sws_scale_ordered (c=0x89bf5f0, src=0x89955cc,
srcStride=0xbfbd1460, srcSliceY=144,
srcSliceH=16, dst=0x8989ee8, dstStride=0x8989ef8) at swscale.c:2350
#2 0x080ee6ce in scale (sws1=0x89bf5f0, sws2=0x0, src=0xb6791340,
src_stride=0xbfbd1460, y=144, h=16,
dst=0x8989ee8, dst_stride=0x8989ef8, interlaced=0) at vf_scale.c:316
#3 0x080bc68e in draw_slice (_sh=0x8987080, src=0x89955cc, y=144) at
vd_libmpeg2.c:122
#4 0x086be565 in mpeg2_slice (decoder=0x89955c0, code=10,
buffer=0xb7231040 "*��5h\2378\v")
at slice.c:2017
#5 0x086affc7 in mpeg2_parse (mpeg2dec=0x89955c0) at decode.c:192
#6 0x080bc255 in decode (sh=0x8987080, data=0xb755d008, len=21932, flags=0)
at vd_libmpeg2.c:156
#7 0x080b9ad7 in decode_video (sh_video=0x8987080, start=0xb755d008 "",
in_size=21928, drop_frame=0,
pts=-9.2233720368547758e+18) at dec_video.c:357
#8 0x080790c7 in main (argc=Cannot access memory at address 0xb6791340
) at mencoder.c:1322
More information about the MEncoder-users
mailing list