Transcode bug

Erik Moe emoe at cox.net
Fri Jan 2 00:10:02 UTC 2004


I'm running transcode 0.6.10 under dvdrip2.  About 20% into the rip,
transcode freezes.  Attaching to the process with gdb yields the following
information:

(gdb) info threads
  5 Process 83813, Thread 5  0x280d2aac in _thread_kern_sched ()
   from /usr/lib/libc_r.so.5
  4 Process 83813, Thread 4  0x280d2aac in _thread_kern_sched ()
   from /usr/lib/libc_r.so.5
  3 Process 83813, Thread 3  0x280d2aac in _thread_kern_sched ()
   from /usr/lib/libc_r.so.5
  2 Process 83813, Thread 2  0x280d2aac in _thread_kern_sched ()
   from /usr/lib/libc_r.so.5
* 1 Process 83813, Thread 1  0x2812d883 in poll () from /usr/lib/libc.so.5
(gdb) bt
#0  0x2812d883 in poll () from /usr/lib/libc.so.5
#1  0x280d3651 in _thread_kern_sched_state_unlock () from
/usr/lib/libc_r.so.5
#2  0x280d3050 in _thread_kern_scheduler () from /usr/lib/libc_r.so.5
(gdb) thread 2
[Switching to thread 2 (Process 83813, Thread 2)]#0  0x280d2aac in
_thread_kern_sched () from /usr/lib/libc_r.so.5
(gdb) bt
#0  0x280d2aac in _thread_kern_sched () from /usr/lib/libc_r.so.5
#1  0x280d3283 in _thread_kern_sched_state_unlock () from
/usr/lib/libc_r.so.5
#2  0x280d6ae7 in _pthread_cond_wait () from /usr/lib/libc_r.so.5
#3  0x280d6bee in pthread_cond_wait () from /usr/lib/libc_r.so.5
#4  0x0805a874 in process_aframe ()
(gdb) thread 3
[Switching to thread 3 (Process 83813, Thread 3)]#0  0x280d2aac in
_thread_kern_sched () from /usr/lib/libc_r.so.5
(gdb) bt
#0  0x280d2aac in _thread_kern_sched () from /usr/lib/libc_r.so.5
#1  0x280d3283 in _thread_kern_sched_state_unlock () from
/usr/lib/libc_r.so.5
#2  0x280d6ae7 in _pthread_cond_wait () from /usr/lib/libc_r.so.5
#3  0x280d6bee in pthread_cond_wait () from /usr/lib/libc_r.so.5
#4  0x0805a5d4 in process_vframe ()
#5  0x0807fd96 in _fini ()
#6  0x00647664 in ?? ()
Error accessing memory address 0x626f76: Bad address.
(gdb) thread 4
[Switching to thread 4 (Process 83813, Thread 4)]#0  0x280d2aac in
_thread_kern_sched () from /usr/lib/libc_r.so.5
(gdb) bt
#0  0x280d2aac in _thread_kern_sched () from /usr/lib/libc_r.so.5
#1  0x280d3283 in _thread_kern_sched_state_unlock () from
/usr/lib/libc_r.so.5
#2  0x280d6da9 in _pthread_cond_timedwait () from /usr/lib/libc_r.so.5
#3  0x280cb1b9 in _thread_gc () from /usr/lib/libc_r.so.5
#4  0x280ca3fe in _thread_start () from /usr/lib/libc_r.so.5
(gdb) thread 5
[Switching to thread 5 (Process 83813, Thread 5)]#0  0x280d2aac in
_thread_kern_sched () from /usr/lib/libc_r.so.5
(gdb) bt
#0  0x280d2aac in _thread_kern_sched () from /usr/lib/libc_r.so.5
#1  0x280d3218 in _thread_kern_sched_state () from /usr/lib/libc_r.so.5
#2  0x280c7e6b in sigwait () from /usr/lib/libc_r.so.5
#3  0x0804e4e4 in signal_thread ()
(gdb)

Trancode is invoked with the following parameters:

mkdir -m 0775 -p '/u02/dvdrip/db/Pirates/tmp' && cd
/u02/dvdrip/db/Pirates/tmp && dr_exec transcode -H 10 -a 0 -x vob,null -i
/u02/dvdrip/db/Pirates/vob/001 -w 1224 -F mpeg4 -b 128,0,0 -s
1.439 --a52_drc_off -V  -f 24,1 -g 720x480 -M 2 -Y 42,0,46,0 -B 15,10,8 -R
1 -y ffmpeg,null --psu_mode --nav_seek
/u02/dvdrip/db/Pirates/tmp/Pirates-001-nav.log --no_split  -o
/dev/null --print_status 20 && echo DVDRIP_SUCCESS
mkdir -m 0775 -p '/u02/dvdrip/db/Pirates/tmp' && cd
/u02/dvdrip/db/Pirates/tmp && dr_exec transcode -H 10 -a 0 -x vob -i
/u02/dvdrip/db/Pirates/vob/001 -w 1224 -F mpeg4 -b 128,0,0 -s
1.439 --a52_drc_off -V  -f 24,1 -g 720x480 -M 2 -Y 42,0,46,0 -B 15,10,8 -R
2 -y ffmpeg --psu_mode --nav_seek
/u02/dvdrip/db/Pirates/tmp/Pirates-001-nav.log --no_split  -o
/u02/dvdrip/db/Pirates/avi/001/Pirates-001.avi --print_status 20 && echo
DVDRIP_SUCCESS

I'm running FreeBSD 5.1-RELEASE-p11.  Don't know if this is a generic
trancode bug or FreeBSD specific.

Erik Moe
emoe at cox.net



More information about the freebsd-ports-bugs mailing list