[mythtv] Two new crashes

Adam Egger adam.egger at gmail.com
Mon Jul 11 14:18:10 EDT 2005


Hi, 
I don't know what I'm doing but I'm running into crashes permanently ;-)
System: debian64 with DVB-t.

The first one. The backend crashes when I navigate through the list of
recordings:

2005-07-11 20:06:30.525 NVP::OpenFile(): Error, file not found:
/video/mythtv/1016_20050412211900_20050412222000.nuv
2005-07-11 20:06:30.525 Not enough video to make thumbnail
2005-07-11 20:06:30.526 write -> 18 3       BAD
2005-07-11 20:06:34.182 read  <- 18 426     QUERY_GENPIXMAP[]:[]Der
kleine König[]:[]Fotomanie[]:[]Fotomanie[...
[New Thread 1182792048 (LWP 10798)]
2005-07-11 20:06:34.645 detectInterlace(Detect Scan, Detect Scan, 25,
480) ->Interlaced Scan
2005-07-11 20:06:34.645 Interlaced: Interlaced Scan  video_height: 480  fps: 25
2005-07-11 20:06:34.780 Estimated bitrate = 0
2005-07-11 20:06:34.799 VideoOutputNull()
2005-07-11 20:06:35.092 Image size. dispxoff 0, dispyoff: 0, dispwoff:
0, disphoff: 0
2005-07-11 20:06:35.093 Image size. imgx 0, imgy: 0, imgw: 640, imgh: 480
2005-07-11 20:06:35.098 Video timecode = 0
2005-07-11 20:06:35.312 Video timecode = 8340

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1174403440 (LWP 10688)]
0x00002aaaadae02cd in mallopt () from /lib/libc.so.6

(gdb) bt
#0  0x00002aaaadae02cd in mallopt () from /lib/libc.so.6
#1  0x00002aaaadadf1a2 in free () from /lib/libc.so.6
#2  0x00002aaaab1d038a in NuppelDecoder::CloseAVCodec (this=0x74a6e0)
at nuppeldecoder.cpp:673
#3  0x00002aaaab1d1c52 in ~NuppelDecoder (this=0x74a6e0) at nuppeldecoder.cpp:95
#4  0x00002aaaab1ba630 in ~NuppelVideoPlayer (this=0x74edf0) at
NuppelVideoPlayer.cpp:231
#5  0x00002aaaab2c9f14 in TVRec::GetScreenGrab (this=0x724080,
pginfo=0x7509e0, filename=@0x45ffec40, secondsin=184,
bufferlen=@0x45ffec2c,
    video_width=@0x45ffec28, video_height=@0x45ffec24,
video_aspect=@0x45ffec20) at tv_rec.cpp:993
#6  0x0000000000422e3e in EncoderLink::GetScreenGrab (this=0x732890,
pginfo=0x7509e0, filename=@0x45ffec40, secondsin=184,
    bufferlen=@0x45ffec2c, video_width=@0x45ffec28,
video_height=@0x45ffec24, video_aspect=@0x45ffec20) at
encoderlink.cpp:1001
#7  0x000000000043f94c in MainServer::HandleGenPreviewPixmap
(this=0x2aaaafd01800, slist=@0x45fff370, pbs=0x736190) at
mainserver.cpp:3183
#8  0x000000000044f551 in MainServer::ProcessRequestWork
(this=0x2aaaafd01800, sock=0x2aaaafd07dd0) at mainserver.cpp:419
#9  0x00000000004516a7 in MainServer::ProcessRequest
(this=0x2aaaafd01800, sock=0x2aaaafd07dd0) at mainserver.cpp:230
#10 0x000000000045ea0d in ProcessRequestThread::run
(this=0x2aaaafd013a0) at mainserver.cpp:81
#11 0x00002aaaacb9f647 in QThreadInstance::start () from /usr/lib/libqt-mt.so.3
#12 0x00002aaaad4bbb55 in start_thread () from /lib/libpthread.so.0
#13 0x00002aaaadb3a7f0 in clone () from /lib/libc.so.6
#14 0x0000000000000000 in ?? ()
#15 0x0000000000000000 in ?? ()
#16 0x0000000000000000 in ?? ()
#17 0x0000000000000000 in ?? ()
#18 0x0000000000000000 in ?? ()
#19 0x0000000000000000 in ?? ()
#20 0x0000000000000000 in ?? ()
#21 0x0000000000000000 in ?? ()
#22 0x00002aaaadc89e00 in __check_rhosts_file () from /lib/libc.so.6

The full bt seems to be broken:

thread apply all bt full

Thread 14 (Thread 1182792048 (LWP 10798)):
#0  0x00002aaaad4c0a6f in __read_nocancel () from /lib/libpthread.so.0
No symbol table info available.
#1  0x00002aaaab08686c in RingBuffer::safe_read (this=0x74b610, fd=20,
data=0x2aaab0b68810, sz=128000) at RingBuffer.cpp:1063
        ret = 0
        tot = 0
        errcnt = 0
        zerocnt = 0
