[Uml-devel] [Bug 241915] New: Copy and paste of a class lets Umbrello crash

Nicolas Lécureuil nlecureuil at mandriva.com
Tue Jul 20 12:47:10 UTC 2010


https://bugs.kde.org/show_bug.cgi?id=241915

           Summary: Copy and paste of a class lets Umbrello crash
           Product: umbrello
           Version: unspecified
          Platform: Ubuntu Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: umbrello-devel at kde.org
        ReportedBy: geroxp at web.de
                CC: b.durai at yahoo.co.in



Nicolas Lécureuil <nlecureuil at mandriva.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |b.durai at yahoo.co.in


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

--- Comment #1 from Nicolas Lécureuil <nlecureuil mandriva com>  2010-07-20 14:46:40 ---
*** Bug 245207 has been marked as a duplicate of this bug. ***

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the umbrello-devel mailing list