: bjm@sleepy ; gdb mythbackend
GNU gdb 6.4-debian
Copyright 2005 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...Using host libthread_db library "/lib/tls/libthread_db.so.1".

(gdb) run
Starting program: /usr/local/bin/mythbackend
[Thread debugging using libthread_db enabled]
[New Thread -1248508192 (LWP 3531)]
Qt: gdb: -nograb added to command-line options.
         Use the -dograb option to enforce grabbing.
2006-01-20 21:42:32.389 Using runtime prefix = /usr/local
2006-01-20 21:42:32.936 New DB connection, total: 1
2006-01-20 21:42:33.056 Enabling Settings Cache.
2006-01-20 21:42:33.056 Clearing Settings Cache.
2006-01-20 21:42:33.056 Disabling Settings Cache.
2006-01-20 21:42:33.056 Clearing Settings Cache.
2006-01-20 21:42:33.063 Current Schema Version: 1122
2006-01-20 21:42:33.064 Enabling Settings Cache.
2006-01-20 21:42:33.064 Clearing Settings Cache.
Running as a slave backend.
2006-01-20 21:42:33.090 New DB connection, total: 2
2006-01-20 21:42:33.100 mythbackend: MythBackend started as a slave backend
[New Thread -1250481232 (LWP 3548)]
2006-01-20 21:42:33.165 New DB connection, total: 3
[New Thread -1258869840 (LWP 3549)]
[New Thread -1267258448 (LWP 3550)]
[New Thread -1275647056 (LWP 3551)]
2006-01-20 21:42:33.237 mythbackend version: 0.19.20060115-1 www.mythtv.org
2006-01-20 21:42:33.237 Enabled verbose msgs:  important general
2006-01-20 21:42:33.238 AutoExpire: Found 1 recorders w/max rate of 72 MiB/min
2006-01-20 21:42:33.244 AutoExpire: Required Free Space: 2.1 GB w/freq: 10 min
[New Thread -1284035664 (LWP 3552)]
[New Thread -1292424272 (LWP 3553)]
[New Thread -1300812880 (LWP 3554)]
[New Thread -1309201488 (LWP 3555)]
[New Thread -1317590096 (LWP 3556)]
2006-01-20 21:42:34.274 Connecting to master server: 192.168.0.35:6543
2006-01-20 21:42:34.525 Connected successfully
[New Thread -1325978704 (LWP 3559)]
2006-01-20 21:42:39.550 AutoExpire: Found 1 recorders w/max rate of 72 MiB/min
2006-01-20 21:42:39.550 AutoExpire: Required Free Space: 2.1 GB w/freq: 10 min
[Thread -1325978704 (LWP 3559) exited]
2006-01-20 21:42:43.110 Running HouseKeeping
2006-01-20 21:42:43.121 mythbackend: Running housekeeping thread
2006-01-20 21:42:59.216 MainServer::HandleAnnounce Playback
2006-01-20 21:42:59.216 adding: nordtv as a client (events: 0)
2006-01-20 21:42:59.230 TVRec(1): Changing from None to WatchingLiveTV
[New Thread -1325978704 (LWP 3560)]
[New Thread -1336468560 (LWP 3561)]
[New Thread -1366410320 (LWP 3562)]
[New Thread -1375335504 (LWP 3563)]
[New Thread -1383724112 (LWP 3564)]
[New Thread -1392112720 (LWP 3565)]
2006-01-20 21:43:00.244 MainServer::HandleAnnounce Playback
2006-01-20 21:43:00.245 adding: nordtv as a client (events: 0)
2006-01-20 21:43:00.258 MainServer::HandleAnnounce FileTransfer
2006-01-20 21:43:00.258 adding: nordtv as a remote file transfer
strange error flushing buffer ...
2006-01-20 21:43:23.338 TVRec(1): SetLiveRecording(0)
2006-01-20 21:43:23.353 TVRec(1): SetLiveRecording() -- record
2006-01-20 21:43:23.779 SCHEDULER_ADD_RECORDING message

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1317590096 (LWP 3556)]
0x080ae7af in Scheduler::AddRecording (this=0x0, pi=@0xb1771768)
    at scheduler.cpp:1044