#2  0x00002aaaab087edc in RingBuffer::ReadAheadThread (this=0x74b610)
at RingBuffer.cpp:1363
        totfree = 128000
        ret = 128000
        used = 224524
        loops = 0
#3  0x00002aaaab0887e3 in RingBuffer::startReader (type=0x74b610) at
RingBuffer.cpp:1293
        rbuffer = (RingBuffer *) 0x74b610
#4  0x00002aaaad4bbb55 in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#5  0x00002aaaadb3a7f0 in clone () from /lib/libc.so.6
No symbol table info available.
#6  0x0000000000000000 in ?? ()
No symbol table info available.
#7  0x0000000000000000 in ?? ()
No symbol table info available.
#8  0x0000000000000000 in ?? ()
No symbol table info available.
#9  0x0000000000000000 in ?? ()
No symbol table info available.



Here's the second one. The frontend crashes when I press ESC on a old
analogue NUV file:

2005-07-11 20:13:51.087 VideoBuffers::DiscardFrames():
AUUUUUUUUUUUUUUUUUUUUUUUUUUUUUU
2005-07-11 20:13:51.087 VideoBuffers::DiscardFrames():
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA -- done()
2005-07-11 20:13:51.090 audio waiting for space on soundcard: have
3382 need 4096
[Thread 1140849008 (LWP 11683) exited]
2005-07-11 20:13:51.104 Broadcasting free space avail
2005-07-11 20:13:51.104 Killing AudioOutputDSP
2005-07-11 20:13:51.104 OutputAudioLoop: Stop Event
2005-07-11 20:13:51.105 kickoffOutputAudioLoop exiting
[Thread 1132460400 (LWP 11679) exited]
[Thread 1115683184 (LWP 11677) exited]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1107294576 (LWP 11675)]
0x00002aaaadae02cd in mallopt () from /lib/libc.so.6
(gdb) bt
#0  0x00002aaaadae02cd in mallopt () from /lib/libc.so.6
#1  0x00002aaaadadf1a2 in free () from /lib/libc.so.6
#2  0x00002aaaab1d038a in NuppelDecoder::CloseAVCodec (this=0x9e1a60)
at nuppeldecoder.cpp:673
#3  0x00002aaaab1d1c52 in ~NuppelDecoder (this=0x9e1a60) at nuppeldecoder.cpp:95
#4  0x00002aaaab1ba630 in ~NuppelVideoPlayer (this=0xa0a8b0) at
NuppelVideoPlayer.cpp:231
#5  0x00002aaaab1880b9 in TV::TeardownPlayer (this=0x9317b0) at tv_play.cpp:1121
#6  0x00002aaaab188479 in TV::StopStuff (this=0x9317b0,
stopRingBuffers=true, stopPlayers=true, stopRecorders=false) at
tv_play.cpp:1008
#7  0x00002aaaab19a612 in TV::HandleStateChange (this=0x9317b0) at
tv_play.cpp:801
#8  0x00002aaaab1aa8d0 in TV::RunTV (this=0x9317b0) at tv_play.cpp:1225
#9  0x00002aaaab1ab455 in TV::EventThread (param=0x9317b0) at tv_play.cpp:1170
#10 0x00002aaaad4bbb55 in start_thread () from /lib/libpthread.so.0
#11 0x00002aaaadb3a7f0 in clone () from /lib/libc.so.6
#12 0x0000000000000000 in ?? ()
#13 0x0000000000000000 in ?? ()
#14 0x0000000000000000 in ?? ()
#15 0x0000000000000000 in ?? ()
#16 0x0000000000000000 in ?? ()
#17 0x0000000000000000 in ?? ()
#18 0x0000000000000000 in ?? ()
#19 0x0000000000000000 in ?? ()
#20 0x00002aaaadc89e00 in __check_rhosts_file () from /lib/libc.so.6

(gdb) thread apply all bt full

Thread 9 (Thread 1124071792 (LWP 11678)):
#0  0x00002aaaadb13335 in nanosleep () from /lib/libc.so.6
No symbol table info available.
#1  0x00002aaaadb34e08 in usleep () from /lib/libc.so.6
No symbol table info available.
#2  0x00002aaaab087c78 in RingBuffer::ReadAheadThread (this=0x992400)
at RingBuffer.cpp:1318
        totfree = 81249
        ret = 128000
        used = 2556273
        loops = 4
#3  0x00002aaaab0887e3 in RingBuffer::startReader (type=0x992400) at
RingBuffer.cpp:1293
        rbuffer = (RingBuffer *) 0x992400
#4  0x00002aaaad4bbb55 in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#5  0x00002aaaadb3a7f0 in clone () from /lib/libc.so.6
No symbol table info available.
#6  0x0000000000000000 in ?? ()
No symbol table info available.
#7  0x0000000000000000 in ?? ()
No symbol table info available.
#8  0x0000000000000000 in ?? ()
No symbol table info available.
#9  0x0000000000000000 in ?? ()
No symbol table info available.
#10 0x0000000000000000 in ?? ()
No symbol table info available.
#11 0x0000000000000000 in ?? ()

Thank you for looking at it. Do you need the bt from every thread?

Regards,
Adam


More information about the mythtv-dev mailing list