Bug 294638 - Cut and paste with multiple objects
Summary: Cut and paste with multiple objects
Status: RESOLVED DUPLICATE of bug 287179
Alias: None
Product: umbrello
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Umbrello Development Group
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-22 20:41 UTC by Benoit
Modified: 2012-07-05 22:57 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (7.39 KB, text/plain)
2012-02-25 22:36 UTC, Tex Morgan
Details
New crash information added by DrKonqi (8.22 KB, text/plain)
2012-02-27 03:11 UTC, Tex Morgan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Benoit 2012-02-22 20:41:43 UTC
Application: umbrello (2.4.5)
KDE Platform Version: 4.4.5 (KDE 4.4.5)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-38-generic x86_64
Distribution: Ubuntu 10.04.3 LTS

-- Information about the crash:
I selected 3 objects, than select cut than paste. During the paste Umbrello crashed. 

The crash can be reproduced some of the time.

 -- Backtrace:
Application: Umbrello UML Modeller (umbrello), signal: Segmentation fault
[KCrash Handler]
#5  0x00007fcd5ba44018 in std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::string const&) () from /usr/lib/libstdc++.so.6
#6  0x00000000004c1b60 in IDChangeLog::Point::y (this=0x2b0f420, OldID=) at ../../../umbrello/umbrello/clipboard/idchangelog.h:69
#7  IDChangeLog::findIDChange (this=0x2b0f420, OldID=) at ../../../umbrello/umbrello/clipboard/idchangelog.cpp:118
#8  0x00000000004c20c6 in IDChangeLog::addIDChange (this=0x2b0f420, OldID=) at ../../../umbrello/umbrello/clipboard/idchangelog.cpp:93
#9  0x0000000000ba1ffc in UMLDoc::assignNewID (this=0x246d500, oldID=) at ../../../umbrello/umbrello/umldoc.cpp:2563
#10 0x0000000000be6a27 in UMLView::addWidget (this=0x337bf10, pWidget=0x315cce0, isPasteOperation=<value optimized out>) at ../../../umbrello/umbrello/umlview.cpp:1604
#11 0x0000000000ae6755 in AssociationWidget::setFloatingText (this=0x2b11c50, tr=Uml::tr_MultiA, text=..., ft=@0x2b11cb0) at ../../../umbrello/umbrello/widgets/associationwidget.cpp:445
#12 0x0000000000ae6c0a in AssociationWidget::setMulti (this=0x7fffa47c2da0, strMulti=..., role=Uml::A) at ../../../umbrello/umbrello/widgets/associationwidget.cpp:464
#13 0x0000000000ae8126 in AssociationWidget::syncToModel (this=0x2b11c50) at ../../../umbrello/umbrello/widgets/associationwidget.cpp:1418
#14 0x0000000000beb792 in UMLView::createAutoAssociations (this=<value optimized out>, widget=0x2e71fe0) at ../../../umbrello/umbrello/umlview.cpp:2161
#15 0x0000000000b1f159 in UMLWidget::activate (this=0x2e71fe0) at ../../../umbrello/umbrello/widgets/umlwidget.cpp:569
#16 0x0000000000bdab75 in UMLView::activate (this=0x337bf10) at ../../../umbrello/umbrello/umlview.cpp:1425
#17 0x00000000004bea71 in UMLClipboard::pasteClip4 (this=<value optimized out>, data=<value optimized out>) at ../../../umbrello/umbrello/clipboard/umlclipboard.cpp:588
#18 0x00000000004c144b in UMLClipboard::paste (this=0x7fffa47c3c30, data=0x3171ad0) at ../../../umbrello/umbrello/clipboard/umlclipboard.cpp:178
#19 0x0000000000b99956 in UMLApp::slotEditPaste (this=0x24aabd0) at ../../../umbrello/umbrello/uml.cpp:1287
#20 0x0000000000b9c6ad in UMLApp::qt_metacall (this=0x24aabd0, _c=QMetaObject::InvokeMetaMethod, _id=54975568, _a=0x7fffa47c3e70) at ./uml.moc:243
#21 0x00007fcd5c54de3f in QMetaObject::activate (sender=0x24ba160, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0xb) at kernel/qobject.cpp:3293
#22 0x00007fcd5ca08032 in QAction::triggered (this=0x7fffa47c2da0, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#23 0x00007fcd5ca0a0ab in QAction::activate (this=0x24ba160, event=<value optimized out>) at kernel/qaction.cpp:1255
#24 0x00007fcd5ca0b9b7 in QAction::event (this=0x7fffa47c2da0, e=<value optimized out>) at kernel/qaction.cpp:1181
#25 0x00007fcd5dd4000d in KAction::event (this=0x7fffa47c2da0, event=0x7fffa47c44e0) at ../../kdeui/actions/kaction.cpp:129
#26 0x00007fcd5ca0e22c in QApplicationPrivate::notify_helper (this=0x22b6f80, receiver=0x24ba160, e=0x7fffa47c44e0) at kernel/qapplication.cpp:4300
#27 0x00007fcd5ca146fb in QApplication::notify (this=0x7fffa47c5aa0, receiver=0x24ba160, e=0x7fffa47c44e0) at kernel/qapplication.cpp:4183
#28 0x00007fcd5de15a16 in KApplication::notify (this=0x7fffa47c5aa0, receiver=0x24ba160, event=0x7fffa47c44e0) at ../../kdeui/kernel/kapplication.cpp:302
#29 0x00007fcd5c53b06c in QCoreApplication::notifyInternal (this=0x7fffa47c5aa0, receiver=0x24ba160, event=0x7fffa47c44e0) at kernel/qcoreapplication.cpp:704
#30 0x00007fcd5ca49e86 in QCoreApplication::sendEvent (this=<value optimized out>, e=0x7fffa47c4ae0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#31 QShortcutMap::dispatchEvent (this=<value optimized out>, e=0x7fffa47c4ae0) at kernel/qshortcutmap.cpp:879
#32 0x00007fcd5ca4bc97 in QShortcutMap::tryShortcutEvent (this=0x22b70a8, o=<value optimized out>, e=0x7fffa47c4ae0) at kernel/qshortcutmap.cpp:364
#33 0x00007fcd5ca16268 in QApplication::notify (this=0x7fffa47c5aa0, receiver=0x26d9780, e=0x7fffa47c4ae0) at kernel/qapplication.cpp:3746
#34 0x00007fcd5de15a16 in KApplication::notify (this=0x7fffa47c5aa0, receiver=0x26d9780, event=0x7fffa47c4ae0) at ../../kdeui/kernel/kapplication.cpp:302
#35 0x00007fcd5c53b06c in QCoreApplication::notifyInternal (this=0x7fffa47c5aa0, receiver=0x26d9780, event=0x7fffa47c4ae0) at kernel/qcoreapplication.cpp:704
#36 0x00007fcd5cab916a in QKeyMapper::sendKeyEvent (keyWidget=0x26d9780, grab=<value optimized out>, type=QEvent::KeyPress, code=86, modifiers=<value optimized out>, text=..., autorepeat=false, 
    count=1, nativeScanCode=55, nativeVirtualKey=118, nativeModifiers=20) at kernel/qkeymapper_x11.cpp:1861
