[x264-devel] [Bug Report] Segmentation Fault in 2nd Pass

Rodolfo J. Quesada Zumbado rquesada at roqz.net
Fri Jun 6 18:14:09 CEST 2008


Hi again,

I have never tried to debug a shared library from within the loader 
program, besides, I haven't used gdb for a while, and I only know the 
basics... But I compiled x264 with --enable-debug and invoked "gdb 
--args mencoder -ovc x264 ...." and this is what I got:

...
Lots of MEncoder output...
...
Pos:   0.9s     24f ( 0%)  0.00fps Trem:   0min   0mb  A-V:0.085 [0:1536]
Skipping frame!
[mpeg4 @ 0x8784ab0]Invalid and inefficient vfw-avi packed B frames detected
[mpeg4 @ 0x8784ab0]Invalid and inefficient vfw-avi packed B frames detected

[New Thread 0xb72356e0 (LWP 21208)]Trem:   0min   0mb  A-V:0.059 [240:1536]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb72356e0 (LWP 21208)]
0xb7fd57b0 in x264_rd_cost_i8x8_chroma () from /usr/lib/libx264.so.59
(gdb) bt
#0  0xb7fd57b0 in x264_rd_cost_i8x8_chroma () from /usr/lib/libx264.so.59
#1  0x00000000 in ?? ()
(gdb)

This is a second pass run (pass=2).

Jason Garrett-Glaser wrote:
> On Fri, Jun 6, 2008 at 9:24 AM, Rodolfo J. Quesada Zumbado
> <rquesada at roqz.net> wrote:
>> 18754 Segmentation fault      mencoder -endpos 100 -vf scale=-9:-9 -oac
>> pcm -ovc x264 -x264encopts $X264ENCOPTS:$PASS "$1" -o "n$1"
> 
> A GDB backtrace/disass/etc would be useful.
> 
> Dark Shikari
> _______________________________________________
> x264-devel mailing list
> x264-devel at videolan.org
> http://mailman.videolan.org/listinfo/x264-devel

-- 
Rodolfo J. Quesada Zumbado
rquesada at roqz.net


More information about the x264-devel mailing list