1044        QMutexLocker lockit(reclist_lock);
(gdb) bt
#0  0x080ae7af in Scheduler::AddRecording (this=0x0, pi=@0xb1771768)
    at scheduler.cpp:1044
#1  0x0808e2bb in MainServer::customEvent (this=0x8113ce0, e=0xab601a48)
    at mainserver.cpp:649
#2  0xb6868cbb in QObject::event () from /usr/lib/libqt-mt.so.3
#3  0xb6801698 in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
#4  0xb68018b6 in QApplication::notify () from /usr/lib/libqt-mt.so.3
#5  0xb7283937 in QApplication::sendEvent (receiver=0x8113ce0,
    event=0xab601a48) at qapplication.h:496
#6  0xb72dae95 in MythObservable::dispatchNow (this=0x80ffad0,
    event=@0xb1771c1c) at mythobservable.cpp:55
#7  0xb7c702f2 in TVRec::NotifySchedulerOfRecording (this=0x810f898,
    rec=0x810f1d8) at tv_rec.cpp:2739
#8  0xb7c70e5f in TVRec::SetLiveRecording (this=0x810f898, recording=0)
    at tv_rec.cpp:2790
#9  0x08069d83 in EncoderLink::SetLiveRecording (this=0x8112b40, recording=0)
    at encoderlink.cpp:652
#10 0x0808a4ca in MainServer::HandleRecorderQuery (this=0x8113ce0,
    slist=@0xb1772320, commands=@0xb1772318, pbs=0x810cb88)
    at mainserver.cpp:2480
#11 0x08096518 in MainServer::ProcessRequestWork (this=0x8113ce0,
    sock=0x8115c70) at mainserver.cpp:411
---Type <return> to continue, or q <return> to quit---
#12 0x08098901 in MainServer::ProcessRequest (this=0x8113ce0, sock=0x8115c70)
    at mainserver.cpp:256
#13 0x080a4940 in ProcessRequestThread::run (this=0x8113970)
    at mainserver.cpp:91
#14 0xb67f7278 in QThreadInstance::start () from /usr/lib/libqt-mt.so.3
#15 0xb6480cfd in start_thread () from /lib/tls/libpthread.so.0
#16 0xb630813e in clone () from /lib/tls/libc.so.6
(gdb) bt full
#0  0x080ae7af in Scheduler::AddRecording (this=0x0, pi=@0xb1771768)
    at scheduler.cpp:1044
        lockit = {mtx = 0x0}
