[mythtv-users] 0.19-fixes mythbackend crashes when recording

Hoxzer hokkus hoxzer at gmail.com
Wed Jul 12 00:24:25 UTC 2006


I'm running 0.19-fixes compiled from svn and backend crashes sometimes
while I record DVB.

TV-card: Terratec Cinergy 1200 DVB-C
OS: debian etch
Kernel: 2.6.15-1-686

sh-3.1$ mythbackend --version
Library API version: 0.19.20060121-2
Source code version: 10436
Options compiled in:
 linux debug using_xvmcw using_v4l using_oss using_alsa using_arts
using_jack using_ivtv using_firewire using_dbox2 using_lirc
using_joystick_menu using_dvb using_dvb_eit using_x11 using_xv
using_dvdnav using_xrandr using_xvmc using_xvmc_vld using_opengl_vsync
using_frontend using_backend

End of logfile:
2006-07-09 01:45:03.766 TVRec(1): Starting Recorder
2006-07-09 01:45:03.765 SIParser: No Private Types defined for NetworkID 0
2006-07-09 01:45:03.772 TVRec(1): Using profile 'Default' to record
2006-07-09 01:45:03.810 SIParser: Table[6]->Complete() == true
2006-07-09 01:45:03.815 SIParser: Table[5]->RequirePIDs() == true
2006-07-09 01:45:03.816 DVBSIParser: Adding PID 0x  11 Filter 0x46
Mask 0xfb Buffer 40960
2006-07-09 01:45:03.815 RecBase(0): SetRingBuffer(0x81f8b30)
'/mnt/tv/1504_20060709014500.mpg'
2006-07-09 01:45:03.825 RecBase(0): SetRecording(0x815cbe8)
title(Anopin otteessa)
2006-07-09 01:45:03.837 DVBRec(0): Card opened successfully fd(22)
(using TS mode).
2006-07-09 01:45:03.838 DVBRec(0): SetPMTObject()
2006-07-09 01:45:03.839 DVBRec(0): AutoPID for MPEG Program
Number(49), PCR PID(0x131)
2006-07-09 01:45:03.840 DVBRec(0): AutoPID recording PID 0x131, MPEG-2 Video
2006-07-09 01:45:03.841 DVBRec(0): AutoPID recording PID 0x231, MPEG-2
Audio (fin
2006-07-09 01:45:03.842 DVBRec(0): AutoPID recording PID 0x431, Subtitle
2006-07-09 01:45:03.844 DVBRec(0): AutoPID recording PID 0x331, Teletext
2006-07-09 01:45:03.845 DVBRec(0): AutoPID Complete - PAT/PMT Loaded for service
                       A/V Streams are unencrypted
2006-07-09 01:45:03.846 DVB#0 CA: SetPMT for ServiceID=49
2006-07-09 01:45:03.847 DVBRecorder::SetPAT(NULL)
2006-07-09 01:45:03.848 DVBRecorder::SetPMT(NULL)
2006-07-09 01:45:03.849 TVRec(1): SetFlags(RecorderRunning,) ->
RunMainLoop,AskAllowRecording,NeedToStartRecorder,SIParserRunning,RecorderRunning,
2006-07-09 01:45:03.851 TVRec(1): ClearFlags(NeedToStartRecorder,) ->
RunMainLoop,AskAllowRecording,SIParserRunning,RecorderRunning,
2006-07-09 01:45:03.855 SIParser: SDT: NetworkID=0 TransportID=2
2006-07-09 01:45:03.857 SIParser: SDT: sid=97 type=1 eit_present=1
eit_requested=1 name=subtv
2006-07-09 01:45:03.858 SIParser: SDT: sid=49 type=1 eit_present=1
eit_requested=1 name=MTV3 D
2006-07-09 01:45:03.859 SIParser: SDT: sid=209 type=1 eit_present=1
eit_requested=1 name=MTV3+
2006-07-09 01:45:03.860 SIParser: SDT: sid=65 type=1 eit_present=1
eit_requested=1 name=Nelonen D
2006-07-09 01:45:03.863 SIParser: SDT: sid=225 type=1 eit_present=1
eit_requested=1 name=Nelonen Plus
2006-07-09 01:45:03.864 SIParser: Table[4]->RequirePIDs() == true
2006-07-09 01:45:03.867 DVBSIParser: Adding PID 0x  12 Filter 0x7f
Mask 0x80 Buffer 4096000
2006-07-09 01:45:03.878 SIParser: Added preferred language 'swe' with priority 3
2006-07-09 01:45:03.880 SIParser: Added preferred language 'nor' with priority 4
2006-07-09 01:45:03.881 SIParser: Added preferred language 'eng' with priority 5
2006-07-09 01:45:03.883 SIParser: Added preferred language 'dan' with priority 6
2006-07-09 01:45:03.891 SIParser: Added preferred language 'ita' with priority 7
2006-07-09 01:45:03.964 SIParser: Added preferred language 'deu' with priority 8
2006-07-09 01:45:04.175 SIParser: Added preferred language 'ger' with priority 9
2006-07-09 01:45:04.584 SIParser: Added preferred language 'fre' with
priority 10
2006-07-09 01:45:05.092 DevRdB(0): buffer size 9400 KB
2006-07-09 01:45:05.630 SIParser: Added preferred language 'gre' with
priority 11
2006-07-09 01:45:05.637 DVBRec(0): Resetting Demux Filters
2006-07-09 01:45:05.653 DVBRec(0): Adding pid 0x131 size(3600384)
2006-07-09 01:45:05.694 DVBRec(0): Set demux buffer size for pid 0x131
to 3600384,
                       which gives us a 1500 msec buffer.
2006-07-09 01:45:05.695 DVBRec(0): Adding pid 0x231 size(94208)
2006-07-09 01:45:05.696 DVBRec(0): Set demux buffer size for pid 0x231 to 94208,
                       which gives us a 1500 msec buffer.
2006-07-09 01:45:05.697 DVBRec(0): Adding pid 0x431 size(94208)
2006-07-09 01:45:05.698 DVBRec(0): Set demux buffer size for pid 0x431 to 94208,
                       which gives us a 1500 msec buffer.
2006-07-09 01:45:05.699 DVBRec(0): Adding pid 0x331 size(94208)
2006-07-09 01:45:05.701 DVBRec(0): Set demux buffer size for pid 0x331 to 94208,
                       which gives us a 1500 msec buffer.
2006-07-09 01:45:05.702 DVBRecorder::SetPAT()
Program Association Table
 PSIP prefix(0x0) tableID(0x0) length(13) extension(0x1)
     version(0) current(1) section(0) last_section(0)
        tsid: 1
 programCount: 1
 program number 1 has PID 0x1700   data  0x0 0x1 0x247 0x0

2006-07-09 01:45:05.704 Parsed PMT(0x0xaba087c8) Program Map Table
ver(0) pid(0x0) pnum(0)


2006-07-09 01:45:05.705 DVBRecorder::SetPMT()
Program Map Table ver(1) pid(0x1700) pnum(1)

 Stream #0 pid(0x131) type(video-mpeg2  0x2)
 Stream #1 pid(0x231) type(audio-mp2-layer[1,2,3]  0x4)
 ISO-639 Language: code(fin) canonical(fin) eng(Finnish)
 Stream #2 pid(0x431) type(private-data  0x6)
 Subtitling Descriptor (0x59) length(8)
 Stream #3 pid(0x331) type(private-data  0x6)
 Teletext Descriptor (0x56) length(5)
 Stream Identifier Descriptor (0x52) length(1)

2006-07-09 01:45:08.426 PID 0x131 Found Payload Start
2006-07-09 01:45:08.429 PID 0x331 Found Payload Start
2006-07-09 01:45:08.437 PID 0x231 Found Payload Start
2006-07-09 01:45:09.123 SIParser: Table[4]->EmitRequired() == true
2006-07-09 01:45:09.137 SIParser: Table[4]->Complete() == true
2006-07-09 01:45:16.291 SIParser: Table[4]->EmitRequired() == true
2006-07-09 01:45:21.049 SIParser: Table[4]->EmitRequired() == true
2006-07-09 01:45:21.078 SIParser: Table[4]->EmitRequired() == true
2006-07-09 01:45:21.121 SIParser: Table[4]->EmitRequired() == true
2006-07-09 01:45:21.166 SIParser: Table[4]->EmitRequired() == true
2006-07-09 01:47:40.068 SIParser: Table[4]->EmitRequired() == true
[mpeg2video @ 0xb7441140]ac-tex damaged at 26 25
[mpeg2video @ 0xb7441140]Warning MVs not available
2006-07-09 01:54:23.890 Commercial Flagging Finished, 2 break(s) found.
0: start_time: 6594.053 duration: 134.464
1: start_time: 6594.020 duration: 134.473
stream: start_time: 73266.888 duration: 1494.412 bitrate=4924 kb/s
2006-07-09 01:54:24.310 AFD: Opened codec 0x86a52d0, id(MPEG2VIDEO) type(Video)
2006-07-09 01:54:24.312 AFD: Opened codec 0x86a58a0, id(MP3) type(Audio)
2006-07-09 02:15:00.686 TVRec(1): ClearFlags(FinishRecording,) ->
RunMainLoop,AskAllowRecording,SIParserRunning,RecorderRunning,
2006-07-09 02:15:00.713 TVRec(1): Changing from RecordingOnly to None
2006-07-09 02:15:00.714 TVRec(1):
ClearFlags(FrontendReady,CancelNextRecording,) ->
RunMainLoop,AskAllowRecording,SIParserRunning,RecorderRunning,
2006-07-09 02:15:00.715 TVRec(1): SetFlags(AskAllowRecording,) ->
RunMainLoop,AskAllowRecording,SIParserRunning,RecorderRunning,
2006-07-09 02:15:00.716 TVRec(1): Request: Program(no) channel()
input() flags(CloseRec,KillRingBuffer,)
2006-07-09 02:15:00.717 DVBSIParser: Stopping DVB Section Reader
2006-07-09 02:15:00.725 DVBSIParser: DVB Section Reader thread stopped
2006-07-09 02:15:00.731 SIParser: Descriptor Stats -- begin
2006-07-09 02:15:00.732 SIParser: On PID 0x10: Found 21, Service List
Descriptors
2006-07-09 02:15:00.733 SIParser: On PID 0x10: Found 21, Private Data
Specifier Descriptors
2006-07-09 02:15:00.734 SIParser: On PID 0x11: Found 5, Unknown(145) Descriptors
2006-07-09 02:15:00.735 SIParser: On PID 0x12: Found 2035, Parental
Rating Descriptors
2006-07-09 02:15:00.736 SIParser: On PID 0x12: Found 1798, Private
Data Specifier Descriptors
2006-07-09 02:15:00.737 SIParser: On PID 0x12: Found 1029, PDC Descriptors
2006-07-09 02:15:00.738 SIParser: On PID 0x12: Found 49, ATSC Stuffing
Descriptors
2006-07-09 02:15:00.776 SIParser: On PID 0x12: Found 29, Audio Descriptors
2006-07-09 02:15:00.777 SIParser: On PID 0x12: Found 718, Unknown(130)
Descriptors
2006-07-09 02:15:00.778 SIParser: Descriptor Stats -- end
2006-07-09 02:15:00.779 TVRec(1): ClearFlags(SIParserRunning,) ->
RunMainLoop,AskAllowRecording,RecorderRunning,


End of backtrace:

#22 0x0807932c in main (argc=5, argv=0xbfe62264) at main.cpp:563
       a = <incomplete type>
       binname = {static null = {static null = <same as static member of an
already seen type>, d = 0x80e73d8, static shared_null = 0x80e73d8}, d
= 0x8127148, static shared_null = 0x80e73d8}
       daemonize = false
       printsched = false
       testsched = false
       resched = false
       nosched = false
       nojobqueue = false
       noexpirer = false
       printexpire = false
       pidfs = <incomplete type>
       port = 6543
       statusport = 6544
       myip = {static null = {static null = <same as static member of an
already seen type>, d = 0x80e73d8, static shared_null = 0x80e73d8}, d
= 0x81423b0, static shared_null = 0x80e73d8}
       masterip = {static null = {static null = <same as static member of an
already seen type>, d = 0x80e73d8, static shared_null = 0x80e73d8}, d
= 0x8142dc8, static shared_null = 0x80e73d8}
       ismaster = true
       fatal_error = false
       runsched = true


start of backtrace:
[Thread debugging using libthread_db enabled]
[New Thread -1250621728 (LWP 10617)]
[New Thread -1254392912 (LWP 10621)]
[New Thread -1262781520 (LWP 10623)]
[New Thread -1271170128 (LWP 10624)]
[New Thread -1279558736 (LWP 10626)]
[New Thread -1287947344 (LWP 10627)]
[New Thread -1296335952 (LWP 10628)]
[New Thread -1304724560 (LWP 10629)]
[New Thread -1313113168 (LWP 10630)]
[New Thread -1321501776 (LWP 10631)]
[New Thread -1329890384 (LWP 10632)]
[New Thread -1338278992 (LWP 10633)]

Program exited with code 0355.
[Thread debugging using libthread_db enabled]
[New Thread -1250945312 (LWP 10642)]
[New Thread -1254716496 (LWP 10647)]
[New Thread -1263105104 (LWP 10654)]
[New Thread -1271493712 (LWP 10657)]
[New Thread -1279882320 (LWP 10659)]
[New Thread -1288270928 (LWP 10661)]
[New Thread -1296659536 (LWP 10662)]
[New Thread -1305048144 (LWP 10663)]
[New Thread -1313436752 (LWP 10664)]
[New Thread -1321825360 (LWP 10665)]
[New Thread -1330213968 (LWP 10666)]
[New Thread -1338602576 (LWP 10667)]
[New Thread -1346991184 (LWP 10668)]
[New Thread -1355379792 (LWP 10845)]
[New Thread -1363768400 (LWP 10846)]
[Thread -1355379792 (LWP 10845) exited]
[Thread -1363768400 (LWP 10846) exited]
[New Thread -1363768400 (LWP 10847)]
[New Thread -1355379792 (LWP 10848)]
[New Thread -1374258256 (LWP 10849)]
[New Thread -1387893840 (LWP 10850)]
[New Thread -1405912144 (LWP 10851)]
[Thread -1363768400 (LWP 10847) exited]
[Thread -1405912144 (LWP 10851) exited]
[Thread -1387893840 (LWP 10850) exited]
[New Thread -1387893840 (LWP 11144)]
[Thread -1374258256 (LWP 10849) exited]
[Thread -1355379792 (LWP 10848) exited]
[Thread -1387893840 (LWP 11144) exited]
[New Thread -1387893840 (LWP 11152)]
[New Thread -1355379792 (LWP 11185)]
[New Thread -1374258256 (LWP 11186)]
[Thread -1355379792 (LWP 11185) exited]
[Thread -1374258256 (LWP 11186) exited]
[New Thread -1374258256 (LWP 11187)]
[New Thread -1355379792 (LWP 11188)]
[New Thread -1405912144 (LWP 11189)]
[New Thread -1363768400 (LWP 11190)]
[New Thread -1415578704 (LWP 11191)]
[Thread -1387893840 (LWP 11152) exited]
[Thread -1374258256 (LWP 11187) exited]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1250945312 (LWP 10642)]
0xb7c27902 in QMapPrivate<unsigned short, Event>::clear
(this=0x81ca378) at /usr/include/qt3/qmap.h:477
477	    clear( (NodePtr)(header->parent) );

