Il giorno lun, 25/05/2009 alle 22.37 +0200, Francesco Romani ha scritto:

> try using -y null and letting it work. Doing like that transcode would
> waste some of your CPU time and will not produce anything as output,
> BUT! if you're facing the same avilib problem outlined above, you should
> NOT get a segfault. Transcode should shut down cleanly.
with -y null transcode exit ok

> Please provide a backtrace. Get it following the instructions here: 
> http://www.transcoding.org/cgi-bin/transcode?Reporting_Crashes
> but use HG instead CVS!.
I used the 1.1.0 from the official site and recompiled
this is the backtrace

gdb -q transcode
(gdb) run  transcode -H 10 -a 0 -x vob,null
-i /dvdrip-data/CosiFanTutte_SecondoNoi/vob/001/ -w 900,50 -c 1-50 -b
128,0,2 --a52_drc_off -f 25.000 -j 0,32,0,32 -Y -20,0,-20,0 -B 47,38,8
-R 1 -y xvid4,null -o /dev/null -q
2                                     
Starting program: /opt/transcode/bin/transcode transcode -H 10 -a 0 -x
vob,null -i /dvdrip-data/CosiFanTutte_SecondoNoi/vob/001/ -w 900,50 -c
1-50 -b 128,0,2 --a52_drc_off -f 25.000 -j 0,32,0,32 -Y -20,0,-20,0 -B
47,38,8 -R 1 -y xvid4,null -o /dev/null -q 2 
[Thread debugging using libthread_db
enabled]                                                                        
            
[transcode] warning: unused command line argument detected
(32/33)                                                               
[transcode] warning: argc[32]=transcode
(unused)                                                                        
         
transcode v1.1.0 (C) 2001-2003 Thomas Oestreich, 2003-2009 Transcode
Team                                                        
Detaching after fork from child process
11090.                                                                          
         
libdvdread: Using libdvdcss version 1.2.10 for DVD
access                                                                        
libdvdread: Couldn't find device
name.                                                                           
                
libdvdnav:DVDOpenFilePath:findDVDFile /VIDEO_TS/VIDEO_TS.IFO
failed                                                              
libdvdnav:DVDOpenFilePath:findDVDFile /VIDEO_TS/VIDEO_TS.BUP
failed                                                              
libdvdread: Can't open file
VIDEO_TS.IFO.                                                                   
                     
Detaching after fork from child process
11091.                                                                          
         
libdvdread: Using libdvdcss version 1.2.10 for DVD
access                                                                        
libdvdread: Couldn't find device
name.                                                                           
                
libdvdnav:DVDOpenFilePath:findDVDFile /VIDEO_TS/VIDEO_TS.IFO
failed                                                              
libdvdnav:DVDOpenFilePath:findDVDFile /VIDEO_TS/VIDEO_TS.BUP
failed                                                              
libdvdread: Can't open file
VIDEO_TS.IFO.                                                                   
                     
[transcode] (probe.c) V magic=0x1ba, A magic=0x1ba, V codec=0x10000, A
codec=0x10001                                             
[transcode] (probe.c) V magic=, A magic=, V codec=MPEG 2 program stream,
A codec=LPCM                                            
[transcode] V: auto-probing
| /dvdrip-data/CosiFanTutte_SecondoNoi/vob/001/
(OK)                                             
[transcode] V: import format    | MPEG 2 program stream in
(module=vob)                                                         
[transcode] A: auto-probing
| /dvdrip-data/CosiFanTutte_SecondoNoi/vob/001/
(OK)                                             
[transcode] A: import format    | LPCM in
(module=null)                                                                   
      
[framecode.c] Range: 0:00:00.1 (1) - 0:00:02.0
(50)                                                                            
  
[transcode] V: AV demux/sync    | (1) sync AV at initial MPEG
sequence                                                           
[transcode] V: import frame     | 720x576  1.25:1  encoded @
16:9                                                                
[transcode] V: clip frame (<-)  |
656x576                                                                         
               
[transcode] V: new aspect ratio | 352x200  1.93:1
(-B)                                                                           
[transcode] V: clip frame (->)  |
352x240                                                                         
               
[transcode] V: bits/pixel       |
0.426                                                                           
               
[transcode] V: decoding fps,frc |
25.000,0                                                                        
               
[transcode] V: multi-pass       | (mode=1) writing data (pass 1) to
divx4.log                                                    
[transcode] V: video format     | YUV420 (4:2:0) aka
I420                                                                        
[transcode] A: import format    | 0x10001 LPCM         [48000,16,2] 1536
kbps                                                    
[transcode] A: export           |
disabled                                                                        
               
