[mythtv] Myth teletext backtrace 1

Martin Moeller martin at martinm-76.dk
Mon Jul 28 22:14:27 EDT 2003


Well I hope it is also the last, but probably not. After running for
about 14 hours in gdb mythbackend finally found something it choked on.
I'm hoping some of you can help me out here but I do see one thing the
seems out of place: the last bufferlen value of 980. I don't really buy
the subtitle/subpage combo leading up to it either...

None of threads seem to be 'stuck' in FormatTeletextSubtitles though...

Erik, I know you're busy doing your own thing but does this mean
anything to you? I haven't really done much to your teletext code
outside of vbi.c ...

/Martin.
-- 
Martin Moeller <martin at martinm-76.dk>
-------------- next part --------------
subtitle page 333.0
st.len : 39, act : 6, bufferlen : 93, buffer : 147556512
subtitle page 333.0
st.len : 39, act : 7, bufferlen : 93, buffer : 147432976
subtitle page 333.0
st.len : 39, act : 8, bufferlen : 93, buffer : 145384448
subtitle page 333.0
st.len : 39, act : 9, bufferlen : 93, buffer : 145339512
subtitle page 333.0
st.len : 39, act : 10, bufferlen : 93, buffer : 147495488
subtitle page 333.0
st.len : 39, act : 11, bufferlen : 93, buffer : 145399120
subtitle page 333.0
st.len : 39, act : 12, bufferlen : 93, buffer : 149605272
subtitle page 333.0
st.len : 39, act : 13, bufferlen : 93, buffer : 147368752
subtitle page 333.0
st.len : 39, act : 14, bufferlen : 93, buffer : 145391520
subtitle page 333.0
st.len : 39, act : 15, bufferlen : 93, buffer : 151985920
Changing from RecordingOnly to None
[New Thread 101476 (LWP 15749)]
[New Thread 102501 (LWP 15751)]
[New Thread 103526 (LWP 15790)]
Changing from None to RecordingOnly
[New Thread 104551 (LWP 15791)]
[New Thread 105576 (LWP 15792)]
[New Thread 106601 (LWP 15793)]
[New Thread 107626 (LWP 15794)]
strange error flushing buffer ...
subtitle page 424.3006
st.len : 34, act : 0, bufferlen : 980, buffer : 149640456

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 3076 (LWP 22348)]
0x404d2906 in posix_memalign () from /usr/lib/libqt-mt.so.3
(gdb) thread apply all bt full

Thread 107 (Thread 107626 (LWP 15794)):
#0  0x40b00f2e in select () from /lib/libc.so.6
No symbol table info available.
#1  0x08f18a48 in ?? ()
No symbol table info available.
#2  0x080ec0b1 in NuppelVideoRecorder::VbiThread(void*) (param=0xfffffdfe)
    at NuppelVideoRecorder.cpp:1610
No locals.
#3  0x4094e1b0 in pthread_start_thread () from /lib/libpthread.so.0
No symbol table info available.
#4  0x4094e22f in pthread_start_thread_event () from /lib/libpthread.so.0
No symbol table info available.

Thread 106 (Thread 106601 (LWP 15793)):
#0  0x40afaa94 in read () from /lib/libc.so.6
No symbol table info available.
#1  0x4095cac0 in __JCR_LIST__ () from /lib/libpthread.so.0
No symbol table info available.
#2  0x080ec3a9 in NuppelVideoRecorder::doAudioThread() (this=0x8f18a48)
    at NuppelVideoRecorder.cpp:1698
        afmt = 16
        trigger = 1
        afd = 27
        act = 1024
        lastread = 27
        frag = 524298
        blocksize = 4096
        buffer = (
    unsigned char *) 0x949ff40 "_1\205\032\226\230rV4y\\\022ZF\nYO@.\n\232qS*\002"
        ispace = {fragments = 0, fragstotal = 8, fragsize = 1024, bytes = 4}
        anow = {tv_sec = 1059416252, tv_usec = 208332}
#3  0x080ec091 in NuppelVideoRecorder::AudioThread(void*) (param=0x400)
    at NuppelVideoRecorder.cpp:1601
No locals.
#4  0x4094e1b0 in pthread_start_thread () from /lib/libpthread.so.0
No symbol table info available.
#5  0x4094e22f in pthread_start_thread_event () from /lib/libpthread.so.0
No symbol table info available.

