Application: umbrello (2.4.2) KDE Platform Version: 4.4.2 (KDE 4.4.2) Qt Version: 4.6.2 Operating System: Linux 2.6.32-22-generic i686 Distribution: Ubuntu 10.04 LTS -- Information about the crash: Steps to reproduce: Load an UML file Copy a class (right click tree view on class, copy) Paste in tree Give the new Class a name, hit OK Result: Crash Expected result: Duplicate class with new name The crash can be reproduced every time. -- Backtrace: Application: Umbrello UML Modeller (umbrello), signal: Segmentation fault [KCrash Handler] #6 0x00a134a5 in std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::string const&) () from /usr/lib/libstdc++.so.6 #7 0x0810684a in IDChangeLog::Point::y (this=0x9c82c48, OldID=..., NewID=..., pos=@0xbfc70318) at ../../../umbrello/umbrello/clipboard/idchangelog.h:69 #8 IDChangeLog::findIDChange (this=0x9c82c48, OldID=..., NewID=..., pos=@0xbfc70318) at ../../../umbrello/umbrello/clipboard/idchangelog.cpp:118 #9 0x08106d9e in IDChangeLog::addIDChange (this=0x9c82c48, OldID=..., NewID=...) at ../../../umbrello/umbrello/clipboard/idchangelog.cpp:93 #10 0x086e2e9e in UMLDoc::assignNewID (this=0x99a5920, oldID=...) at ../../../umbrello/umbrello/umldoc.cpp:2563 #11 0x086e5f89 in UMLDoc::assignNewIDs (this=0x99a5920, obj=0xa93cc78) at ../../../umbrello/umbrello/umldoc.cpp:2465 #12 0x080ffe1f in UMLDragData::decodeClip1 (mimeData=0xb03d050, objects=...) at ../../../umbrello/umbrello/clipboard/umldragdata.cpp:336 #13 0x08102129 in UMLClipboard::pasteClip1 (this=0xbfc705f8, data=0xb03d050) at ../../../umbrello/umbrello/clipboard/umlclipboard.cpp:404 #14 0x0810612c in UMLClipboard::paste (this=0xbfc705f8, data=0xb03d050) at ../../../umbrello/umbrello/clipboard/umlclipboard.cpp:169 #15 0x086da5b9 in UMLApp::slotEditPaste (this=0x99a9450) at ../../../umbrello/umbrello/uml.cpp:1287 #16 0x08705dfd in UMLListView::popupMenuSel (this=0x9b2e148, action=0x9db6cb0) at ../../../umbrello/umbrello/umllistview.cpp:626 #17 0x087071ec in UMLListView::qt_metacall (this=0x9b2e148, _c=QMetaObject::InvokeMetaMethod, _id=9, _a=0xbfc70928) at ./umllistview.moc:111 #18 0x09578c9a in QMetaObject::metacall (object=0x9b2e148, cl=164113480, idx=139, argv=0xbfc70928) at kernel/qmetaobject.cpp:237 #19 0x095873d5 in QMetaObject::activate (sender=0x9bcf410, m=0x4928748, local_signal_index=2, argv=0xbfc70928) at kernel/qobject.cpp:3293 #20 0x04497073 in QMenu::triggered (this=0x9bcf410, _t1=0x9db6cb0) at .moc/release-shared/moc_qmenu.cpp:164 #21 0x04499aca in QMenuPrivate::_q_actionTriggered (this=0xa26b350) at widgets/qmenu.cpp:1129 #22 0x0449e196 in QMenu::qt_metacall (this=0x9bcf410, _c=QMetaObject::InvokeMetaMethod, _id=8, _a=0xbfc70b18) at .moc/release-shared/moc_qmenu.cpp:105 #23 0x012809aa in KMenu::qt_metacall (this=0x9bcf410, _c=QMetaObject::InvokeMetaMethod, _id=35, _a=0xbfc70b18) at ./kmenu.moc:76 #24 0x09578c9a in QMetaObject::metacall (object=0x9bcf410, cl=164113480, idx=35, argv=0xbfc70b18) at kernel/qmetaobject.cpp:237 #25 0x095873d5 in QMetaObject::activate (sender=0x9db6cb0, m=0x4921d58, local_signal_index=1, argv=0xbfc70b18) at kernel/qobject.cpp:3293 #26 0x03ff2bd9 in QAction::triggered (this=0x9db6cb0, _t1=false) at .moc/release-shared/moc_qaction.cpp:263 #27 0x03ff4dcc in QAction::activate (this=0x9db6cb0, event=QAction::Trigger) at kernel/qaction.cpp:1255 #28 0x0449860c in QMenuPrivate::activateCausedStack (this=0xa26b350, causedStack=..., action=0x9db6cb0, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1011 #29 0x0449eabb in QMenuPrivate::activateAction (this=0xa26b350, action=0x9db6cb0, action_e=QAction::Trigger, self=<value optimized out>) at widgets/qmenu.cpp:1103 #30 0x0449fac7 in QMenu::mouseReleaseEvent (this=0x9bcf410, e=0xbfc713b0) at widgets/qmenu.cpp:2312 #31 0x0127ef65 in KMenu::mouseReleaseEvent (this=0x9bcf410, e=0xbfc713b0) at ../../kdeui/widgets/kmenu.cpp:471 #32 0x040577f8 in QWidget::event (this=0x9bcf410, event=0xbfc713b0) at kernel/qwidget.cpp:7998 #33 0x044a10cc in QMenu::event (this=0x9bcf410, e=0xbfc713b0) at widgets/qmenu.cpp:2414 #34 0x03ff94dc in QApplicationPrivate::notify_helper (this=0x9838500, receiver=0x9bcf410, e=0xbfc713b0) at kernel/qapplication.cpp:4300 #35 0x040009f7 in QApplication::notify (this=0xbfc71c60, receiver=0x9bcf410, e=0xbfc713b0) at kernel/qapplication.cpp:3865 #36 0x01188f2a in KApplication::notify (this=0xbfc71c60, receiver=0x9bcf410, event=0xbfc713b0) at ../../kdeui/kernel/kapplication.cpp:302 #37 0x09573a3b in QCoreApplication::notifyInternal (this=0xbfc71c60, receiver=0x9bcf410, event=0xbfc713b0) at kernel/qcoreapplication.cpp:704 #38 0x03fff952 in QCoreApplication::sendEvent (receiver=0x9bcf410, event=0xbfc713b0, alienWidget=0x0, nativeWidget=0x9bcf410, buttonDown=0x493d058, lastMouseReceiver=..., spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215 #39 QApplicationPrivate::sendMouseEvent (receiver=0x9bcf410, event=0xbfc713b0, alienWidget=0x0, nativeWidget=0x9bcf410, buttonDown=0x493d058, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:2965 #40 0x0408b5cf in QETWidget::translateMouseEvent (this=0x9bcf410, event=0xbfc718cc) at kernel/qapplication_x11.cpp:4302 #41 0x0408a511 in QApplication::x11ProcessEvent (this=0xbfc71c60, event=0xbfc718cc) at kernel/qapplication_x11.cpp:3379 #42 0x040b960a in x11EventSourceDispatch (s=0x983b700, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146 #43 0x017a45e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0 #44 0x017a82d8 in ?? () from /lib/libglib-2.0.so.0 #45 0x017a84b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0 #46 0x0959f5d5 in QEventDispatcherGlib::processEvents (this=0x981b150, flags=...) at kernel/qeventdispatcher_glib.cpp:412 #47 0x040b9135 in QGuiEventDispatcherGlib::processEvents (this=0x981b150, flags=...) at kernel/qguieventdispatcher_glib.cpp:204 #48 0x09572059 in QEventLoop::processEvents (this=0xbfc71bc4, flags=) at kernel/qeventloop.cpp:149 #49 0x095724aa in QEventLoop::exec (this=0xbfc71bc4, flags=...) at kernel/qeventloop.cpp:201 #50 0x0957669f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981 #51 0x03ff9577 in QApplication::exec () at kernel/qapplication.cpp:3579 #52 0x086ac645 in main (argc=1, argv=0xbfc71e14) at ../../../umbrello/umbrello/main.cpp:111 Reported using DrKonqi
*** Bug 245207 has been marked as a duplicate of this bug. ***
Created attachment 51394 [details] New crash information added by DrKonqi In entity relation diagram, Copy - Paste entity attributes from one entity to another one makes umbrello crash. Result: Crash Expected result: attributes should be copied to the other entity
From bug 257410: -- Information about the crash: 1. I created a class and added some operations to it. 2. I made an interface for the class. 3. I tried to copy - paste several operations from the class into its interface. It crashed the program When I copy - paste class operations one by one it works fine.
*** Bug 257410 has been marked as a duplicate of this bug. ***
*** Bug 257584 has been marked as a duplicate of this bug. ***
Created attachment 54419 [details] New crash information added by DrKonqi umbrello (2.5.1) on KDE Platform 4.5.1 (KDE 4.5.1) using Qt 4.7.0 - What I was doing when the application crashed: Copy and paste attributes from one class to another. GNOME desktop. Ubuntu 10.10 Maverick Meerkat -- Backtrace (Reduced): #8 0x081075ea in y (this=0xa7fbc90, OldID=..., NewID=..., pos=@0xbf9e66c8) at ../../../umbrello/umbrello/clipboard/idchangelog.h:69 #9 IDChangeLog::findIDChange (this=0xa7fbc90, OldID=..., NewID=..., pos=@0xbf9e66c8) at ../../../umbrello/umbrello/clipboard/idchangelog.cpp:118 #10 0x08107b3e in IDChangeLog::addIDChange (this=0xa7fbc90, OldID=..., NewID=...) at ../../../umbrello/umbrello/clipboard/idchangelog.cpp:93 #11 0x085c309e in UMLDoc::assignNewID (this=0xa5a7dd8, oldID=...) at ../../../umbrello/umbrello/umldoc.cpp:2563 #12 0x086095c2 in UMLView::addWidget (this=0xa68a9a0, pWidget=0xa8f7fd8, isPasteOperation=false) at ../../../umbrello/umbrello/umlview.cpp:1604
*** This bug has been marked as a duplicate of bug 287179 ***
set version-fixed-in from 4.8.0 changelog