(gdb) set logging on gdb2.txt
Copying output to gdb2.txt.
(gdb) run -v playback,record
Starting program: /myth/src/svn/mythtv/programs/mythbackend/mythbackend -v playback,record
Reading symbols from shared object read from target memory...done.
Loaded system supplied DSO at 0x24b000
[Thread debugging using libthread_db enabled]
[New Thread -1208166688 (LWP 19078)]
2006-01-18 15:02:17.225 Using runtime prefix = /usr/local
2006-01-18 15:02:17.311 New DB connection, total: 1
2006-01-18 15:02:17.324 Enabling Settings Cache.
2006-01-18 15:02:17.327 Clearing Settings Cache.
2006-01-18 15:02:17.327 Disabling Settings Cache.
2006-01-18 15:02:17.327 Clearing Settings Cache.
2006-01-18 15:02:17.333 Current Schema Version: 1121
2006-01-18 15:02:17.333 Enabling Settings Cache.
2006-01-18 15:02:17.333 Clearing Settings Cache.
Starting up as the master server.
2006-01-18 15:02:17.351 New DB connection, total: 2
2006-01-18 15:02:17.356 mythbackend: MythBackend started as master server
[New Thread 31697840 (LWP 19084)]
2006-01-18 15:02:17.375 New DB connection, total: 3
[New Thread 108034992 (LWP 19086)]
2006-01-18 15:02:17.419 DVB#0 Using DVB card 0, with frontend 'Zarlink MT352 DVB-T'.
[New Thread 128879536 (LWP 19088)]
2006-01-18 15:02:17.462 TVRec(3): SetFlags(RunMainLoop,) -> RunMainLoop,
2006-01-18 15:02:17.465 TVRec(3): ClearFlags(ExitPlayer,FinishRecording,) -> RunMainLoop,
[New Thread -1210639440 (LWP 19089)]
2006-01-18 15:02:17.483 DVB#1 Using DVB card 1, with frontend 'TerraTec/qanu USB2.0 Highspeed DVB-T Receiver'.
2006-01-18 15:02:17.495 TVRec(4): ClearFlags(SIParserRunning,) -> 0x0
[New Thread -1221129296 (LWP 19090)]
2006-01-18 15:02:17.504 TVRec(4): SetFlags(RunMainLoop,) -> RunMainLoop,
2006-01-18 15:02:17.508 TVRec(4): ClearFlags(ExitPlayer,FinishRecording,) -> RunMainLoop,
2006-01-18 15:02:17.512 New DB scheduler connection
[New Thread -1231619152 (LWP 19092)]
[New Thread -1242109008 (LWP 19093)]
[New Thread -1252598864 (LWP 19094)]
2006-01-18 15:02:17.553 mythbackend version: 0.19.20060115-1 www.mythtv.org
2006-01-18 15:02:17.557 Enabled verbose msgs:  important general playback record
2006-01-18 15:02:17.560 AutoExpire: Found 2 recorders w/max rate of 277 MiB/min
2006-01-18 15:02:17.561 AutoExpire: Required Free Space: 2.2 GB w/freq: 5 min
[New Thread -1263088720 (LWP 19095)]
[New Thread -1273578576 (LWP 19096)]
[New Thread -1284068432 (LWP 19097)]
[New Thread -1294558288 (LWP 19098)]
[New Thread -1305048144 (LWP 19099)]
2006-01-18 15:02:19.538 Reschedule requested for id -1.
2006-01-18 15:02:20.410 Scheduled 268 items in 0.9 = 0.15 match + 0.72 place
2006-01-18 15:02:20.422 scheduler: Scheduled items
2006-01-18 15:02:20.431 Recording starts soon, AUTO-Startup assumed
2006-01-18 15:02:27.369 Running HouseKeeping
2006-01-18 15:02:27.377 mythbackend: Running housekeeping thread
2006-01-18 15:02:37.556 AutoExpire: ERROR when trying to autoexpire file: /myth/recordings/Time Shift- Stephen Poliakoff- A Brief History of Now - 2006-01-18, 1-58 AM.nuv. File doesn't exist.  Database metadata will not be removed.
2006-01-18 15:02:37.564 mythbackend: Autoexpire Recording
2006-01-18 15:02:37.637 MainServer::HandleAnnounce Monitor
2006-01-18 15:02:37.637 adding: ogilvie.davesnet as a client (events: 0)
2006-01-18 15:02:39.419 RingBuf(/myth/recordings/ER - 2006-01-18, 12-28 AM - Dead Again.nuv): OpenFile(/myth/recordings/ER - 2006-01-18, 12-28 AM - Dead Again.nuv, 0)
2006-01-18 15:02:39.760 NVP: SetDecoder(0) was 0
2006-01-18 15:02:39.763 NuppelDecoder() ctor -- begin
2006-01-18 15:02:39.779 NuppelDecoder() ctor -- end
2006-01-18 15:02:39.782 NVP: SetDecoder(0x8c72598) was 0
2006-01-18 15:02:39.782 detectInterlace(Detect Scan, Detect Scan, 25, 392) ->Interlaced Scan
2006-01-18 15:02:39.782 Interlaced: Interlaced Scan  video_height: 392  fps: 25
2006-01-18 15:02:39.783 RingBuf:CalcReadAheadThresh(0 KB) -> threshhold(0 KB) readblocksize(125 KB)
2006-01-18 15:02:39.791 VideoOutputNull()
2006-01-18 15:02:39.809 Image size. dispxoff 0, dispyoff: 0, dispwoff: 0, disphoff: 0
2006-01-18 15:02:39.809 Image size. imgx 0, imgy: 0, imgw: 480, imgh: 392
2006-01-18 15:02:39.810 Created data @0xb1899020->0xb18ddea2
2006-01-18 15:02:39.811 Created data @0xb1854020->0xb1898ea2
2006-01-18 15:02:39.811 Created data @0xb180f020->0xb1853ea2
2006-01-18 15:02:39.812 Created data @0xb17ca020->0xb180eea2
2006-01-18 15:02:39.816 Created data @0xb1785020->0xb17c9ea2
2006-01-18 15:02:39.817 Created data @0xb1740020->0xb1784ea2
2006-01-18 15:02:39.818 Created data @0xb16fb020->0xb173fea2
2006-01-18 15:02:39.819 Created data @0xb16b6020->0xb16faea2
2006-01-18 15:02:39.820 Created data @0xb1671020->0xb16b5ea2
2006-01-18 15:02:39.820 Created data @0xb162c020->0xb1670ea2
2006-01-18 15:02:39.821 Created data @0xb15e7020->0xb162bea2
2006-01-18 15:02:39.822 Created data @0xb15a2020->0xb15e6ea2
2006-01-18 15:02:39.823 Created data @0xb155d020->0xb15a1ea2
2006-01-18 15:02:39.824 Created data @0xb1518020->0xb155cea2
2006-01-18 15:02:39.824 Created data @0xb14d3020->0xb1517ea2
2006-01-18 15:02:39.825 Created data @0xb148e020->0xb14d2ea2
2006-01-18 15:02:39.826 Created data @0xb1449020->0xb148dea2
2006-01-18 15:02:39.827 Created data @0xb1404020->0xb1448ea2
2006-01-18 15:02:39.828 Created data @0xb13bf020->0xb1403ea2
2006-01-18 15:02:39.828 Created data @0xb137a020->0xb13beea2
2006-01-18 15:02:39.833 Created data @0xb1335020->0xb1379ea2
2006-01-18 15:02:39.834 Created data @0xb12f0020->0xb1334ea2
2006-01-18 15:02:39.835 Created data @0xb12ab020->0xb12efea2
2006-01-18 15:02:39.835 Created data @0xb1266020->0xb12aaea2
2006-01-18 15:02:39.836 Created data @0xb1221020->0xb1265ea2
2006-01-18 15:02:39.837 Created data @0xb11dc020->0xb1220ea2
2006-01-18 15:02:39.838 Created data @0xb1197020->0xb11dbea2
2006-01-18 15:02:39.839 Created data @0xb1152020->0xb1196ea2
2006-01-18 15:02:39.839 Created data @0xb110d020->0xb1151ea2
2006-01-18 15:02:39.840 Created data @0xb10c8020->0xb110cea2
2006-01-18 15:02:39.848 Created data @0xb1083020->0xb10c7ea2
2006-01-18 15:02:39.849 Created data @0xb103e020->0xb1082ea2
2006-01-18 15:02:39.849 Image size. dispxoff 0, dispyoff: 0, dispwoff: 0, disphoff: 0
2006-01-18 15:02:39.849 Image size. imgx 0, imgy: 0, imgw: 480, imgh: 392
2006-01-18 15:02:39.850 NVP: ClearAfterSeek()
2006-01-18 15:02:39.870 Dec: DoFastForward(5999 (0), do discard frames)
2006-01-18 15:02:39.873 NVD: SeekReset(5970, 0, do flush, do discard)
2006-01-18 15:02:39.876 VideoBuffers::DiscardFrames(1): AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
2006-01-18 15:02:39.879 VideoBuffers::DiscardFrames(): AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA -- done()
2006-01-18 15:02:39.879 VideoBuffers::DiscardFrames(1): AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA -- done
2006-01-18 15:02:39.879 NVP: ClearAfterSeek()
2006-01-18 15:02:39.893 NVP: SetDecoder(0) was 0x8c72598
2006-01-18 15:02:39.896 NuppelDecoder() dtor -- begin
2006-01-18 15:02:39.899 NuppelDecoder() dtor -- end
2006-01-18 15:02:39.900 ~VideoOutputNull()

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1305048144 (LWP 19099)]
0x043f6649 in free () from /lib/libc.so.6
(gdb) thread apply all bt