[transcode] V: encoding fps,frc |
25.000,3                                                                        
               
[transcode] A: bytes per frame  | 7680
(7680.000000)                                                                   
          
[transcode] A: adjustment       |
0...@1000                                                                       
                  
[transcode] V: IA32/AMD64 accel | sse3 sse2 sse mmx cmove
asm                                                                    
[transcode] encoder delay = decode=40000 encode=40000
usec                                                                       
[transcode] V: video buffer     | 10 @ 720x576
[0x2]                                                                           
  
[transcode] A: audio buffer     | 10 @
48000x2x16                                                                      
          
[transcode] allocating 10 framebuffers
(static)                                                                        
          
[dl_loader.c] loading audio import
module /opt/transcode/lib/transcode/import_null.so                              
              
[New Thread 0xb7ee1ab0 (LWP
11087)]                                                                         
                     
[dl_loader.c] loading video import
module /opt/transcode/lib/transcode/import_vob.so                               
              
[import_null.so] v0.2.0 (2002-01-19) (video) null | (audio)
null                                                                 
[decoder.c] Capability flag 0xffffffff |
0x1                                                                             
        
[import_vob.so] v0.6.1 (2006-05-02) (video) MPEG-2 | (audio)
MPEG/AC3/PCM | (subtitle)                                           
[decoder.c] Capability flag 0x2f |
0x2                                                                             
              
[dl_loader.c] loading audio export
module /opt/transcode/lib/transcode/export_null.so                              
              
[dl_loader.c] loading video export
module /opt/transcode/lib/transcode/export_xvid4.so                             
              
[export_null.so] v0.1.2 (2001-08-17) (video) null | (audio)
null                                                                 
[encoder.c] audio capability flag 0xffffffff |
0x1                                                                             
  
[export_xvid4.so] v0.0.6 (2007-08-11) (video) XviD 1.0.x series (aka API
4.0) | (audio) MPEG/AC3/PCM                             
[encoder.c] video capability flag 0x21f |
0x2                                                                             
       
[New Thread 0x1780b90 (LWP
11092)]                                                                         
                      
[frame_threads.c] starting 1 video frame processing
thread(s)                                                                    
[New Thread 0x2181b90 (LWP
11093)]                                                                         
                      
[frame_threads.c] starting 1 audio frame processing
thread(s)                                                                    
[New Thread 0x4f0bb90 (LWP
11094)]                                                                         
                      
[import_vob.so] tccat -i "/dvdrip-data/CosiFanTutte_SecondoNoi/vob/001/"
-t vob -d 3 -S 0 | tcdemux -s 0xa0 -x mpeg2 -S 0 -M 1 -d 3 | tcextract
-t vob -a 0 -x mpeg2 -d 3 | tcdecode -x mpeg2 -d 3 -y
yuv420p                                                     
Detaching after fork from child process
11095.                                                                          
         
[tcextract] (pid=11099) starting, doing
mpeg2                                                                           
         
[New Thread 0x3f28b90 (LWP
11096)]                                                                         
                      
[decoder.c] audio thread
id=66227088                                                                     
                        
[tccat.c] scanning directory
"/dvdrip-data/CosiFanTutte_SecondoNoi/vob/001/"                                 
                    
[New Thread 0x2da9b90 (LWP
11101)]                                                                         
                      
[tccat.c] MPEG program stream
(PS)                                                                            
                   
[export_xvid4.so] Trying to load shared
lib /opt/transcode/lib/transcode/libxvidcore.so.4                               
         
[export_xvid4.so] Trying to load shared lib
libxvidcore.so.4                                                                
     
[decoder.c] video thread
id=47881104                                                                     
                        
[demuxer.c] (pid=11098) MPEG sequence start code in packet 000000 for PU
[0]                                                     
[demuxer.c] (pid=11098) processing PU [0], on at PTS=0.3085
sec                                                                  
[demuxer.c] (pid=11098) audio packet 000039 for PU [0] skipped
(-0.0800)                                                         
[demuxer.c] AV fine-tuning: 11
ms                                                                              
                  
[demuxer.c] (pid=11098) audio packet 000040 for PU [0] skipped
(-0.0683)                                                         
[demuxer.c] (pid=11098) audio packet 000137 for PU [0] skipped
(-0.0583)                                                         
[demuxer.c] (pid=11098) audio packet 000144 for PU [0] skipped
(-0.0483)                                                         
[demuxer.c] (pid=11098) audio packet 000150 for PU [0] skipped
(-0.0367)                                                         
[demuxer.c] (pid=11098) audio packet 000156 for PU [0] skipped
(-0.0267)                                                         
[demuxer.c] (pid=11098) audio packet 000163 for PU [0] skipped
(-0.0167)                                                         
[decode_mpeg2.c] libmpeg2 acceleration: none (plain
C)                                                                           
[export_xvid4.so] Loaded
libxvidcore.so.4                                                                
                        