#37 0x00007fcd5cabb6f0 in QKeyMapperPrivate::translateKeyEvent (this=0x7fffa47c4cc0, keyWidget=0x26d9780, event=<value optimized out>, grab=16) at kernel/qkeymapper_x11.cpp:1831
#38 0x00007fcd5ca92904 in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fffa47c56b0) at kernel/qapplication_x11.cpp:3394
#39 0x00007fcd5cabe882 in x11EventSourceDispatch (s=0x22bac50, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#40 0x00007fcd57d8b8c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#41 0x00007fcd57d8f748 in ?? () from /lib/libglib-2.0.so.0
#42 0x00007fcd57d8f8fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#43 0x00007fcd5c564513 in QEventDispatcherGlib::processEvents (this=0x228f7c0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#44 0x00007fcd5cabe46e in QGuiEventDispatcherGlib::processEvents (this=0x7fffa47c2da0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#45 0x00007fcd5c539992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#46 0x00007fcd5c539d6c in QEventLoop::exec (this=0x7fffa47c59e0, flags=) at kernel/qeventloop.cpp:201
#47 0x00007fcd5c53daab in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#48 0x0000000000b6c6c5 in main (argc=<value optimized out>, argv=<value optimized out>) at ../../../umbrello/umbrello/main.cpp:111

Possible duplicates by query: bug 257584, bug 241915.

Reported using DrKonqi
Comment 1 Tex Morgan 2012-02-25 22:36:39 UTC
Created attachment 69095 [details]
New crash information added by DrKonqi

umbrello (2.7.4) on KDE Platform 4.7.4 (4.7.4) using Qt 4.7.4

- What I was doing when the application crashed:
I had set up a template class with 7 or so objects in it.  I copied the object then pasted it and the program crashed.

-- Backtrace (Reduced):
#7  0x00000000004b9cd3 in y (this=<optimized out>) at ../../../umbrello/umbrello/clipboard/idchangelog.h:67
#8  IDChangeLog::findIDChange (this=0xfbf550, OldID=..., NewID=..., pos=@0x7fff3e9e4108) at ../../../umbrello/umbrello/clipboard/idchangelog.cpp:116
#9  0x00000000004ba0f4 in IDChangeLog::addIDChange (this=0xfbf550, OldID=..., NewID=...) at ../../../umbrello/umbrello/clipboard/idchangelog.cpp:91
#10 0x00000000007242e1 in UMLDoc::assignNewID (this=0xddbd80, oldID=...) at ../../../umbrello/umbrello/umldoc.cpp:2582
#11 0x0000000000734302 in UMLDoc::assignNewIDs (this=0xddbd80, obj=<optimized out>) at ../../../umbrello/umbrello/umldoc.cpp:2498
Comment 2 Tex Morgan 2012-02-27 03:11:51 UTC
Created attachment 69124 [details]
New crash information added by DrKonqi

umbrello (2.7.4) on KDE Platform 4.7.4 (4.7.4) using Qt 4.7.4

- What I was doing when the application crashed:
I had set up a class with multiple functions and attributes.  I tried copying a group of seven or so functions from one class to another one when the program crashed.

-- Backtrace (Reduced):
#7  0x00000000004b9cd3 in y (this=<optimized out>) at ../../../umbrello/umbrello/clipboard/idchangelog.h:67
#8  IDChangeLog::findIDChange (this=0x2016d20, OldID=..., NewID=..., pos=@0x7fffa4922088) at ../../../umbrello/umbrello/clipboard/idchangelog.cpp:116
#9  0x00000000004ba0f4 in IDChangeLog::addIDChange (this=0x2016d20, OldID=..., NewID=...) at ../../../umbrello/umbrello/clipboard/idchangelog.cpp:91
#10 0x00000000007242e1 in UMLDoc::assignNewID (this=0x19366c0, oldID=...) at ../../../umbrello/umbrello/umldoc.cpp:2582
#11 0x00000000004b48a5 in UMLClipboard::pasteClip5 (this=<optimized out>, data=<optimized out>) at ../../../umbrello/umbrello/clipboard/umlclipboard.cpp:653
Comment 3 Jekyll Wu 2012-07-05 22:57:06 UTC

*** This bug has been marked as a duplicate of bug 287179 ***