Thread 14 (Thread -1305048144 (LWP 19099)):
#0  0x043f6649 in free () from /lib/libc.so.6
#1  0x00f0184c in av_free (ptr=0xb1899020) at mem.c:132
#2  0x009e8096 in VideoBuffers::DeleteBuffers (this=0x8bf70dc) at videobuffers.cpp:1206
#3  0x009e5ef6 in VideoOutputNull::Exit (this=0x8bf7008) at videoout_null.cpp:118
#4  0x009e612f in ~VideoOutputNull (this=0x8bf7008) at videoout_null.cpp:29
#5  0x0096c49e in ~NuppelVideoPlayer (this=0x8b8da18) at NuppelVideoPlayer.cpp:228
#6  0x00c4e5a3 in PreviewGenerator::GetScreenGrab (pginfo=0x8cf8768, filename=@0xb2367f0c, secondsin=240, bufferlen=@0xb2367f04, 
    video_width=@0xb2367f00, video_height=@0xb2367efc, video_aspect=@0xb2367ef8) at previewgenerator.cpp:379
#7  0x0806eb9a in EncoderLink::GetScreenGrab (this=0x8aca728, pginfo=0x8cf8768, filename=@0xb2367f0c, secondsin=240, 
    bufferlen=@0xb2367f04, video_width=@0xb2367f00, video_height=@0xb2367efc, video_aspect=@0xb2367ef8) at encoderlink.cpp:901