[export_xvid4.so] warning: Error opening configuration file ./xvid4.cfg:
No such file or directory                               
[export_xvid4.so] quant_type =
h263                                                                            
                  
[export_xvid4.so] motion =
6                                                                               
                      
[export_xvid4.so] chromame =
1                                                                               
                    
[export_xvid4.so] vhq =
1                                                                               
                         
[export_xvid4.so] max_bframes =
1                                                                               
                 
[export_xvid4.so] bquant_ratio =
150                                                                             
                
[export_xvid4.so] bquant_offset =
100                                                                             
               
[export_xvid4.so] bframe_threshold =
0                                                                               
            
[export_xvid4.so] quarterpel =
0                                                                               
                  
[export_xvid4.so] gmc =
0                                                                               
                         
[export_xvid4.so] trellis =
0                                                                               
                     
[export_xvid4.so] packed =
0                                                                               
                      
[export_xvid4.so] closed_gop =
1                                                                               
                  
[export_xvid4.so] interlaced =
0                                                                               
                  
[export_xvid4.so] cartoon =
0                                                                               
                     
[export_xvid4.so] hqacpred =
1                                                                               
                    
[export_xvid4.so] frame_drop_ratio =
0                                                                               
            
[export_xvid4.so] stats =
0                                                                               
                       
[export_xvid4.so] greyscale =
0                                                                               
                   
[export_xvid4.so] turbo =
0                                                                               
                       
[export_xvid4.so] full1pass =
0                                                                               
                   
[export_xvid4.so] min_iquant =
0                                                                               
                  
[export_xvid4.so] max_iquant =
0                                                                               
                  
[export_xvid4.so] min_pquant =
0                                                                               
                  
[export_xvid4.so] max_pquant =
0                                                                               
                  
[export_xvid4.so] min_bquant =
0                                                                               
                  
[export_xvid4.so] max_bquant =
0                                                                               
                  
[export_xvid4.so] quant_intra_matrix =
(null)                                                                          
          
[export_xvid4.so] quant_inter_matrix =
(null)                                                                          
          
[export_xvid4.so] reaction_delay_factor =
0                                                                               
       
[export_xvid4.so] averaging_period =
0                                                                               
            
[export_xvid4.so] buffer =
0                                                                               
                      
[export_xvid4.so] keyframe_boost =
0                                                                               
              
[export_xvid4.so] curve_compression_high =
0                                                                               
      
[export_xvid4.so] curve_compression_low =
0                                                                               
       
[export_xvid4.so] overflow_control_strength =
0                                                                               
   
[export_xvid4.so] max_overflow_improvement =
0                                                                               
    
[export_xvid4.so] max_overflow_degradation =
0                                                                               
    
[export_xvid4.so] kfreduction =
0                                                                               
                 
[export_xvid4.so] kfthreshold =
0                                                                               
                 
[export_xvid4.so] container_frame_overhead =
0                                                                               
    
[export_xvid4.so] Using AVI
output                                                                          
                     
[demuxer.c] (pid=11098) AV sync established for PU [0] at PTS=0.3019
(-0.0067)                                                   
[encoder.c] Delaying
audio                                                                           
                            
[encoder-buffer.c] (2) A pointer done. Cloned: (16)0:01, ( 9| 0|
11)                                                              
[encoder.c] encoder closed5.25 fps, 100.0%, ETA: 0:00:00, ( 9| 0|
11)                                                             
[Thread 0x3f28b90 (LWP 11096)
exited]                                                                         
                   
[Thread 0x2181b90 (LWP 11093)
exited]                                                                         
                   
[Thread 0x4f0bb90 (LWP 11094)
exited]                                                                         
                   
[decoder.c] cancelling the import
threads                                                                         
               
[decoder.c] video thread exit (ret_code=0)
(status_code=0)                                                                 
      
[Thread 0x2da9b90 (LWP 11101)
exited]                                                                         
                   
[decoder.c] audio thread exit (ret_code=0)
(status_code=0)                                                                 
      

 clean up | frame threads |[decoder.c] unloading audio import module
[decoder.c] unloading video import module                           
[encoder.c] unloading export modules                                