#1  0x0808e2bb in MainServer::customEvent (this=0x8113ce0, e=0xab601a48)
    at mainserver.cpp:649
        pi = {title = {static null = {
      static null = <same as static member of an already seen type>,
      d = 0x80e5388, static shared_null = 0x80e5388}, d = 0x812a528,
    static shared_null = 0x80e5388}, subtitle = {static null = {
      static null = <same as static member of an already seen type>,
      d = 0x80e5388, static shared_null = 0x80e5388}, d = 0x812a900,
    static shared_null = 0x80e5388}, description = {static null = {
      static null = <same as static member of an already seen type>,
      d = 0x80e5388, static shared_null = 0x80e5388}, d = 0x812a540,
    static shared_null = 0x80e5388}, category = {static null = {
      static null = <same as static member of an already seen type>,
      d = 0x80e5388, static shared_null = 0x80e5388}, d = 0x811b340,
    static shared_null = 0x80e5388}, chanid = {static null = {
      static null = <same as static member of an already seen type>,
      d = 0x80e5388, static shared_null = 0x80e5388}, d = 0x812a8c0,
    static shared_null = 0x80e5388}, chanstr = {static null = {
      static null = <same as static member of an already seen type>,
---Type <return> to continue, or q <return> to quit---
      d = 0x80e5388, static shared_null = 0x80e5388}, d = 0x812a330,
    static shared_null = 0x80e5388}, chansign = {static null = {
      static null = <same as static member of an already seen type>,
      d = 0x80e5388, static shared_null = 0x80e5388}, d = 0x811b310,
    static shared_null = 0x80e5388}, channame = {static null = {
      static null = <same as static member of an already seen type>,
      d = 0x80e5388, static shared_null = 0x80e5388}, d = 0x812a408,
    static shared_null = 0x80e5388}, recpriority = 0, recgroup = {
    static null = {
      static null = <same as static member of an already seen type>,
      d = 0x80e5388, static shared_null = 0x80e5388}, d = 0x8139a28,
    static shared_null = 0x80e5388}, playgroup = {static null = {
      static null = <same as static member of an already seen type>,
      d = 0x80e5388, static shared_null = 0x80e5388}, d = 0x811a900,
    static shared_null = 0x80e5388}, chancommfree = 0, pathname = {
    static null = {
      static null = <same as static member of an already seen type>,
      d = 0x80e5388, static shared_null = 0x80e5388}, d = 0x8121900,
    static shared_null = 0x80e5388}, filesize = 0, hostname = {static null = {
      static null = <same as static member of an already seen type>,
      d = 0x80e5388, static shared_null = 0x80e5388}, d = 0x81010d8,
    static shared_null = 0x80e5388}, startts = {d = {jd = 2453756}, t = {
---Type <return> to continue, or q <return> to quit---
      ds = 75600000}}, endts = {d = {jd = 2453756}, t = {ds = 79200000}},
  recstartts = {d = {jd = 2453756}, t = {ds = 78179000}}, recendts = {d = {
      jd = 2453756}, t = {ds = 79200000}}, availableStatus = asAvailable,
  isVideo = false, lenMins = 0, year = {static null = {
      static null = <same as static member of an already seen type>,
      d = 0x80e5388, static shared_null = 0x80e5388}, d = 0xab600c58,
    static shared_null = 0x80e5388}, stars = 0, originalAirDate = {
    jd = 2451545}, lastmodified = {d = {jd = 2453756}, t = {ds = 75600000}},
  lastInUseTime = {d = {jd = 2453756}, t = {ds = 63803000}},
  hasAirDate = true, repeat = true, spread = -1, startCol = -1,
  recstatus = rsRecording, oldrecstatus = rsUnknown,
  savedrecstatus = rsUnknown, recpriority2 = 0, reactivate = 0,
  recordid = 7251, parentid = 0, rectype = kSingleRecord, dupin = kDupsInAll,
  dupmethod = kDupCheckSubDesc, sourceid = 0, inputid = 1, cardid = 1,
  shareable = false, duplicate = false, schedulerid = {static null = {
      static null = <same as static member of an already seen type>,
      d = 0x80e5388, static shared_null = 0x80e5388}, d = 0xab600d58,
    static shared_null = 0x80e5388}, findid = 0, programflags = 0,
  transcoder = 0, chanOutputFilters = {static null = {
      static null = <same as static member of an already seen type>,
      d = 0x80e5388, static shared_null = 0x80e5388}, d = 0x812a8e8,
    static shared_null = 0x80e5388}, seriesid = {static null = {
---Type <return> to continue, or q <return> to quit---
      static null = <same as static member of an already seen type>,
      d = 0x80e5388, static shared_null = 0x80e5388}, d = 0x810f320,
    static shared_null = 0x80e5388}, programid = {static null = {
      static null = <same as static member of an already seen type>,
      d = 0x80e5388, static shared_null = 0x80e5388}, d = 0x810f2f0,
    static shared_null = 0x80e5388}, catType = {static null = {
      static null = <same as static member of an already seen type>,
      d = 0x80e5388, static shared_null = 0x80e5388}, d = 0xab601038,
    static shared_null = 0x80e5388}, sortTitle = {static null = {
      static null = <same as static member of an already seen type>,
      d = 0x80e5388, static shared_null = 0x80e5388}, d = 0xab601060,
    static shared_null = 0x80e5388}, ignoreBookmark = false, record = 0x0,
  inUseForWhat = {static null = {
      static null = <same as static member of an already seen type>,
      d = 0x80e5388, static shared_null = 0x80e5388}, d = 0xab601088,
    static shared_null = 0x80e5388}}
        list = {<QValueList<QString>> = {sh = 0xab6010a0}, <No data fields>}
        me = (MythEvent *) 0xab601a48
        broadcast = {<QValueList<QString>> = {
    sh = 0xab600b80}, <No data fields>}
        sendstuff = false
