Bug 257410 - Copy - paste multiple class operations makes umbrello crash
Summary: Copy - paste multiple class operations makes umbrello crash
Status: RESOLVED DUPLICATE of bug 241915
Alias: None
Product: umbrello
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Umbrello Development Group
Depends on:
Reported: 2010-11-20 14:48 UTC by Gyula Szentirmay
Modified: 2013-11-06 17:32 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 4.8.0


Note You need to log in before you can comment on or make changes to this bug.
Description Gyula Szentirmay 2010-11-20 14:48:07 UTC
Application: umbrello (2.5.1)
KDE Platform Version: 4.5.1 (KDE 4.5.1)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-22-generic i686
Distribution: Ubuntu 10.10

-- Information about the crash:
1. I created a class and added some operations to it.
2. I made an interface for the class.
3. I tried to copy - paste several operations from the class into its interface. It crashed the program

When I copy - paste class operations one by one it works  fine.

The crash can be reproduced every time.

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

Thread 2 (Thread 0xb75aab70 (LWP 5891)):
#0  0x00f0a416 in __kernel_vsyscall ()
#1  0x00c44df6 in __poll (fds=0xcdcff4, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0x0211ca1b in g_poll () from /lib/libglib-2.0.so.0
#3  0x0210f43c in ?? () from /lib/libglib-2.0.so.0
#4  0x0210fba7 in g_main_loop_run () from /lib/libglib-2.0.so.0
#5  0x0290e6b4 in ?? () from /usr/lib/libgio-2.0.so.0
#6  0x0213648f in ?? () from /lib/libglib-2.0.so.0
#7  0x00e2fcc9 in start_thread (arg=0xb75aab70) at pthread_create.c:304
#8  0x00c536be in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb77f0930 (LWP 5890)):
[KCrash Handler]
#7  0x00935495 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/libstdc++.so.6
#8  0x081075ea in y (this=0x8bcb118, OldID=..., NewID=..., pos=@0xbfd83448) at ../../../umbrello/umbrello/clipboard/idchangelog.h:69
#9  IDChangeLog::findIDChange (this=0x8bcb118, OldID=..., NewID=..., pos=@0xbfd83448) at ../../../umbrello/umbrello/clipboard/idchangelog.cpp:118
#10 0x08107b3e in IDChangeLog::addIDChange (this=0x8bcb118, OldID=..., NewID=...) at ../../../umbrello/umbrello/clipboard/idchangelog.cpp:93
#11 0x085c309e in UMLDoc::assignNewID (this=0x89878e0, oldID=...) at ../../../umbrello/umbrello/umldoc.cpp:2563
#12 0x08105d8d in UMLClipboard::pasteClip5 (this=0xbfd83618, data=0x8bc2050) at ../../../umbrello/umbrello/clipboard/umlclipboard.cpp:652
#13 0x08106eec in UMLClipboard::paste (this=0xbfd83618, data=0x8bc2050) at ../../../umbrello/umbrello/clipboard/umlclipboard.cpp:181
#14 0x085ba569 in UMLApp::slotEditPaste (this=0x8984278) at ../../../umbrello/umbrello/uml.cpp:1287
#15 0x085bd2cd in UMLApp::qt_metacall (this=0x8984278, _c=QMetaObject::InvokeMetaMethod, _id=8, _a=0xbfd837a8) at ./uml.moc:243
#16 0x057f88ca in QMetaObject::metacall (object=0x8984278, cl=146583832, idx=61, argv=0xbfd837a8) at kernel/qmetaobject.cpp:237
#17 0x0580b6ad in QMetaObject::activate (sender=0x8989668, m=0x6a83370, local_signal_index=1, argv=0x8) at kernel/qobject.cpp:3280
#18 0x060fcf99 in QAction::triggered (this=0x8989668, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#19 0x060fe8dc in QAction::activate (this=0x8989668, event=QAction::Trigger) at kernel/qaction.cpp:1256
#20 0x06100b68 in QAction::event (this=0x0, e=0x8) at kernel/qaction.cpp:1182
#21 0x0056dfd3 in KAction::event (this=0x8989668, event=0xbfd83cc8) at ../../kdeui/actions/kaction.cpp:131
#22 0x06104fdc in QApplicationPrivate::notify_helper (this=0x8832b98, receiver=0x8989668, e=0xbfd83cc8) at kernel/qapplication.cpp:4396
#23 0x0610b04e in QApplication::notify (this=0xbfd84ba0, receiver=0x8989668, e=0xbfd83cc8) at kernel/qapplication.cpp:3798
#24 0x0067068a in KApplication::notify (this=0xbfd84ba0, receiver=0x8989668, event=0xbfd83cc8) at ../../kdeui/kernel/kapplication.cpp:310
#25 0x057f2b3b in QCoreApplication::notifyInternal (this=0xbfd84ba0, receiver=0x8989668, event=0xbfd83cc8) at kernel/qcoreapplication.cpp:732
#26 0x0614676d in sendEvent (this=0x8832c44, e=0xbfd84144) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#27 QShortcutMap::dispatchEvent (this=0x8832c44, e=0xbfd84144) at kernel/qshortcutmap.cpp:879
#28 0x0614859e in QShortcutMap::tryShortcutEvent (this=0x8832c44, o=0x8a3ec68, e=0xbfd84144) at kernel/qshortcutmap.cpp:364
#29 0x0610cc52 in QApplication::notify (this=0xbfd84ba0, receiver=0x8a3ec68, e=0xbfd84144) at kernel/qapplication.cpp:3840
#30 0x0067068a in KApplication::notify (this=0xbfd84ba0, receiver=0x8a3ec68, event=0xbfd84144) at ../../kdeui/kernel/kapplication.cpp:310
#31 0x057f2b3b in QCoreApplication::notifyInternal (this=0xbfd84ba0, receiver=0x8a3ec68, event=0xbfd84144) at kernel/qcoreapplication.cpp:732
#32 0x06104b9e in sendSpontaneousEvent (receiver=0x8a3ec68, event=0x0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#33 qt_sendSpontaneousEvent (receiver=0x8a3ec68, event=0x0) at kernel/qapplication.cpp:5388
#34 0x061c169d in QKeyMapper::sendKeyEvent (keyWidget=0x8a3ec68, grab=false, type=QEvent::KeyPress, code=86, modifiers=..., text=..., autorepeat=<value optimized out>, count=<value optimized out>, nativeScanCode=55, nativeVirtualKey=118, nativeModifiers=20) at kernel/qkeymapper_x11.cpp:1867
#35 0x061c3b49 in QKeyMapperPrivate::translateKeyEvent (this=0x8859bb8, keyWidget=0x8a3ec68, event=0xbfd8480c, grab=8) at kernel/qkeymapper_x11.cpp:1837
#36 0x06197387 in QApplication::x11ProcessEvent (this=0xbfd84ba0, event=0xbfd8480c) at kernel/qapplication_x11.cpp:3429
#37 0x061c736a in x11EventSourceDispatch (s=0x8835da8, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#38 0x0210b855 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#39 0x0210f668 in ?? () from /lib/libglib-2.0.so.0
#40 0x0210f848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#41 0x05821565 in QEventDispatcherGlib::processEvents (this=0x88153c8, flags=...) at kernel/qeventdispatcher_glib.cpp:415
#42 0x061c6be5 in QGuiEventDispatcherGlib::processEvents (this=0x88153c8, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#43 0x057f1609 in QEventLoop::processEvents (this=0xbfd84b04, flags=) at kernel/qeventloop.cpp:149
#44 0x057f1a8a in QEventLoop::exec (this=0xbfd84b04, flags=...) at kernel/qeventloop.cpp:201
#45 0x057f600f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#46 0x06103e07 in QApplication::exec () at kernel/qapplication.cpp:3672
#47 0x0858b785 in main (argc=3, argv=0xbfd84d54) at ../../../umbrello/umbrello/main.cpp:111

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

Possible duplicates by query: bug 245207, bug 241915.

Reported using DrKonqi
Comment 1 Dario Andres 2010-11-20 16:32:17 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:02 UTC
set version-fixed-in from 4.8.0 changelog