#8  0x0808a780 in MainServer::HandleGenPreviewPixmap (this=0x8aba8e0, slist=@0xb23682cc, pbs=0x8cba040) at mainserver.cpp:3153
#9  0x0809ce5f in MainServer::ProcessRequestWork (this=0x8aba8e0, sock=0x8b90008) at mainserver.cpp:437
#10 0x0809f983 in MainServer::ProcessRequest (this=0x8aba8e0, sock=0x8b90008) at mainserver.cpp:256
#11 0x080ac532 in ProcessRequestThread::run (this=0x8abad40) at mainserver.cpp:91
#12 0x0522e978 in QThreadInstance::start () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#13 0x00230b80 in start_thread () from /lib/libpthread.so.0
#14 0x0445d9ce in clone () from /lib/libc.so.6

Thread 13 (Thread -1294558288 (LWP 19098)):
#0  0x0024b402 in __kernel_vsyscall ()
#1  0x002327a6 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x0556b5a3 in QWaitCondition::wait () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#3  0x080ac50d in ProcessRequestThread::run (this=0x8acad48) at mainserver.cpp:86
#4  0x0522e978 in QThreadInstance::start () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#5  0x00230b80 in start_thread () from /lib/libpthread.so.0
#6  0x0445d9ce in clone () from /lib/libc.so.6