Thread 29 (Thread -1415578704 (LWP 11191)):
#0  0xb60ac819 in poll () from /lib/tls/libc.so.6
No symbol table info available.
#1  0xb7b944b6 in DeviceReadBuffer::Poll (this=0x81f91d0) at
DeviceReadBuffer.cpp:293
	polls = {fd = 22, events = 1, revents = 0}
	ret = 1
	retval = true
#2  0xb7b9508f in DeviceReadBuffer::fill_ringbuffer (this=0x81f91d0)
at DeviceReadBuffer.cpp:235
	read_size = 48128
	errcnt = 0
#3  0xb7b951a1 in DeviceReadBuffer::boot_ringbuffer (arg=0x81f91d0) at
DeviceReadBuffer.cpp:211
No locals.
#4  0xb6235ced in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.
#5  0xb60b6dee in clone () from /lib/tls/libc.so.6
No symbol table info available.

Thread 28 (Thread -1363768400 (LWP 11190)):
#0  0xb60772bc in nanosleep () from /lib/tls/libc.so.6
No symbol table info available.
#1  0xb60afb9a in usleep () from /lib/tls/libc.so.6
No symbol table info available.
#2  0xb7b95243 in DeviceReadBuffer::WaitForUsed (this=0x81f91d0,
needed=752) at DeviceReadBuffer.cpp:450
	avail = 4888
