Here is the log of what I believe is gdb crashing with a slave mythbackend.
This time it wasn't generating thumbnails via mythfrontend or mythweb, it
was at the end of recording two shows, one on QAM pcHDTV 3k and one on
firewire. Next up was two more shows on the same tuners which it looked like
it was trying to start. 

The log looks weird because it dumps me back to a gdb prompt, I typed thread
apply all bt full, then I guess gdb crashes because it dumps me back to my
command prompt while spitting out a bunch more crap. 

The crashes are happening if not every show it records then every other.
Nothing else crashes, the machine is rock solid so that's not the problem.


2005-10-06 21:00:00.846 TVRec(2): SetFlags(RingBufferReset,) ->
RunMainLoop,AskAllowRecording,SIParserRunning,RecorderRunning,RingBufferRese
t,
2005-10-06 21:00:00.873 TVRec(1): ClearFlags(PENDINGACTIONS,) ->
RunMainLoop,AskAllowRecording,
2005-10-06 21:00:00.878 TVRec(2):
ClearFlags(WaitingForSIParser,SIParserRunning,) ->
RunMainLoop,AskAllowRecording,RecorderRunning,RingBufferReset,
2005-10-06 21:00:00.878 TVRec(2): ClearFlags(WaitingForSignal,) ->
RunMainLoop,AskAllowRecording,RecorderRunning,RingBufferReset,
2005-10-06 21:00:00.879 write -> 14 103
BACKEND_MESSAGE[]:[]UPDATE_RECORDING_STATUS 2 1113 2005-10-06T20:...
2005-10-06 21:00:00.880 Finished recording Smallville "Mortal": channel 1113
2005-10-06 21:00:00.881 write -> 14 51
BACKEND_MESSAGE[]:[]DONE_RECORDING 2 3591[]:[]empty
[Thread 786452 (LWP 17449) exited]
2005-10-06 21:00:00.976 TVRec(2): ClearFlags(RecorderRunning,) ->
RunMainLoop,AskAllowRecording,RingBufferReset,
2005-10-06 21:00:00.989 TVRec(2): ClearFlags(RecorderRunning,) ->
RunMainLoop,AskAllowRecording,RingBufferReset,
2005-10-06 21:00:00.990 TVRec(2): Tearing down RingBuffer
2005-10-06 21:00:00.990 write -> 14 51
BACKEND_MESSAGE[]:[]RECORDING_LIST_CHANGE[]:[]empty
[Thread 770067 (LWP 17448) exited]
[Thread 753681 (LWP 17447) exited]
2005-10-06 21:00:01.138 TVRec(2): ClearFlags(PENDINGACTIONS,) ->
RunMainLoop,AskAllowRecording,RingBufferReset,
2005-10-06 21:00:01.728 read  <- 14 35      QUERY_REMOTEENCODER
2[]:[]GET_STATE
2005-10-06 21:00:01.728 write -> 14 1       0
2005-10-06 21:00:01.736 read  <- 14 35      QUERY_REMOTEENCODER
1[]:[]GET_STATE
2005-10-06 21:00:01.736 write -> 14 1       0
2005-10-06 21:00:02.761 read  <- 14 35      QUERY_REMOTEENCODER
2[]:[]GET_STATE
2005-10-06 21:00:02.761 write -> 14 1       0
2005-10-06 21:00:02.767 read  <- 14 587     QUERY_REMOTEENCODER
2[]:[]START_RECORDING[]:[]CSI: Crime Scene In...
2005-10-06 21:00:02.767 TVRec(2): ClearFlags(AskAllowRecording,) ->
RunMainLoop,RingBufferReset,
2005-10-06 21:00:02.869 TVRec(2): ClearFlags(CancelNextRecording,) ->
RunMainLoop,RingBufferReset,
2005-10-06 21:00:02.869 write -> 14 2       -2
2005-10-06 21:00:02.877 read  <- 14 35      QUERY_REMOTEENCODER
1[]:[]GET_STATE
2005-10-06 21:00:02.877 write -> 14 1       0
2005-10-06 21:00:02.894 read  <- 14 607     QUERY_REMOTEENCODER
1[]:[]START_RECORDING[]:[]Night Stalker[]:[]T...
2005-10-06 21:00:02.894 TVRec(1): ClearFlags(AskAllowRecording,) ->
RunMainLoop,
2005-10-06 21:00:02.995 TVRec(1): ClearFlags(CancelNextRecording,) ->
RunMainLoop,
2005-10-06 21:00:03.043 write -> 14 2       -2
2005-10-06 21:00:03.869 TVRec(2): Changing from None to RecordingOnly
2005-10-06 21:00:03.869 TVRec(2):
ClearFlags(FrontendReady,CancelNextRecording,) ->
RunMainLoop,RingBufferReset,
2005-10-06 21:00:03.869 TVRec(2): SetFlags(AskAllowRecording,) ->
RunMainLoop,AskAllowRecording,RingBufferReset,
2005-10-06 21:00:03.869 TVRec(2): Request: Program(yes) channel() input()
flags(Recording,)
2005-10-06 21:00:03.870 TVRec(2):
ClearFlags(WaitingForSIParser,SIParserRunning,) ->
RunMainLoop,AskAllowRecording,RingBufferReset,
2005-10-06 21:00:03.870 TVRec(2): ClearFlags(WaitingForSignal,) ->
RunMainLoop,AskAllowRecording,RingBufferReset,
2005-10-06 21:00:03.870 TVRec(2): ClearFlags(PENDINGACTIONS,) ->
RunMainLoop,AskAllowRecording,RingBufferReset,
2005-10-06 21:00:03.871 DVB#0 Opening DVB channel
2005-10-06 21:00:03.871 DVB#0 SetChannelByString(49_1)
2005-10-06 21:00:03.872 DVB#0 Frequency: 591000000 Modulation: QPSK
2005-10-06 21:00:03.872 DVB#0 Old Params: freq(597000000) type(ATSC)
2005-10-06 21:00:03.872 DVB#0 New Params: freq(591000000) type(ATSC)
2005-10-06 21:00:03.963 dvbchannel.cpp:wait_for_backend: Status:
2005-10-06 21:00:03.963 DVB#0 DVBChannel::Tune: Frequency tuning successful.
2005-10-06 21:00:03.963 DVB#0 Tuned to frequency for channel 49_1.
2005-10-06 21:00:03.964 TVRec(2): Starting Signal Monitor
2005-10-06 21:00:03.964 TVRec(2): SetupSignalMonitor()
2005-10-06 21:00:03.964 DVB#0 Opening DVB channel
2005-10-06 21:00:04.044 TVRec(1): Changing from None to RecordingOnly
2005-10-06 21:00:04.044 TVRec(1):
ClearFlags(FrontendReady,CancelNextRecording,) -> RunMainLoop,
2005-10-06 21:00:04.044 TVRec(1): SetFlags(AskAllowRecording,) ->
RunMainLoop,AskAllowRecording,
2005-10-06 21:00:04.044 TVRec(1): Request: Program(yes) channel() input()
flags(Recording,)
2005-10-06 21:00:04.044 TVRec(1):
ClearFlags(WaitingForSIParser,SIParserRunning,) ->
RunMainLoop,AskAllowRecording,
2005-10-06 21:00:04.044 TVRec(1): ClearFlags(WaitingForSignal,) ->
RunMainLoop,AskAllowRecording,
2005-10-06 21:00:04.044 TVRec(1): ClearFlags(PENDINGACTIONS,) ->
RunMainLoop,AskAllowRecording,
2005-10-06 21:00:04.061 External channel change: /usr/local/bin/6200ch 707
Cannot find thread 753681: invalid thread handle
(gdb)
(gdb)
(gdb) thread apply all bt full

