Version: Windows:2.0.0. Linux:1.5.8 (and KDE 3.5.7) (using KDE 4.0.0) Installed from: MS Windows Binaries OS: MS Windows Umbrello crashes when performing operation described. I'll try to include some screen shots, but basically: open up the attached file (again, I'll try to attach in a moment) Right click on the message box and select operation. Select the "pf new" operation. hit OK. I tried this in Windows using the latest distro. I then tried in Linux with a similar result.
Created attachment 23553 [details] XMI file to be loaded first
Created attachment 23554 [details] Screenshot of what to select ( Step 1 )
Created attachment 23555 [details] Screenshot of class selection ( step 2 )
I can confirm this for linux with kdesdk r774506. Backtrace: Application: Umbrello UML Modeller (umbrello), signal SIGSEGV Using host libthread_db library "/lib/libthread_db.so.1". [Thread debugging using libthread_db enabled] [New Thread 0xb5fd08e0 (LWP 16888)] [KCrash handler] #6 0x080859dd in QString (this=0xbfca5374, other=@0x18) at /usr/include/qt4/QtCore/qstring.h:662 #7 0x0828906c in UMLObject::getName (this=0x0) at /var/tmp/portage/kde-base/kdesdk-9999.4/work/kdesdk-9999.4/umbrello/umbrello/umlobject.cpp:125 #8 0x081ee36d in UMLClassifier::findOperation (this=0x862b760, name=@0xbfca5410, params=@0xbfca5440) at /var/tmp/portage/kde-base/kdesdk-9999.4/work/kdesdk-9999.4/umbrello/umbrello/classifier.cpp:149 #9 0x08214488 in FloatingTextWidget::showOpDlg (this=0x85aa2b8) at /var/tmp/portage/kde-base/kdesdk-9999.4/work/kdesdk-9999.4/umbrello/umbrello/floatingtextwidget.cpp:317 #10 0x082151ce in FloatingTextWidget::slotMenuSelection (this=0x85aa2b8, action=0x84efd08) at /var/tmp/portage/kde-base/kdesdk-9999.4/work/kdesdk-9999.4/umbrello/umbrello/floatingtextwidget.cpp:126 #11 0x0821413b in FloatingTextWidget::qt_metacall (this=0x85aa2b8, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbfca59fc) at /var/tmp/portage/kde-base/kdesdk-9999.4/work/kdesdk_build/umbrello/umbrello/floatingtextwidget.moc:67 #12 0xb7e4e1f4 in QMetaObject::activate (sender=0x85e8e90, from_signal_index=29, to_signal_index=29, argv=<value optimized out>) at kernel/qobject.cpp:3081 #13 0xb7e4ed94 in QMetaObject::activate (sender=0x85e8e90, m=0xb6bc3b18, local_signal_index=2, argv=0xbfca59fc) at kernel/qobject.cpp:3140 #14 0xb6846de4 in QMenu::triggered (this=0x85e8e90, _t1=0x84efd08) at .moc/debug-shared/moc_qmenu.cpp:155 #15 0xb6847e73 in QMenuPrivate::_q_actionTriggered (this=0x85f9db8) at widgets/qmenu.cpp:976 #16 0xb684e62c in QMenu::qt_metacall (this=0x85e8e90, _c=QMetaObject::InvokeMetaMethod, _id=8, _a=0xbfca5f8c) at .moc/debug-shared/moc_qmenu.cpp:97 #17 0xb7a77a3a in KMenu::qt_metacall (this=0x85e8e90, _c=QMetaObject::InvokeMetaMethod, _id=35, _a=0xbfca5f8c) at /var/tmp/portage/kde-base/kdelibs-9999.4/work/kdelibs_build/kdeui/kmenu.moc:68 #18 0xb7e4e1f4 in QMetaObject::activate (sender=0x84efd08, from_signal_index=5, to_signal_index=6, argv=<value optimized out>) at kernel/qobject.cpp:3081 #19 0xb7e4e5e2 in QMetaObject::activate (sender=0x84efd08, m=0xb6bbe4c0, from_local_signal_index=1, to_local_signal_index=2, argv=0xbfca5f8c) at kernel/qobject.cpp:3160 #20 0xb64689c3 in QAction::triggered (this=0x84efd08, _t1=false) at .moc/debug-shared/moc_qaction.cpp:208 #21 0xb64694bd in QAction::activate (this=0x84efd08, event=QAction::Trigger) at kernel/qaction.cpp:1114 #22 0xb6850264 in QMenuPrivate::activateAction (this=0x85f9db8, action=0x84efd08, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:915 #23 0xb68528e2 in QMenu::mouseReleaseEvent (this=0x85e8e90, e=0xbfca6804) at widgets/qmenu.cpp:2054 #24 0xb7a77908 in KMenu::mouseReleaseEvent (this=0x85e8e90, e=0xbfca6804) at /var/tmp/portage/kde-base/kdelibs-9999.4/work/kdelibs-9999.4/kdeui/widgets/kmenu.cpp:423 #25 0xb64c29a5 in QWidget::event (this=0x85e8e90, event=0xbfca6804) at kernel/qwidget.cpp:6138 #26 0xb684dccf in QMenu::event (this=0x85e8e90, e=0xbfca6804) at widgets/qmenu.cpp:2149 #27 0xb646fe8a in QApplicationPrivate::notify_helper (this=0x831ea98, receiver=0x85e8e90, e=0xbfca6804) at kernel/qapplication.cpp:3556 #28 0xb6471a2c in QApplication::notify (this=0xbfca6d8c, receiver=0x85e8e90, e=0xbfca6804) at kernel/qapplication.cpp:3255 #29 0xb79ba763 in KApplication::notify (this=0xbfca6d8c, receiver=0x85e8e90, event=0xbfca6804) at /var/tmp/portage/kde-base/kdelibs-9999.4/work/kdelibs-9999.4/kdeui/kernel/kapplication.cpp:311 #30 0xb7e3ad7b in QCoreApplication::notifyInternal (this=0xbfca6d8c, receiver=0x85e8e90, event=0xbfca6804) at kernel/qcoreapplication.cpp:530 #31 0xb64d5e89 in QETWidget::translateMouseEvent (this=0x85e8e90, event=0xbfca6bc8) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:203 #32 0xb64d3e8e in QApplication::x11ProcessEvent (this=0xbfca6d8c, event=0xbfca6bc8) at kernel/qapplication_x11.cpp:2913 #33 0xb64f9c45 in QEventDispatcherX11::processEvents (this=0x831e580, flags=@0xbfca6cb4) at kernel/qeventdispatcher_x11.cpp:125 #34 0xb7e3a191 in QEventLoop::processEvents (this=0xbfca6d20, flags=@0xbfca6ce8) at kernel/qeventloop.cpp:140 #35 0xb7e3a29a in QEventLoop::exec (this=0xbfca6d20, flags=@0xbfca6d28) at kernel/qeventloop.cpp:186 #36 0xb7e3c626 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:759 #37 0xb646f487 in QApplication::exec () at kernel/qapplication.cpp:3053 #38 0x08232582 in main (argc=1, argv=0xbfca6ee4) at /var/tmp/portage/kde-base/kdesdk-9999.4/work/kdesdk-9999.4/umbrello/umbrello/main.cpp:111 #39 0xb6134fdc in __libc_start_main (main=0x8231f50 <main>, argc=1, ubp_av=0xbfca6ee4, init=0x82b1170 <__libc_csu_init>, fini=0x82b1160 <__libc_csu_fini>, rtld_fini=0xb7efe100 <_dl_fini>, stack_end=0xbfca6edc) at libc-start.c:229 #40 0x08079701 in _start () #0 0xffffe410 in __kernel_vsyscall ()
SVN commit 776779 by sharan: Fix crash on operation selection in sequence/collaboration diagram. Reason why the crash used to happen: If a new argument is added to an operation which had a datatype that Umbrello has not seen before, Umbrello is supposed to dynamically create that datatype. But that was not happenning due to a regression introduced ( by yours truly :P ), while moving from `for` based iteration to `foreach` based ones. This led to a crash on selection of that particular operation in sequence/collaboration diagrams. CCBUG:157764 M +4 -1 parmpropdlg.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=776779
Fixed by Sharon in SVN. Was a multiplatform problem.