[mythtv] mythbackend segfault

Robert Chastain kelsey at blackcat.homeip.net
Sat Sep 11 21:59:58 EDT 2004


Hello,

I'm currently running an older version of mythtv (0.15.20040528-1) on a fully patched Mandrake 10 box. Whenever I try to run any newer version from cvs, mythbackend segfaults soon after starting. Can anyone clue me in as to what is causing this? 

-bash-2.05b$ mythbackend 
Starting up as the master server.
2004-09-11 21:48:00 mythbackend version: 0.16.20040911-1 www.mythtv.org
2004-09-11 21:48:00 Enabled verbose msgs : important general
2004-09-11 21:48:02 Found changes in the todo list.
2004-09-11 21:48:09 Scheduled 183 items in 7.03736 seconds.
2004-09-11 21:48:09 Recording starts soon, AUTO-Startup assumed
Segmentation fault

Here is the backtrace.

-bash-2.05b$ gdb mythbackend
GNU gdb 6.0-2mdk (Mandrake Linux)
Copyright 2003 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 "i586-mandrake-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 1098469888 (LWP 13620)]
Starting up as the master server.
[New Thread 1108528048 (LWP 13632)]
[New Thread 1116920752 (LWP 13633)]
[New Thread 1125313456 (LWP 13634)]
[New Thread 1133706160 (LWP 13635)]
[New Thread 1142098864 (LWP 13636)]
[New Thread 1150491568 (LWP 13637)]
2004-09-11 21:41:21 mythbackend version: 0.16.20040911-1 www.mythtv.org
2004-09-11 21:41:21 Enabled verbose msgs : important general
[New Thread 1158888368 (LWP 13638)]
[New Thread 1167281072 (LWP 13639)]
[New Thread 1175673776 (LWP 13640)]
[New Thread 1184066480 (LWP 13641)]
[New Thread 1192459184 (LWP 13642)]
2004-09-11 21:41:23 Found changes in the todo list.
2004-09-11 21:41:30 Scheduled 183 items in 6.97656 seconds.
2004-09-11 21:41:30 Recording starts soon, AUTO-Startup assumed
[New Thread 1200851888 (LWP 13643)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1200851888 (LWP 13643)]
0x401ff5bc in ProgramInfo::clone(ProgramInfo const&) (this=0x81e1758, other=@0x0) at programinfo.cpp:87
87          isVideo = other.isVideo;
(gdb) Quit
(gdb) thread apply all bt full

Thread 13 (Thread 1200851888 (LWP 13643)):
#0  0x401ff5bc in ProgramInfo::clone(ProgramInfo const&) (this=0x81e1758, other=@0x0) at programinfo.cpp:87
No locals.
#1  0x401ff371 in ProgramInfo (this=0x81e1758, other=@0x0) at programinfo.cpp:73
No locals.
#2  0x080a22cd in CommercialFlagger::DoFlagCommercialsThread() (this=0x80f66b0) at commercialflag.cpp:137
        program_info = (ProgramInfo *) 0x0
        abortFlagging = false
        key = {static null = {static null = <same as static member of an already seen type>, d = 0x80c0fc0, 
    static shared_null = 0x80c0fc0}, d = 0x0, static shared_null = 0x80c0fc0}
        name = {static null = {static null = <same as static member of an already seen type>, d = 0x80c0fc0, 
    static shared_null = 0x80c0fc0}, d = 0x0, static shared_null = 0x80c0fc0}
        commthread_db = (MythSqlDatabase *) 0x0
        CommercialSkipCPU = 0
        dontSleep = false
---Type <return> to continue, or q <return> to quit---
        filename = {static null = {static null = <same as static member of an already seen type>, d = 0x80c0fc0, 
    static shared_null = 0x80c0fc0}, d = 0x0, static shared_null = 0x80c0fc0}
        tmprbuf = (RingBuffer *) 0x0
        nvp = (NuppelVideoPlayer *) 0x0
        msg = {static null = {static null = <same as static member of an already seen type>, d = 0x80c0fc0, 
    static shared_null = 0x80c0fc0}, d = 0x0, static shared_null = 0x80c0fc0}
        breaksFound = 0
