Bug 270639 - Application crashed when copy classes
Summary: Application crashed when copy classes
Status: RESOLVED FIXED
Alias: None
Product: umbrello
Classification: Applications
Component: general (show other bugs)
Version: 2.6.2
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Umbrello Development Group
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-11 04:11 UTC by Trung Doan Bao
Modified: 2014-01-04 11:50 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.13.0


Attachments
New crash information added by DrKonqi (6.60 KB, text/plain)
2011-07-24 18:35 UTC, Kevin Whitaker
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Trung Doan Bao 2011-04-11 04:11:17 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-28-generic i686
Distribution: Ubuntu 10.10

-- Information about the crash:
- What I was doing when the application crashed:
I create two class diagram and copy some classes from diagram1 to diagram2 and it crashed.

The crash can be reproduced every time.

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

Thread 2 (Thread 0xb7476b70 (LWP 6040)):
#0  0x002c2416 in __kernel_vsyscall ()
#1  0x012f2df6 in __poll (fds=0x1389ff4, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0x08adea1b in g_poll () from /lib/libglib-2.0.so.0
#3  0x08ad143c in ?? () from /lib/libglib-2.0.so.0
#4  0x08ad1ba7 in g_main_loop_run () from /lib/libglib-2.0.so.0
#5  0x016b19c4 in ?? () from /usr/lib/libgio-2.0.so.0
#6  0x08af848f in ?? () from /lib/libglib-2.0.so.0
#7  0x00280cc9 in start_thread (arg=0xb7476b70) at pthread_create.c:304
#8  0x0130169e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb775a930 (LWP 6039)):
[KCrash Handler]
#7  0x00c0e495 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  0x081078bc in y (this=0xa0017c8, OldID=...) at ../../../umbrello/umbrello/clipboard/idchangelog.h:69
#9  IDChangeLog::findNewID (this=0xa0017c8, OldID=...) at ../../../umbrello/umbrello/clipboard/idchangelog.cpp:67
#10 0x0860b424 in UMLView::addAssociation (this=0xa031b10, pAssoc=0x9a40418, isPasteOperation=true) at ../../../umbrello/umbrello/umlview.cpp:1755
#11 0x08104501 in UMLClipboard::pasteClip4 (this=0xbfc5d908, data=0x999f4b0) at ../../../umbrello/umbrello/clipboard/umlclipboard.cpp:581
#12 0x08106edc in UMLClipboard::paste (this=0xbfc5d908, data=0x999f4b0) at ../../../umbrello/umbrello/clipboard/umlclipboard.cpp:178
#13 0x085ba569 in UMLApp::slotEditPaste (this=0x9730e50) at ../../../umbrello/umbrello/uml.cpp:1287
#14 0x085bd2cd in UMLApp::qt_metacall (this=0x9730e50, _c=QMetaObject::InvokeMetaMethod, _id=8, _a=0xbfc5da98) at ./uml.moc:243
#15 0x0642d8ca in QMetaObject::metacall (object=0x9730e50, cl=QMetaObject::QueryPropertyScriptable, idx=61, argv=0xbfc5da98) at kernel/qmetaobject.cpp:237
#16 0x064406ad in QMetaObject::activate (sender=0x9772740, m=0x2441370, local_signal_index=1, argv=0x8) at kernel/qobject.cpp:3280
#17 0x01abaf99 in QAction::triggered (this=0x9772740, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#18 0x01abc8dc in QAction::activate (this=0x9772740, event=QAction::Trigger) at kernel/qaction.cpp:1256
#19 0x01abeb68 in QAction::event (this=0x8, e=0x8) at kernel/qaction.cpp:1182
#20 0x00712fd3 in KAction::event (this=0x9772740, event=0xbfc5dfb8) at ../../kdeui/actions/kaction.cpp:131
#21 0x01ac2fdc in QApplicationPrivate::notify_helper (this=0x95eab88, receiver=0x9772740, e=0xbfc5dfb8) at kernel/qapplication.cpp:4396
#22 0x01ac904e in QApplication::notify (this=0xbfc5ee90, receiver=0x9772740, e=0xbfc5dfb8) at kernel/qapplication.cpp:3798
#23 0x0081568a in KApplication::notify (this=0xbfc5ee90, receiver=0x9772740, event=0xbfc5dfb8) at ../../kdeui/kernel/kapplication.cpp:310
#24 0x06427b3b in QCoreApplication::notifyInternal (this=0xbfc5ee90, receiver=0x9772740, event=0xbfc5dfb8) at kernel/qcoreapplication.cpp:732
#25 0x01b0476d in sendEvent (this=0x95eac34, e=0xbfc5e434) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#26 QShortcutMap::dispatchEvent (this=0x95eac34, e=0xbfc5e434) at kernel/qshortcutmap.cpp:879
#27 0x01b0659e in QShortcutMap::tryShortcutEvent (this=0x95eac34, o=0x9790c08, e=0xbfc5e434) at kernel/qshortcutmap.cpp:364
#28 0x01acac52 in QApplication::notify (this=0xbfc5ee90, receiver=0x9790c08, e=0xbfc5e434) at kernel/qapplication.cpp:3840
#29 0x0081568a in KApplication::notify (this=0xbfc5ee90, receiver=0x9790c08, event=0xbfc5e434) at ../../kdeui/kernel/kapplication.cpp:310
#30 0x06427b3b in QCoreApplication::notifyInternal (this=0xbfc5ee90, receiver=0x9790c08, event=0xbfc5e434) at kernel/qcoreapplication.cpp:732
#31 0x01ac2b9e in sendSpontaneousEvent (receiver=0x9790c08, event=0x8) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#32 qt_sendSpontaneousEvent (receiver=0x9790c08, event=0x8) at kernel/qapplication.cpp:5388
#33 0x01b7f69d in QKeyMapper::sendKeyEvent (keyWidget=0x9790c08, 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
#34 0x01b81b49 in QKeyMapperPrivate::translateKeyEvent (this=0x9611a10, keyWidget=0x9790c08, event=0xbfc5eafc, grab=8) at kernel/qkeymapper_x11.cpp:1837
#35 0x01b55387 in QApplication::x11ProcessEvent (this=0xbfc5ee90, event=0xbfc5eafc) at kernel/qapplication_x11.cpp:3429
#36 0x01b8536a in x11EventSourceDispatch (s=0x95edda8, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#37 0x08acd855 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#38 0x08ad1668 in ?? () from /lib/libglib-2.0.so.0
#39 0x08ad1848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#40 0x06456565 in QEventDispatcherGlib::processEvents (this=0x95cd3c8, flags=...) at kernel/qeventdispatcher_glib.cpp:415
#41 0x01b84be5 in QGuiEventDispatcherGlib::processEvents (this=0x95cd3c8, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#42 0x06426609 in QEventLoop::processEvents (this=0xbfc5edf4, flags=) at kernel/qeventloop.cpp:149
#43 0x06426a8a in QEventLoop::exec (this=0xbfc5edf4, flags=...) at kernel/qeventloop.cpp:201
#44 0x0642b00f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#45 0x01ac1e07 in QApplication::exec () at kernel/qapplication.cpp:3672
#46 0x0858b785 in main (argc=3, argv=0xbfc5f044) at ../../../umbrello/umbrello/main.cpp:111

