Bug 257584 - Umbrello crashes during cut and paste class diagram
Summary: Umbrello crashes during cut and paste class diagram
Status: RESOLVED DUPLICATE of bug 241915
Alias: None
Product: umbrello
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Umbrello Development Group
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-22 09:40 UTC by Yaroslav Gorbunov
Modified: 2013-11-06 17:32 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 4.8.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yaroslav Gorbunov 2010-11-22 09:40:29 UTC
Application: umbrello (2.4.3)
KDE Platform Version: 4.4.3 (KDE 4.4.3)
Qt Version: 4.6.2
Operating System: Linux 2.6.30.10-105.2.23.fc11.i686.PAE i686
Distribution: "Fedora release 11 (Leonidas)"

-- Information about the crash:
I select part of class diagram, cut it with ctrl+x, click in other place in diagram and paste with ctrl+v. Umbrello crashes immediately after ctrl+v. Reprodused every time.

The crash can be reproduced every time.

 -- Backtrace:
Application: Umbrello UML Modeller (umbrello), signal: Segmentation fault
[KCrash Handler]
#6  std::string::_M_rep (this=<value optimized out>) at /usr/src/debug/gcc-4.4.1-20090729/obj-i586-redhat-linux/i586-redhat-linux/libstdc++-v3/include/bits/basic_string.h:281
#7  std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string (this=<value optimized out>)
    at /usr/src/debug/gcc-4.4.1-20090729/obj-i586-redhat-linux/i586-redhat-linux/libstdc++-v3/include/bits/basic_string.tcc:174
#8  0x081034aa in IDChangeLog::Point::y (this=<value optimized out>) at /usr/src/debug/kdesdk-4.4.3/umbrello/umbrello/clipboard/idchangelog.h:69
#9  IDChangeLog::findIDChange (this=<value optimized out>) at /usr/src/debug/kdesdk-4.4.3/umbrello/umbrello/clipboard/idchangelog.cpp:118
#10 0x081039fe in IDChangeLog::addIDChange (this=0xa39fe88, OldID="Sk1ZlhGnxV1v", NewID="YKSKbD3msofu") at /usr/src/debug/kdesdk-4.4.3/umbrello/umbrello/clipboard/idchangelog.cpp:93
#11 0x086dd94e in UMLDoc::assignNewID (this=0x9c60fc0, oldID="Sk1ZlhGnxV1v") at /usr/src/debug/kdesdk-4.4.3/umbrello/umbrello/umldoc.cpp:2563
#12 0x087222b2 in UMLView::addWidget (this=0xa380770, pWidget=0xa2f8e28, isPasteOperation=false) at /usr/src/debug/kdesdk-4.4.3/umbrello/umbrello/umlview.cpp:1604
#13 0x0861fed1 in AssociationWidget::setFloatingText (this=0xa3820a0, tr=Uml::tr_RoleBName, text=@0xbf96682c, ft=@0xa382114)
    at /usr/src/debug/kdesdk-4.4.3/umbrello/umbrello/widgets/associationwidget.cpp:445
