Version: 1.4.0-beta1 (using KDE KDE 3.3.1) Compiler: g++ (GCC) 3.3.5 (Debian 1:3.3.5-5) OS: Linux Hello, I tested the version 1.4.0-beta1 compiled from the source tarball (date: 2005-01-15 05:07). Umbrello shows version 1.3.90. Do the following steps to reproduce the problem: 1. create a new empty project 2. add an item (class, package... the type doesn't matter) to the class diagram 3. save it to a file (pure xmi format) 4. close the file (or exit umbrello and restart it) 5. open the file 6. right click the item --> Umbrello immediately crashes Following backtrace from KCrash: Using host libthread_db library "/lib/tls/libthread_db.so.1". `system-supplied DSO at 0xffffe000' has disappeared; keeping its symbols. [Thread debugging using libthread_db enabled] [New Thread 1096556288 (LWP 31375)] [KCrash handler] #3 0x081d2abf in WorkToolBar::buttonChanged () #4 0x081d5c3f in WorkToolBar::qt_invoke () #5 0x40cab52c in QObject::activate_signal () from /usr/lib/libqt-mt.so.3 #6 0x40cab68d in QObject::activate_signal () from /usr/lib/libqt-mt.so.3 #7 0x40565845 in KToolBar::released () from /usr/lib/libkdeui.so.4 #8 0x40565cbc in KToolBar::qt_emit () from /usr/lib/libkdeui.so.4 #9 0x081d5c82 in WorkToolBar::qt_emit () #10 0x40cab561 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3 #11 0x40cab68d in QObject::activate_signal () from /usr/lib/libqt-mt.so.3 #12 0x40614295 in KToolBarButton::released () from /usr/lib/libkdeui.so.4 #13 0x40613c7b in KToolBarButton::slotReleased () from /usr/lib/libkdeui.so.4 #14 0x40614476 in KToolBarButton::qt_invoke () from /usr/lib/libkdeui.so.4 #15 0x40cab52c in QObject::activate_signal () from /usr/lib/libqt-mt.so.3 #16 0x40cab354 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3 #17 0x40ff024c in QButton::released () from /usr/lib/libqt-mt.so.3 #18 0x40d3dc95 in QButton::animateTimeout () from /usr/lib/libqt-mt.so.3 #19 0x40ff03a8 in QButton::qt_invoke () from /usr/lib/libqt-mt.so.3 #20 0x410065fa in QToolButton::qt_invoke () from /usr/lib/libqt-mt.so.3 #21 0x406144a5 in KToolBarButton::qt_invoke () from /usr/lib/libkdeui.so.4 #22 0x40cab52c in QObject::activate_signal () from /usr/lib/libqt-mt.so.3 #23 0x40fe908a in QSignal::signal () from /usr/lib/libqt-mt.so.3 #24 0x40cc56ed in QSignal::activate () from /usr/lib/libqt-mt.so.3 #25 0x40ccced3 in QSingleShotTimer::event () from /usr/lib/libqt-mt.so.3 #26 0x40c4ebcf in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3 #27 0x40c4e1ce in QApplication::notify () from /usr/lib/libqt-mt.so.3 #28 0x407e2da3 in KApplication::notify () from /usr/lib/libkdecore.so.4 #29 0x40c3e405 in QEventLoop::activateTimers () from /usr/lib/libqt-mt.so.3 #30 0x40bf7c4b in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3 #31 0x40c60f28 in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3 #32 0x40c60dd8 in QEventLoop::exec () from /usr/lib/libqt-mt.so.3 #33 0x40c4ee21 in QApplication::exec () from /usr/lib/libqt-mt.so.3 #34 0x08152254 in main () Following output on the console: umbrello: CodeGeneratorFactory created umbrello: Querying languages available umbrello: Looking up generator for language Ada umbrello: Looking up generator for language ActionScript umbrello: Looking up generator for language Cpp umbrello: Looking up generator for language IDL umbrello: Looking up generator for language Java umbrello: Looking up generator for language JavaScript umbrello: Looking up generator for language Perl umbrello: Looking up generator for language PHP umbrello: Looking up generator for language PHP5 umbrello: Looking up generator for language Python umbrello: Looking up generator for language SQL umbrello: Looking up generator for language XMLSchema umbrello: CodeGeneratorFactory created umbrello: Looking up generator for language Cpp umbrello: CodeGeneratorFactory created umbrello: Looking up generator for language Cpp umbrello: WARNING: loadFromXMI: missing code document w/ id:12, plowing ahead with pre-generated one. umbrello: WARNING: loadFromXMI: missing code document w/ id:14, plowing ahead with pre-generated one. umbrello: WARNING: loadFromXMI: missing code document w/ id:15, plowing ahead with pre-generated one. umbrello: WARNING: loadFromXMI: missing code document w/ id:16, plowing ahead with pre-generated one. umbrello: WARNING: loadFromXMI: missing code document w/ id:17, plowing ahead with pre-generated one. umbrello: WARNING: loadFromXMI: missing code document w/ id:18, plowing ahead with pre-generated one. umbrello: WARNING: loadFromXMI: missing code document w/ id:19, plowing ahead with pre-generated one. umbrello: WARNING: loadFromXMI: missing code document w/ id:20, plowing ahead with pre-generated one. umbrello: WARNING: loadFromXMI: missing code document w/ id:cppheader12, plowing ahead with pre-generated one. umbrello: WARNING: loadFromXMI: missing code document w/ id:cppheader14, plowing ahead with pre-generated one. umbrello: WARNING: loadFromXMI: missing code document w/ id:cppheader15, plowing ahead with pre-generated one. umbrello: WARNING: loadFromXMI: missing code document w/ id:cppheader16, plowing ahead with pre-generated one. umbrello: WARNING: loadFromXMI: missing code document w/ id:cppheader17, plowing ahead with pre-generated one. umbrello: WARNING: loadFromXMI: missing code document w/ id:cppheader18, plowing ahead with pre-generated one. umbrello: WARNING: loadFromXMI: missing code document w/ id:cppheader19, plowing ahead with pre-generated one. umbrello: WARNING: loadFromXMI: missing code document w/ id:cppheader20, plowing ahead with pre-generated one. KCrash: Application 'umbrello' crashing... When I generate C++ source code and save the file again, the described steps above do not produce the error. These warnings in the console output also do not appear.
Umbrello also crashes when I double click the item instead of right click. The backtrace for this case is: Using host libthread_db library "/lib/tls/libthread_db.so.1". `system-supplied DSO at 0xffffe000' has disappeared; keeping its symbols. [Thread debugging using libthread_db enabled] [New Thread 1096556288 (LWP 31512)] [KCrash handler] #3 0x40f630d2 in QGListIterator::QGListIterator () from /usr/lib/libqt-mt.so.3 #4 0x081bf411 in UMLView::getWidgetAssocs () #5 0x0826b793 in AssocPage::fillListBox () #6 0x0826b3c4 in AssocPage::AssocPage () #7 0x082421c2 in ClassPropDlg::setupPages () #8 0x0824172c in ClassPropDlg::ClassPropDlg () #9 0x08194c66 in UMLDoc::showProperties () #10 0x081cc6d4 in UMLWidget::slotMenuSelection () #11 0x081ccc59 in UMLWidget::mouseDoubleClickEvent () #12 0x081700e8 in ToolBarState::mouseDoubleClick () #13 0x081b79f4 in UMLView::contentsMouseDoubleClickEvent () #14 0x40dc0fe2 in QScrollView::viewportMouseDoubleClickEvent () from /usr/lib/libqt-mt.so.3 #15 0x40dc07da in QScrollView::eventFilter () from /usr/lib/libqt-mt.so.3 #16 0x40ca8e5e in QObject::activate_filters () from /usr/lib/libqt-mt.so.3 #17 0x40ca8d8c in QObject::event () from /usr/lib/libqt-mt.so.3 #18 0x40ce160f in QWidget::event () from /usr/lib/libqt-mt.so.3 #19 0x40c4ebcf in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3 #20 0x40c4e2c4 in QApplication::notify () from /usr/lib/libqt-mt.so.3 #21 0x407e2da3 in KApplication::notify () from /usr/lib/libkdecore.so.4 #22 0x40be3640 in QETWidget::translateMouseEvent () from /usr/lib/libqt-mt.so.3 #23 0x40be12ce in QApplication::x11ProcessEvent () from /usr/lib/libqt-mt.so.3 #24 0x40bf81a4 in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3 #25 0x40c60f28 in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3 #26 0x40c60dd8 in QEventLoop::exec () from /usr/lib/libqt-mt.so.3 #27 0x40c4ee21 in QApplication::exec () from /usr/lib/libqt-mt.so.3 #28 0x08152254 in main ()
Unfortunately, tabbed diagrams are broken in 1.4.0beta1. Please deselect "Use tabbed diagrams" in the Umbrello general configuration options and restart.
BTW, this problem is fixed by a very small change to umldoc.cpp, see the diff between rev. 1.231 and 1.232 in kdesdk cvs (just in case you build from sources)
Hello Oliver, you're right. First, after deactivating the "tabbed diagrams" option the problem does occur no longer. Neither right clicking nor double clicking crashes Umbrello. Second, I took the umldoc.cpp from the nightly source of kdesdk (date: 17.01.2005 00:32:00) and rebuilt Umbrello. This fixes the problem regardless of the selection of the "tabbed diagrams" option.