[vlc-devel] Segmentation fault with rate control equation defined in x264 module. Please Help !

Aurele nemsauje at gmail.com
Sat Aug 30 12:52:59 CEST 2008


Hi,
It's me again.

I'm working with VLC 0.8.6h on ubuntu Gutsy.
I've defined stats (statsfile name: "x264_2pass.log") and rceq (rate 
control equation: "blurCplx^(1-qComp)") parameters  in  x264 module.
I've no problem with compilation and installation. VLC works properly. 
But when  i try to encode in h264, i get this error:

x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities MMX MMXEXT SSE SSE2
[00000367] main encoder debug: using encoder module "x264"
[00000291] main private debug: adding a new input
[00000291] mux_mp4 private debug: adding input
Parser: missing ( in "x264_2pass.log"
Segmentation fault (core dumped)

And when i use gdb i get :

GNU gdb 6.6-debian
Copyright (C) 2006 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 "i486-linux-gnu"...
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
(gdb) r!
Starting program: 
/home/projetvlc/StageVLC0708/AjoutParametre/CompilationFin/TestFinal/vlc-0.8.6h/vlc 
!
[Thread debugging using libthread_db enabled]
[New Thread -1211119952 (LWP 670)]
VLC media player 0.8.6h Janus
[New Thread -1255392368 (LWP 677)]
[New Thread -1263785072 (LWP 678)]
[New Thread -1272177776 (LWP 679)]
[New Thread -1280570480 (LWP 680)]
[New Thread -1288963184 (LWP 681)]
[New Thread -1314415728 (LWP 682)]
libdvdnav: Using dvdnav version 0.1.10 from http://dvd.sf.net
libdvdread: Encrypted DVD support unavailable.
libdvdread: Can't stat !
Aucun fichier ou répertoire de ce type
libdvdnav: vm: faild to open/read the DVD
[00000533] main input error: no suitable access module for `!'
[Thread -1314415728 (LWP 682) exited]
[00000527] main playlist: nothing to play
[New Thread -1314415728 (LWP 683)]
[New Thread -1326122096 (LWP 684)]
[New Thread -1334514800 (LWP 685)]
[New Thread -1342907504 (LWP 686)]
[New Thread -1351300208 (LWP 687)]
[Thread -1326122096 (LWP 684) exited]
[Thread -1351300208 (LWP 687) exited]
[Thread -1314415728 (LWP 683) exited]
[Thread -1334514800 (LWP 685) exited]
[Thread -1342907504 (LWP 686) exited]
[New Thread -1314415728 (LWP 688)]
[Thread -1314415728 (LWP 688) exited]
[New Thread -1314415728 (LWP 689)]
[Thread -1314415728 (LWP 689) exited]
[New Thread -1314415728 (LWP 690)]
x264 [warning]: width or height not divisible by 16 (784x588), 
compression will suffer.
x264 [info]: using cpu capabilities MMX MMXEXT SSE SSE2
x264 [warning]: width or height not divisible by 16 (784x588), 
compression will suffer.
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities MMX MMXEXT SSE SSE2
Parser: missing ( in "x264_2pass.log"

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1314415728 (LWP 690)]
0xb5bb6a95 in evalFactor (p=0xb1a786e0) at encoder/eval.c:198
198         while(p->s[0]=='^'){
(gdb) list
193         if(neg) push(p, -pop(p));
194     }
195
196     static void evalFactor(Parser *p){
197         evalPow(p);
198         while(p->s[0]=='^'){
199             double d;
200
201             p->s++;
202             evalPow(p);
(gdb) bt
#0  0xb5bb6a95 in evalFactor (p=0xb1a786e0) at encoder/eval.c:198
Cannot access memory at address 0xb1a7868c
(gdb)


How can i avoid that ?  I think that the problem comes with the rceq.  
How can i well define rceq parameter in the x264 module ?

Any help is welcome. I really want your help.

Thanks,

Aurele



More information about the vlc-devel mailing list