Thread 105 (Thread 105576 (LWP 15792)):
#0  0x40ad8d01 in nanosleep () from /lib/libc.so.6
No symbol table info available.
#1  0x40b016da in usleep () from /lib/libc.so.6
No symbol table info available.
#2  0x080ed502 in NuppelVideoRecorder::doWriteThread() (this=0xb2bffa64)
    at NuppelVideoRecorder.cpp:2319
No locals.
#3  0x080ec071 in NuppelVideoRecorder::WriteThread(void*) (param=0xfffffffc)
    at NuppelVideoRecorder.cpp:1592
No locals.
#4  0x4094e1b0 in pthread_start_thread () from /lib/libpthread.so.0
No symbol table info available.
#5  0x4094e22f in pthread_start_thread_event () from /lib/libpthread.so.0
No symbol table info available.

Thread 104 (Thread 104551 (LWP 15791)):
#0  0x40b007d4 in ioctl () from /lib/libc.so.6
No symbol table info available.
#1  0xb2dff8b8 in ?? ()
No symbol table info available.
#2  0x080b6bb1 in SpawnEncode(void*) (param=0xfffffe00) at tv_rec.cpp:33
No locals.
#3  0x4094e1b0 in pthread_start_thread () from /lib/libpthread.so.0
No symbol table info available.
#4  0x4094e22f in pthread_start_thread_event () from /lib/libpthread.so.0
No symbol table info available.

Thread 103 (Thread 103526 (LWP 15790)):
#0  0x40ad8d01 in nanosleep () from /lib/libc.so.6
No symbol table info available.
#1  0x40b016da in usleep () from /lib/libc.so.6
No symbol table info available.
#2  0x080a0ae9 in ThreadedFileWriter::DiskLoop() (this=0x90b1590)
    at RingBuffer.cpp:195
        size = 0
        lastsynctime = {d = {jd = 2452849}, t = {ds = 73051473}}
        curtime = {d = {jd = 2452849}, t = {ds = 73052191}}
#3  0x080a0511 in ThreadedFileWriter::boot_writer(void*) (wotsit=0xfffffffc)
    at RingBuffer.cpp:80
No locals.
#4  0x4094e1b0 in pthread_start_thread () from /lib/libpthread.so.0
No symbol table info available.
#5  0x4094e22f in pthread_start_thread_event () from /lib/libpthread.so.0
No symbol table info available.

Thread 11 (Thread 9226 (LWP 22354)):
#0  0x40a64ea9 in sigsuspend () from /lib/libc.so.6
No symbol table info available.
#1  0x40950d48 in __pthread_wait_for_restart_signal ()
   from /lib/libpthread.so.0
No symbol table info available.
#2  0x4094d14b in pthread_cond_wait () from /lib/libpthread.so.0
No symbol table info available.
#3  0x40789b52 in QWaitCondition::wait(unsigned long) ()
   from /usr/lib/libqt-mt.so.3
No symbol table info available.
#4  0x0807f6c9 in ProcessRequestThread::run() (this=0x8355440)
    at mainserver.cpp:57
No locals.
#5  0x404d0f78 in QProc::~QProc() () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#6  0x4094e1b0 in pthread_start_thread () from /lib/libpthread.so.0
No symbol table info available.
#7  0x4094e22f in pthread_start_thread_event () from /lib/libpthread.so.0
No symbol table info available.

Thread 10 (Thread 8201 (LWP 22353)):
#0  0x40a64ea9 in sigsuspend () from /lib/libc.so.6
No symbol table info available.
#1  0x40950d48 in __pthread_wait_for_restart_signal ()
   from /lib/libpthread.so.0
No symbol table info available.
#2  0x4094d14b in pthread_cond_wait () from /lib/libpthread.so.0
No symbol table info available.
#3  0x40789b52 in QWaitCondition::wait(unsigned long) ()
   from /usr/lib/libqt-mt.so.3
No symbol table info available.
#4  0x0807f6c9 in ProcessRequestThread::run() (this=0x835e540)
    at mainserver.cpp:57
No locals.
#5  0x404d0f78 in QProc::~QProc() () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#6  0x4094e1b0 in pthread_start_thread () from /lib/libpthread.so.0
No symbol table info available.
#7  0x4094e22f in pthread_start_thread_event () from /lib/libpthread.so.0
No symbol table info available.

Thread 9 (Thread 7176 (LWP 22352)):
#0  0x40a64ea9 in sigsuspend () from /lib/libc.so.6
No symbol table info available.
#1  0x40950d48 in __pthread_wait_for_restart_signal ()
   from /lib/libpthread.so.0
