[mythtv-users] Another SEGFAULT... :(

Ben Davis ben at xsusio.com
Fri Jul 4 00:07:28 EDT 2003


I just got the latest CVS (tonight) of mythtv as well as the latet IVTV
drivers and firmware (PVR-250).

Mythtv segfaults when I go to watch live tv.  It works fine on anything
else, even when viewing recorded shows.  The output before the segfault
is:
 # ...snip...
 # Over/underscanning. V: 0.000000, H: 0.000000, XOff: 0, YOff: 0
 # Using XV port 139 
 # get_buffer() failed (stride changed)

The backtrace is attatched as a text file.
-------------- next part --------------
Thread 7 (Thread 81926 (LWP 18786)):
#0  0x40b4caa6 in nanosleep () from /lib/libc.so.6
No symbol table info available.
#1  0x00000000 in ?? ()
No symbol table info available.
 
Thread 6 (Thread 65541 (LWP 18785)):
#0  0x40967f7b in write () from /lib/libpthread.so.0
No symbol table info available.
#1  0x40160b74 in __JCR_LIST__ () from /usr/local/lib/libmyth-0.10.so.0
No symbol table info available.
#2  0x40119535 in AudioOutputOSS::OutputAudioLoop() (this=0x43b25008)
    at audiooutputoss.cpp:474
        bytesperframe = 6400
        space_on_soundcard = 1456
        zeros = '\0' <repeats 1023 times>
#3  0x401197a1 in AudioOutputOSS::kickoffOutputAudioLoop(void*) (
    player=0x43b25008) at audiooutputoss.cpp:555
No locals.
#4  0x40962cc0 in pthread_start_thread () from /lib/libpthread.so.0
No symbol table info available.No symbol table info available.
 
Thread 5 (Thread 49156 (LWP 18784)):
#0  0x40b732f1 in select () from /lib/libc.so.6
No symbol table info available.
#1  0x40950384 in __JCR_LIST__ () from /usr/qt/3/lib/libqt-mt.so.3
No symbol table info available.
#2  0x40721d0c in QSocket::waitForMore(int, bool*) const ()
   from /usr/qt/3/lib/libqt-mt.so.3
No symbol table info available.
#3  0x40721d5e in QSocket::waitForMore(int) const ()
   from /usr/qt/3/lib/libqt-mt.so.3
No symbol table info available.
#4  0x400d5fdd in ReadStringList(QSocket*, QStringList&) (socket=0x84bc7b0,
    list=@0x430e59dc) at util.cpp:67
        sizestr = <incomplete type>
        size = 0
        utf8 = <incomplete type>
        read = 61
        zerocnt = 0
        str = {static null = {
    static null = <same as static member of an already seen type>,
    d = 0x83fbfe0, static shared_null = 0x83fbfe0}, d = 0x4092ed60,

#5  0x40962dc2 in pthread_start_thread_event () from /lib/libpthread.so.0
  static shared_null = 0x83fbfe0}
#5  0x400b110d in RemoteFile::RequestBlock(int) (this=0x84bc4a0, size=256000)
    at remotefile.cpp:203
        strlist = {<QValueList<QString>> = {sh = 0x84f5bd8}, <No data fields>}
#6  0x0813cc42 in RingBuffer::safe_read(RemoteFile*, void*, unsigned) (
    this=0x84bcf48, rf=0x84bc4a0, data=0x4325d008, sz=256000)
    at RingBuffer.cpp:498
        ret = 0
        tot = 0
        zerocnt = 0
        hiteof = false
        reqsize = 256000
        sock = (struct QSocket *) 0x84bca08
        available = 0
#7  0x0813d32f in RingBuffer::ReadAheadThread() (this=0x84bcf48)
    at RingBuffer.cpp:738
        totfree = 256000
        ret = 256000
        used = 880641
#8  0x0813d0a9 in RingBuffer::startReader(void*) (type=0x84bcf48)
    at RingBuffer.cpp:678
        rbuffer = (RingBuffer *) 0x84bcf48