#3  0x080a2287 in CommercialFlagger::FlagCommercialsThread(void*) (param=0x80f66b0) at commercialflag.cpp:130
        theFlagger = (CommercialFlagger *) 0x80f66b0
#4  0x413467d3 in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.
#5  0x41528b4a in clone () from /lib/tls/libc.so.6
No symbol table info available.

Thread 12 (Thread 1192459184 (LWP 13642)):
#0  0xffffe410 in ?? ()
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#1  0x080f6e80 in ?? ()
No symbol table info available.

Thread 11 (Thread 1184066480 (LWP 13641)):
#0  0xffffe410 in ?? ()
No symbol table info available.
#1  0x080f6d30 in ?? ()
No symbol table info available.

Thread 10 (Thread 1175673776 (LWP 13640)):
#0  0xffffe410 in ?? ()
No symbol table info available.
#1  0x080f6be0 in ?? ()
No symbol table info available.

---Type <return> to continue, or q <return> to quit---
Thread 9 (Thread 1167281072 (LWP 13639)):
#0  0xffffe410 in ?? ()
No symbol table info available.
#1  0x080f6ac8 in ?? ()
No symbol table info available.

Thread 8 (Thread 1158888368 (LWP 13638)):
#0  0xffffe410 in ?? ()
No symbol table info available.
#1  0x080f69b0 in ?? ()
No symbol table info available.

Thread 6 (Thread 1142098864 (LWP 13636)):
#0  0xffffe410 in ?? ()
No symbol table info available.
#1  0x44130a28 in ?? ()
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#2  0x41583800 in ?? () from /lib/tls/libc.so.6
No symbol table info available.
#3  0x44130884 in ?? ()
No symbol table info available.
#4  0x414ef486 in nanosleep () from /lib/tls/libc.so.6
No symbol table info available.
#5  0x414ef263 in sleep () from /lib/tls/libc.so.6
No symbol table info available.
#6  0x0809dbbb in Transcoder::TranscodePoll() (this=0x80f6578) at transcoder.cpp:432
        transData = (TranscodeData *) 0x0
#7  0x0809dc9b in Transcoder::TranscodePollThread(void*) (param=0x80f6578) at transcoder.cpp:450
        thetv = (Transcoder *) 0x80f6578
#8  0x413467d3 in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.
#9  0x41528b4a in clone () from /lib/tls/libc.so.6
---Type <return> to continue, or q <return> to quit---
No symbol table info available.

Thread 5 (Thread 1133706160 (LWP 13635)):
#0  0xffffe410 in ?? ()
No symbol table info available.
#1  0x4392f9b8 in ?? ()
No symbol table info available.
#2  0x41583800 in ?? () from /lib/tls/libc.so.6
No symbol table info available.
#3  0x4392f814 in ?? ()
No symbol table info available.
#4  0x414ef486 in nanosleep () from /lib/tls/libc.so.6
No symbol table info available.
#5  0x414ef263 in sleep () from /lib/tls/libc.so.6
No symbol table info available.
#6  0x080a006f in HouseKeeper::RunHouseKeeping() (this=0x80f1388) at housekeeper.cpp:160
---Type <return> to continue, or q <return> to quit---
        period = 1
        maxhr = 5
        minhr = 2
#7  0x080a0bdb in HouseKeeper::doHouseKeepingThread(void*) (param=0x80f1388) at housekeeper.cpp:219
        hkeeper = (HouseKeeper *) 0x80f1388
#8  0x413467d3 in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.
#9  0x41528b4a in clone () from /lib/tls/libc.so.6
No symbol table info available.

Thread 4 (Thread 1125313456 (LWP 13634)):
#0  0xffffe410 in ?? ()
No symbol table info available.
#1  0x4312e8c8 in ?? ()
No symbol table info available.
#2  0x41583800 in ?? () from /lib/tls/libc.so.6
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#3  0x4312e724 in ?? ()
No symbol table info available.
#4  0x414ef486 in nanosleep () from /lib/tls/libc.so.6
No symbol table info available.
#5  0x414ef263 in sleep () from /lib/tls/libc.so.6
No symbol table info available.
#6  0x08056d25 in AutoExpire::RunExpirer() (this=0x80f1260) at autoexpire.cpp:127
        statbuf = {f_type = 61267, f_bsize = 4096, f_blocks = 22590440, f_bfree = 2442059, f_bavail = 2442059, f_files = 11485184, 
  f_ffree = 11480202, f_fsid = {__val = {0, 0}}, f_namelen = 255, f_frsize = 4096, f_spare = {0, 0, 0, 0, 0}}
        freespace = 9
        minFree = 1
        recordfileprefix = {static null = {static null = <same as static member of an already seen type>, d = 0x80c0fc0, 
    static shared_null = 0x80c0fc0}, d = 0x80ec8a0, static shared_null = 0x80c0fc0}
