Okay, one more.  This time with gdb output from mythbackend:

Thread 18 (Thread 1198984112 (LWP 20598)):
#0  0x006c9c32 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
No symbol table info available.
#1  0x00685b2b in __waitpid_nocancel () from /lib/tls/libpthread.so.0
No symbol table info available.
#2  0x00ba4ed7 in myth_system(QString const&, int) ([EMAIL PROTECTED], 
    flags=0) at util.cpp:711
        status = 42
        lirc_lock = {events_locked = false}
        joystick_lock = {events_locked = false}
        child = 20600
#3  0x00475df7 in JobQueue::DoFlagCommercialsThread() (this=0x9cb44b8)
    at jobqueue.cpp:1575
        program_info = (ProgramInfo *) 0x9cd32b0
        controlFlagging = 0
        key = {static null = {
    static null = <same as static member of an already seen type>, 
    d = 0x9c7c820, static shared_null = 0x9c7c820}, d = 0x9cd1308, 
  static shared_null = 0x9c7c820}
        logDesc = {static null = {
    static null = <same as static member of an already seen type>, 
    d = 0x9c7c820, static shared_null = 0x9c7c820}, d = 0x9cd1498, 
  static shared_null = 0x9c7c820}
        jobID = 6
        name = {static null = {
    static null = <same as static member of an already seen type>, 
    d = 0x9c7c820, static shared_null = 0x9c7c820}, d = 0x9cb9300, 
  static shared_null = 0x9c7c820}
        commthread_db = (MythSqlDatabase *) 0x9cd2148
        msg = {static null = {
    static null = <same as static member of an already seen type>, 
    d = 0x9c7c820, static shared_null = 0x9c7c820}, d = 0x9cd9c18, 
  static shared_null = 0x9c7c820}
        breaksFound = 0
        cmd = {static null = {
    static null = <same as static member of an already seen type>, 
    d = 0x9c7c820, static shared_null = 0x9c7c820}, d = 0x9cd77f8, 
  static shared_null = 0x9c7c820}
#4  0x0047500c in JobQueue::FlagCommercialsThread(void*) (param=0x9cb44b8)
    at jobqueue.cpp:1498
        theFlagger = (JobQueue *) 0x9cb44b8
#5  0x0067f7fc in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.
#6  0x00ff2aba in clone () from /lib/tls/libc.so.6
No symbol table info available.
Thread 17 (Thread 1188494256 (LWP 20279)):
#0  0x006c9c32 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
No symbol table info available.
#1  0x00685b2b in __waitpid_nocancel () from /lib/tls/libpthread.so.0
No symbol table info available.
#2  0x00ba4ed7 in myth_system(QString const&, int) ([EMAIL PROTECTED], 
    flags=0) at util.cpp:711
        status = 42
        lirc_lock = {events_locked = false}
        joystick_lock = {events_locked = false}
        child = 20282
#3  0x00475df7 in JobQueue::DoFlagCommercialsThread() (this=0x9cb44b8)
    at jobqueue.cpp:1575
        program_info = (ProgramInfo *) 0x9cd3f98
        controlFlagging = 0
        key = {static null = {
    static null = <same as static member of an already seen type>, 
    d = 0x9c7c820, static shared_null = 0x9c7c820}, d = 0x9cd1fd0, 
  static shared_null = 0x9c7c820}
        logDesc = {static null = {
    static null = <same as static member of an already seen type>, 
    d = 0x9c7c820, static shared_null = 0x9c7c820}, d = 0x9cad550, 
  static shared_null = 0x9c7c820}
        jobID = 6
        name = {static null = {
    static null = <same as static member of an already seen type>, 
    d = 0x9c7c820, static shared_null = 0x9c7c820}, d = 0x9cd2320, 
  static shared_null = 0x9c7c820}
        commthread_db = (MythSqlDatabase *) 0x9cce2e8
        msg = {static null = {
    static null = <same as static member of an already seen type>, 
    d = 0x9c7c820, static shared_null = 0x9c7c820}, d = 0x9cd3730, 
  static shared_null = 0x9c7c820}
        breaksFound = 0
        cmd = {static null = {
    static null = <same as static member of an already seen type>, 
    d = 0x9c7c820, static shared_null = 0x9c7c820}, d = 0x9cd38c8, 
  static shared_null = 0x9c7c820}