#3  0xb7b952aa in DeviceReadBuffer::Read (this=0x81f91d0,
buf=0x8437758 "G\0011\037`À\tÖÄí{O°è¶q\200n\036\a-Jc\203\226\024àjòÞ\221\207ão}M\217\036<écð\205¬\234ðG\037-\207\221ìUï\201\222ÎÄ\\@s\236H\022",
count=1048476) at DeviceReadBuffer.cpp:373
	avail = 3083350550
	cnt = 5640
#4  0xb7c89e0d in DVBRecorder::StartRecording (this=0x81f3a30) at
dvbrecorder.cpp:470
	len = 5640
	ok = true
#5  0xb7b6b1e4 in TVRec::RecorderThread (param=0x81f3a30) at tv_rec.cpp:1133
	recorder = (class RecorderBase *) 0x81f3a30
#6  0xb6235ced in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.
#7  0xb60b6dee in clone () from /lib/tls/libc.so.6
No symbol table info available.

Thread 27 (Thread -1405912144 (LWP 11189)):
#0  0xb6237de2 in pthread_cond_timedwait@@GLIBC_2.3.2 () from
/lib/tls/libpthread.so.0
No symbol table info available.
#1  0xb68fee87 in QWaitCondition::wait () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#2  0xb7876760 in ThreadedFileWriter::SyncLoop (this=0x81f60f0) at
ThreadedFileWriter.cpp:330
No locals.
#3  0xb78767a1 in ThreadedFileWriter::boot_syncer (wotsit=0x81f60f0)
at ThreadedFileWriter.cpp:103
	fw = (ThreadedFileWriter *) 0x81f60f0