#7  0x08056dad in AutoExpire::ExpirerThread(void*) (param=0x80f1260) at autoexpire.cpp:134
        expirer = (AutoExpire *) 0x80f1260
---Type <return> to continue, or q <return> to quit---
#8  0x413467d3 in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.
#9  0x41528b4a in clone () from /lib/tls/libc.so.6
No symbol table info available.

Thread 3 (Thread 1116920752 (LWP 13633)):
#0  0xffffe410 in ?? ()
No symbol table info available.
#1  0x4292d7c8 in ?? ()
No symbol table info available.
#2  0x41583800 in ?? () from /lib/tls/libc.so.6
No symbol table info available.
#3  0x4292d624 in ?? ()
No symbol table info available.
#4  0x414ef486 in nanosleep () from /lib/tls/libc.so.6
No symbol table info available.
---Type <return> to continue, or q <return> to quit---
#5  0x414ef263 in sleep () from /lib/tls/libc.so.6
No symbol table info available.
#6  0x0808efbe in Scheduler::RunScheduler() (this=0x80ec7d8) at scheduler.cpp:1105
        statuschanged = false
        recIter = {<_List_iterator_base> = {_M_node = 0x80ed0e8}, <No data fields>}
        prerollseconds = 0
        secsleft = 62309
        nexttv = (EncoderLink *) 0x0
        nextRecording = (ProgramInfo *) 0x81e6438
        nextrectime = {d = {jd = 2453261}, t = {ds = 54000000}}
        curtime = {d = {jd = 2453260}, t = {ds = 78091832}}
        lastupdate = {d = {jd = 2453260}, t = {ds = 78083841}}
        recordfileprefix = {static null = {static null = <same as static member of an already seen type>, d = 0x80c0fc0, 
    static shared_null = 0x80c0fc0}, d = 0x80f3b18, static shared_null = 0x80c0fc0}
        startIter = {<_List_iterator_base> = {_M_node = 0x80ed0e8}, <No data fields>}
        blockShutdown = false
---Type <return> to continue, or q <return> to quit---
        idleSince = {d = {jd = 0}, t = {ds = 0}}
        idleTimeoutSecs = 0
        idleWaitForRecordingTime = 15
        firstRun = false
        fillstart = {tv_sec = 1094953283, tv_usec = 851130}
        fillend = {tv_sec = 1094953290, tv_usec = 827687}
#7  0x0808f8cd in Scheduler::SchedulerThread(void*) (param=0x80ec7d8) at scheduler.cpp:1214
        sched = (Scheduler *) 0x80ec7d8
#8  0x413467d3 in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.
#9  0x41528b4a in clone () from /lib/tls/libc.so.6
No symbol table info available.

Thread 2 (Thread 1108528048 (LWP 13632)):
#0  0xffffe410 in ?? ()
No symbol table info available.
---Type <return> to continue, or q <return> to quit---
#1  0x4212c9c8 in ?? ()
No symbol table info available.
#2  0x404dce28 in __JCR_LIST__ () from /usr/local/lib/libmythtv-0.16.so.0
No symbol table info available.

Thread 1 (Thread 1098469888 (LWP 13620)):
#0  0xffffe410 in ?? ()
No symbol table info available.
#1  0xbfffeff8 in ?? ()
No symbol table info available.
#2  0x41241998 in ?? () from /usr/lib/qt3/lib/libqt-mt.so.3
No symbol table info available.
0x401ff5bc      87          isVideo = other.isVideo;
(gdb) 

TIA,
Kelsey
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-dev/attachments/20040911/8a880ebd/attachment.html


More information about the mythtv-dev mailing list