#2  0xb6868cbb in QObject::event () from /usr/lib/libqt-mt.so.3
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#3  0xb6801698 in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#4  0xb68018b6 in QApplication::notify () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#5  0xb7283937 in QApplication::sendEvent (receiver=0x8113ce0,
    event=0xab601a48) at qapplication.h:496
No locals.
#6  0xb72dae95 in MythObservable::dispatchNow (this=0x80ffad0,
    event=@0xb1771c1c) at mythobservable.cpp:55
        listener = (struct QObject *) 0x8113ce0
#7  0xb7c702f2 in TVRec::NotifySchedulerOfRecording (this=0x810f898,
    rec=0x810f1d8) at tv_rec.cpp:2739
        prog = {<QValueList<QString>> = {sh = 0xab600508}, <No data fields>}
        me = {<QCustomEvent> = {<> = {<No data fields>}, d = 0x0}, message = {
    static null = {
      static null = <same as static member of an already seen type>,
      d = 0x80e5388, static shared_null = 0x80e5388}, d = 0xab6020a0,
    static shared_null = 0x80e5388}, extradata = {<QValueList<QString>> = {
      sh = 0xab600508}, <No data fields>}}
#8  0xb7c70e5f in TVRec::SetLiveRecording (this=0x810f898, recording=0)
    at tv_rec.cpp:2790
---Type <return> to continue, or q <return> to quit---
        locker = {mtx = 0x810f950}
        recstat = rsCancelled
        was_rec = false
        me = {<QCustomEvent> = {<> = {<No data fields>}, d = 0xb1771d08},
  message = {static null = {
      static null = <same as static member of an already seen type>,
      d = 0x80e5388, static shared_null = 0x80e5388}, d = 0xb629f8bc,
    static shared_null = 0x80e5388}, extradata = {<QValueList<QString>> = {
      sh = 0xab600010}, <No data fields>}}
#9  0x08069d83 in EncoderLink::SetLiveRecording (this=0x8112b40, recording=0)
    at encoderlink.cpp:652
No locals.
#10 0x0808a4ca in MainServer::HandleRecorderQuery (this=0x8113ce0,
    slist=@0xb1772320, commands=@0xb1772318, pbs=0x810cb88)
    at mainserver.cpp:2480
        recording = 0
        pbssock = (struct QSocket *) 0x8115c70
        recnum = 1
        iter = {node = 0x8112870}
        command = {static null = {
    static null = <same as static member of an already seen type>,
    d = 0x80e5388, static shared_null = 0x80e5388}, d = 0xab6006f8,
---Type <return> to continue, or q <return> to quit---
  static shared_null = 0x80e5388}
        retlist = {<QValueList<QString>> = {
    sh = 0xab600688}, <No data fields>}
        enc = (EncoderLink *) 0x8112b40
#11 0x08096518 in MainServer::ProcessRequestWork (this=0x8113ce0,
    sock=0x8115c70) at mainserver.cpp:411
        listline = {<QValueList<QString>> = {
    sh = 0xab600698}, <No data fields>}
        line = {static null = {
    static null = <same as static member of an already seen type>,
    d = 0x80e5388, static shared_null = 0x80e5388}, d = 0xab600498,
  static shared_null = 0x80e5388}
        tokens = {<QValueList<QString>> = {sh = 0xab600560}, <No data fields>}
        command = {static null = {
    static null = <same as static member of an already seen type>,
    d = 0x80e5388, static shared_null = 0x80e5388}, d = 0xab6005d0,
  static shared_null = 0x80e5388}
        pbs = (class PlaybackSock *) 0x810cb88
#12 0x08098901 in MainServer::ProcessRequest (this=0x8113ce0, sock=0x8115c70)
    at mainserver.cpp:256
No locals.
#13 0x080a4940 in ProcessRequestThread::run (this=0x8113970)
---Type <return> to continue, or q <return> to quit---
    at mainserver.cpp:91
No locals.
#14 0xb67f7278 in QThreadInstance::start () from /usr/lib/libqt-mt.so.3
No symbol table info available.
#15 0xb6480cfd in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.
#16 0xb630813e in clone () from /lib/tls/libc.so.6
No symbol table info available.
(gdb)
(gdb)
(gdb) 
