[mythtv] [bug] mythcommflag segfaults

Wayne Hogue w_hogue at hotmail.com
Thu Nov 13 16:17:11 EST 2003


here is the bt:
(gdb) set args --file /var/lib/mythtv/1052_20031106140000_20031106150000.nuv
(gdb) run
Starting program: /usr/local/bin/mythcommflag --file 
/var/lib/mythtv/1052_20031106140000_20031106150000.nuv
[New Thread 1092093760 (LWP 2279)]

MythTV Commercial Flagging, started at Thu Nov 13 16:14:52 2003

Flagging commercial breaks for:
ChanID  Start Time      Title                                         Breaks
------  --------------  --------------------------------------------  ------
1052    20031106140000  The Outer Limits                              [New 
Thread 1104403760 (LWP 2288)]
Input #0, mpeg, from 
'/var/lib/mythtv//1052_20031106140000_20031106150000.nuv':
  Stream #0.0: Video: mpeg1video, 720x480, 29.97 fps
  Stream #0.1: Audio: mp2, 48000 Hz, stereo, 384 kb/s

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1092093760 (LWP 2279)]
0x4207c45c in memcpy () from /lib/tls/libc.so.6
(gdb) thread apply all bt full

Thread 2 (Thread 1104403760 (LWP 2288)):
#0  0xffffe002 in ?? ()
No symbol table info available.
#1  0x080e272e in RingBuffer::ReadAheadThread() (this=0x83ebe38)
    at RingBuffer.cpp:832
        totfree = 1488895
        ret = 256000
        used = 1071105
#2  0x080e1eb5 in RingBuffer::startReader(void*) (type=0x83ebe38)
    at RingBuffer.cpp:696
        rbuffer = (RingBuffer *) 0x83ebe38
#3  0x409f6332 in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.

Thread 1 (Thread 1092093760 (LWP 2279)):
#0  0x4207c45c in memcpy () from /lib/tls/libc.so.6
No symbol table info available.
#1  0x08102d0d in AvFormatDecoder::GetFrame(int) (this=0x83ebfc0, 
onlyvideo=1)
    at avformatdecoder.cpp:1139
        tblsize = 0
        context = (AVCodecContext *) 0x0
        mpa_pic = {data = {0x0, 0x0, 0x0, 0x0}, linesize = {1, 1, 0, 0},
---Type <return> to continue, or q <return> to quit---
  base = {0x0, 0x0, 0x0, 0x40000000 "\177ELF\001\001\001"}, key_frame = 3,
  pict_type = 140033616, pts = 601433822466146350,
  coded_picture_number = 139936320, display_picture_number = 0, quality = 0,
  age = 0, reference = 0, qscale_table = 0x0, qstride = 0, mbskip_table = 
0x0,
  opaque = 0x0, error = {2, 1, 594428009251864576, 0}, type = 0,
  repeat_pict = 0, qscale_type = 0, interlaced_frame = 0, top_field_first = 
0,
  pan_scan = 0x0, palette_has_changed = 0, buffer_hints = 0}
        gotpicture = 0
        temppts = 0
        frame_delay = 0
        picframe = (VideoFrame *) 0x168
        curstream = (AVStream *) 0x0
        pkt = (AVPacket *) 0x4082dcb4
        len = -1073747944
        ret = 1
        ptr = (unsigned char *) 0x83eecf0 "\b47\bÀ¿>\bC"
        samples = {0 <repeats 50746 times>, 2, 0, 0, 0, 14, 0, 1, 0, 0, 0, 
0,
  0, 1152, 0, -17536, 0, -16432, 2111, -8920, -16385, 3365, 2083, 29888,
  -16385, -7168, -3, 0, 0, 0, 0, 0, 0, 2, 0, 1152, 0, 29888, -16385,
  0 <repeats 2310 times>, 1152, 0, 0, 0, 0, 0, 0, 0, 2, 0, -17536, 0, 1, 0,
  -9216, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0 <repeats 2435 times>, -26056,
  -16385, -30699, 16400, -26016, -16385, 22960, 2109, 0, 0, -30865, 16400, 
0,
  0, 0, 0, 0, 0, 22960, 2109, 8828, 16542, 22720, 2109, -25992, -16385, 
1714,
---Type <return> to continue, or q <return> to quit---
  16517, -24788, 16517, 8828, 16542, -25992, -16385, 16284, 16517, -25792,
  -16385, 0, 0, 0, 0, 23212, 2109, 49, 0, 49, 0, 1, 0, 8828, 16542, 23208,
  2109, 20328, 2109, -25704, -16385, 13545, 16517, 23208, 2109, -25792,
  -16385, 0 <repeats 22 times>, 20332, 2109, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
  20608, 2109, 0 <repeats 14 times>, 23060, 2109, 23060, 2109,
  0 <repeats 12 times>...}
        data_size = 0
        pts = 0
        firstloop = false
        allowedquit = false
        storevideoframes = false
#2  0x0807451f in NuppelVideoPlayer::GetFrame(int, bool) (this=0x83ebfc0,
    onlyvideo=1, unsafe=true) at NuppelVideoPlayer.cpp:597
No locals.
#3  0x08080860 in NuppelVideoPlayer::FlagCommercials(bool, bool) (
    this=0x83ebfc0, showPercentage=true, fullSpeed=true)
    at NuppelVideoPlayer.cpp:3271
        comms_found = 0
        percentage = 0
#4  0x080697e5 in FlagCommercials(QSqlDatabase*, QString, QString) (
    db=0x83e2458, chanid=
      {static null = {static null = <same as static member of an already 
seen type>, d = 0x83d13e8, static shared_null = 0x83d13e8}, d = 0x83d7080, 
static share---Type <return> to continue, or q <return> to quit---
d_null = 0x83d13e8}, starttime=
      {static null = {static null = <same as static member of an already 
seen type>, d = 0x83d13e8, static shared_null = 0x83d13e8}, d = 0x83d67a8, 
static shared_null = 0x83d13e8}) at main.cpp:223
        blanks = {sh = 0x83e2db8}
        program_info = (ProgramInfo *) 0x83f00f0
        filename = {static null = {
    static null = <same as static member of an already seen type>,
    d = 0x83d13e8, static shared_null = 0x83d13e8}, d = 0x83f01d0,
  static shared_null = 0x83d13e8}
        tmprbuf = (RingBuffer *) 0x83ebe38
        nvp = (NuppelVideoPlayer *) 0x83ebfc0
        comms_found = 1108552032
#5  0x0806abe3 in main (argc=3, argv=0xbfffeb14) at main.cpp:420
        a = <incomplete type>
        argpos = 3
        chanid = {static null = {
    static null = <same as static member of an already seen type>,
    d = 0x83d13e8, static shared_null = 0x83d13e8}, d = 0x83d7080,
  static shared_null = 0x83d13e8}
        starttime = {static null = {
    static null = <same as static member of an already seen type>,
    d = 0x83d13e8, static shared_null = 0x83d13e8}, d = 0x83d67a8,
---Type <return> to continue, or q <return> to quit---
  static shared_null = 0x83d13e8}
        time_now = 1068758092
        all_recorded = 0
        db = (struct QSqlDatabase *) 0x83e2458
#6  0x420156a4 in __libc_start_main () from /lib/tls/libc.so.6
No symbol table info available.

_________________________________________________________________
Great deals on high-speed Internet access as low as $26.95.  
https://broadband.msn.com (Prices may vary by service area.)



More information about the mythtv-dev mailing list