Public bug reported:

Binary package hint: transcode

I am running Dapper, transcode version: 2:1.0.2-0.0ubuntu2 (dapper).

Remuxing an avi file before splitting it with the following command,
gives a segmentation fault:

$ transcode -i in.avi -P1 -N 0x55 -y raw -o out.avi
transcode v1.0.2 (C) 2001-2003 Thomas Oestreich, 2003-2004 T. Bitterberg
libdvdread: Using libdvdcss version 1.2.5 for DVD access
libdvdread: Can't open file VIDEO_TS.IFO.
[transcode] (probe) suggested AV correction -D 0 (0 ms) | AV 0 ms | 0 ms
[transcode] auto-probing source in.avi (ok)
[transcode] V: import format    | XviD RIFF data, AVI (V=avi|A=mp3)
[transcode] V: pass-through     | yes
[transcode] V: import frame     | 704x288  2.44:1
[transcode] V: bits/pixel       | 0.355
[transcode] V: decoding fps,frc | 25.000,3
[transcode] A: import format    | 0x55    MPEG layer-3 [48000,16,2]  164 kbps
[transcode] A: export format    | 0x55    MPEG layer-3 [48000,16,2]  128 kbps
[transcode] V: encoding fps,frc | 25.000,3
[transcode] A: bytes per frame  | 7680 (7680.000000)
[transcode] A: adjustment       | [EMAIL PROTECTED]
[transcode] V: IA32/AMD64 accel | sse3 (sse3 sse2 sse 3dnowext 3dnow mmxext mmx 
asm C)
tc_memcpy: using sse for memcpy
[transcode] V: video buffer     | 50 @ 704x288
[import_mp3.so] v0.1.4 (2003-08-04) (audio) MPEG
[import_avi.so] v0.4.2 (2002-05-24) (video) * | (audio) *
[export_raw.so] v0.3.12 (2003-08-04) (video) * | (audio) MPEG/AC3/PCM
[import_mp3.so] MP3->PCM
[import_mp3.so] tcextract -a 0 -i "in.avi" -x mp3 -d 0 | tcdecode -x mp3 -d 0 
-z 48000
[import_avi.so] codec=XVID, fps=25.000, width=704, height=288
Audio: using new version
Audio: using lame-3.96.1
tc_memcpy: using sse for memcpy
[export_raw.so] codec=XVID, fps=25.000, width=704, height=288
Segmentation fault


Here is the debugger output:

