[MPlayer-users] mencoder segfault in first-pass x264 dvdrip
brandon at 301south.net
Wed Jan 12 06:52:17 CET 2011
I've been using mencoder (1.0-rc3) for dvd ripping for quite some time;
after a recent system upgrade I started getting segfaults apparently
randomly during the first pass of a two-pass encoding to x264.
I upgraded to the latest svn code and the problem is still there. It
occurs at a different location each time, but it does seem to happen every
time (n=8 so far; two different DVDs).
Should I report a bug?
I would be grateful for any information from you folks. Thanks for
creating and maintaining this impressive tool.
I recompiled with debugging symbols and ran in gdb as instructed here:
* note: GDB didn't like the command 'disass $pc-32 $pc+32' so I cut it.
Anyway, I have a core dump but it's over 90 MB. I'm no gdb expert, but it
looks like the crash is happening in x264_lookahead_thread ()
I placed my config.h, config.mak, and some gdb output (including the
core-- but beware, very slow upload bandwidth) here:
The mencoder command line was:
/home/b/src/mplayer/mencoder dvd://1 -alang en -o title1.avi -oac mp3lame -lameopts preset=160 -ovc x264 -x264encopts bitrate=720:pass=1:turbo=2 -ofps 24000/1001 -vf crop=720:352:0:64,scale=512:-2
Other information, as requested:
b at poppy:mplayer$ uname -a
Linux poppy 2.6.32-25-generic #45-Ubuntu SMP Sat Oct 16 19:52:42 UTC 2010 x86_64 GNU/Linux
b at poppy:mplayer$ ls -l /lib/libc[.-]*
-rwxr-xr-x 1 root root 1572232 2010-11-17 06:13 /lib/libc-2.11.1.so
lrwxrwxrwx 1 root root 14 2011-01-11 00:40 /lib/libc.so.6 ->
b at poppy:mplayer$ gcc -v
Using built-in specs.
Configured with: ../src/configure -v --with-pkgversion='Ubuntu
--enable-shared --enable-multiarch --enable-linker-build-id
--with-system-zlib --libexecdir=/usr/lib --without-included-gettext
--program-suffix=-4.4 --enable-nls --enable-clocale=gnu
--enable-libstdcxx-debug --enable-plugin --enable-objc-gc --disable-werror
--with-arch-32=i486 --with-tune=generic --enable-checking=release
--build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5)
b at poppy:mplayer$ ld -v
GNU ld (GNU Binutils for Ubuntu) 2.20.1-system.20100303
b at poppy:mplayer$ as --version
GNU assembler (GNU Binutils for Ubuntu) 2.20.1-system.20100303
Copyright 2009 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or later.
This program has absolutely no warranty.
This assembler was configured for a target of `x86_64-linux-gnu'.
b at poppy:mplayer$
More information about the MPlayer-users