Reported using DrKonqi
Comment 1 Kevin Whitaker 2011-07-24 18:35:35 UTC
Created attachment 62152 [details]
New crash information added by DrKonqi

umbrello (2.6.2) on KDE Platform 4.6.2 (4.6.2) using Qt 4.7.2

Was trying to copy intofmation between class diagrams when it crashed. It seems it was only when multiple items were selected as individual classes copied fine.

-- Backtrace (Reduced):
#7  0x00000000004b3f77 in y (this=0x24eb890, OldID=...) at ../../../umbrello/umbrello/clipboard/idchangelog.h:69
#8  IDChangeLog::findNewID (this=0x24eb890, OldID=...) at ../../../umbrello/umbrello/clipboard/idchangelog.cpp:67
#9  0x00000000007b1c66 in UMLView::addAssociation (this=0x2478790, pAssoc=0x26f5d60, isPasteOperation=true) at ../../../umbrello/umbrello/umlview.cpp:1763
#10 0x00000000004b344f in UMLClipboard::pasteClip4 (this=0x7fff4ae3dca0, data=<value optimized out>) at ../../../umbrello/umbrello/clipboard/umlclipboard.cpp:581
#11 0x00000000004b3b6b in UMLClipboard::paste (this=0x7fff4ae3dca0, data=0x1e54510) at ../../../umbrello/umbrello/clipboard/umlclipboard.cpp:178