[mythtv-users] Segfault with CVS (probably related to ivtv/USB)

Joe Votour joevph at yahoo.com
Mon Sep 1 22:11:49 EDT 2003


Isaac,

Attached is a segfault that I received tonight with
the CVS MythTV (grabbed sometime this morning). 
Although I believe it's related to the ivtv driver,
the system logs show no problems, so it could be that
MythTV just gets some data that it's not expecting.

The problem is in the frontend, and it's not coping
with some bad data.  As you're probably aware, the
signal coming into my apartment on my cable line is
pretty poor (in fact, the wiring will have to be
redone, I have very bad ingress), so I'm getting
errors.

However, I think that the problem may have really
shown up when I plugged my ATI Remote Wonder into one
of the USB ports on my motherboard.  When I look at
/proc/interrupts, it shows that the USB is sharing the
port with the PVR-250 (but, then again, this board
apparently shows up on three different IRQ's), so I'll
try moving some cards around.

Nonetheless, I thought that you might be interested in
the segfault.  I cut some of the console messages
(which are basically the same as what is left in) in
order to keep the attachment manageable (7k versus
30k).

-- Joe

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
-------------- next part --------------
ac-tex damaged at 0 0
invalid cbp at 0 1
invalid cbp at 0 2
first mb_incr damaged
ac-tex damaged at 0 6
ac-tex damaged at 0 7
ac-tex damaged at 0 8
ac-tex damaged at 0 11
ac-tex damaged at 0 12
ac-tex damaged at 0 13
invalid cbp at 0 14

<snip>

invalid cbp at 5 0
ac-tex damaged at 0 6
ac-tex damaged at 0 8
invalid cbp at 0 12
mb incr damaged

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 32771 (LWP 8101)]
0x40b83b57 in memset () from /lib/libc.so.6
(gdb) thread apply all bt full

Thread 7 (Thread 81926 (LWP 8104)):
#0  0x40bb62f6 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 8103)):
#0  0x40bb62f6 in nanosleep () from /lib/libc.so.6
No symbol table info available.
#1  0x00000000 in ?? ()
No symbol table info available.

Thread 5 (Thread 49156 (LWP 8102)):
#0  0x40bb62f6 in nanosleep () from /lib/libc.so.6
No symbol table info available.
#1  0x00000000 in ?? ()
No symbol table info available.

Thread 4 (Thread 32771 (LWP 8101)):
#0  0x40b83b57 in memset () from /lib/libc.so.6
No symbol table info available.
#1  0x00000000 in ?? ()
---Type <return> to continue, or q <return> to quit---
No symbol table info available.

Thread 3 (Thread 16386 (LWP 8097)):
#0  0x40bb62f6 in nanosleep () from /lib/libc.so.6
No symbol table info available.
#1  0xffffffd8 in ?? ()
No symbol table info available.
#2  0x08166ec0 in TV::RunTV() (this=0x84f9b90) at tv_play.cpp:716
        keypressed = 4131
        pausecheck = 30764
#3  0x08166d47 in TV::EventThread(void*) (param=0x84f9b90) at tv_play.cpp:684
        thetv = (class TV *) 0x84f9b90
#4  0x409dfc40 in pthread_start_thread_event () from /lib/libpthread.so.0
No symbol table info available.

Thread 2 (Thread 32769 (LWP 8096)):
#0  0x40be2487 in poll () from /lib/libc.so.6
No symbol table info available.
#1  0x409dedee in __pthread_manager () from /lib/libpthread.so.0
No symbol table info available.
#2  0x409defe7 in __pthread_manager_event () from /lib/libpthread.so.0
No symbol table info available.

---Type <return> to continue, or q <return> to quit---
Thread 1 (Thread 16384 (LWP 8093)):
#0  0x40bb62f6 in nanosleep () from /lib/libc.so.6
No symbol table info available.
#1  0xffffffc0 in ?? ()
No symbol table info available.
#2  0x0806d5b8 in startTV() () at main.cpp:191
        db = (struct QSqlDatabase *) 0x84bf6e0
        tv = (class TV *) 0x84f9b90
        timeout = {d = {jd = 2452884}, t = {ds = 74622283}}
        tryTV = false
        tryRecorder = false
        quitAll = false
        showDialogs = true
