[kplato] kdgantt crash

Dag Andersen kplato@kde.org
Fri, 14 Mar 2003 10:20:51 +0100


I get a crash in KDGanttViewSubwidgets.cpp
void KDGanttCanvasView::setMyContentsHeight( int hei )
in line 2500 triggered by qApp->processEvents();
I can comment out this line and it runs but I don't know why.
Bo?

[New Thread 1024 (LWP 12515)]
0x411111d9 in wait4 () from /lib/libc.so.6
#0  0x411111d9 in wait4 () from /lib/libc.so.6
#1  0x41180f2c in __check_rhosts_file () from /lib/libc.so.6
#2  0x40fcd716 in waitpid (pid=12516, stat_loc=0x0, options=0)
    at wrapsyscall.c:172
#3  0x4072ab5f in KCrash::defaultCrashHandler ()
   from /opt/kde3.1.0/lib/libkdecore.so.4
#4  0x40fcb0fe in pthread_sighandler (signo=11, ctx=
      {gs = 0, __gsh = 0, fs = 0, __fsh = 0, es = 43, __esh = 0, ds = 
43, __dsh = 0, edi = 0, esi = 135498184, ebp = 3221209368, esp = 
3221209360, ebx = 1088885468, edx = 19, ecx = 135498184, eax = 1, 
trapno = 14, err = 4, eip = 1084613243, cs = 35, __csh = 0, eflags = 
66050, esp_at_signal = 3221209360, ss = 43, __ssh = 0, fpstate = 
0xbfffbe90, oldmask = 2147483648, cr2 = 2}) at signals.c:97
#5  0x41085b68 in killpg () from /lib/libc.so.6
#6  0x40a5f11f in QLayout::activate () from /opt/qt3/lib/libqt-mt.so.3
#7  0x40a5e6dd in QLayout::eventFilter () from 
/opt/qt3/lib/libqt-mt.so.3
#8  0x40aaf93b in QObject::activate_filters () from 
/opt/qt3/lib/libqt-mt.so.3
#9  0x40aaf7f1 in QObject::event () from /opt/qt3/lib/libqt-mt.so.3
#10 0x40adc5a4 in QWidget::event () from /opt/qt3/lib/libqt-mt.so.3
#11 0x40b6831e in QMainWindow::event () from 
/opt/qt3/lib/libqt-mt.so.3
#12 0x40a65cb1 in QApplication::internalNotify ()
   from /opt/qt3/lib/libqt-mt.so.3
#13 0x40a65ab7 in QApplication::notify () from 
/opt/qt3/lib/libqt-mt.so.3
#14 0x406b1e0c in KApplication::notify ()
   from /opt/kde3.1.0/lib/libkdecore.so.4
#15 0x40a669fb in QApplication::sendPostedEvents ()
   from /opt/qt3/lib/libqt-mt.so.3
#16 0x40a6682c in QApplication::sendPostedEvents ()
   from /opt/qt3/lib/libqt-mt.so.3
#17 0x40a2af04 in QEventLoop::processEvents () from 
/opt/qt3/lib/libqt-mt.so.3
#18 0x40a75ac1 in QEventLoop::processEvents () from 
/opt/qt3/lib/libqt-mt.so.3
#19 0x40a65d66 in QApplication::processEvents ()
   from /opt/qt3/lib/libqt-mt.so.3
#20 0x40a65d31 in QApplication::processEvents ()
   from /opt/qt3/lib/libqt-mt.so.3
#21 0x413a37ac in KDGanttCanvasView::setMyContentsHeight ()
   from /opt/kde3.1.0/lib/libkdgantt.so.0
#22 0x41398943 in KDGanttCanvasView::qt_invoke ()
   from /opt/kde3.1.0/lib/libkdgantt.so.0
#23 0x40ab1900 in QObject::activate_signal () from 
/opt/qt3/lib/libqt-mt.so.3
#24 0x40ab1a7a in QObject::activate_signal () from 
/opt/qt3/lib/libqt-mt.so.3
#25 0x4139803c in KDTimeTableWidget::heightComputed ()
   from /opt/kde3.1.0/lib/libkdgantt.so.0
#26 0x41399001 in KDTimeTableWidget::computeHeight ()
   from /opt/kde3.1.0/lib/libkdgantt.so.0
#27 0x4139a7bc in KDTimeTableWidget::updateMyContent ()
   from /opt/kde3.1.0/lib/libkdgantt.so.0
#28 0x41398d63 in KDTimeTableWidget::checkHeight ()
   from /opt/kde3.1.0/lib/libkdgantt.so.0
[snip]
-- 
Mvh,
Dag Andersen