Bug 286449 - Crash when copy/paste, from a class tab to an other, 2 linked tables
Summary: Crash when copy/paste, from a class tab to an other, 2 linked tables
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: 2011-11-12 21:41 UTC by elie chalopin
Modified: 2013-11-06 17:31 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 4.8.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description elie chalopin 2011-11-12 21:41:38 UTC
Application: umbrello (2.6.5)
KDE Platform Version: 4.6.5 (4.6.5)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-11-generic-pae i686
Distribution: Ubuntu 11.04

-- Information about the crash:
The two class that I copied was linked by a composition link.
If I copy/paste the two classes from the class tab to the other one, one by one there is no crash.
If I copy/paste a class wit the link it crashes.

The crash can be reproduced every time.

-- Backtrace:
Application: Umbrello - Outil de modélisation UML (umbrello), signal: Segmentation fault
[Current thread is 1 (Thread 0xb4e2a710 (LWP 8151))]

Thread 4 (Thread 0xb4882b70 (LWP 8153)):
#0  0xb5a2636b in __pthread_mutex_lock (mutex=0x9cd15c4) at pthread_mutex_lock.c:61
#1  0xb5b15616 in pthread_mutex_lock (mutex=0x9cd15c4) at forward.c:182
#2  0xb52ba0e1 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb52ba92b in g_main_loop_run () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb49bb304 in ?? () from /usr/lib/i386-linux-gnu/libgio-2.0.so.0
#5  0xb52e32df in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#6  0xb5a23e99 in start_thread (arg=0xb4882b70) at pthread_create.c:304
#7  0xb5b0773e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 3 (Thread 0xaf8c9b70 (LWP 8155)):
#0  0xb7877424 in __kernel_vsyscall ()
#1  0xb5af8f76 in __poll (fds=0x9eb22f8, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0xb52ca84b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb52ba1af in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb52ba524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb6106577 in QEventDispatcherGlib::processEvents (this=0x9f08200, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#6  0xb60d8289 in QEventLoop::processEvents (this=0xaf8c9290, flags=...) at kernel/qeventloop.cpp:149
#7  0xb60d8522 in QEventLoop::exec (this=0xaf8c9290, flags=...) at kernel/qeventloop.cpp:201
#8  0xb5fe22a0 in QThread::exec (this=0x9ef4f20) at thread/qthread.cpp:492
#9  0xb60b9fdb in QInotifyFileSystemWatcherEngine::run (this=0x9ef4f20) at io/qfilesystemwatcher_inotify.cpp:248
#10 0xb5fe4da2 in QThreadPrivate::start (arg=0x9ef4f20) at thread/qthread_unix.cpp:320
#11 0xb5a23e99 in start_thread (arg=0xaf8c9b70) at pthread_create.c:304
#12 0xb5b0773e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0xa6fe4b70 (LWP 8156)):
#0  0xb52b9074 in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#1  0xb52b9e63 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#2  0xb52ba524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb6106577 in QEventDispatcherGlib::processEvents (this=0xa1df0e8, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#4  0xb60d8289 in QEventLoop::processEvents (this=0xa6fe4290, flags=...) at kernel/qeventloop.cpp:149
#5  0xb60d8522 in QEventLoop::exec (this=0xa6fe4290, flags=...) at kernel/qeventloop.cpp:201
#6  0xb5fe22a0 in QThread::exec (this=0xa1d23d0) at thread/qthread.cpp:492
#7  0xb60b9fdb in QInotifyFileSystemWatcherEngine::run (this=0xa1d23d0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0xb5fe4da2 in QThreadPrivate::start (arg=0xa1d23d0) at thread/qthread_unix.cpp:320
#9  0xb5a23e99 in start_thread (arg=0xa6fe4b70) at pthread_create.c:304
#10 0xb5b0773e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb4e2a710 (LWP 8151)):
[KCrash Handler]
#7  0xb5c69565 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=0xa37cfd0, OldID=..., NewID=..., pos=@0xbf895c68) at ../../../umbrello/umbrello/clipboard/idchangelog.h:69
#9  IDChangeLog::findIDChange (this=0xa37cfd0, OldID=..., NewID=..., pos=@0xbf895c68) at ../../../umbrello/umbrello/clipboard/idchangelog.cpp:118
#10 0x080f3eae in IDChangeLog::addIDChange (this=0xa37cfd0, OldID=..., NewID=...) at ../../../umbrello/umbrello/clipboard/idchangelog.cpp:93
#11 0x08392b9e in UMLDoc::assignNewID (this=0x9e0fd10, oldID=...) at ../../../umbrello/umbrello/umldoc.cpp:2580
#12 0x083d774d in UMLView::addWidget (this=0xa5a1460, pWidget=0xa065b18, isPasteOperation=false) at ../../../umbrello/umbrello/umlview.cpp:1612
#13 0x082c6e57 in AssociationWidget::setFloatingText (this=0xa3471a0, tr=Uml::tr_MultiA, text=..., ft=@0xa3471dc) at ../../../umbrello/umbrello/widgets/associationwidget.cpp:445
#14 0x082c7111 in AssociationWidget::setMulti (this=0xa3471a0, strMulti=..., role=Uml::A) at ../../../umbrello/umbrello/widgets/associationwidget.cpp:464
#15 0x082c7a05 in AssociationWidget::syncToModel (this=0xa3471a0) at ../../../umbrello/umbrello/widgets/associationwidget.cpp:1418
#16 0x083de942 in UMLView::createAutoAssociations (this=0xa5a1460, widget=0xa2dfdc8) at ../../../umbrello/umbrello/umlview.cpp:2168
#17 0x083025fc in UMLWidget::activate (this=0xa2dfdc8) at ../../../umbrello/umbrello/widgets/umlwidget.cpp:571
#18 0x083d3b11 in UMLView::activate (this=0xa5a1460) at ../../../umbrello/umbrello/umlview.cpp:1433
#19 0x080f2dc7 in UMLClipboard::pasteClip4 (this=0xbf8963e8, data=0xa572eb8) at ../../../umbrello/umbrello/clipboard/umlclipboard.cpp:588
#20 0x080f343c in UMLClipboard::paste (this=0xbf8963e8, data=0xa572eb8) at ../../../umbrello/umbrello/clipboard/umlclipboard.cpp:178
#21 0x0837c9e9 in UMLApp::slotEditPaste (this=0x9e0e070) at ../../../umbrello/umbrello/uml.cpp:1289
#22 0x0838b8cd in UMLApp::qt_metacall (this=0x9e0e070, _c=QMetaObject::InvokeMetaMethod, _id=14, _a=0xbf896558) at ./uml.moc:228
#23 0xb60df6ba in QMetaObject::metacall (object=0x9e0e070, cl=QMetaObject::InvokeMetaMethod, idx=60, argv=0xbf896558) at kernel/qmetaobject.cpp:237
#24 0xb60ef4ff in QMetaObject::activate (sender=0x9e154d8, m=0xb6c763f8, local_signal_index=1, argv=0xbf896558) at kernel/qobject.cpp:3287
#25 0xb633c8d9 in QAction::triggered (this=0x9e154d8, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#26 0xb633cb38 in QAction::activate (this=0x9e154d8, event=QAction::Trigger) at kernel/qaction.cpp:1257
#27 0xb633cce8 in QAction::event (this=0x9e154d8, e=0xbf896a78) at kernel/qaction.cpp:1183
#28 0xb704b7c3 in KAction::event (this=0x9e154d8, event=0xbf896a78) at ../../kdeui/actions/kaction.cpp:131
#29 0xb6343d24 in QApplicationPrivate::notify_helper (this=0x9c8b3d0, receiver=0x9e154d8, e=0xbf896a78) at kernel/qapplication.cpp:4462
#30 0xb63488ce in QApplication::notify (this=0xbf897930, receiver=0x9e154d8, e=0xbf896a78) at kernel/qapplication.cpp:3862
#31 0xb713f32a in KApplication::notify (this=0xbf897930, receiver=0x9e154d8, event=0xbf896a78) at ../../kdeui/kernel/kapplication.cpp:311
#32 0xb60d90bb in QCoreApplication::notifyInternal (this=0xbf897930, receiver=0x9e154d8, event=0xbf896a78) at kernel/qcoreapplication.cpp:731
#33 0xb637a997 in sendEvent (this=0x9c8b47c, e=0xbf896ef4) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#34 QShortcutMap::dispatchEvent (this=0x9c8b47c, e=0xbf896ef4) at kernel/qshortcutmap.cpp:879
#35 0xb637be57 in QShortcutMap::tryShortcutEvent (this=0x9c8b47c, o=0x9e4cb08, e=0xbf896ef4) at kernel/qshortcutmap.cpp:364
#36 0xb634a6f1 in QApplication::notify (this=0xbf897930, receiver=0x9e4cb08, e=0xbf896ef4) at kernel/qapplication.cpp:3904
#37 0xb713f32a in KApplication::notify (this=0xbf897930, receiver=0x9e4cb08, event=0xbf896ef4) at ../../kdeui/kernel/kapplication.cpp:311
#38 0xb60d90bb in QCoreApplication::notifyInternal (this=0xbf897930, receiver=0x9e4cb08, event=0xbf896ef4) at kernel/qcoreapplication.cpp:731
#39 0xb6341b3e in sendSpontaneousEvent (receiver=0x9e4cb08, event=0xbf896ef4) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#40 qt_sendSpontaneousEvent (receiver=0x9e4cb08, event=0xbf896ef4) at kernel/qapplication.cpp:5456
#41 0xb63f60cd in QKeyMapper::sendKeyEvent (keyWidget=0x9e4cb08, grab=false, type=QEvent::KeyPress, code=86, modifiers=..., text=..., autorepeat=false, count=1, nativeScanCode=55, nativeVirtualKey=118, nativeModifiers=20) at kernel/qkeymapper_x11.cpp:1866
#42 0xb63f651e in QKeyMapperPrivate::translateKeyEvent (this=0x9cc38f0, keyWidget=0x9e4cb08, event=0xbf8975bc, grab=false) at kernel/qkeymapper_x11.cpp:1836
#43 0xb63cdf08 in QApplication::x11ProcessEvent (this=0xbf897930, event=0xbf8975bc) at kernel/qapplication_x11.cpp:3573
#44 0xb63fa5f4 in x11EventSourceDispatch (s=0x9c9a968, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#45 0xb52b9aa8 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#46 0xb52ba270 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#47 0xb52ba524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#48 0xb610653c in QEventDispatcherGlib::processEvents (this=0x9c47aa8, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#49 0xb63fa1e5 in QGuiEventDispatcherGlib::processEvents (this=0x9c47aa8, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#50 0xb60d8289 in QEventLoop::processEvents (this=0xbf897884, flags=...) at kernel/qeventloop.cpp:149
#51 0xb60d8522 in QEventLoop::exec (this=0xbf897884, flags=...) at kernel/qeventloop.cpp:201
#52 0xb60dcecc in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#53 0xb63418e7 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 241915.

Possible duplicates by query: bug 280770, bug 275372, bug 274265, bug 257584, bug 257410.

Reported using DrKonqi
Comment 1 Ralf Habacker 2012-01-16 17:31:42 UTC

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