#9  0x40962cc0 in pthread_start_thread () from /lib/libpthread.so.0
No symbol table info available.
#10 0x40962dc2 in pthread_start_thread_event () from /lib/libpthread.so.0
No symbol table info available.
 
Thread 4 (Thread 32771 (LWP 18783)):
#0  0x0823a352 in mpeg_decode_mb (s=0x43c3a140, block=0x43c445c0)
    at mpeg12.c:1187
        i = 6
        j = 2
        k = 1136936108
        cbp = 3840
        val = 22
        mb_type = 1073791120
        motion_type = 1
#1  0x0823c7c9 in mpeg_decode_slice (avctx=0x43c09258, pict=0x428c58bc,
    start_code=0, buf=0x428c57e0, buf_size=46434) at mpeg12.c:1903
        s1 = (Mpeg1Context *) 0x43c3a140
        s = (MpegEncContext *) 0x43c3a140
        ret = 0
        field_pic = 0
#2  0x0823d830 in mpeg_decode_frame (avctx=0x43c09258, data=0x428c58bc,
    data_size=0x428c58b8, buf=0x4576e8f8 "", buf_size=46592) at mpeg12.c:2311
        s = (Mpeg1Context *) 0x43c3a140
        buf_end = (uint8_t *) 0x45779ef8 ""
        buf_ptr = (uint8_t *) 0x4576e996 "R?E\177 \v\215X?\206"
        ret = 1116625888
        start_code = 257
        input_size = 46434
        picture = (AVFrame *) 0x428c58bc
        s2 = (MpegEncContext *) 0x43c3a140
#3  0x08192449 in avcodec_decode_video (avctx=0x43c09258, picture=0x428c58bc,
    got_picture_ptr=0x428c58b8, buf=0x43d3a300 "", buf_size=2020)
    at utils.c:362
        ret = 0