#4  0xb6235ced in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.
#5  0xb60b6dee in clone () from /lib/tls/libc.so.6
No symbol table info available.

Thread 26 (Thread -1355379792 (LWP 11188)):
#0  0xb6237de2 in pthread_cond_timedwait@@GLIBC_2.3.2 () from
/lib/tls/libpthread.so.0
No symbol table info available.
#1  0xb68fee87 in QWaitCondition::wait () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#2  0xb7875f0d in ThreadedFileWriter::DiskLoop (this=0x81f60f0) at
ThreadedFileWriter.cpp:353
	size = 255680
	written = 642164
#3  0xb7876083 in ThreadedFileWriter::boot_writer (wotsit=0x81f60f0)
at ThreadedFileWriter.cpp:93
	fw = (ThreadedFileWriter *) 0x81f60f0
#4  0xb6235ced in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.
#5  0xb60b6dee in clone () from /lib/tls/libc.so.6
No symbol table info available.

Thread 13 (Thread -1346991184 (LWP 10668)):
#0  0xb6237b81 in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib/tls/libpthread.so.0
No symbol table info available.
#1  0xb68ff062 in QWaitCondition::wait () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#2  0x080a6195 in ProcessRequestThread::run (this=0x814e1c8) at
mainserver.cpp:86
No locals.
#3  0xb65a8a46 in QThreadInstance::start () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#4  0xb6235ced in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.
#5  0xb60b6dee in clone () from /lib/tls/libc.so.6
No symbol table info available.


More information about the mythtv-users mailing list