#3  0x0806d64f in TVMenuCallback(void*, QString&) (data=0x84bf610,
    selection=@0x84ee368) at main.cpp:213
        sel = {static null = {
    static null = <same as static member of an already seen type>,
    d = 0x84352b0, static shared_null = 0x84352b0}, d = 0x84fb448,
  static shared_null = 0x84352b0}
#4  0x400daeff in ThemedMenu::handleAction(QString&) (this=0x84ee218,
    action=@0x84f0cec) at themedmenu.cpp:1803
No locals.
#5  0x400d9add in ThemedMenu::keyPressEvent(QKeyEvent*) (this=0x84ee218,
---Type <return> to continue, or q <return> to quit---
    e=0xbffff390) at themedmenu.cpp:1651
        handled = false
        lastbutton = (ThemedButton *) 0x84f0cb0
        oldrow = 0
#6  0x405fc06c in QWidget::event(QEvent*) ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#7  0x40569f24 in QApplication::internalNotify(QObject*, QEvent*) ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#8  0x40569ab7 in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#9  0x40123950 in MythMainWindow::keyPressEvent(QKeyEvent*) (this=0x84dc810,
    e=0xbffff390) at mythdialogs.cpp:122
        current = (struct QWidget *) 0x84ee218
#10 0x405fc06c in QWidget::event(QEvent*) ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#11 0x40569f24 in QApplication::internalNotify(QObject*, QEvent*) ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#12 0x40569ab7 in QApplication::notify(QObject*, QEvent*) ()
---Type <return> to continue, or q <return> to quit---
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#13 0x40511abe in QETWidget::translateKeyEvent(_XEvent const*, bool) ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#14 0x4050dd14 in QApplication::x11ProcessEvent(_XEvent*) ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#15 0x40522bda in QEventLoop::processEvents(unsigned) ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#16 0x4057dcf6 in QEventLoop::enterLoop() ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#17 0x4056a1b1 in QApplication::enter_loop() ()
   from /usr/lib/qt-3.1/lib/libqt-mt.so.3
No symbol table info available.
#18 0x401242b5 in MythDialog::exec() (this=0x84ee218) at mythdialogs.cpp:275
        res = 1074938426
#19 0x0806e4e0 in RunMenu(QString) (themedir=
      {static null = {static null = <same as static member of an already seen type>, d = 0x84352b0, static shared_null = 0x84352b0}, d = 0x84c9a70, static shared_null = 0x84352b0}) at main.cpp:327
---Type <return> to continue, or q <return> to quit---
        exitstatus = 0
#20 0x0806fd63 in main (argc=1, argv=0xbffff994) at main.cpp:486
        lcd_host = {static null = {
    static null = <same as static member of an already seen type>,
    d = 0x84352b0, static shared_null = 0x84352b0}, d = 0x84ee098,
  static shared_null = 0x84352b0}
        lcd_port = 0
        a = <incomplete type>
        translator = <incomplete type>
        db = (struct QSqlDatabase *) 0x84bf6e0
        themename = {static null = {
    static null = <same as static member of an already seen type>,
    d = 0x84352b0, static shared_null = 0x84352b0}, d = 0x84ea110,
  static shared_null = 0x84352b0}
        randomtheme = false
        themedir = {static null = {
    static null = <same as static member of an already seen type>,
    d = 0x84352b0, static shared_null = 0x84352b0}, d = 0x84c9a70,
  static shared_null = 0x84352b0}
        mainWindow = (class MythMainWindow *) 0x84dc810
        exitstatus = 10
#21 0x40b1d917 in __libc_start_main () from /lib/libc.so.6
No symbol table info available.
---Type <return> to continue, or q <return> to quit---
#0  0x40b83b57 in memset () from /lib/libc.so.6
(gdb)


More information about the mythtv-users mailing list