$ gdb -q transcode
(no debugging symbols found)
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
(gdb) -i in.avi -P1 -N 0x55 -y raw -o out.avi -q 2
Undefined command: "-i".  Try "help".
(gdb) run -i in.avi -P1 -N 0x55 -y raw -o out.avi -q 2
Starting program: /usr/bin/transcode -i in.avi -P1 -N 0x55 -y raw -o out.avi -q 
2
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1210918240 (LWP 10910)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[New Thread -1210922064 (LWP 10913)]
transcode v1.0.2 (C) 2001-2003 Thomas Oestreich, 2003-2004 T. Bitterberg
libdvdread: Using libdvdcss version 1.2.5 for DVD access
libdvdread: Can't open file VIDEO_TS.IFO.
[tcprobe] RIFF data, AVI video
[transcode] (probe) suggested AV correction -D 0 (0 ms) | AV 0 ms | 0 ms
(probe.c) V magic=0x17, A magic=0x17, V codec=0x58766944, A codec=0x55
(probe.c) V magic=RIFF data, AVI, A magic=RIFF data, AVI, V codec=XviD, A 
codec=MPEG layer-3
[transcode] auto-probing source in.avi (ok)
[transcode] V: import format    | XviD RIFF data, AVI (V=avi|A=mp3)
[transcode] V: pass-through     | yes
[transcode] V: import frame     | 704x288  2.44:1
[transcode] V: bits/pixel       | 0.355
[transcode] V: decoding fps,frc | 25.000,3
[transcode] A: import format    | 0x55    MPEG layer-3 [48000,16,2]  164 kbps
[transcode] A: export format    | 0x55    MPEG layer-3 [48000,16,2]  128 kbps
[transcode] V: encoding fps,frc | 25.000,3
[transcode] A: bytes per frame  | 7680 (7680.000000)
[transcode] A: adjustment       | [EMAIL PROTECTED]
[transcode] V: IA32/AMD64 accel | sse3 (sse3 sse2 sse 3dnowext 3dnow mmxext mmx 
asm C)
tc_memcpy: using sse for memcpy
[transcode] encoder delay = decode=10000 encode=10000 usec
[transcode] V: video buffer     | 50 @ 704x288
[transcode] allocating 50 framebuffer (static)
loading audio import module /usr/lib/transcode/import_mp3.so
(no debugging symbols found)
loading video import module /usr/lib/transcode/import_avi.so
(no debugging symbols found)
[import_mp3.so] v0.1.4 (2003-08-04) (audio) MPEG
Audio capability flag 0x1 | 0x1
[import_avi.so] v0.4.2 (2002-05-24) (video) * | (audio) *
Video capability flag 0x233 | 0x80
loading audio export module /usr/lib/transcode/export_raw.so
(no debugging symbols found)
(no debugging symbols found)
loading video export module /usr/lib/transcode/export_raw.so
[export_raw.so] v0.3.12 (2003-08-04) (video) * | (audio) MPEG/AC3/PCM
(encoder.c) audio capability flag 0x33f | 0x1
(encoder.c) video capability flag 0x33f | 0x80
[transcode] starting 1 frame processing thread(s)
[New Thread -1314759760 (LWP 10917)]
[transcode] starting 1 frame processing thread(s)
[New Thread -1323152464 (LWP 10918)]
[import_mp3.so] MP3->PCM
[import_mp3.so] tcextract -a 0 -i "in.avi" -x mp3 -d 3 | tcdecode -x mp3 -d 3 
-z 48000
[import_avi.so] codec=XVID, fps=25.000, width=704, height=288
tc_memcpy: using sse for memcpy
[tcextract] (pid=10920) RIFF data, AVI video
[tcextract] (pid=10920) starting, doing mp3
[New Thread -1358124112 (LWP 10922)]
(decoder.c) audio thread id=-1358124112
[New Thread -1366516816 (LWP 10923)]
[export_raw.so] max AVI-file size limit = 4278188031 bytes
(aud_aux.c) Debug: Audio submodule in=0x1 out=0x55
Audio: using new version
Audio: using lame-3.96.1
(aud_aux.c) Debug: Lame config: PCM -> MP3
(aud_aux.c) Debug:              bitrate         : 128 kbit/s
(aud_aux.c) Debug:              ouput samplerate: 48000 Hz
(decoder.c) video thread id=-1366516816
[export_raw.so] codec=XVID, fps=25.000, width=704, height=288
(decode_mp3.c) channels=2, samplerate=48000 Hz, bitrate=32 kbps, (1152)

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1210918240 (LWP 10910)]
0x0807dd8e in AVI_close ()
(gdb) where
#0  0x0807dd8e in AVI_close ()
#1  0xb1b08338 in tc_export () from /usr/lib/transcode/export_raw.so
#2  0x0805e324 in tcv_export ()
#3  0x0805d52b in encoder_open ()
#4  0x08058b32 in main ()
(gdb) bt full
#0  0x0807dd8e in AVI_close ()
No symbol table info available.
#1  0xb1b08338 in tc_export () from /usr/lib/transcode/export_raw.so
No symbol table info available.
#2  0x0805e324 in tcv_export ()
No symbol table info available.
#3  0x0805d52b in encoder_open ()
No symbol table info available.
#4  0x08058b32 in main ()
No symbol table info available.
(gdb) disass $pc-32 $pc+32
Dump of assembler code from 0x807dd6e to 0x807ddae:
0x0807dd6e <AVI_close+2996>:    and    %ch,%bh
0x0807dd70 <AVI_close+2998>:    decl   0x888b0845(%ebx)
0x0807dd76 <AVI_close+3004>:    in     $0x2,%al
0x0807dd78 <AVI_close+3006>:    add    %al,(%eax)
0x0807dd7a <AVI_close+3008>:    test   %ecx,%ecx
0x0807dd7c <AVI_close+3010>:    je     0x807de07 <AVI_close+3149>
0x0807dd82 <AVI_close+3016>:    mov    0x24(%ecx),%eax
0x0807dd85 <AVI_close+3019>:    test   %eax,%eax
0x0807dd87 <AVI_close+3021>:    je     0x807de07 <AVI_close+3149>
0x0807dd89 <AVI_close+3023>:    xor    %esi,%esi
0x0807dd8b <AVI_close+3025>:    mov    0x24(%ecx),%eax
0x0807dd8e <AVI_close+3028>:    mov    (%esi,%eax,1),%eax
0x0807dd91 <AVI_close+3031>:    test   %eax,%eax
0x0807dd93 <AVI_close+3033>:    je     0x807ddc4 <AVI_close+3082>
0x0807dd95 <AVI_close+3035>:    mov    0x20(%eax),%eax
0x0807dd98 <AVI_close+3038>:    test   %eax,%eax
0x0807dd9a <AVI_close+3040>:    je     0x807ddad <AVI_close+3059>
0x0807dd9c <AVI_close+3042>:    mov    %eax,(%esp)
0x0807dd9f <AVI_close+3045>:    call   0x804fffc <[EMAIL PROTECTED]>
0x0807dda4 <AVI_close+3050>:    mov    0x8(%ebp),%edx
0x0807dda7 <AVI_close+3053>:    mov    0x2e4(%edx),%ecx
0x0807ddad <AVI_close+3059>:    mov    0x24(%ecx),%eax
End of assembler dump.
(gdb)

** Affects: transcode (Ubuntu)
     Importance: Undecided
         Status: Unconfirmed

-- 
Transcode segmentation fault
https://launchpad.net/bugs/77053

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to