Thread 13 (Thread 180236 (LWP 17341)):
#0  0x00002aaaadfff66c in __pthread_sigsuspend () from /lib/libpthread.so.0
No symbol table info available.
#1  0x00002aaaadffeea0 in __pthread_wait_for_restart_signal () from
/lib/libpthread.so.0
No symbol table info available.
#2  0x00002aaaadffbf1a in [EMAIL PROTECTED] () from
/lib/libpthread.so.0
No symbol table info available.
#3  0x00002aaaadc63817 in QWaitCondition::wait () from
/usr/qt/3/lib/libqt-mt.so.3
No symbol table info available.
#4  0x00000000004569dd in ProcessRequestThread::run (this=0x2aaab39013a0) at
mainserver.cpp:78
No locals.
#5  0x00002aaaad9ad2dd in QThreadInstance::start () from
/usr/qt/3/lib/libqt-mt.so.3
No symbol table info available.
#6  0x00002aaaadffcbb9 in pthread_start_thread () from /lib/libpthread.so.0
No symbol table info available.
#7  0x00002aaaadffcc63 in pthread_start_thread_event () from
/lib/libpthread.so.0
No symbol table info available.
#8  0x00002aaaae6c3f23 in clone () from /lib/libc.so.6
No symbol table info available.
#9  0x00010102464c457f in ?? ()
No symbol table info available.
#10 0x0000000000000000 in ?? ()
No symbol table info available.
#11 0x00000001003e0003 in ?? ()
No symbol table info available.
#12 0x0000000000000ab0 in ?? ()
No symbol table info available.
#13 0x0000000000000040 in ?? ()
No symbol table info available.
Previous frame inner to this frame (corrupt stack?)
Segmentation fault
2005-10-06 21:02:29.334 Waiting for External Tuning program to exit
2005-10-06 21:02:29.365 read  <- 14 16      QUERY_FREE_SPACE
2005-10-06 21:02:29.366 write -> 14 35
0[]:[]742268928[]:[]0[]:[]118067200
[EMAIL PROTECTED] ~ $ 2005-10-06 21:02:29.397 read  <- -1 16
QUERY_FREE_SPACE
2005-10-06 21:02:29.397 JobQueue currently set at 1 job(s) max and to run
new jobs from 00:00 to 23:59
2005-10-06 21:02:29.397 unknown socket
2005-10-06 21:02:29.399 JobQueue::GetJobsInQueue: findJobs search bitmask 4,
found 14 total jobs
2005-10-06 21:02:29.400 JobQueue::GetJobsInQueue: Ignore 'Flag Commercials'
Job for 1113 @ 20050929200000 in Finished state.
2005-10-06 21:02:29.400 JobQueue::GetJobsInQueue: Ignore 'Flag Commercials'
Job for 2707 @ 20050929210000 in Finished state.
2005-10-06 21:02:29.400 JobQueue::GetJobsInQueue: Ignore 'Flag Commercials'
Job for 1117 @ 20050929210000 in Finished state.
2005-10-06 21:02:29.400 JobQueue::GetJobsInQueue: Ignore 'Flag Commercials'
Job for 2353 @ 20050929230100 in Finished state.
2005-10-06 21:02:29.400 JobQueue::GetJobsInQueue: Ignore 'Flag Commercials'
Job for 1117 @ 20050930200000 in Finished state.
2005-10-06 21:02:29.400 JobQueue::GetJobsInQueue: Ignore 'Flag Commercials'
Job for 1113 @ 20051001073000 in Finished state.
2005-10-06 21:02:29.400 JobQueue::GetJobsInQueue: Ignore 'Flag Commercials'
Job for 1117 @ 20051003220000 in Finished state.
2005-10-06 21:02:29.400 JobQueue::GetJobsInQueue: Ignore 'Flag Commercials'
Job for 1071 @ 20051005210000 in Finished state.
2005-10-06 21:02:29.400 JobQueue::GetJobsInQueue: Ignore 'Flag Commercials'
Job for 3061 @ 20051005230000 in Finished state.
2005-10-06 21:02:29.400 JobQueue::GetJobsInQueue: Ignore 'Flag Commercials'
Job for 2353 @ 20051006090000 in Finished state.
2005-10-06 21:02:29.426 JobQueue::GetJobsInQueue: Ignore 'Flag Commercials'
Job for 1113 @ 20051006153000 in Finished state.
2005-10-06 21:02:29.426 JobQueue::GetJobsInQueue: Ignore 'Flag Commercials'
Job for 2353 @ 20051006160000 in Finished state.
2005-10-06 21:02:29.426 JobQueue::GetJobsInQueue: Ignore 'Flag Commercials'
Job for 2707 @ 20051006200000 in Finished state.
2005-10-06 21:02:29.426 JobQueue::GetJobsInQueue: Ignore 'Flag Commercials'
Job for 1113 @ 20051006200000 in Finished state.
2005-10-06 21:02:29.494 SM(0)::AddFlags: Seen() Match()
Wait(Sig,SNR,BER,UB,)
2005-10-06 21:02:29.495 DVBSM(0)::constructor(): initial flags 0x7400000
2005-10-06 21:02:29.495 TVRec(2): Signal monitor successfully created
2005-10-06 21:02:29.495 TVRec(2): Setting up table monitoring.
2005-10-06 21:02:29.495 TVRec(2): MPEG program number: 3
2005-10-06 21:02:29.496 DTVSM(0)::SetProgramNumber(3):
2005-10-06 21:02:29.496 SM(0)::RemoveFlags: Seen(PMT,) Match(PMT,) Wait()
2005-10-06 21:02:29.496 SM(0)::AddFlags: Seen() Match() Wait(PMT,)
2005-10-06 21:02:29.496 SM(0)::AddFlags: Seen() Match() Wait(PAT,PMT,)
2005-10-06 21:02:29.496 TVRec(2): Successfully set up MPEG table monitoring.
2005-10-06 21:02:29.496 SM(0)::Start: begin
rom1394_1 warning: read failed: 0x0000fffff0000414
error reading config rom directory for node 1