#4  0x0817542b in AvFormatDecoder::GetFrame(int) (this=0x84bd3b0, onlyvideo=0)
    at avformatdecoder.cpp:551
        context = (AVCodecContext *) 0x43c09258
        mpa_pic = {data = {
    0x4566f020 "\035\024\023\031\037\024\024\0217\204E\032%_zD=UMMT;E{Z)4u?????????????????????????????????\207F4;HTG?hk\0354\204\204b(RiGKRH_l-$|~r\032DrH0T]OV<7h\217??????????????????????????????\235i/(%rb/IXIVR6Q|8\e\024ov2;eXPUEKmO)cvo7@\212?????????????????????????????"...,
    0x4579df20 "~}\203\226??????????\230\213\206\211\204\177\177||~\177\177\200\210\223\235??????????????????????\222\202~\202\200\200\200\200\177~\200\203\177~\201\221?????????????????\227\206{~\200\201\201\204\205\203\202\200\200\206\207\207\204\220\234???????????????????\223\212\207\202\203\203\202\200\177}|\177\202---\205\207\205\210\217\232????????????????????\234\216\201xuu{yxy\177\202\204\215\237???????????????????????"...,
    0x457b21e0 "\177\202\214\221\217\206xrrssrnjlp|}|}}}\177\200|z{}|xusrpnmnpsuvvuutttssqkiox~\203\200\200\201\203\202\177}~|~\202\207\211\203yqooprrsssopokghpw\202\203\204\204\203\201\177\177~~|zx{\200\205\202|vsssuwzywvuuuunorx|~\200\201\200\200\200\200\201\202\203\203~{y|\200\201}zusrrssqpstuuvuuttttuvy}\200\177\200\201\200~|~\201\202{usutsqrqqqrstuvwvsruwx"..., 0x0}, linesize = {688, 344,
    344, 0}, base = {
    0x4566f020 "\035\024\023\031\037\024\024\0217\204E\032%_zD=UMMT;E{Z)4u?????????????????????????????????\207F4;HTG?hk\0354\204\204b(RiGKRH_l-$|~r\032DrH0T]OV<7h\217??????????????????????????????\235i/(%rb/IXIVR6Q|8\e\024ov2;eXPUEKmO)cvo7@\212?????????????????????????????"...,
    0x4579df20 "~}\203\226??????????\230\213\206\211\204\177\177||~\177\177\200\210\223\235??????????????????????\222\202~\202\200\200\200\200\177~\200\203\177~\201\221?????????????????\227\206{~\200\201\201\204\205\203\202\200\200\206\207\207\204\220\234???????????????????\223\212\207\202\203\203\202\200\177}|\177\202\205\207\205\210\217\232????????????????????\234\216\201xuu{yxy\177\202\204\215\237???????????????????????"...,
    0x457b21e0 "\177\202\214\221\217\206xrrssrnjlp|}|}}}\177\200|z{}|xusrpnmnpsuvvuutttssqkiox~\203\200\200\201\203\202\177}~|~\202\207\211\203yqooprrsssopokghpw\202\203\204\204\203\201\177\177~~|zx{\200\205\202|vsssuwzywvuuuunorx|~\200\201\200\200\200\200\201\202\203\203~{y|\200\201}zusrrssqpstuuvuuttttuvy}\200\177\200\201\200~|~\201\202{usutsqrqqqrstuvwvsruwx"..., 0x0}, key_frame = 1,
  pict_type = 1, pts = 0, coded_picture_number = 0,
  display_picture_number = 0, quality = 0, age = 1073741824, reference = 3,
  qscale_table = 0x43c36e40 '\006' <repeats 43 times>, qstride = 44,
  mbskip_table = 0x43c376c0 "", opaque = 0x0, error = {0, 0, 0, 0}, type = 1,
  repeat_pict = 0, qscale_type = 1}
        buf = (unsigned char *) 0x44678000 ""
        gotpicture = 0
        ipts = 0
        pts_set = false
        curstream = (AVStream *) 0x43c09250
        pkt = {pts = 42043, data = 0x43d3a300 "", size = 2020,
  stream_index = 0, flags = 0, duration = 0, startpos = 415758,
  destruct = 0x818d9fd <av_destruct_packet>, priv = 0x0}
        len = 2020
        ret = 44
        ptr = (unsigned char *) 0x43d3a300 ""
        samples = {2061, 2052, 1154, 1143, 138, 153, -661, -623, -1256, -1230,
  -2008, -1979, -2998, -2940, -3868, -3799, -4357, -4307, -4633, -4607, -4982,
  -4968, -5526, -5486, -6261, -6164, -7026, -6908, -7501, -7424, -7554, -7518,
  -7483, -7450, -7670, -7618, -8197, -8110, -8909, -8784, -9551, -9429, -9798,
  -9708, -9510, -9432, -9026, -8949, -8862, -8785, -9096, -9002, -9387, -9282,
  -9542, -9453, -9627, -9542, -9640, -9543, -9531, -9446, -9461, -9389, -9619,
  -9535, -9854, -9774, -9823, -9764, -9434, -9368, -8918, -8838, -8506, -8425,
  -8232, -8139, -8013, -7925, -7753, -7702, -7375, -7326, -6912, -6837, -6540,
  -6468, -6341, -6273, -6097, -6027, -5557, -5522, -4815, -4806, -4148, -4122,
  -3618, -3585, -3166, -3143, -2891, -2874, -2825, -2829, -2662, -2675, -2170,
  -2156, -1592, -1566, -1208, -1203, -856, -866, -329, -344, 187, 169, 451,
  435, 522, 508, 555, 541, 682, 674, 1128, 1123, 1941, 1934, 2715, 2711, 3057,
  3054, 3069, 3055, 2986, 2958, 2747, 2711, 2312, 2280, 2027, 2015, 2246,
  2244, 2863, 2832, 3463, 3408, 3721, 3681, 3572, 3538, 3256, 3212, 3184,
  3154, 3537, 3518, 4100, 4065, 4583, 4542, 4875, 4830, 4986, 4923, 5004,
  4946, 5081, 5046, 5275, 5239, 5478, 5438, 5664, 5616, 5959, 5884, 6338,
  6256, 6599, 6527, 6708, 6639, 6805, 6743, 6886, 6826, 6866, 6792, 6792,
  6722, 6711, 6654, 6584, 6519...}
        data_size = 0
        temppts = 381
        gotvideo = false