Program received signal SIGSEGV, Segmentation fault.
0x001a43b4 in ?? () from /lib/libselinux.so.1       
Missing separate debuginfos, use: debuginfo-install e2fsprogs.i386
faac.i386 faad2.i386 ffmpeg.i386 freeglut.i386 gcc.i386 glibc.i686
gpac.i386 gsm.i386 keyutils.i386 krb5.i386 lame.i386 libICE.i386
libSM.i386 libX11.i386 libXau.i386 libXdmcp.i386 libXext.i386
libXxf86vm.i386 libmp4v2.i386 libogg.i386 liboil.i386 libselinux.i386
libtheora.i386 libvorbis.i386 libxcb.i386 mesa.i386 openssl.i686
schroedinger.i386 x264.i386 xvidcore.i386
zlib.i386                                                                     
(gdb)
where                                                                           
                                           
#0  0x001a43b4 in ?? ()
from /lib/libselinux.so.1                                                       
                         
#1  0x0019d5ce in ?? ()
from /lib/libselinux.so.1                                                       
                         
#2  0x00195c18 in selinux_file_context_cmp ()
from /lib/libselinux.so.1                                                       
   
#3  0x001aced4 in selinux_file_context_cmp ()
from /lib/libselinux.so.1                                                       
   
#4  0x08cda110 in ??
()                                                                              
                            
#5  0xbfe014c8 in ??
()                                                                              
                            
#6  0x00195bba in selinux_file_context_cmp ()
from /lib/libselinux.so.1                                                       
   
#7  0x001acff4 in selinux_file_context_cmp ()
from /lib/libselinux.so.1                                                       
   
#8  0x08cdbde0 in ??
()                                                                              
                            
#9  0xbfe014d8 in ??
()                                                                              
                            
#10 0x001a5d90 in _fini ()
from /lib/libselinux.so.1                                                       
                      
Backtrace stopped: frame did not save the
PC                                                                              
       
(gdb) bt
full                                                                            
                                        
#0  0x001a43b4 in ?? ()
from /lib/libselinux.so.1                                                       
                         
No symbol table info
available.                                                                      
                            
#1  0x0019d5ce in ?? ()
from /lib/libselinux.so.1                                                       
                         
No symbol table info
available.                                                                      
                            
#2  0x00195c18 in selinux_file_context_cmp ()
from /lib/libselinux.so.1                                                       
   
No symbol table info
available.                                                                      
                            
#3  0x001aced4 in selinux_file_context_cmp ()
from /lib/libselinux.so.1                                                       
   
No symbol table info
available.                                                                      
                            
#4  0x08cda110 in ??
()                                                                              
                            
No symbol table info
available.                                                                      
                            
#5  0xbfe014c8 in ??
()                                                                              
                            
No symbol table info
available.                                                                      
                            
#6  0x00195bba in selinux_file_context_cmp ()
from /lib/libselinux.so.1                                                       
   
No symbol table info
available.                                                                      
                            
#7  0x001acff4 in selinux_file_context_cmp ()
from /lib/libselinux.so.1                                                       
   
No symbol table info
available.                                                                      
                            
#8  0x08cdbde0 in ??
()                                                                              
                            
No symbol table info
available.                                                                      
                            
#9  0xbfe014d8 in ?? ()
No symbol table info available.
#10 0x001a5d90 in _fini () from /lib/libselinux.so.1
No symbol table info available.
Backtrace stopped: frame did not save the PC
(gdb) disass $pc-32 $pc+32
Dump of assembler code from 0x1a4394 to 0x1a43d4:
0x001a4394:     in     (%dx),%al
0x001a4395:     sbb    %cl,-0x361707a3(%ecx)
0x001a439b:     sbb    %bh,%bh
0x001a439d:     incl   0x8c56c3(%ecx)
0x001a43a3:     add    %cl,-0x7c72038b(%ecx)
0x001a43a9:     sar    %bh
0x001a43ab:     (bad)
0x001a43ac:     ljmp   *<internal disassembler error>
0x001a43ae:     sub    (%edi,%edi,8),%dl
0x001a43b1:     decl   0x40808bc6(%ecx)
0x001a43b7:     add    %al,(%eax)
0x001a43b9:     add    %cl,0x3ae82404(%ecx)
0x001a43bf:     adc    %edi,%edi
0x001a43c1:     decl   0x3c86(%ebx)
0x001a43c7:     add    %cl,0x2ce82404(%ecx)
0x001a43cd:     adc    %edi,%edi
0x001a43cf:     decl   0x4486(%ebx)
End of assembler dump.

Reply via email to