Bug 60761

Summary: doctreeview crashes on open
Product: [Applications] kdevelop Reporter: Amilcar do Carmo Lucas <a.lucas>
Component: doctreeviewAssignee: KDevelop Developers <kdevelop-devel>
Status: RESOLVED FIXED    
Severity: crash    
Priority: NOR    
Version: git master   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Amilcar do Carmo Lucas 2003-07-04 20:46:10 UTC
Version:           3.0.0a5 (using KDE 3.1.2)
Installed from:    SuSE
Compiler:          gcc version 2.95.3 20010315 (SuSE)
OS:          Linux (i686) release 2.4.18-64GB-SMP

I'm working with the KDevelop project using IDEAl and all is fine.

But sometimes when I click on the documentation tab:

#3  0x40948b4e in KCrash::defaultCrashHandler ()
   from /opt/kde3/lib/libkdecore.so.4
#4  0x41191a74 in pthread_sighandler () from /lib/libpthread.so.0
#5  <signal handler called>
#6  0x40ee705a in QMotifStyle::drawComplexControl ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#7  0x40d38fce in QListViewItem::paintBranches ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#8  0x40d3aec2 in QListView::drawContentsOffset ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#9  0x40d61d3e in QScrollView::viewportPaintEvent ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#10 0x4076e0cf in KListView::viewportPaintEvent ()
   from /opt/kde3/lib/libkdeui.so.4
#11 0x40d616d7 in QScrollView::eventFilter ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#12 0x40d3d381 in QListView::eventFilter () from /usr/lib/qt3/lib/libqt-mt.so.3
#13 0x40c922b8 in QObject::activate_filters ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#14 0x40c92171 in QObject::event () from /usr/lib/qt3/lib/libqt-mt.so.3
#15 0x40cbe325 in QWidget::event () from /usr/lib/qt3/lib/libqt-mt.so.3
#16 0x40c4909a in QApplication::internalNotify ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#17 0x40c48ea7 in QApplication::notify () from /usr/lib/qt3/lib/libqt-mt.so.3
#18 0x408e6dcb in KApplication::notify () from /opt/kde3/lib/libkdecore.so.4
#19 0x40c02d5e in QETWidget::translatePaintEvent ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#20 0x40bfed40 in QApplication::x11ProcessEvent ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#21 0x40c0ef8f in QEventLoop::processEvents ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#22 0x40c59520 in QEventLoop::enterLoop () from /usr/lib/qt3/lib/libqt-mt.so.3
#23 0x40c59467 in QEventLoop::exec () from /usr/lib/qt3/lib/libqt-mt.so.3
#24 0x40c49216 in QApplication::exec () from /usr/lib/qt3/lib/libqt-mt.so.3
#25 0x080702d4 in main (argc=1, argv=0xbffff234) at main.cpp:125
Comment 1 Harald Fernengel 2003-07-04 20:52:50 UTC
Which Qt version? Which Style? 
Comment 2 Amilcar do Carmo Lucas 2003-07-04 21:08:38 UTC
Sorry :(
QT 3.1.2 from SuSE rpms
QT CDE style
Comment 3 Alexander Dymo 2003-07-08 23:36:24 UTC
Does this happen only with CDE style? 
Comment 4 Amilcar do Carmo Lucas 2003-07-10 14:14:01 UTC
Here is as new BT. This time with KDE default Style 
 
#5  <signal handler called> 
#6  0x412b5a63 in strcmp () from /lib/libc.so.6 
#7  0x080a8d70 in qstrcmp (str1=0x8703828 "editor",  
    str2=0x11 <Address 0x11 out of bounds>) 
    at /usr/lib/qt3/include/qcstring.h:68 
#8  0x080b5ee1 in operator== (s1=@0xbfffe258, s2=@0x88a3da0) 
    at /usr/lib/qt3/include/qcstring.h:305 
#9  0x0809d226 in Context::hasType (this=0xbfffe41c, type=@0xbfffe258) 
    at kdevcore.cpp:46 