#5  0x080e9883 in NuppelVideoPlayer::GetFrame(int, bool) (this=0x84b9b50,
    onlyvideo=0, unsafe=false) at NuppelVideoPlayer.cpp:523
No locals.
#6  0x080ebe91 in NuppelVideoPlayer::StartPlaying() (this=0x84b9b50)
    at NuppelVideoPlayer.cpp:1514
        output_video = 81926
        pausecheck = 0
#7  0x08150d2f in SpawnDecode(void*) (param=0x84b9b50) at tv_play.cpp:82
        nvp = (NuppelVideoPlayer *) 0x84b9b50
#8  0x40962cc0 in pthread_start_thread () from /lib/libpthread.so.0
No symbol table info available.
#9  0x40962dc2 in pthread_start_thread_event () from /lib/libpthread.so.0
No symbol table info available.
 
Thread 3 (Thread 16386 (LWP 18779)):
#0  0x40b4caa6 in nanosleep () from /lib/libc.so.6
No symbol table info available.
#1  0x00000000 in ?? ()
No symbol table info available.
 
Thread 2 (Thread 32769 (LWP 18778)):
#0  0x40b71a45 in poll () from /lib/libc.so.6
No symbol table info available.
#1  0x409628d0 in __pthread_manager () from /lib/libpthread.so.0
No symbol table info available.
#2  0x40962b1a in __pthread_manager_event () from /lib/libpthread.so.0
No symbol table info available.
 
Thread 1 (Thread 16384 (LWP 18775)):
#0  0x40acbc46 in sigsuspend () from /lib/libc.so.6
No symbol table info available.
#1  0x409650c9 in __pthread_wait_for_restart_signal ()
   from /lib/libpthread.so.0
No symbol table info available.
#2  0x409667ee in __pthread_alt_lock () from /lib/libpthread.so.0
No symbol table info available.
#3  0x40963b17 in pthread_mutex_lock () from /lib/libpthread.so.0
No symbol table info available.
#4  0x4079fecc in QRecursiveMutexPrivate::lock() ()
   from /usr/qt/3/lib/libqt-mt.so.3
No symbol table info available.
#5  0x407a02d4 in QMutex::lock() () from /usr/qt/3/lib/libqt-mt.so.3
No symbol table info available.
#6  0x404aa7aa in QEventLoop::processEvents(unsigned) ()
   from /usr/qt/3/lib/libqt-mt.so.3
No symbol table info available.
#7  0x40506421 in QEventLoop::processEvents(unsigned, int) ()
   from /usr/qt/3/lib/libqt-mt.so.3
No symbol table info available.
#8  0x404f26a0 in QApplication::processEvents(int) ()
   from /usr/qt/3/lib/libqt-mt.so.3
No symbol table info available.
#9  0x404f2667 in QApplication::processEvents() ()
   from /usr/qt/3/lib/libqt-mt.so.3
No symbol table info available.
#10 0x0806c3f4 in startTV() () at main.cpp:151
        db = (struct QSqlDatabase *) 0x84867a8
        tv = (class TV *) 0x84ad778
        nextstate = kState_WatchingLiveTV
#11 0x0806c46b in TVMenuCallback(void*, QString&) (data=0x847e4e0,
    selection=@0x84b6dc8) at main.cpp:167
        sel = {static null = {
    static null = <same as static member of an already seen type>,
    d = 0x83fbfe0, static shared_null = 0x83fbfe0}, d = 0x84c0bb0,
  static shared_null = 0x83fbfe0}
#12 0x400ce750 in ThemedMenu::handleAction(QString&) (this=0x84b6c78,
    action=@0x84cf9f4) at themedmenu.cpp:1726
