Bug 274265

Summary: Cut Class and paste as Entity cause crash
Product: [Applications] umbrello Reporter: Ashley Kitson <ashley>
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 Ashley Kitson 2011-05-27 12:57:35 UTC
Application: umbrello (2.6.2)
KDE Platform Version: 4.6.2 (4.6.2)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-8-generic x86_64
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 as an entity and system crashed

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

Thread 3 (Thread 0x7fbcee99c700 (LWP 22122)):
#0  0x00007fbcf7148f03 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fbcf3845104 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fbcf38459f2 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fbcef2fbc44 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007fbcf386c3e4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fbcf6e58d8c in start_thread (arg=0x7fbcee99c700) at pthread_create.c:304
#6  0x00007fbcf715604d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fbcd8d64700 (LWP 22139)):
#0  0x00007fbcf7148f03 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fbcf3845104 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fbcf3845639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fbcf8209446 in QEventDispatcherGlib::processEvents (this=0x7fbce8008900, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007fbcf81dd882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fbcf81ddabc in QEventLoop::exec (this=0x7fbcd8d63dd0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007fbcf80f4924 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#7  0x00007fbcf81bfc2f in QInotifyFileSystemWatcherEngine::run (this=0x1330660) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007fbcf80f7175 in QThreadPrivate::start (arg=0x1330660) at thread/qthread_unix.cpp:320
#9  0x00007fbcf6e58d8c in start_thread (arg=0x7fbcd8d64700) at pthread_create.c:304
#10 0x00007fbcf715604d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fbcfb334780 (LWP 22120)):
[KCrash Handler]
#6  0x00007fbcf793d378 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/x86_64-linux-gnu/libstdc++.so.6
#7  0x00000000004b41a8 in y (this=0x18dd8e0, OldID=..., NewID=..., pos=@0x7fff4c8190e8) at ../../../umbrello/umbrello/clipboard/idchangelog.h:69
#8  IDChangeLog::findIDChange (this=0x18dd8e0, OldID=..., NewID=..., pos=@0x7fff4c8190e8) at ../../../umbrello/umbrello/clipboard/idchangelog.cpp:118
#9  0x00000000004b45d4 in IDChangeLog::addIDChange (this=0x18dd8e0, OldID=..., NewID=...) at ../../../umbrello/umbrello/clipboard/idchangelog.cpp:93
#10 0x000000000076ac41 in UMLDoc::assignNewID (this=0x1301ba0, oldID=...) at ../../../umbrello/umbrello/umldoc.cpp:2580
#11 0x00000000007781a3 in UMLDoc::assignNewIDs (this=0x1301ba0, obj=0x19f9950) at ../../../umbrello/umbrello/umldoc.cpp:2482
#12 0x00000000004a64fc in UMLDragData::decodeClip1 (mimeData=<value optimized out>, objects=...) at ../../../umbrello/umbrello/clipboard/umldragdata.cpp:336
#13 0x00000000004aed2c in UMLClipboard::pasteClip1 (this=<value optimized out>, data=0x1af9280) at ../../../umbrello/umbrello/clipboard/umlclipboard.cpp:404
#14 0x00000000004b3b3b in UMLClipboard::paste (this=0x7fff4c819620, data=0x1af9280) at ../../../umbrello/umbrello/clipboard/umlclipboard.cpp:169
#15 0x000000000075477a in UMLApp::slotEditPaste (this=0x12fdaa0) at ../../../umbrello/umbrello/uml.cpp:1289
#16 0x0000000000784695 in UMLListView::popupMenuSel (this=0x14c4090, action=<value optimized out>) at ../../../umbrello/umbrello/umllistview.cpp:625
#17 0x000000000078c05f in UMLListView::qt_metacall (this=0x14c4090, _c=QMetaObject::InvokeMetaMethod, _id=9, _a=0x7fff4c819c80) at ./umllistview.moc:111
#18 0x00007fbcf81f35f8 in QMetaObject::activate (sender=0x1766880, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff4c819c80) at kernel/qobject.cpp:3287
#19 0x00007fbcf8b08082 in QMenu::triggered (this=<value optimized out>, _t1=0x1ce1b70) at .moc/release-shared/moc_qmenu.cpp:164
#20 0x00007fbcf8b08fcb in QMenuPrivate::_q_actionTriggered (this=0x1ecd9b0) at widgets/qmenu.cpp:1111
#21 0x00007fbcf8b0da52 in QMenu::qt_metacall (this=0x1766880, _c=QMetaObject::InvokeMetaMethod, _id=8, _a=0x7fff4c819e40) at .moc/release-shared/moc_qmenu.cpp:105
#22 0x00007fbcf9bdbfb0 in KMenu::qt_metacall (this=0x1766880, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff4c819e40) at ./kmenu.moc:76
#23 0x00007fbcf81f35f8 in QMetaObject::activate (sender=0x1ce1b70, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff4c819e40) at kernel/qobject.cpp:3287
#24 0x00007fbcf86c6112 in QAction::triggered (this=<value optimized out>, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#25 0x00007fbcf86c62ff in QAction::activate (this=0x1ce1b70, event=<value optimized out>) at kernel/qaction.cpp:1257
#26 0x00007fbcf8b08303 in QMenuPrivate::activateCausedStack (this=0x1ecd9b0, causedStack=..., action=0x1ce1b70, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:993
#27 0x00007fbcf8b0e2ba in QMenuPrivate::activateAction (this=0x1ecd9b0, action=0x1ce1b70, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1085
#28 0x00007fbcf9bdae8d in KMenu::mouseReleaseEvent (this=0x1766880, e=<value optimized out>) at ../../kdeui/widgets/kmenu.cpp:458
#29 0x00007fbcf871dcb8 in QWidget::event (this=0x1766880, event=0x7fff4c81aa70) at kernel/qwidget.cpp:8259
#30 0x00007fbcf8b0f49b in QMenu::event (this=0x1766880, e=0x7fff4c81aa70) at widgets/qmenu.cpp:2415
#31 0x00007fbcf86cc9e4 in QApplicationPrivate::notify_helper (this=0x10ac3b0, receiver=0x1766880, e=0x7fff4c81aa70) at kernel/qapplication.cpp:4462
#32 0x00007fbcf86d1db3 in QApplication::notify (this=<value optimized out>, receiver=0x1766880, e=0x7fff4c81aa70) at kernel/qapplication.cpp:4023
#33 0x00007fbcf9b14866 in KApplication::notify (this=0x7fff4c81b760, receiver=0x1766880, event=0x7fff4c81aa70) at ../../kdeui/kernel/kapplication.cpp:311
#34 0x00007fbcf81de49c in QCoreApplication::notifyInternal (this=0x7fff4c81b760, receiver=0x1766880, event=0x7fff4c81aa70) at kernel/qcoreapplication.cpp:731
#35 0x00007fbcf86cda0d in sendEvent (receiver=0x1766880, event=0x7fff4c81aa70, alienWidget=0x0, nativeWidget=0x1766880, buttonDown=0x7fbcf91ad218, lastMouseReceiver=..., spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#36 QApplicationPrivate::sendMouseEvent (receiver=0x1766880, event=0x7fff4c81aa70, alienWidget=0x0, nativeWidget=0x1766880, buttonDown=0x7fbcf91ad218, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3122
#37 0x00007fbcf874d854 in QETWidget::translateMouseEvent (this=0x1766880, event=<value optimized out>) at kernel/qapplication_x11.cpp:4490
#38 0x00007fbcf874c04a in QApplication::x11ProcessEvent (this=0x7fff4c81b760, event=0x7fff4c81b3c0) at kernel/qapplication_x11.cpp:3678
#39 0x00007fbcf8774162 in x11EventSourceDispatch (s=0x10b0350, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#40 0x00007fbcf3844bcd in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#41 0x00007fbcf38453a8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#42 0x00007fbcf3845639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#43 0x00007fbcf82093ef in QEventDispatcherGlib::processEvents (this=0x103f340, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#44 0x00007fbcf8773dfe in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#45 0x00007fbcf81dd882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#46 0x00007fbcf81ddabc in QEventLoop::exec (this=0x7fff4c81b6c0, flags=...) at kernel/qeventloop.cpp:201
#47 0x00007fbcf81e1ecb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#48 0x000000000072c594 in main (argc=3, argv=0x7fff4c81bbf8) at ../../../umbrello/umbrello/main.cpp:111

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

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

Reported using DrKonqi
Comment 1 Ralf Habacker 2012-01-16 17:32:25 UTC

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