#4  0x0047500c in JobQueue::FlagCommercialsThread(void*) (param=0x9cb44b8)
    at jobqueue.cpp:1498
        theFlagger = (JobQueue *) 0x9cb44b8
#5  0x0067f7fc in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.
#6  0x00ff2aba in clone () from /lib/tls/libc.so.6
No symbol table info available.
Thread 16 (Thread 1178004400 (LWP 19997)):
#0  0x006c9c32 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
No symbol table info available.
#1  0x00685b2b in __waitpid_nocancel () from /lib/tls/libpthread.so.0
No symbol table info available.
#2  0x00ba4ed7 in myth_system(QString const&, int) ([EMAIL PROTECTED], 
    flags=0) at util.cpp:711
        status = 42
        lirc_lock = {events_locked = false}
        joystick_lock = {events_locked = false}
        child = 20004
#3  0x00475df7 in JobQueue::DoFlagCommercialsThread() (this=0x9cb44b8)
    at jobqueue.cpp:1575
        program_info = (ProgramInfo *) 0x9ce2660
        controlFlagging = 0
        key = {static null = {
    static null = <same as static member of an already seen type>, 
    d = 0x9c7c820, static shared_null = 0x9c7c820}, d = 0x9cd1fb8, 
  static shared_null = 0x9c7c820}
        logDesc = {static null = {
    static null = <same as static member of an already seen type>, 
    d = 0x9c7c820, static shared_null = 0x9c7c820}, d = 0x9cdb908, 
  static shared_null = 0x9c7c820}
        jobID = 6
        name = {static null = {
    static null = <same as static member of an already seen type>, 
    d = 0x9c7c820, static shared_null = 0x9c7c820}, d = 0x9cde488, 
  static shared_null = 0x9c7c820}
        commthread_db = (MythSqlDatabase *) 0x9cd2008
        msg = {static null = {
    static null = <same as static member of an already seen type>, 
    d = 0x9c7c820, static shared_null = 0x9c7c820}, d = 0x9d5e898, 
  static shared_null = 0x9c7c820}
        breaksFound = 0
        cmd = {static null = {
    static null = <same as static member of an already seen type>, 
    d = 0x9c7c820, static shared_null = 0x9c7c820}, d = 0x9caf110, 
  static shared_null = 0x9c7c820}
#4  0x0047500c in JobQueue::FlagCommercialsThread(void*) (param=0x9cb44b8)
    at jobqueue.cpp:1498
        theFlagger = (JobQueue *) 0x9cb44b8
#5  0x0067f7fc in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.
#6  0x00ff2aba in clone () from /lib/tls/libc.so.6
No symbol table info available.
Thread 15 (Thread 1167514544 (LWP 19451)):
#0  0x00476056 in JobQueue::DoFlagCommercialsThread() (this=0x9cb44b8)
    at jobqueue.cpp:1589
        program_info = (ProgramInfo *) 0x9cda218
        controlFlagging = 0
        key = {static null = {
    static null = <same as static member of an already seen type>, 
    d = 0x9c7c820, static shared_null = 0x9c7c820}, d = 0x9cb8b58, 
  static shared_null = 0x9c7c820}
        logDesc = {static null = {
    static null = <same as static member of an already seen type>, 
    d = 0x9c7c820, static shared_null = 0x9c7c820}, d = 0x9d5d138, 
  static shared_null = 0x9c7c820}
        jobID = 6
        name = {static null = {
    static null = <same as static member of an already seen type>, 
    d = 0x9c7c820, static shared_null = 0x9c7c820}, d = 0x9cb9750, 
  static shared_null = 0x9c7c820}
        commthread_db = (MythSqlDatabase *) 0x9ccb330
        msg = {static null = {
    static null = <same as static member of an already seen type>, 
    d = 0x9c7c820, static shared_null = 0x9c7c820}, d = 0x9cdb9a0,
  static shared_null = 0x9c7c820}
        breaksFound = 1
        cmd = {static null = {
    static null = <same as static member of an already seen type>, 
    d = 0x9c7c820, static shared_null = 0x9c7c820}, d = 0x9cad828, 
  static shared_null = 0x9c7c820}
