[Kwintv] QTVision bug

Andras Mantia kwintv@mail.kde.org
Fri, 25 Oct 2002 18:30:17 +0300


Hi,

 I think the most annoying bug of current QtVision is the crash when you try 
to open old channel files (especially as there is no automatic channel scan 
implemented). The backtrace is below. I have no idea why it crashes as there 
is a test for _chan to be 0, but maybe it is not initalized correctly. Would 
be graceful if you fix this (I saw that there is quite active developement of 
QTVision). 
  I still have to use KWinTV for KDE 2, as the one from CVS has 
another annoying bug (loses focus and you start to see another app when you 
change the channels in full-screen mode). 

Andras

PS: As a workaround, removing the "if (_chan)" statement works, but this is 
not the solution.


[New Thread 1024 (LWP 17613)]
0x412da079 in wait4 () from /lib/libc.so.6
#0  0x412da079 in wait4 () from /lib/libc.so.6
#1  0x41354b98 in __DTOR_END__ () from /lib/libc.so.6
#2  0x4116c072 in waitpid () from /lib/libpthread.so.0
#3  0x4098502b in KCrash::defaultCrashHandler ()
   from /opt/kde-cvs/lib/libkdecore.so.4
#4  0x41169a74 in pthread_sighandler () from /lib/libpthread.so.0
#5  <signal handler called>
#6  0x4004f164 in QtVision::setChannel (this=0x8116bd8, channel=0x82be7e8)
    at qtvision.cpp:505
#7  0x4004ea12 in QtVision::openChannelFile (this=0x8116bd8, 
    filename=@0xbfffec24) at qtvision.cpp:387
#8  0x4004ed9b in QtVision::importLegacyChannels (this=0x8116bd8)
    at qtvision.cpp:434
#9  0x4004bcd6 in QtVision::qt_invoke (this=0x8116bd8, _id=34, _o=0xbfffecc8)
    at qtvision.moc:372
#10 0x40c7d724 in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#11 0x40c7d65e in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#12 0x4073db39 in KAction::activated () from /opt/kde-cvs/lib/libkdeui.so.4
#13 0x407313df in KAction::slotActivated () from 
/opt/kde-cvs/lib/libkdeui.so.4
#14 0x4073dd42 in KAction::qt_invoke () from /opt/kde-cvs/lib/libkdeui.so.4
#15 0x40c7d724 in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#16 0x40ed4a15 in QSignal::signal () from /usr/lib/qt3/lib/libqt-mt.so.3
#17 0x40c92b0d in QSignal::activate () from /usr/lib/qt3/lib/libqt-mt.so.3
#18 0x40d3ce4c in QPopupMenu::mouseReleaseEvent ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#19 0x40ca75f6 in QWidget::event () from /usr/lib/qt3/lib/libqt-mt.so.3
#20 0x40c32876 in QApplication::internalNotify ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#21 0x40c3234f in QApplication::notify () from /usr/lib/qt3/lib/libqt-mt.so.3
#22 0x40915e7f in KApplication::notify () from 
/opt/kde-cvs/lib/libkdecore.so.4
#23 0x40beb92d in QETWidget::translateMouseEvent ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#24 0x40be9e19 in QApplication::x11ProcessEvent ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#25 0x40bf970a in QEventLoop::processEvents ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#26 0x40c429a0 in QEventLoop::enterLoop () from /usr/lib/qt3/lib/libqt-mt.so.3
#27 0x40c428fb in QEventLoop::exec () from /usr/lib/qt3/lib/libqt-mt.so.3
#28 0x40c329e6 in QApplication::exec () from /usr/lib/qt3/lib/libqt-mt.so.3
#29 0x0805438e in main (argc=7, argv=0xbffff724) at main.cpp:55
#30 0x4124f9ed in __libc_start_main () from /lib/libc.so.6