Thread 12 (Thread -1284068432 (LWP 19097)):
#0  0x0024b402 in __kernel_vsyscall ()
#1  0x002327a6 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x0556b5a3 in QWaitCondition::wait () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#3  0x080ac50d in ProcessRequestThread::run (this=0x8acb4e0) at mainserver.cpp:86
#4  0x0522e978 in QThreadInstance::start () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#5  0x00230b80 in start_thread () from /lib/libpthread.so.0
#6  0x0445d9ce in clone () from /lib/libc.so.6

Thread 11 (Thread -1273578576 (LWP 19096)):
#0  0x0024b402 in __kernel_vsyscall ()
#1  0x002327a6 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x0556b5a3 in QWaitCondition::wait () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#3  0x080ac50d in ProcessRequestThread::run (this=0x8aba498) at mainserver.cpp:86
#4  0x0522e978 in QThreadInstance::start () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#5  0x00230b80 in start_thread () from /lib/libpthread.so.0
#6  0x0445d9ce in clone () from /lib/libc.so.6

Thread 10 (Thread -1263088720 (LWP 19095)):
#0  0x0024b402 in __kernel_vsyscall ()
#1  0x002327a6 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x0556b5a3 in QWaitCondition::wait () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#3  0x080ac50d in ProcessRequestThread::run (this=0x8abaea0) at mainserver.cpp:86
#4  0x0522e978 in QThreadInstance::start () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#5  0x00230b80 in start_thread () from /lib/libpthread.so.0
#6  0x0445d9ce in clone () from /lib/libc.so.6

Thread 9 (Thread -1252598864 (LWP 19094)):
#0  0x0024b402 in __kernel_vsyscall ()
#1  0x0441fb86 in __nanosleep_nocancel () from /lib/libc.so.6
#2  0x0441f9a9 in sleep () from /lib/libc.so.6
#3  0x007fd299 in JobQueue::ProcessQueue (this=0x8acace8) at jobqueue.cpp:475
#4  0x007fd4ba in JobQueue::RunQueueProcesser (this=0x8acace8) at jobqueue.cpp:138
#5  0x007fd4e3 in JobQueue::QueueProcesserThread (param=0x8acace8) at jobqueue.cpp:144
#6  0x00230b80 in start_thread () from /lib/libpthread.so.0
#7  0x0445d9ce in clone () from /lib/libc.so.6

Thread 8 (Thread -1242109008 (LWP 19093)):
#0  0x0024b402 in __kernel_vsyscall ()
#1  0x0441fb86 in __nanosleep_nocancel () from /lib/libc.so.6
#2  0x0441f9a9 in sleep () from /lib/libc.so.6
#3  0x08058bd5 in AutoExpire::Sleep (this=0x8acb328, sleepTime=60) at autoexpire.cpp:280
#4  0x08064b24 in AutoExpire::RunExpirer (this=0x8acb328) at autoexpire.cpp:265
#5  0x08064b4d in AutoExpire::ExpirerThread (param=0x8acb328) at autoexpire.cpp:463
#6  0x00230b80 in start_thread () from /lib/libpthread.so.0
#7  0x0445d9ce in clone () from /lib/libc.so.6