#1  0x0047500c in JobQueue::FlagCommercialsThread(void*) (param=0x9cb44b8)
    at jobqueue.cpp:1498
        theFlagger = (JobQueue *) 0x9cb44b8
#2  0x0067f7fc in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.
#3  0x00ff2aba in clone () from /lib/tls/libc.so.6
No symbol table info available.

Thread 14 (Thread 1157024688 (LWP 19449)):
#0  0x006c9c32 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
No symbol table info available.
#1  0x00684bfb in __read_nocancel () from /lib/tls/libpthread.so.0
No symbol table info available.
#2  0x004e8452 in MpegRecorder::StartRecording() (this=0x9cda310)
    at mpegrecorder.cpp:439
        buffer = (unsigned char *) 0xbf05f008 '�' <repeats 64 times>
        ret = 22528
        elapsedTimer = {ds = 0}
        elapsed = 0
#3  0x0049bae6 in SpawnEncode(void*) (param=0x9cda310) at tv_rec.cpp:48
        nvr = (class RecorderBase *) 0x9cda310
#4  0x0067f7fc in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.
#5  0x00ff2aba in clone () from /lib/tls/libc.so.6
No symbol table info available.

Thread 13 (Thread 1146534832 (LWP 19448)):
#0  0x006c9c32 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
No symbol table info available.
#1  0x00fbe586 in __nanosleep_nocancel () from /lib/tls/libc.so.6
No symbol table info available.
#2  0x00fec3fa in usleep () from /lib/tls/libc.so.6
No symbol table info available.
#3  0x0034c69f in ThreadedFileWriter::DiskLoop() (this=0x9cae610)
    at RingBuffer.cpp:275
        size = 98304
        written = 524288
        timer = {ds = 80717886}
#4  0x0034bcb0 in ThreadedFileWriter::boot_writer(void*) (wotsit=0x9cae610)
    at RingBuffer.cpp:119
#5  0x0067f7fc in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.
#6  0x00ff2aba in clone () from /lib/tls/libc.so.6
No symbol table info available.

