Bug 275372

Summary: Umbrello crashed when cut/paste
Product: [Applications] umbrello Reporter: jmunin <jmunin>
Component: generalAssignee: Umbrello Development Group <umbrello-devel>
Status: RESOLVED DUPLICATE    
Severity: crash CC: ralf.habacker
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 4.8.0
Sentry Crash Report:

Description jmunin 2011-06-11 03:10:00 UTC
Application: umbrello (2.6.4)
KDE Platform Version: 4.6.4 (4.6.4)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-10-generic i686
Distribution: Ubuntu 11.04

-- Information about the crash:
- What I was doing when the application crashed:I created a Class and then tried to cut it and paste it inside to package and system crashed

-- Backtrace:
Application: Umbrello UML Modeller (umbrello), signal: Segmentation fault
[Current thread is 1 (Thread 0xb78d2710 (LWP 2054))]

Thread 2 (Thread 0xb48eab70 (LWP 2055)):
#0  0x002637a4 in __pthread_mutex_unlock_usercnt (mutex=0x8a9d644, decr=1) at pthread_mutex_unlock.c:52
#1  0x019eb656 in pthread_mutex_unlock (mutex=0x8a9d644) at forward.c:184
#2  0x060addd6 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x060ae524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0x00d47577 in QEventDispatcherGlib::processEvents (this=0x8a9d008, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00d19289 in QEventLoop::processEvents (this=0xb48ea290, flags=...) at kernel/qeventloop.cpp:149
#6  0x00d19522 in QEventLoop::exec (this=0xb48ea290, flags=...) at kernel/qeventloop.cpp:201
#7  0x00c232a0 in QThread::exec (this=0x8a9b5d8) at thread/qthread.cpp:492
#8  0x00cfafdb in QInotifyFileSystemWatcherEngine::run (this=0x8a9b5d8) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00c25da2 in QThreadPrivate::start (arg=0x8a9b5d8) at thread/qthread_unix.cpp:320
#10 0x0025fe99 in start_thread (arg=0xb48eab70) at pthread_create.c:304
#11 0x019dd73e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb78d2710 (LWP 2054)):
[KCrash Handler]
#7  0x055be565 in std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) () from /usr/lib/i386-linux-gnu/libstdc++.so.6
#8  0x080f3abf in y (this=0x8cffb18, OldID=..., NewID=..., pos=@0xbf928f58) at ../../../umbrello/umbrello/clipboard/idchangelog.h:69
#9  IDChangeLog::findIDChange (this=0x8cffb18, OldID=..., NewID=..., pos=@0xbf928f58) at ../../../umbrello/umbrello/clipboard/idchangelog.cpp:118
#10 0x080f3eae in IDChangeLog::addIDChange (this=0x8cffb18, OldID=..., NewID=...) at ../../../umbrello/umbrello/clipboard/idchangelog.cpp:93
#11 0x08392b9e in UMLDoc::assignNewID (this=0x88505f0, oldID=...) at ../../../umbrello/umbrello/umldoc.cpp:2580
#12 0x083d774d in UMLView::addWidget (this=0x8f1ddf8, pWidget=0x8b7be28, isPasteOperation=false) at ../../../umbrello/umbrello/umlview.cpp:1612
#13 0x082c72d2 in AssociationWidget::setName (this=0x8b19ba8, strName=...) at ../../../umbrello/umbrello/widgets/associationwidget.cpp:408
#14 0x082c788c in AssociationWidget::syncToModel (this=0x8b19ba8) at ../../../umbrello/umbrello/widgets/associationwidget.cpp:1411
#15 0x082cee73 in AssociationWidget::qt_metacall (this=0x8b19ba8, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbf9293ac) at ./associationwidget.moc:88
#16 0x00d206ba in QMetaObject::metacall (object=0x8b19ba8, cl=QMetaObject::InvokeMetaMethod, idx=9, argv=0xbf9293ac) at kernel/qmetaobject.cpp:237
#17 0x00d304ff in QMetaObject::activate (sender=0x8efe750, m=0x8441cc0, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3287
#18 0x083be109 in UMLObject::modified (this=0x8efe750) at ./umlobject.moc:87
#19 0x082c2c3c in AssociationWidget::setAssocType (this=0x8b19ba8, type=Uml::at_Generalization) at ../../../umbrello/umbrello/widgets/associationwidget.cpp:1016
#20 0x082cab7c in AssociationWidget::loadFromXMI (this=0x8b19ba8, qElement=..., widgets=..., pMessages=0x0) at ../../../umbrello/umbrello/widgets/associationwidget.cpp:4021
#21 0x080eadf7 in UMLDragData::decodeClip4 (mimeData=0x8b102a8, objects=..., widgets=..., associations=..., dType=@0xbf92983c) at ../../../umbrello/umbrello/clipboard/umldragdata.cpp:693
#22 0x080f283f in UMLClipboard::pasteClip4 (this=0xbf9298c8, data=0x8b102a8) at ../../../umbrello/umbrello/clipboard/umlclipboard.cpp:532
#23 0x080f343c in UMLClipboard::paste (this=0xbf9298c8, data=0x8b102a8) at ../../../umbrello/umbrello/clipboard/umlclipboard.cpp:178
#24 0x0837c9e9 in UMLApp::slotEditPaste (this=0x8867020) at ../../../umbrello/umbrello/uml.cpp:1289
#25 0x0838b8cd in UMLApp::qt_metacall (this=0x8867020, _c=QMetaObject::InvokeMetaMethod, _id=14, _a=0xbf929a38) at ./uml.moc:228
#26 0x00d206ba in QMetaObject::metacall (object=0x8867020, cl=QMetaObject::InvokeMetaMethod, idx=60, argv=0xbf929a38) at kernel/qmetaobject.cpp:237
#27 0x00d304ff in QMetaObject::activate (sender=0x88444d8, m=0x2fc23f8, local_signal_index=1, argv=0xbf929a38) at kernel/qobject.cpp:3287
#28 0x0268a8d9 in QAction::triggered (this=0x88444d8, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#29 0x0268ab38 in QAction::activate (this=0x88444d8, event=QAction::Trigger) at kernel/qaction.cpp:1257
#30 0x02b1c8ad in QMenuPrivate::activateCausedStack (this=0x89dcf68, causedStack=..., action=0x88444d8, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:993
#31 0x02b2316b in QMenuPrivate::activateAction (this=0x89dcf68, action=0x88444d8, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1085
#32 0x02b23ffe in QMenu::mouseReleaseEvent (this=0x89dcf48, e=0xbf92a2d4) at widgets/qmenu.cpp:2306
#33 0x01184e24 in KMenu::mouseReleaseEvent (this=0x89dcf48, e=0xbf92a2d4) at ../../kdeui/widgets/kmenu.cpp:458
#34 0x026ea13a in QWidget::event (this=0x89dcf48, event=0xbf92a2d4) at kernel/qwidget.cpp:8259
#35 0x02b244d7 in QMenu::event (this=0x89dcf48, e=0xbf92a2d4) at widgets/qmenu.cpp:2415
#36 0x02691d24 in QApplicationPrivate::notify_helper (this=0x87e1680, receiver=0x89dcf48, e=0xbf92a2d4) at kernel/qapplication.cpp:4462
#37 0x02697201 in QApplication::notify (this=0xbf92ab70, receiver=0x89dcf48, e=0xbf92a2d4) at kernel/qapplication.cpp:4023
#38 0x010a736a in KApplication::notify (this=0xbf92ab70, receiver=0x89dcf48, event=0xbf92a2d4) at ../../kdeui/kernel/kapplication.cpp:311
#39 0x00d1a0bb in QCoreApplication::notifyInternal (this=0xbf92ab70, receiver=0x89dcf48, event=0xbf92a2d4) at kernel/qcoreapplication.cpp:731
#40 0x02692c3b in sendSpontaneousEvent (receiver=0x89dcf48, event=0xbf92a2d4, alienWidget=0x0, nativeWidget=0x89dcf48, buttonDown=0x2fdec60, lastMouseReceiver=..., spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#41 QApplicationPrivate::sendMouseEvent (receiver=0x89dcf48, event=0xbf92a2d4, alienWidget=0x0, nativeWidget=0x89dcf48, buttonDown=0x2fdec60, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3120
#42 0x0271c4c3 in QETWidget::translateMouseEvent (this=0x89dcf48, event=0xbf92a7fc) at kernel/qapplication_x11.cpp:4490
#43 0x0271a746 in QApplication::x11ProcessEvent (this=0xbf92ab70, event=0xbf92a7fc) at kernel/qapplication_x11.cpp:3678
#44 0x02745b84 in x11EventSourceDispatch (s=0x87e8040, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#45 0x060adaa8 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#46 0x060ae270 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#47 0x060ae524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#48 0x00d4753c in QEventDispatcherGlib::processEvents (this=0x8795a90, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#49 0x02745775 in QGuiEventDispatcherGlib::processEvents (this=0x8795a90, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#50 0x00d19289 in QEventLoop::processEvents (this=0xbf92aac4, flags=...) at kernel/qeventloop.cpp:149
#51 0x00d19522 in QEventLoop::exec (this=0xbf92aac4, flags=...) at kernel/qeventloop.cpp:201
#52 0x00d1decc in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#53 0x0268f8e7 in QApplication::exec () at kernel/qapplication.cpp:3736
#54 0x08355a27 in main (argc=) at ../../../umbrello/umbrello/main.cpp:111

This bug may be a duplicate of or related to bug 274265.

Possible duplicates by query: bug 274265, bug 257584, bug 257410, bug 245207, bug 241915.

Reported using DrKonqi
Comment 1 Ralf Habacker 2012-01-16 17:33:07 UTC

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