I'm trying to re-encode my DVD with mpeg2-movie's
encoder, and I get a segmentation fault after about
131,000 frames ... which comes out to about 370M of
output, and I have no idea how much input, but guessing
I couldn't get GDB to give me much info (and running
the encoder takes almost a day under gdb!) but here's
GNU gdb 5.0
Copyright 2000 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public
License, and you are
welcome to change it and/or distribute copies of it
under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show
warranty" for details.
This GDB was configured as "i686-pc-linux-gnu"...
(gdb) set args -1 -q 30 -n 30 -u
Starting program: /home/erich/bin/encode -1 -q 30 -n 30
-u /cdrom/VIDEO_TS/VTS_02_0.IFO /tmp/bigout.jpg
[New Thread 1024 (LWP 2460)]
Encoding: /tmp/bigout.jpg frames 2147483647
30 frames between I frames 0 frames between P
29.97 frames per second
Hires quantization No
(MPEG to MPEG transcoding for official use only.)
SETTING EXTENDED MMX for MOTION!
SETTING EXTENDED MMX for PREDICTION!
SETTING 3DNOW and EXTENDED MMX for QUANTIZER!
SETTING MMX for TRANSFORM!
[New Thread 2049 (LWP 2461)]
[New Thread 1026 (LWP 2462)]
[New Thread 2051 (LWP 2463)]
[New Thread 3076 (LWP 2464)]
[New Thread 4101 (LWP 2465)]
Frame Completion Current bitrate Predicted
[New Thread 5126 (LWP 2466)]
Encoding frame 131635. 0% bitrate achieved:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 2460)]
0x4012d4bd in free () from /lib/libc.so.6
#0 0x4012d4bd in free () from /lib/libc.so.6
#1 0x4012d383 in free () from /lib/libc.so.6
#2 0x8069224 in mpeg3_expand_slice_buffer ()
#3 0xf in ?? ()
#4 0xc1d2d212 in ?? ()
Cannot access memory at address 0x5010000
I'll leave GDB open for a while, so if you need me to
do something or look at some values or something, let