Thread 11 (Thread 1125555120 (LWP 19413)):
#0  0x006c9c32 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
No symbol table info available.
#1  0x00682424 in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib/tls/libpthread.so.0
No symbol table info available.
#2  0x07d3b808 in QWaitCondition::wait(QMutex*, unsigned long) ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#3  0x09cad40c in ?? ()
No symbol table info available.
#4  0x43169a08 in ?? ()
No symbol table info available.
#5  0x07d3a342 in QRealMutexPrivate::lock() ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
Previous frame inner to this frame (corrupt stack?)
0x00476056      1589        else if ((*(jobControlFlags[key]) == JOB_STOP) ||


and the backend log:

2005-02-12 22:04:51.556 mythbackend: MythBackend started as master server
2005-02-12 22:04:53.359 mythbackend version: 0.17.20050130-1 www.mythtv.org
2005-02-12 22:04:53.540 Enabled verbose msgs : important general
2005-02-12 22:04:53.747 Reschedule requested for id -1.
2005-02-12 22:04:53.838 mythbackend: Running housekeeping thread
QTime::setHMS Invalid time 28:12:02.000
QDate::setYMD: Invalid date 2935-93-02
2005-02-12 22:04:55.778 Starting Commercial Flagging for "Everybody Loves Raymon
d" recorded from channel 1031 at Fri Feb 11 19:30:00 2005.
2005-02-12 22:04:56.018 commflag: Commercial Flagging Starting
QTime::setHMS Invalid time 28:12:02.000
QDate::setYMD: Invalid date 2935-93-02
2005-02-12 22:05:12.970 Scheduled 406 items in 19.2 = 15.88 match + 3.34 place
2005-02-12 22:05:13.038 scheduler: Scheduled items
2005-02-12 22:05:13.132 Recording starts soon, AUTO-Startup assumed
2005-02-12 22:05:13.234 Started recording "Law & Order: Special Victims Unit" on
 channel: 1009 on cardid: 1, sourceid 1
2005-02-12 22:05:13.734 scheduler: Schedule Change
2005-02-12 22:05:14.569 Changing from None to RecordingOnly
QTime::setHMS Invalid time 28:12:02.000
QDate::setYMD: Invalid date 2935-93-02
e2005-02-12 22:05:15.449 Starting Commercial Flagging for "Everybody Loves Raymo
nd" recorded from channel 1031 at Fri Feb 11 19:30:00 2005.
rror reading from: /dev/video0
QTime::setHMS Invalid time 28:12:02.000read: Interrupted system call
2005-02-12 22:05:28.195 IOBOUND - blocking in ThreadedFileWriter::Write()

QDate::setYMD: Invalid date 2935-93-02
QTime::setHMS Invalid time 28:12:02.000
QDate::setYMD: Invalid date 2935-93-02
error reading from: /dev/video0
read: Interrupted system call
2005-02-12 22:11:22.093 Starting Commercial Flagging for "Everybody Loves Raymon
d" recorded from channel 1031 at Fri Feb 11 19:30:00 2005.
2005-02-12 22:11:27.959 IOBOUND - blocking in ThreadedFileWriter::Write()
QTime::setHMS Invalid time 28:12:02.000
QDate::setYMD: Invalid date 2935-93-02
QTime::setHMS Invalid time 28:12:02.000
QDate::setYMD: Invalid date 2935-93-02
error reading from: /dev/video0
read: Interrupted system call
2005-02-12 22:17:25.443 Starting Commercial Flagging for "Everybody Loves Raymon
d" recorded from channel 1031 at Fri Feb 11 19:30:00 2005.
2005-02-12 22:17:32.151 IOBOUND - blocking in ThreadedFileWriter::Write()
QTime::setHMS Invalid time 28:12:02.000
QDate::setYMD: Invalid date 2935-93-02
QTime::setHMS Invalid time 28:12:02.000
QDate::setYMD: Invalid date 2935-93-02
error reading from: /dev/video0
read: Interrupted system call
2005-02-12 22:23:25.985 Starting Commercial Flagging for "Everybody Loves Raymon
d" recorded from channel 1031 at Fri Feb 11 19:30:00 2005.
QTime::setHMS Invalid time 28:12:02.000
QDate::setYMD: Invalid date 2935-93-02
2005-02-12 22:24:59.400 Waited 2 seconds for data to become available, waiting a
gain...

2005-02-12 22:25:05.443 commflag: Last message repeated 4 times
2005-02-12 22:25:05.545 commflag: Commercial Flagging Finished
2005-02-12 22:25:05.835 Finished, 1 break(s) found.
2005-02-12 22:25:14.719 Waited 2 seconds for data to become available, waiting a
gain...

2005-02-12 22:28:49.489 Waited 2 seconds for data to become available, waiting a
gain...

2005-02-12 22:30:12.109 Waited 2 seconds for data to become available, waiting a
gain...
2005-02-12 22:30:41.579 Waited 2 seconds for data to become available, waiting a
gain...
2005-02-12 22:30:44.189 Waited 2 seconds for data to become available, waiting a
gain...


dmesg:
ivtv: ENC IRQ OVERFLOW: #654146 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654147 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654148 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654149 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654150 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654151 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654152 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654153 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654154 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654155 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654156 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654157 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654158 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654159 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654160 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654161 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654162 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654163 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654164 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654165 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654166 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654167 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654168 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654169 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654170 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654171 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654172 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654173 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654174 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654175 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654176 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654177 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654178 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654179 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654180 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654181 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654182 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654183 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654184 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654185 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654186 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654187 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654188 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654189 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654190 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654191 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654192 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654193 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654194 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654195 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654196 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654197 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654198 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654199 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654200 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654201 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654202 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654203 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654204 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654205 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654206 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654207 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654208 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654209 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654210 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654211 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654212 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654213 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654214 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654215 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654216 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654217 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654218 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654219 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654220 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654221 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654222 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654223 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654224 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654225 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654226 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654227 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654228 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654229 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654230 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654231 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654232 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654233 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654234 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654235 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654236 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654237 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654238 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654239 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654240 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654241 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654242 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654243 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654244 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654245 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654246 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654247 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654248 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654249 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654250 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654251 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654252 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654253 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654254 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654255 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654256 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654257 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654258 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654259 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654260 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654261 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654262 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654263 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654264 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654265 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654266 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654267 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654268 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654269 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654270 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654271 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654272 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654273 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654274 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654275 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654276 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654277 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654278 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654279 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654280 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654281 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654282 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654283 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654284 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654285 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654286 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654287 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654288 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654289 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654290 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654291 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654292 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654293 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654294 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654295 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654296 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654297 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654298 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654299 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654300 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654301 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654302 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654303 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654304 Stealing a Buffer, 320 currently allocated
ivtv: ENC IRQ OVERFLOW: #654305 Stealing a Buffer, 320 currently allocated
.
.
.
you get the idea...up to:
ivtv: ENC IRQ OVERFLOW: #654355 Stealing a Buffer, 320 currently allocated


Anyone got any ideas what might be going on?  If you need more info
please let me know.

Thanks,
Brad





On Sat, 12 Feb 2005 21:28:35 -0500, Brad Benson <[EMAIL PROTECTED]> wrote:
> On Sat, 12 Feb 2005 21:24:30 -0500, Brad Benson <[EMAIL PROTECTED]> wrote:
> > ---------- Forwarded message ----------
> > From: Brad Benson <[EMAIL PROTECTED]>
> > Date: Sat, 12 Feb 2005 20:49:37 -0500
> > Subject: Re: [mythtv-users] 0.17 upgrade -> backend crashes
> > To: Chris Pinkham <[EMAIL PROTECTED]>
> >
> > On Sat, 12 Feb 2005 20:03:46 -0500 (EST), Chris Pinkham
> > <[EMAIL PROTECTED]> wrote:
> > > > I upgraded from 0.16 to 0.17 late Thursday night/early Friday morning.
> > > >  Ever since then I've been seeing some strange behavior from the box.
> > > What's in your jobqueue table?  You can also limit the number of jobs
> > > that myth will run at one time, the default is 1 I believe, so I'm
> > > not sure why it's running multiple jobs unless you bumped up the
> > > JobQueueMaxSimultaneousJobs setting.
> > >
> >
> > When I run setup it tells me that I already have the backend limited
> > to 1 simultaneous job, CPU usage is set to Medium, Job Queue check
> > frequency is set to 60 seconds, Run Jobs only on original recording
> > host is unchecked, and I have allowed this backend to run any jobs in
> > the queue (commflag, user 1, user 2, user 3 and user 4).
> >
> > > Can you do a "select * from jobqueue order by id;" and post the
> > > output?  This should indicate if there are multiple entries in the
> > > table for a single show.  The code should prevent that though.
> > >
> >
> > Here's the output from "select * from jobqueue order by id;":
> > +----+--------+---------------------+---------------------+------+------+-------+--------+---------------------+------------+------+-----------------------------+
> > | id | chanid | starttime           | inserttime          | type |
> > cmds | flags | status | statustime          | hostname   | args |
> > comment                     |
> > +----+--------+---------------------+---------------------+------+------+-------+--------+---------------------+------------+------+-----------------------------+
> > |  1 |   1030 | 2005-02-11 15:59:00 | 2005-02-11 17:03:00 |    2 |
> > 0 |     0 |    272 | 2005-02-11 18:43:47 | bivomaster |      |
> > Finished, 0 break(s) found. |
> > |  3 |   1052 | 2005-02-11 22:58:00 | 2005-02-11 23:32:00 |    2 |
> > 0 |     0 |      1 | 2005-02-12 20:23:05 | bivomaster |      |
> >                     |
> > |  4 |   1009 | 2005-02-11 20:53:00 | 2005-02-12 16:04:35 |    2 |
> > 4 |     0 |    272 | 2005-02-12 16:07:42 | bivomaster |      |
> > Finished, 0 break(s) found. |
> > |  5 |   1024 | 2005-02-11 18:28:00 | 2005-02-12 16:06:16 |    2 |
> > 0 |     0 |    272 | 2005-02-12 20:40:23 | bivomaster |      | 60%
> > Completed @ 60 fps.
> >  |
> > |  6 |   1031 | 2005-02-11 19:30:00 | 2005-02-12 16:06:21 |    2 |
> > 0 |     0 |      4 | 2005-02-12 20:40:22 | bivomaster |      | 80%
> > Completed @ 60 fps.     |
> > +----+--------+---------------------+---------------------+------+------+-------+--------+---------------------+------------+------+-----------------------------+
> > 5 rows in set (0.00 sec)
> >
> > Interestingly, here's a snippet from mythbackend.log from immediately
> > after the above select statement was run:
> > 2005-02-12 20:34:52.770 Starting Commercial Flagging for "Everybody
> > Loves Raymond" recorded from channel 1031 at Fri Feb 11 19:30:00 2005.
> > 2005-02-12 20:34:52.910 commflag: Commercial Flagging Starting
> > QTime::setHMS Invalid time 28:12:01.000
> > QDate::setYMD: Invalid date 2935-93-02
> > 2005-02-12 20:37:49.989 MainServer::HandleAnnounce Playback
> > 2005-02-12 20:37:50.055 adding: bivomaster as a client (events: 0)
> > 2005-02-12 20:37:50.249 Reloading backend settings
> > 2005-02-12 20:37:50.370 MainServer::HandleAnnounce Playback
> > 2005-02-12 20:37:50.380 adding: bivomaster as a client (events: 1)
> > QTime::setHMS Invalid time 28:12:02.000
> > QDate::setYMD: Invalid date 2935-93-02
> > 2005-02-12 20:38:53.065 Starting Commercial Flagging for "Everybody
> > Loves Raymond" recorded from channel 1031 at Fri Feb 11 19:30:00 2005.
> > QTime::setHMS Invalid time 28:12:02.000
> > QDate::setYMD: Invalid date 2935-93-02
> > 2005-02-12 20:42:12.339 Waited 2 seconds for data to become available,
> > waiting again...
> > 2005-02-12 20:42:16.380 commflag: Last message repeated 1 times
> > 2005-02-12 20:42:16.458 commflag: Commercial Flagging Finished
> > 2005-02-12 20:42:16.631 Finished, 1 break(s) found.
> >
> > There is definitely only a single jobqueue entry for the show with a
> > start time of 02/11/2004:19:30:00, but the log clearly shows two
> > separate instances of commercial flagging being run for that show.
> > Here's another sample taken from the same log file:
> >
> > 2005-02-12 20:42:53.525 Starting Commercial Flagging for "Best Week
> > Ever" recorded from channel 1052 at Fri Feb 11 22:58:00 2005.
> > 2005-02-12 20:42:53.596 commflag: Commercial Flagging Starting
> > QTime::setHMS Invalid time 28:12:01.000
> > QDate::setYMD: Invalid date 2935-93-02
> > QTime::setHMS Invalid time 28:12:02.000
> > QDate::setYMD: Invalid date 2935-93-02
> > 2005-02-12 20:43:53.735 Starting Commercial Flagging for "Best Week
> > Ever" recorded from channel 1052 at Fri Feb 11 22:58:00 2005.
> > QTime::setHMS Invalid time 28:12:02.000
> > QDate::setYMD: Invalid date 2935-93-02
> >
> > Again, you can see that there's only a single entry in the job queue,
> > but two instances of mythcommflag being run.
> >
> > > > This message is repeated several times in the log and the backend is
> > > > dead.  When I try to restart the backend from the command line it
> > > > returns me to a prompt with no output to the console or the log file
> > > > and the backend never starts.  I have to do a hard reboot of the box
> > > > in order to get the backend started again.
> > >
> > > Not sure about this, what is the result code?  Type "echo $?" without
> > > the quotes after you try to run the backend, that will let you know if
> > > it is exiting with a certain error status but not printing anything
> > > verbose.  You can also try running "mythbackend -v all" which will
> > > turn on all debugging output and might give a clue as to why it's
> > > dying.
> >
> > Well, I figured this part out.  When the backend dies it's leaving
> > behind /var/lock/subsys/mythbackend.  The startup file checks for this
> > and silently returns if the file already exists.  Once I delete
> > /var/lock/subsys/mythbackend I can then restart the backend normally.
> > >
> > > > 0.17.  I did set -march=athlon for mythtv and all modules when I
> > > > compiled since I'm running an Athlon 1600+ and I thought I could
> > > > squeeze a little extra speed out of the code.  I'm going to try
> > > > recompiling with the default -march=pentiumpro just to see what
> > > > happens, but I doubt that's going to fix the problem.
> > >
> > > Anything but the default compile options are usually untested by
> > > the developers I believe, so you're best bet is to try pentiumpro and
> > > see if the problems are still occuring.  Make sure you do a
> > > "make distclean".
> > >
> >
> > I haven't yet recompiled everything, but I think I'm going to leave
> > -march=athlon and turn on debugging first.  That way I can run the
> > backend under gdb and see if we get any interesting data the next time
> > it crashes.
> >
> > Thanks for your help so far.  I'll post back after recompiling and
> > running under gdb.
> >
> > Accidentally replied off-list so I'm forwarding this message to the
> > list this time.
> >
> > I've now recompiled with debug support and am running mythbackend
> > under gdb.  It hasn't crashed yet, but I've currently got 14 instances
> > of mythcommflag running and the load average on the box is just under
> > 20!
> >
> >
> > Brad
> >
> 
> Okay, one more reply to myself with a little more info.  Here's the ps
> output for all the currently running mythcommflags:
> 
> root     14432 16.7  4.1 74548 19956 ?       RN   20:42   7:12
> mythcommflag -j --chanid 1052 --starttime 20050211225800 --force
> root     14468 16.3  4.1 75020 19876 ?       RN   20:43   6:52
> mythcommflag -j --chanid 1052 --starttime 20050211225800 --force
> root     14786 11.4  4.0 73580 19500 ?       RN   20:51   3:57
> mythcommflag -j --chanid 1024 --starttime 20050211182800 --force
> root     14908 10.1  4.0 73464 19704 pts/1   RN   20:53   3:17
> mythcommflag -j --chanid 1024 --starttime 20050211182800 --force
> root     14926 10.1  4.0 72628 19688 pts/1   RN   20:53   3:16
> mythcommflag -j --chanid 1024 --starttime 20050211182800 --force
> root     15195  8.6  4.0 72500 19648 pts/1   SN   20:58   2:20
> mythcommflag -j --chanid 1024 --starttime 20050211182800 --force
> root     15246  8.2  4.0 73252 19620 pts/1   RN   21:00   2:06
> mythcommflag -j --chanid 1024 --starttime 20050211182800 --force
> root     15410  6.9  4.0 72832 19336 pts/1   RN   21:05   1:26
> mythcommflag -j --chanid 1024 --starttime 20050211182800 --force
> root     15482  6.3  4.0 72388 19676 pts/1   RN   21:07   1:10
> mythcommflag -j --chanid 1024 --starttime 20050211182800 --force
> root     15536  5.8  4.0 72944 19708 pts/1   RN   21:08   0:59
> mythcommflag -j --chanid 1024 --starttime 20050211182800 --force
> root     15554  5.8  4.0 72788 19692 pts/1   RN   21:09   0:58
> mythcommflag -j --chanid 1024 --starttime 20050211182800 --force
> root     15599  5.4  4.1 72304 19988 pts/1   RN   21:10   0:50
> mythcommflag -j --chanid 1024 --starttime 20050211182800 --force
> root     15680  4.9  4.2 73048 20400 pts/1   RN   21:12   0:38
> mythcommflag -j --chanid 1024 --starttime 20050211182800 --force
> root     15945  4.3  4.6 78824 22440 pts/1   RN   21:19   0:17
> mythcommflag -j --chanid 1024 --starttime 20050211182800 --force
> root     16130  3.6  9.9 79092 47944 pts/1   RN   21:25   0:01
> mythcommflag -j --chanid 1024 --starttime 20050211182800 --force
> 
> By comparing the --starttime flag you can see that there are two
> instances running for one episode and 13(!) running for another
> episode.  Hopefully this thing will crash soon and I can get some
> meaningful info from gdb.
> 
> Brad
>
_______________________________________________
mythtv-users mailing list
[email protected]
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

Reply via email to