No locals.
#13 0x400cdb1d in ThemedMenu::keyPressEvent(QKeyEvent*) (this=0x84b6c78,
    e=0xbffff1c0) at themedmenu.cpp:1627
        handled = false
        lastbutton = (ThemedButton *) 0x84cf9b8
        oldrow = 0
#14 0x4058470c in QWidget::event(QEvent*) () from /usr/qt/3/lib/libqt-mt.so.3
No symbol table info available.
#15 0x404f2544 in QApplication::internalNotify(QObject*, QEvent*) ()
   from /usr/qt/3/lib/libqt-mt.so.3
No symbol table info available.
#16 0x404f1ebc in QApplication::notify(QObject*, QEvent*) ()
   from /usr/qt/3/lib/libqt-mt.so.3
No symbol table info available.
#17 0x401120b8 in MythMainWindow::keyPressEvent(QKeyEvent*) (this=0x848e1c8,
    e=0xbffff1c0) at mythdialogs.cpp:90
        current = (struct QWidget *) 0x84b6c78
#18 0x4058470c in QWidget::event(QEvent*) () from /usr/qt/3/lib/libqt-mt.so.3
No symbol table info available.
#19 0x404f2544 in QApplication::internalNotify(QObject*, QEvent*) ()
   from /usr/qt/3/lib/libqt-mt.so.3
No symbol table info available.
#20 0x404f1ebc in QApplication::notify(QObject*, QEvent*) ()
   from /usr/qt/3/lib/libqt-mt.so.3
No symbol table info available.
#21 0x404999ae in QETWidget::translateKeyEvent(_XEvent const*, bool) ()
   from /usr/qt/3/lib/libqt-mt.so.3
No symbol table info available.
#22 0x40495690 in QApplication::x11ProcessEvent(_XEvent*) ()
   from /usr/qt/3/lib/libqt-mt.so.3
No symbol table info available.
#23 0x404aabd1 in QEventLoop::processEvents(unsigned) ()
   from /usr/qt/3/lib/libqt-mt.so.3
No symbol table info available.
#24 0x40506386 in QEventLoop::enterLoop() () from /usr/qt/3/lib/libqt-mt.so.3
No symbol table info available.
#25 0x404f27d1 in QApplication::enter_loop() ()
   from /usr/qt/3/lib/libqt-mt.so.3
No symbol table info available.
#26 0x401129d9 in MythDialog::exec() (this=0x84b6c78) at mythdialogs.cpp:177
        res = 1074866530
#27 0x0806d1f8 in RunMenu(QString) (themedir=
      {static null = {static null = <same as static member of an already seen type>, d = 0x83fbfe0, static shared_null = 0x83fbfe0}, d = 0x8491140, static shared_null = 0x83fbfe0}) at main.cpp:280
        exitstatus = 0
#28 0x0806e819 in main (argc=1, argv=0xbffff804) at main.cpp:431
        lcd_host = {static null = {
    static null = <same as static member of an already seen type>,
    d = 0x83fbfe0, static shared_null = 0x83fbfe0}, d = 0x84b31d8,
  static shared_null = 0x83fbfe0}
        lcd_port = 0
        a = <incomplete type>
        translator = <incomplete type>
        db = (struct QSqlDatabase *) 0x84867a8
        themename = {static null = {
    static null = <same as static member of an already seen type>,
    d = 0x83fbfe0, static shared_null = 0x83fbfe0}, d = 0x8486968,
  static shared_null = 0x83fbfe0}
        randomtheme = false
        themedir = {static null = {
    static null = <same as static member of an already seen type>,
    d = 0x83fbfe0, static shared_null = 0x83fbfe0}, d = 0x8491140,
  static shared_null = 0x83fbfe0}
        mainWindow = (MythMainWindow *) 0x848e1c8
        exitstatus = 138402536
#29 0x40ab87a6 in __libc_start_main () from /lib/libc.so.6
No symbol table info available.
0x0823a352      1187        s->current_picture.mb_type[ s->mb_x + s->mb_y*s->mb_stride ]= mb_type;


More information about the mythtv-users mailing list