[mythtv] backend crash on DVB recording [backtrace]

Hamish Moffatt hamish at cloud.net.au
Mon Feb 23 22:07:25 EST 2004


I've had mythbackend crash a couple of times lately while recording. I
caught one in gdb this morning.

The last few entries in the backend log are:

2004-02-24 01:47:09 DVB#1 WARNING - Uncorrectable error in packet, dropped.
2004-02-24 01:47:09 DVB#1 WARNING - Transport Stream Continuity Error. PID = 769
2004-02-24 01:47:09 DVB#1 PID 769 contcounter 8 cc 11
2004-02-24 01:47:28 DVB#1 WARNING - Uncorrectable error in packet, dropped.
2004-02-24 01:47:28 DVB#1 WARNING - Uncorrectable error in packet, dropped.
2004-02-24 01:47:28 DVB#1 WARNING - Uncorrectable error in packet, dropped.
2004-02-24 01:47:28 DVB#1 WARNING - Uncorrectable error in packet, dropped.
2004-02-24 01:47:28 DVB#1 WARNING - Uncorrectable error in packet, dropped.
2004-02-24 01:47:28 DVB#1 WARNING - Transport Stream Continuity Error. PID = 769
2004-02-24 01:47:28 DVB#1 PID 769 contcounter 5 cc 10
2004-02-24 01:47:28 DVB#1 WARNING - Transport Stream Continuity Error. PID = 770
2004-02-24 01:47:28 DVB#1 PID 770 contcounter 13 cc 14
2004-02-24 01:47:50 DVB#1 WARNING - Uncorrectable error in packet, dropped.
2004-02-24 01:47:50 DVB#1 WARNING - Uncorrectable error in packet, dropped.
2004-02-24 01:47:50 DVB#1 WARNING - Uncorrectable error in packet, dropped.
2004-02-24 01:47:50 DVB#1 WARNING - Uncorrectable error in packet, dropped.
2004-02-24 01:47:50 DVB#1 WARNING - Transport Stream Continuity Error. PID = 769
2004-02-24 01:47:50 DVB#1 PID 769 contcounter 3 cc 9
2004-02-24 01:47:50 DVB#1 WARNING - Transport Stream Continuity Error. PID = 770
2004-02-24 01:47:50 DVB#1 PID 770 contcounter 13 cc 14

The backend gets SIGSEGV after a while. Here's the backtrace. There
really are 16,000 odd recursive calls to write_ipack shown. I trimmed
them out since they are all the same.

#0  0x40357062 in ps_pes () at moc_dvbcam.cpp:22
#1  0x403575f8 in send_ipack () at moc_dvbcam.cpp:22
#2  0x40357a30 in write_ipack () at moc_dvbcam.cpp:22
#3  0x40357a5d in write_ipack () at moc_dvbcam.cpp:22
#4  0x40357a5d in write_ipack () at moc_dvbcam.cpp:22
#5  0x40357a5d in write_ipack () at moc_dvbcam.cpp:22
#6  0x40357a5d in write_ipack () at moc_dvbcam.cpp:22
#7  0x40357a5d in write_ipack () at moc_dvbcam.cpp:22
#8  0x40357a5d in write_ipack () at moc_dvbcam.cpp:22
#9  0x40357a5d in write_ipack () at moc_dvbcam.cpp:22
#10 0x40357a5d in write_ipack () at moc_dvbcam.cpp:22
[...]
#16328 0x40357a5d in write_ipack () at moc_dvbcam.cpp:22
#16329 0x40357a5d in write_ipack () at moc_dvbcam.cpp:22
#16330 0x40357a5d in write_ipack () at moc_dvbcam.cpp:22
#16331 0x40357a5d in write_ipack () at moc_dvbcam.cpp:22
#16332 0x40357a5d in write_ipack () at moc_dvbcam.cpp:22
#16333 0x40357a5d in write_ipack () at moc_dvbcam.cpp:22
#16334 0x40357a5d in write_ipack () at moc_dvbcam.cpp:22
#16335 0x40358353 in instant_repack () at moc_dvbcam.cpp:22
#16336 0x403351ed in DVBRecorder::ReadFromDMX() (this=0x8118588) at dvbrecorder.cpp:573
#16337 0x4033482c in DVBRecorder::StartRecording() (this=0x8118588) at dvbrecorder.cpp:442
#16338 0x4030d401 in SpawnEncode(void*) (param=0x80ff850) at tv_rec.cpp:39
#16339 0x4116be51 in pthread_start_thread () from /lib/libpthread.so.0
#16340 0x4116becf in pthread_start_thread_event () from /lib/libpthread.so.0
#16341 0x4137164a in clone () from /lib/libc.so.6

I'm not sure why gdb says those are all in moc_dvbcam.cpp as they're
actually in libs/libmythtv/dvbdev/transform.c.

This doesn't happen particularly often though. What extra information
can I get to fix this?


Thanks,
Hamish
-- 
Hamish Moffatt VK3SB <hamish at debian.org> <hamish at cloud.net.au>


More information about the mythtv-dev mailing list