#15 Seg fault on MPEG->MPEG transcoding

closed-out-of-date
nobody
libmpeg3 (12)
5
2003-04-18
2001-04-06
Anonymous
No

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
roughly 2G.
<p>
I couldn't get GDB to give me much info (and running
the encoder takes almost a day under gdb!) but here's
some info
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
/cdrom/VIDEO_TS/VTS_02_0.IFO /tmp/bigout.jpg
(gdb) run
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
quantization 30
30 frames between I frames 0 frames between P
frames
progressive
MPEG-1
1 processors
29.97 frames per second
Denoise No
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
file size
[New Thread 5126 (LWP 2466)]
Encoding frame 131635. 0% bitrate achieved:
674928
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 2460)]
0x4012d4bd in free () from /lib/libc.so.6
(gdb) bt
#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
(gdb)
I'll leave GDB open for a while, so if you need me to
do something or look at some values or something, let
me know.

Discussion

  • Logged In: NO

    Oops, forgot email: sourceforge@erich.wreck.org

     
  • Logged In: YES
    user_id=83549

    ?

     
  • Logged In: YES
    user_id=83549

    You should look at the DVD about 70 minutes into the movie
    and see what
    scene it's in. Then watch the individual VOB files to see
    in which VOB
    file the scene occurs. The scene is probably at the end of
    a VOB.
    Unreproducable crashes sometimes occur during VOB
    transitions so this
    bug hasn't been fixed.

     
  • Logged In: NO

    Actually, it dies about half way through the first VOB,
    about a dozen minutes' worth, or about 60M, without GDB. I
    have no idea why it went so much farther under GDB.

     
    • status: open --> closed-out-of-date