No symbol table info available.
#2  0x4094d14b in pthread_cond_wait () from /lib/libpthread.so.0
No symbol table info available.
#3  0x40789b52 in QWaitCondition::wait(unsigned long) ()
   from /usr/lib/libqt-mt.so.3
No symbol table info available.
#4  0x0807f6c9 in ProcessRequestThread::run() (this=0x83553e8)
    at mainserver.cpp:57
No locals.
#5  0x404d0f78 in QProc::~QProc() () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#6  0x4094e1b0 in pthread_start_thread () from /lib/libpthread.so.0
No symbol table info available.
#7  0x4094e22f in pthread_start_thread_event () from /lib/libpthread.so.0
No symbol table info available.

Thread 8 (Thread 6151 (LWP 22351)):
#0  0x40a64ea9 in sigsuspend () from /lib/libc.so.6
No symbol table info available.
#1  0x40950d48 in __pthread_wait_for_restart_signal ()
   from /lib/libpthread.so.0
No symbol table info available.
#2  0x4094d14b in pthread_cond_wait () from /lib/libpthread.so.0
No symbol table info available.
#3  0x40789b52 in QWaitCondition::wait(unsigned long) ()
   from /usr/lib/libqt-mt.so.3
No symbol table info available.
#4  0x0807f6c9 in ProcessRequestThread::run() (this=0x8355580)
    at mainserver.cpp:57
No locals.
#5  0x404d0f78 in QProc::~QProc() () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#6  0x4094e1b0 in pthread_start_thread () from /lib/libpthread.so.0
No symbol table info available.
#7  0x4094e22f in pthread_start_thread_event () from /lib/libpthread.so.0
No symbol table info available.

Thread 7 (Thread 5126 (LWP 22350)):
#0  0x40a64ea9 in sigsuspend () from /lib/libc.so.6
No symbol table info available.
#1  0x40950d48 in __pthread_wait_for_restart_signal ()
   from /lib/libpthread.so.0
No symbol table info available.
#2  0x4094d14b in pthread_cond_wait () from /lib/libpthread.so.0
No symbol table info available.
#3  0x40789b52 in QWaitCondition::wait(unsigned long) ()
   from /usr/lib/libqt-mt.so.3
No symbol table info available.
#4  0x0807f6c9 in ProcessRequestThread::run() (this=0x83568e0)
    at mainserver.cpp:57
No locals.
#5  0x404d0f78 in QProc::~QProc() () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#6  0x4094e1b0 in pthread_start_thread () from /lib/libpthread.so.0
No symbol table info available.
#7  0x4094e22f in pthread_start_thread_event () from /lib/libpthread.so.0
No symbol table info available.

Thread 6 (Thread 4101 (LWP 22349)):
#0  0x40ad8d01 in nanosleep () from /lib/libc.so.6
No symbol table info available.
#1  0x40ad8bd9 in sleep () from /lib/libc.so.6
No symbol table info available.
#2  0x0808d9a3 in Transcoder::TranscodePoll() (this=0x8356e00)
    at transcoder.cpp:341
No locals.
#3  0x0808dbd1 in Transcoder::TranscodePollThread(void*) (param=0xfffffffc)
    at transcoder.cpp:359
No locals.
#4  0x4094e1b0 in pthread_start_thread () from /lib/libpthread.so.0
No symbol table info available.
#5  0x4094e22f in pthread_start_thread_event () from /lib/libpthread.so.0
No symbol table info available.

Thread 5 (Thread 3076 (LWP 22348)):
#0  0x404d2906 in posix_memalign () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#1  0x404d2058 in malloc () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#2  0x4079e888 in QGArray::resize(unsigned, QGArray::Optimization) ()
   from /usr/lib/libqt-mt.so.3
No symbol table info available.
#3  0x4079e8de in QGArray::resize(unsigned) () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#4  0x4079e924 in QGArray::fill(char const*, int, unsigned) ()
   from /usr/lib/libqt-mt.so.3
No symbol table info available.
#5  0x407b342f in QRegExp::QRegExp(QRegExp const&) ()
   from /usr/lib/libqt-mt.so.3
No symbol table info available.
#6  0x407bbb9e in QString::replace(QRegExp const&, QString const&) ()
   from /usr/lib/libqt-mt.so.3
No symbol table info available.
#7  0x08063c4d in AutoExpire::ExpireEpisodesOverMax() (this=0x8356258)
    at autoexpire.cpp:152
        maxEpisodes = {sh = 0x90b6970}
        maxIter = {node = 0x8e95568}
        fileprefix = {static null = Cannot access memory at address 0x0



More information about the mythtv-dev mailing list