[mythtv] One more teletext backtrace (2)

Martin Moeller martin at martinm-76.dk
Mon Jul 28 23:56:15 EDT 2003


It seems my signal from TV3 on my recording box is just bad enough to
trigger the conditions (as the only station so far).

This second backtrace does have FormatTeletextSubtitles in the picture
and the buffer does look a bit weird. I'll look more closely at where
the bounding should occur tomorrow if I have time.

/Martin.
-- 
Martin Moeller <martin at martinm-76.dk>
-------------- next part --------------
st.len : 40, act : 36, bufferlen : 47, buffer : 137909592
subtitle page 880.0
st.len : 41, act : 37, bufferlen : 48, buffer : 138023424
[New Thread 16401 (LWP 21658)]
[New Thread 17426 (LWP 21659)]
subtitle page 407.2000
st.len : 40, act : 38, bufferlen : 582, buffer : 138023832
IOBOUND - blocking in ThreadedFileWriter::Write()
ran out of free AUDIO buffers :-(
ran out of free AUDIO buffers :-(
ran out of free AUDIO buffers :-(
ran out of free AUDIO buffers :-(
ran out of free AUDIO buffers :-(
<message repeated *MANY* times>
Backend stuffed up in RequestRingBufferBlock
<more of the audio messages. *MANY* more>
<repeat 10-20 times?>
ran out of free AUDIO buffers :-(
ran out of free AUDIO buffers :-(
subtitle page 459.1

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 15376 (LWP 21587)]
NuppelVideoRecorder::FormatTeletextSubtitles(VBIData*) (this=0x415b4008, vbidata=0xbdbff67c) at NuppelVideoRecorder.cpp:1778
1778        *outpos = 0;
(gdb) thread apply all bt full

Thread 19 (Thread 17426 (LWP 21659)):
#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=0x837bfd0) at RingBuffer.cpp:195
        size = 0
        lastsynctime = {d = {jd = 2452849}, t = {ds = 81278145}}
        curtime = {d = {jd = 2452849}, t = {ds = 81278701}}
#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 17 (Thread 15376 (LWP 21587)):
#0  NuppelVideoRecorder::FormatTeletextSubtitles(VBIData*) (this=0x415b4008, vbidata=0xbdbff67c) at NuppelVideoRecorder.cpp:1778
        tnow = {tv_sec = 1059424976, tv_usec = 359223}
        act = 39
        inpos = (
    unsigned char *) 0xbdbff698 "\207s\002Ð\025!Yr\003459\002TV3 DK  man 28 jul 2 :42:51\024\035\032\027", '\177' <repeats 23 times>, "?!x7 `p0\"o4  \024\035\032\027?!ppp4`0`2o'`ppx\177\177\177\177\177\177\177!h\177}|\177\177? j\177  \024\035\032\027}pp0\"5j5j5jtpp {\177\177\177\177\177\177\177 j\177\177\1775  (\177\1775", ' ' <repeats 41 times>...
        outpos = (unsigned char *) 0x20202020 <Address 0x20202020 out of bounds>
        st = {row = 0 '\0', col = 0 '\0', dbl = 1 '\001', fg = 0 '\0', bg = 0 '\0', len = 248 'ø'}
        linebuf = "TV¸¸DK  man 28 jul 24¸¸¸¸¸1½\0309\225@\0\0\0\0\0\0\0\0"
        linebufpos = (unsigned char *) 0xbdbff56c "TV¸¸DK  man 28 jul 24¸¸¸¸¸1½\0309\225@"
#1  0x080ed37d in NuppelVideoRecorder::doVbiThread() (this=0xbdbff56c) at NuppelVideoRecorder.cpp:2198
        vbi = (vbi *) 0x8580d18
        cc = (cc *) 0x0
        vbifd = -1111492968
        subtitle = {row = 0 '\0', rowcount = 0 '\0', resumedirect = 0 '\0', resumetext = 0 '\0', clr = 0 '\0', len = 0 '\0'}
        vbicallbackdata = {nvr = 0x415b4008, teletextpage = {pgno = 1113, subno = 1, lang = 2, flags = 242, errors = 18, lines = 13106927,
    data = {"\207s\002Ð\025!Yr\003459\002TV3 DK  man 28 jul 2 :42:51", "\024\035\032\027", '\177' <repeats 23 times>, "?!x7 `p0\"o4  ",
      "\024\035\032\027?!ppp4`0`2o'`ppx\177\177\177\177\177\177\177!h\177}|\177\177? j\177  ",
      "\024\035\032\027}pp0\"5j5j5jtpp {\177\177\177\177\177\177\177 j\177\177\1775  (\177\1775 ", ' ' <repeats 40 times>,
      "\024\035\032\027", '\177' <repeats 23 times>, "}4*u \"#!`~%  ", "\a\035\b\004Sådan modtager du en dynamisk SMS:  ",
      ' ' <repeats 40 times>, ' ' <repeats 40 times>, "\006¸i¸ tl¸.¸¸¸31 OB\003¸ Ku¸ ¸¸lgä¸glYg fot É",
      "\002TDC/VIC, Sonofon, Telia, Debitel       ", "\002og O¸ange kunder med en nyere Nokia    ", "\002mob¸l", ' ' <repeats 34 times>,
      "\aDu modtager kort efter SMS beskedenw   ", "\a", ' ' <repeats 39 times>, "\aEksempel Du vil hente en dynamisk SMS  ",
      "\ader hedder Psstt, send fölgende kode:  ", "\0023dyn 00027a", ' ' <repeats 28 times>, "\atil tlf. nr. 1231. Det koster 10kr.    ",
      ' ' <repeats 40 times>, ' ' <repeats 40 times>, ' ' <repeats 40 times>, ' ' <repeats 40 times>,
      "\a\035\004   *** BLINK SMS SE 455-457 ***   1/4", ' ' <repeats 40 times>}, flof = 0, link = {{pgno = 0, subno = 0}, {pgno = 0,
        subno = 0}, {pgno = 0, subno = 0}, {pgno = 0, subno = 0}, {pgno = 0, subno = 0}, {pgno = 0, subno = 0}}}, foundteletextpage = true}
#2  0x080ec0b1 in NuppelVideoRecorder::VbiThread(void*) (param=0x20202020) 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 16 (Thread 14351 (LWP 21586)):
#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=0x415b4008) at NuppelVideoRecorder.cpp:1698
        afmt = 16
        trigger = 1
        afd = 23
        act = 1024
        lastread = 23
        frag = 524298
        blocksize = 4096
        buffer = (unsigned char *) 0x857fd10 "Hþ\036ÿRþ+ÿ\212þcÿËþ¤ÿâþ¸ÿøþÍÿøþÑÿ#ÿøÿMÿ'"
        ispace = {fragments = 0, fragstotal = 8, fragsize = 1024, bytes = 0}
        anow = {tv_sec = 1059424976, tv_usec = 349156}
#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 15 (Thread 13326 (LWP 21585)):
#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  0x080a0840 in ThreadedFileWriter::Write(void const*, unsigned) (this=0x837bfd0, data=0x20202020, count=538976288) at RingBuffer.cpp:143
        first = -1107297852
#3  0x080a2d76 in RingBuffer::Write(void const*, int) (this=0x20202020, buf=0x20202020, count=538976288) at RingBuffer.cpp:1004
        ret = -1
#4  0x080ee374 in NuppelVideoRecorder::WriteText(unsigned char*, int, int, int) (this=0x415b4008,
    buf=0x20202020 <Address 0x20202020 out of bounds>, len=538976288, timecode=-4, pagenr=538996325) at NuppelVideoRecorder.cpp:2736
        frameheader = {frametype = 84 'T', comptype = 84 'T', keyframe = 0 '\0', filters = 0 '\0', timecode = 1735552877,
  packetlength = 538976292}
#5  0x080ed655 in NuppelVideoRecorder::doWriteThread() (this=0x415b4008) at /usr/include/g++/bits/stl_vector.h:289
No locals.
#6  0x080ec071 in NuppelVideoRecorder::WriteThread(void*) (param=0xfffffffc) at NuppelVideoRecorder.cpp:1592
No locals.
#7  0x4094e1b0 in pthread_start_thread () from /lib/libpthread.so.0
No symbol table info available.
#8  0x4094e22f in pthread_start_thread_event () from /lib/libpthread.so.0
No symbol table info available.

Thread 14 (Thread 12301 (LWP 21584)):
#0  0x40b007d4 in ioctl () from /lib/libc.so.6
No symbol table info available.
#1  0xbe1ff8b8 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 13 (Thread 11276 (LWP 21583)):
#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  0x080a2a41 in RingBuffer::Read(void*, int) (this=0x839ac10, buf=0x41575008, count=128000) at RingBuffer.cpp:901
        ret = -1
#3  0x080c5ffc in TVRec::DoReadThread() (this=0x8351450) at tv_rec.cpp:1998
        buffer = 0x41575008 "\020\020ÀLâ\020\017\017\001\022"
#4  0x080c60d1 in TVRec::ReadThread(void*) (param=0xfffffffc) at tv_rec.cpp:2013
No locals.
#5  0x4094e1b0 in pthread_start_thread () from /lib/libpthread.so.0
No symbol table info available.
#6  0x4094e22f in pthread_start_thread_event () from /lib/libpthread.so.0
No symbol table info available.

Thread 11 (Thread 9226 (LWP 21576)):
#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  0x080c5ee9 in TVRec::RequestRingBufferBlock(int) (this=0x8351450, size=128000) at tv_rec.cpp:1971
        locked = true
        curtime = {d = {jd = 2452849}, t = {ds = 81780743}}
#3  0x080792d5 in MainServer::HandleRecorderQuery(QStringList&, QStringList&, PlaybackSock*) (this=0x83522d8, slist=@0x83567f4,
    commands=@0x839e480, pbs=0xfffffffc) at mainserver.cpp:1404
        pbssock = (struct QSocket *) 0x837f558
        recnum = 1
        iter = {node = 0x8356be0}
        enc = (EncoderLink *) 0x83562d0
        command = {static null = Cannot access memory at address 0x0
1778        *outpos = 0;



More information about the mythtv-dev mailing list