-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Jack Hyde
Sent: Thursday, October 06, 2005 1:30 AM
To: 'Development of mythtv'
Subject: [mythtv] r7396 backend crash log

Trying to get a backtrace of this, but gdb keeps segfaulting on this crash.
I think this involves the thumbnail generation, but not 100% sure, I haven't
been able to figure out the pattern. This is on a slavebackend with firewire
and a QAM pcHDTV3k setup, the main backend has two pvr250 cards. It crashed
while recording off the firewire, though it also crashes off the QAM card
too. 2353_20051006010000.mpg is the partially recorded firewire stream. 

2005-10-06 01:06:04.548 JobQueue::GetJobsInQueue: Ignore 'Flag Commercials'
Job for 3061 @ 20051005230000 in Finished state.
2005-10-06 01:06:48.387 read  <- 14 35      QUERY_REMOTEENCODER
1[]:[]GET_STATE
2005-10-06 01:06:48.387 write -> 14 1       4
2005-10-06 01:06:48.393 read  <- 14 35      QUERY_REMOTEENCODER
1[]:[]GET_STATE
2005-10-06 01:06:48.393 write -> 14 1       4
2005-10-06 01:06:48.400 read  <- 14 35      QUERY_REMOTEENCODER
2[]:[]GET_STATE
2005-10-06 01:06:48.400 write -> 14 1       4
2005-10-06 01:06:48.407 read  <- 14 35      QUERY_REMOTEENCODER
2[]:[]GET_STATE
2005-10-06 01:06:48.407 write -> 14 1       4
2005-10-06 01:06:49.033 read  <- 14 419     QUERY_PIXMAP_LASTMODIFIED[]:[]
[]:[] []:[] []:[] []:[]2353[]:[] [...
2005-10-06 01:06:49.035 Local file path: /mnt/store//2353_20051006010000.mpg
2005-10-06 01:06:49.036 write -> 14 3       BAD
2005-10-06 01:06:51.575 read  <- 14 409     QUERY_GENPIXMAP[]:[] []:[] []:[]
[]:[] []:[]2353[]:[] []:[] []:[]...
2005-10-06 01:06:51.580 Local file path: /mnt/store//2353_20051006010000.mpg
mpegts_ctx->pid_cnt=0 != item_cnt=4
mpegts_add_stream: at pid 0xa4 with type 129
mpegts_add_stream: stream #0, has id 0xa4 and codec AC3, type Audio at
0x6dc690
mpegts_add_stream: at pid 0x102 with type 129
mpegts_add_stream: stream #1, has id 0x102 and codec AC3, type Audio at
0x6dde60
mpegts_add_stream: at pid 0x202 with type 129
mpegts_add_stream: stream #2, has id 0x202 and codec AC3, type Audio at
0x6dbac0
mpegts_add_stream: at pid 0xa1 with type 2
mpegts_add_stream: stream #3, has id 0xa1 and codec MPEG2VIDEO, type Video
at 0x6dc090
is_pmt_same() => true
is_pmt_same() => true
is_pmt_same() => true
mpegts_ctx->pid_cnt=4 != item_cnt=6
av_remove_stream 0xa1
av_remove_stream: no change to cur_st
av_remove_stream: removing... s->nb_streams=4 i=3
av_remove_stream: mpegts_remove_stream
mpegts_remove_stream 0xa1
closing filter for pid 0xa1
av_remove_stream: renumbering streams
av_remove_stream 0x202
av_remove_stream: no change to cur_st
av_remove_stream: removing... s->nb_streams=3 i=2
av_remove_stream: mpegts_remove_stream
mpegts_remove_stream 0x202
closing filter for pid 0x202
av_remove_stream: renumbering streams
av_remove_stream 0x102
av_remove_stream: no change to cur_st
av_remove_stream: removing... s->nb_streams=2 i=1
av_remove_stream: mpegts_remove_stream
mpegts_remove_stream 0x102
closing filter for pid 0x102
av_remove_stream: renumbering streams
av_remove_stream 0xa4
av_remove_stream: no change to cur_st
av_remove_stream: removing... s->nb_streams=1 i=0
av_remove_stream: mpegts_remove_stream
mpegts_remove_stream 0xa4
closing filter for pid 0xa4
av_remove_stream: renumbering streams
mpegts_add_stream: at pid 0xa4 with type 129
mpegts_add_stream: stream #0, has id 0xa4 and codec AC3, type Audio at
0x6dcac0
mpegts_add_stream: at pid 0x102 with type 129
mpegts_add_stream: stream #1, has id 0x102 and codec AC3, type Audio at
0x6ddcc0
mpegts_add_stream: at pid 0x202 with type 129
mpegts_add_stream: stream #2, has id 0x202 and codec AC3, type Audio at
0x6ddd90
mpegts_add_stream: at pid 0xa1 with type 2
mpegts_add_stream: stream #3, has id 0xa1 and codec MPEG2VIDEO, type Video
at 0x6df9b0
mpegts_add_stream: at pid 0x101 with type 2
mpegts_add_stream: stream #4, has id 0x101 and codec MPEG2VIDEO, type Video
at 0x72e440
mpegts_add_stream: at pid 0x201 with type 2
mpegts_add_stream: stream #5, has id 0x201 and codec MPEG2VIDEO, type Video
at 0x72ea10



_______________________________________________
mythtv-dev mailing list
mythtv-dev@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev

Reply via email to