Bug 51456

Summary: crash after using the documentation browser and back button
Product: [Applications] kdevelop Reporter: András Manţia <amantia>
Component: generalAssignee: KDevelop Developers <kdevelop-devel>
Status: RESOLVED FIXED    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:

Description András Manţia 2002-12-03 11:23:42 UTC
Version:           cvs (using KDE Devel)
Installed from:    Compiled sources
Compiler:          g++ 2.95.3 
OS:          Linux

Hi,

 When using the documentation tree, the back button becomes active even if there is only a single document (a doc. page) opened, and clicking on it results in a crash. Reproducabel with:
1. open a file
2. close it
3. click on a documentation item
4. the back button becomes active and show the just closed file in its list
5. click on the back button->crash (backtrace below)

Also it is impossible to go back to the previous visualized documentation page. 

Andras

[New Thread 1024 (LWP 20639)]
[New Thread 2049 (LWP 20641)]
0x413e0079 in wait4 () from /lib/libc.so.6
#0  0x413e0079 in wait4 () from /lib/libc.so.6
#1  0x4145ab98 in __DTOR_END__ () from /lib/libc.so.6
#2  0x41292072 in waitpid () from /lib/libpthread.so.0
#3  0x40a04d5b in KCrash::defaultCrashHandler ()
   from /opt/kde-cvs/lib/libkdecore.so.4
#4  0x4128fa74 in pthread_sighandler () from /lib/libpthread.so.0
#5  <signal handler called>
#6  0x41d9d883 in HistoryPart::restoreState (this=0x8242e60)
    at /home/andris/cvs-developement/head/kde-cvs/kdevelop/parts/history/historypart.cpp:251
#7  0x41d9d92a in HistoryPart::backActivated (this=0x8242e60)
    at /home/andris/cvs-developement/head/kde-cvs/kdevelop/parts/history/historypart.cpp:266
#8  0x41d9defc in HistoryPart::qt_invoke (this=0x8242e60, _id=5, _o=0xbfffedb8)
    at historypart.moc:124
#9  0x40d4cd54 in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#10 0x40d4cc8e in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#11 0x407cc96e in KAction::activated () from /opt/kde-cvs/lib/libkdeui.so.4
#12 0x407c79df in KAction::slotActivated () from /opt/kde-cvs/lib/libkdeui.so.4
#13 0x407c27a2 in KAction::qt_invoke () from /opt/kde-cvs/lib/libkdeui.so.4
#14 0x407cda67 in KToolBarPopupAction::qt_invoke ()
   from /opt/kde-cvs/lib/libkdeui.so.4
#15 0x40d4cdf5 in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#16 0x40d4cc8e in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#17 0x40fdc5b6 in QButton::clicked () from /usr/lib/qt3/lib/libqt-mt.so.3
#18 0x40dbaf0f in QButton::mouseReleaseEvent ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#19 0x40d793a6 in QWidget::event () from /usr/lib/qt3/lib/libqt-mt.so.3
#20 0x40cfc406 in QApplication::internalNotify ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#21 0x40cfbeaf in QApplication::notify () from /usr/lib/qt3/lib/libqt-mt.so.3
#22 0x4098e8c0 in KApplication::notify () from /opt/kde-cvs/lib/libkdecore.so.4
#23 0x40cb0e1b in QETWidget::translateMouseEvent ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#24 0x40caf005 in QApplication::x11ProcessEvent ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#25 0x40cc10da in QEventLoop::processEvents ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#26 0x40d0e1a0 in QEventLoop::enterLoop () from /usr/lib/qt3/lib/libqt-mt.so.3
#27 0x40d0e427 in QEventLoop::exec () from /usr/lib/qt3/lib/libqt-mt.so.3
#28 0x40cfe746 in QApplication::exec () from /usr/lib/qt3/lib/libqt-mt.so.3
#29 0x08065c23 in main (argc=7, argv=0xbffff704)
    at /home/andris/cvs-developement/head/kde-cvs/kdevelop/src/main.cpp:78
#30 0x413559ed in __libc_start_main () from /lib/libc.so.6
Comment 1 Caleb Tennis 2003-01-01 03:49:46 UTC
Not perfect, but it's been fixed in CVS. 
Comment 2 Caleb Tennis 2003-02-23 21:56:07 UTC
*** Bug 51363 has been marked as a duplicate of this bug. ***