#10 0x41c4f4e2 in DiffPart::contextMenu (this=0x826ec50, popup=0xbfffe430,  
    context=0xbfffe41c) at diffpart.cpp:91 
#11 0x41c5038a in DiffPart::qt_invoke (this=0x826ec50, _id=3, _o=0xbfffe310) 
    at diffpart.moc:115 
#12 0x40c99465 in QObject::activate_signal () 
   from /usr/lib/qt3/lib/libqt-mt.so.3 
#13 0x0809def1 in KDevCore::contextMenu (this=0x81ae090, t0=0xbfffe430,  
    t1=0xbfffe41c) at kdevcore.moc:149 
#14 0x08076bab in Core::fillContextMenu (this=0x81ae090, popup=0xbfffe430,  
    context=0xbfffe41c) at core.cpp:76 
#15 0x41e0f8aa in DocTreeViewWidget::slotContextMenu (this=0x82b2f40,  
    item=0x839c948, p=@0xbfffe7bc) at doctreeviewwidget.cpp:1378 
#16 0x41e12b7a in DocTreeViewWidget::qt_invoke (this=0x82b2f40, _id=49,  
    _o=0xbfffe5c0) at doctreeviewwidget.moc:147 
#17 0x40c993c4 in QObject::activate_signal () 
   from /usr/lib/qt3/lib/libqt-mt.so.3 
#18 0x40775800 in KListView::contextMenu () from /opt/kde3/lib/libkdeui.so.4 
#19 0x40773030 in KListView::emitContextMenu () 
   from /opt/kde3/lib/libkdeui.so.4 
#20 0x40775b02 in KListView::qt_invoke () from /opt/kde3/lib/libkdeui.so.4 
#21 0x40c993c4 in QObject::activate_signal () 
   from /usr/lib/qt3/lib/libqt-mt.so.3 
#22 0x40f04e36 in QListView::rightButtonPressed () 
   from /usr/lib/qt3/lib/libqt-mt.so.3 
#23 0x40d432a4 in QListView::contentsMousePressEventEx () 
   from /usr/lib/qt3/lib/libqt-mt.so.3 
#24 0x40d42653 in QListView::contentsMousePressEvent () 
   from /usr/lib/qt3/lib/libqt-mt.so.3 
#25 0x4077017a in KListView::contentsMousePressEvent () 
   from /opt/kde3/lib/libkdeui.so.4 
#26 0x40d66e07 in QScrollView::viewportMousePressEvent () 
   from /usr/lib/qt3/lib/libqt-mt.so.3 
#27 0x40d6671b in QScrollView::eventFilter () 
   from /usr/lib/qt3/lib/libqt-mt.so.3 
#28 0x40d42381 in QListView::eventFilter () from 
/usr/lib/qt3/lib/libqt-mt.so.3 
#29 0x40c972b8 in QObject::activate_filters () 
   from /usr/lib/qt3/lib/libqt-mt.so.3 
#30 0x40c97171 in QObject::event () from /usr/lib/qt3/lib/libqt-mt.so.3 
#31 0x40cc3325 in QWidget::event () from /usr/lib/qt3/lib/libqt-mt.so.3 
#32 0x40c4e09a in QApplication::internalNotify () 
   from /usr/lib/qt3/lib/libqt-mt.so.3 
#33 0x40c4d90e in QApplication::notify () from /usr/lib/qt3/lib/libqt-mt.so.3 
#34 0x408ebdcb in KApplication::notify () from /opt/kde3/lib/libkdecore.so.4 
#35 0x40c05c7b in QETWidget::translateMouseEvent () 
   from /usr/lib/qt3/lib/libqt-mt.so.3 
#36 0x40c03f1c in QApplication::x11ProcessEvent () 
   from /usr/lib/qt3/lib/libqt-mt.so.3 
#37 0x40c13f8f in QEventLoop::processEvents () 
   from /usr/lib/qt3/lib/libqt-mt.so.3 
 
Comment 5 Alexander Dymo 2003-07-23 23:45:23 UTC
The second issue is fixed by Mario Scalas. I think first one isn't related to 
kdevelop but to the Qt CDE style.