#14 0x0861ff6b in AssociationWidget::setRoleName (this=0xa3820a0, strRole=@0xbf96682c, role=Uml::B) at /usr/src/debug/kdesdk-4.4.3/umbrello/umbrello/widgets/associationwidget.cpp:485
#15 0x08726173 in UMLView::createAutoAttributeAssociation (this=0xa380770, type=0xa33e1a8, attr=0xa3355e8, widget=0xa372f40) at /usr/src/debug/kdesdk-4.4.3/umbrello/umbrello/umlview.cpp:2315
#16 0x08726393 in UMLView::createAutoAttributeAssociations (this=0xa380770, widget=0xa372f40) at /usr/src/debug/kdesdk-4.4.3/umbrello/umbrello/umlview.cpp:2273
#17 0x08726700 in UMLView::createAutoAssociations (this=0xa380770, widget=0xa372f40) at /usr/src/debug/kdesdk-4.4.3/umbrello/umbrello/umlview.cpp:2167
#18 0x08659876 in UMLWidget::activate (this=0xa372f40) at /usr/src/debug/kdesdk-4.4.3/umbrello/umbrello/widgets/umlwidget.cpp:569
#19 0x08717149 in UMLView::activate (this=0xa380770) at /usr/src/debug/kdesdk-4.4.3/umbrello/umbrello/umlview.cpp:1425
#20 0x0810049f in UMLClipboard::pasteClip4 (this=0xbf966c78, data=0xa0765a0) at /usr/src/debug/kdesdk-4.4.3/umbrello/umbrello/clipboard/umlclipboard.cpp:588
#21 0x08102dbc in UMLClipboard::paste (this=0xbf966c78, data=0xa0765a0) at /usr/src/debug/kdesdk-4.4.3/umbrello/umbrello/clipboard/umlclipboard.cpp:178
#22 0x086d4e09 in UMLApp::slotEditPaste (this=0x9c663b0) at /usr/src/debug/kdesdk-4.4.3/umbrello/umbrello/uml.cpp:1287
#23 0x086d7a4d in UMLApp::qt_metacall (this=0x9c663b0, _c=QMetaObject::InvokeMetaMethod, _id=8, _a=0xbf966e08) at /usr/src/debug/kdesdk-4.4.3/i586-redhat-linux-gnu/umbrello/umbrello/uml.moc:243
#24 0x023b25ea in QMetaObject::metacall (object=0x9c663b0, cl=171572872, idx=61, argv=0xbf966e08) at kernel/qmetaobject.cpp:237
#25 0x023c0da5 in QMetaObject::activate (sender=0x9c68bc8, m=0x3b0b618, local_signal_index=1, argv=0xbf966e08) at kernel/qobject.cpp:3293
#26 0x031df329 in QAction::triggered (this=0x9c68bc8, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#27 0x031e157c in QAction::activate (this=0x9c68bc8, event=QAction::Trigger) at kernel/qaction.cpp:1255
#28 0x031e2e98 in QAction::event (this=0x0, e=0x8) at kernel/qaction.cpp:1181
#29 0x029c5c03 in KAction::event (this=0x9c68bc8, event=0xbf967328) at /usr/src/debug/kdelibs-4.4.3/kdeui/actions/kaction.cpp:129
#30 0x031e5c4c in QApplicationPrivate::notify_helper (this=0x9a11eb8, receiver=0x9c68bc8, e=0xbf967328) at kernel/qapplication.cpp:4300
#31 0x031ec8ee in QApplication::notify (this=0xbf968200, receiver=0x9c68bc8, e=0xbf967328) at kernel/qapplication.cpp:3704
#32 0x02ab14aa in KApplication::notify (this=0xbf968200, receiver=0x9c68bc8, event=0xbf967328) at /usr/src/debug/kdelibs-4.4.3/kdeui/kernel/kapplication.cpp:302
#33 0x023ad23b in QCoreApplication::notifyInternal (this=0xbf968200, receiver=0x9c68bc8, event=0xbf967328) at kernel/qcoreapplication.cpp:704
#34 0x03227a8d in QCoreApplication::sendEvent (event=<value optimized out>, receiver=<value optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:215
#35 QShortcutMap::dispatchEvent (event=<value optimized out>, receiver=<value optimized out>) at kernel/qshortcutmap.cpp:879
#36 0x032298b6 in QShortcutMap::tryShortcutEvent (this=0x9a11f64, o=0x9dd6fb0, e=0xbf9677a4) at kernel/qshortcutmap.cpp:364
#37 0x031ee68d in QApplication::notify (this=0xbf968200, receiver=0x9dd6fb0, e=0xbf9677a4) at kernel/qapplication.cpp:3746
#38 0x02ab14aa in KApplication::notify (this=0xbf968200, receiver=0x9dd6fb0, event=0xbf9677a4) at /usr/src/debug/kdelibs-4.4.3/kdeui/kernel/kapplication.cpp:302
#39 0x023ad23b in QCoreApplication::notifyInternal (this=0xbf968200, receiver=0x9dd6fb0, event=0xbf9677a4) at kernel/qcoreapplication.cpp:704
#40 0x031e6b5e in QCoreApplication::sendSpontaneousEvent (event=<value optimized out>, receiver=<value optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:218
#41 qt_sendSpontaneousEvent (event=<value optimized out>, receiver=<value optimized out>) at kernel/qapplication.cpp:5279
#42 0x0329e790 in QKeyMapper::sendKeyEvent (keyWidget=0x9dd6fb0, grab=false, type=QEvent::KeyPress, code=86, modifiers={i = 67108864}, text=@0xbf967928, autorepeat=<value optimized out>, 
    count=<value optimized out>, nativeScanCode=55, nativeVirtualKey=118, nativeModifiers=4) at kernel/qkeymapper_x11.cpp:1861
#43 0x032a0cb5 in QKeyMapperPrivate::translateKeyEvent (this=0x9a34c90, keyWidget=0x9dd6fb0, event=0xbf967e6c, grab=8) at kernel/qkeymapper_x11.cpp:1831
#44 0x03275b2f in QApplication::x11ProcessEvent (this=0xbf968200, event=0xbf967e6c) at kernel/qapplication_x11.cpp:3399
#45 0x032a3f8a in x11EventSourceDispatch (s=0x9a150a8, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#46 0x00627308 in g_main_dispatch (context=<value optimized out>) at gmain.c:1824
#47 IA__g_main_context_dispatch (context=<value optimized out>) at gmain.c:2377
#48 0x0062a9e0 in g_main_context_iterate (context=0x9a14290, block=<value optimized out>, dispatch=1, self=0x9a12100) at gmain.c:2455
#49 0x0062ab13 in IA__g_main_context_iteration (context=0x9a14290, may_block=1) at gmain.c:2518
#50 0x023d8f25 in QEventDispatcherGlib::processEvents (this=0x99f4970, flags={i = 36}) at kernel/qeventdispatcher_glib.cpp:412
#51 0x032a3ab5 in QGuiEventDispatcherGlib::processEvents (this=0x99f4970, flags={i = 36}) at kernel/qguieventdispatcher_glib.cpp:204
#52 0x023ab849 in QEventLoop::processEvents (this=0xbf968164, flags={i = 36}) at kernel/qeventloop.cpp:149
#53 0x023abc9a in QEventLoop::exec (this=0xbf968164, flags={i = 0}) at kernel/qeventloop.cpp:201
#54 0x023ae41f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#55 0x031e5cf7 in QApplication::exec () at kernel/qapplication.cpp:3579
#56 0x086a7ab5 in main (argc=3, argv=0xbf9683b4) at /usr/src/debug/kdesdk-4.4.3/umbrello/umbrello/main.cpp:111

Reported using DrKonqi
Comment 1 Dario Andres 2010-11-22 12:55:08 UTC
[Comment from a bug triager]
This issue is being tracked at bug 241915. Merging. Thanks

*** This bug has been marked as a duplicate of bug 241915 ***
Comment 2 Ralf Habacker 2013-11-06 17:32:43 UTC
set version-fixed-in from 4.8.0 changelog