Thread 7 (Thread -1231619152 (LWP 19092)):
#0  0x0024b402 in __kernel_vsyscall ()
#1  0x00232a1c in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x0556b54c in QWaitCondition::wait () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#3  0x080c3b4e in Scheduler::RunScheduler (this=0x8aca4f8) at scheduler.cpp:1136
#4  0x080c73ed in Scheduler::SchedulerThread (param=0x8aca4f8) at scheduler.cpp:1567
#5  0x00230b80 in start_thread () from /lib/libpthread.so.0
#6  0x0445d9ce in clone () from /lib/libc.so.6

Thread 6 (Thread -1221129296 (LWP 19090)):
#0  0x0024b402 in __kernel_vsyscall ()
#1  0x00232a1c in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x0556b407 in QWaitCondition::wait () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#3  0x00af089b in TVRec::RunTV (this=0x8acbd20) at tv_rec.cpp:1301
#4  0x00af0967 in TVRec::EventThread (param=0x8acbd20) at tv_rec.cpp:1098
#5  0x00230b80 in start_thread () from /lib/libpthread.so.0
#6  0x0445d9ce in clone () from /lib/libc.so.6

Thread 5 (Thread -1210639440 (LWP 19089)):
#0  0x0024b402 in __kernel_vsyscall ()
#1  0x00232a1c in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x0556b407 in QWaitCondition::wait () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#3  0x00c2a9b4 in EITScanner::RunEventLoop (this=0x8acbc50) at eitscanner.cpp:137
#4  0x00c2a9ef in EITScanner::SpawnEventLoop (param=0x8acbc50) at eitscanner.cpp:76
#5  0x00230b80 in start_thread () from /lib/libpthread.so.0
#6  0x0445d9ce in clone () from /lib/libc.so.6

Thread 4 (Thread 128879536 (LWP 19088)):
#0  0x0024b402 in __kernel_vsyscall ()
#1  0x00232a1c in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x0556b407 in QWaitCondition::wait () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#3  0x00af089b in TVRec::RunTV (this=0x8ac4430) at tv_rec.cpp:1301
#4  0x00af0967 in TVRec::EventThread (param=0x8ac4430) at tv_rec.cpp:1098
#5  0x00230b80 in start_thread () from /lib/libpthread.so.0
#6  0x0445d9ce in clone () from /lib/libc.so.6

Thread 3 (Thread 108034992 (LWP 19086)):
#0  0x0024b402 in __kernel_vsyscall ()
#1  0x00232a1c in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x0556b407 in QWaitCondition::wait () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#3  0x00c2a9b4 in EITScanner::RunEventLoop (this=0x8aba0a0) at eitscanner.cpp:137
#4  0x00c2a9ef in EITScanner::SpawnEventLoop (param=0x8aba0a0) at eitscanner.cpp:76
#5  0x00230b80 in start_thread () from /lib/libpthread.so.0
#6  0x0445d9ce in clone () from /lib/libc.so.6

Thread 2 (Thread 31697840 (LWP 19084)):
#0  0x0024b402 in __kernel_vsyscall ()
#1  0x0441fb86 in __nanosleep_nocancel () from /lib/libc.so.6
#2  0x0441f9a9 in sleep () from /lib/libc.so.6
#3  0x080cfc6f in HouseKeeper::RunHouseKeeping (this=0x8ab84d0) at housekeeper.cpp:251
#4  0x080cfcb9 in HouseKeeper::doHouseKeepingThread (param=0x8ab84d0) at housekeeper.cpp:330
#5  0x00230b80 in start_thread () from /lib/libpthread.so.0
#6  0x0445d9ce in clone () from /lib/libc.so.6

Thread 1 (Thread -1208166688 (LWP 19078)):
#0  0x0024b402 in __kernel_vsyscall ()
#1  0x04456221 in ___newselect_nocancel () from /lib/libc.so.6
#2  0x051e0168 in QEventLoop::processEvents () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#3  0x0524e82b in QEventLoop::enterLoop () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#4  0x0524e736 in QEventLoop::exec () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#5  0x05235aa9 in QApplication::exec () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#6  0x0807b8e7 in main (argc=3, argv=0xbfee9cd4) at main.cpp:561
(gdb) 
