[mythtv-commits] Ticket #986: mythbackend 8554 freeze/crash - AFD Error
MythTV
mythtv at cvs.mythtv.org
Mon Mar 13 17:38:56 UTC 2006
#986: mythbackend 8554 freeze/crash - AFD Error
-----------------------+----------------------------------------------------
Reporter: anonymous | Owner: ijr
Type: defect | Status: closed
Priority: minor | Milestone: unknown
Component: mythtv | Version: head
Severity: medium | Resolution: invalid
-----------------------+----------------------------------------------------
Comment (by oa at iki.fi):
I don't see the frontend crashes that much any more, but mythtranscode is
eating plenty of memory in the same circumstances (errors in the source
file). I checked under a debugger, and most of the time seems to be spent
copying audio data around:
(gdb) info threads
3 Thread 25385904 (LWP 4239) 0x00e34402 in __kernel_vsyscall ()
2 Thread 68516784 (LWP 4240) 0x00e34402 in __kernel_vsyscall ()
1 Thread -1208583680 (LWP 4233) 0x4f6c586c in memcpy () from
/lib/libc.so.6
(gdb) thread 1
[Switching to thread 1 (Thread -1208583680 (LWP 4233))]#0 0x4f6c586c in
memcpy
() from /lib/libc.so.6
(gdb) bt
#0 0x4f6c586c in memcpy () from /lib/libc.so.6
#1 0x0805fcaa in AudioOutput::SetSourceBitrate ()
#2 0x4393a7be in NuppelVideoPlayer::AddAudioData ()
from /usr/lib/libmythtv-0.19.so.0
#3 0x43977036 in AvFormatDecoder::GetFrame ()
from /usr/lib/libmythtv-0.19.so.0
#4 0x4394928f in NuppelVideoPlayer::TranscodeGetNextFrame ()
from /usr/lib/libmythtv-0.19.so.0
#5 0x08057153 in QValueList<QString>::detachInternal ()
#6 0x08050ebb in ?? ()
#7 0x4f66ed5f in __libc_start_main () from /lib/libc.so.6
#8 0x0804e795 in ?? ()
(gdb) thread 2
[Switching to thread 2 (Thread 68516784 (LWP 4240))]#0 0x00e34402 in
__kernel_vsyscall ()
(gdb) bt
#0 0x00e34402 in __kernel_vsyscall ()
#1 0x4f8a4a1c in pthread_cond_timedwait@@GLIBC_2.3.2 ()
from /lib/libpthread.so.0
#2 0x4200c407 in QWaitCondition::wait ()
from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#3 0x437b15a2 in ThreadedFileWriter::SyncLoop ()
from /usr/lib/libmythtv-0.19.so.0
#4 0x437b15d1 in ThreadedFileWriter::boot_syncer ()
from /usr/lib/libmythtv-0.19.so.0
#5 0x4f8a2b80 in start_thread () from /lib/libpthread.so.0
#6 0x4f7249ce in clone () from /lib/libc.so.6
(gdb) thread 3
[Switching to thread 3 (Thread 25385904 (LWP 4239))]#0 0x00e34402 in
__kernel_vsyscall ()
(gdb) bt
#0 0x00e34402 in __kernel_vsyscall ()
#1 0x4f8a4a1c in pthread_cond_timedwait@@GLIBC_2.3.2 ()
from /lib/libpthread.so.0
#2 0x4200c407 in QWaitCondition::wait ()
from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#3 0x437b2932 in ThreadedFileWriter::DiskLoop ()
from /usr/lib/libmythtv-0.19.so.0
#4 0x437b2a21 in ThreadedFileWriter::boot_writer ()
from /usr/lib/libmythtv-0.19.so.0
#5 0x4f8a2b80 in start_thread () from /lib/libpthread.so.0
#6 0x4f7249ce in clone () from /lib/libc.so.6
I stopped the program about a dozen times, and most times its stack trace
indicated the same memcpy() routine.
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/986>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list