Bug 322947 - Crash when copying and pasting class in Tree View
Summary: Crash when copying and pasting class in Tree View
Status: RESOLVED UNMAINTAINED
Alias: None
Product: umbrello
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Kubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Umbrello Development Group
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-29 13:05 UTC by Peter Hoppe
Modified: 2014-05-26 20:08 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Hoppe 2013-07-29 13:05:12 UTC
Application: umbrello (2.8.5)
KDE Platform Version: 4.8.5 (4.8.5)
Qt Version: 4.8.1
Operating System: Linux 3.2.0-49-generic-pae i686
Distribution: Ubuntu 12.04.2 LTS

Version info (Help/About):
Version 2.8.5
Using KDE Development Platform 4.8.5 (4.8.5)


System info:

uname -r
3.2.0-49-generic-pae

cat /etc/issue
Ubuntu 12.04.2 LTS \n \l

cat /proc/cpuinfo
processor       : 0                                                                                      
vendor_id       : GenuineIntel                                                                                      
cpu family      : 6                                                                                                 
model           : 13                                                                                                
model name      : Intel(R) Pentium(R) M processor 1.73GHz                                                           
stepping        : 8                                                                                                  
microcode       : 0x20                                                                                               
cpu MHz         : 800.000                                                                                            
cache size      : 2048 KB                                                                                            
fdiv_bug        : no                                                                                                 
hlt_bug         : no                                                                                                 
f00f_bug        : no                                                                                                 
coma_bug        : no                                                                                                  
fpu             : yes                                                                                                 
fpu_exception   : yes                                                                                                 
cpuid level     : 2                                                                                                   
wp              : yes                                                                                                  
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov clflush dts acpi mmx fxsr sse sse2 ss tm pbe nx up bts est tm2
bogomips        : 1596.37
clflush size    : 64
cache_alignment : 64
address sizes   : 32 bits physical, 32 bits virtual
power management:

peter@peter-VGN-BX195VP:~$ cat /proc/meminfo
MemTotal:        2051876 kB
MemFree:          138796 kB


Behaviour similar to bug 241915

Thank you for your efforts!

-- Backtrace:
Application: Umbrello UML Modeller (umbrello), signal: Segmentation fault
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0xb4a5c740 (LWP 5387))]

Thread 2 (Thread 0xb2271b40 (LWP 5388)):
#0  0xb56fcc64 in __pthread_mutex_unlock_usercnt () from /lib/i386-linux-gnu/libpthread.so.0
#1  0xb580a944 in pthread_mutex_unlock () from /lib/i386-linux-gnu/libc.so.6
#2  0xb4f36410 in g_mutex_unlock () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb4ef6f9f in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb4ef7201 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb5b968e7 in QEventDispatcherGlib::processEvents (this=0xb1900468, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0xb5b6250d in QEventLoop::processEvents (this=0xb2271240, flags=...) at kernel/qeventloop.cpp:149
#7  0xb5b627a9 in QEventLoop::exec (this=0xb2271240, flags=...) at kernel/qeventloop.cpp:204
#8  0xb5a4b94c in QThread::exec (this=0x8d111f0) at thread/qthread.cpp:501
#9  0xb5b3fb5d in QInotifyFileSystemWatcherEngine::run (this=0x8d111f0) at io/qfilesystemwatcher_inotify.cpp:248
#10 0xb5a4ede0 in QThreadPrivate::start (arg=0x8d111f0) at thread/qthread_unix.cpp:298
#11 0xb56f9d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#12 0xb57fcdde in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 1 (Thread 0xb4a5c740 (LWP 5387)):
[KCrash Handler]
#7  UMLDragData::setUMLDataClip1 (this=0x0, objects=...) at ../../../umbrello/umbrello/clipboard/umldragdata.cpp:123
#8  0x080ffe36 in UMLDragData::UMLDragData (this=0x91be898, objects=..., dragSource=0x0) at ../../../umbrello/umbrello/clipboard/umldragdata.cpp:41
#9  0x0810dacc in UMLClipboard::copy (this=0xbfceaaf4, fromView=false) at ../../../umbrello/umbrello/clipboard/umlclipboard.cpp:131
#10 0x0838bee1 in UMLApp::editCutCopy (this=0x8cdbe30, bFromView=false) at ../../../umbrello/umbrello/uml.cpp:1889
#11 0x0838c00b in UMLApp::slotEditCopy (this=0x8cdbe30) at ../../../umbrello/umbrello/uml.cpp:1430
#12 0x083bf629 in UMLListView::popupMenuSel (this=0x8f750b0, action=0x0) at ../../../umbrello/umbrello/umllistview.cpp:705
#13 0x083c1991 in UMLListView::qt_static_metacall (_o=0x8f750b0, _c=QMetaObject::InvokeMetaMethod, _id=9, _a=0xbfceae28) at ./umllistview.moc:92
#14 0xb5b7a6b1 in QMetaObject::activate (sender=0x904fe50, m=0xb6aa3b74, local_signal_index=2, argv=0xbfceae28) at kernel/qobject.cpp:3547
#15 0xb65df195 in QMenu::triggered (this=0x904fe50, _t1=0x910f4b0) at .moc/release-shared/moc_qmenu.cpp:178
#16 0xb65e074d in QMenuPrivate::_q_actionTriggered (this=0x908fee8) at widgets/qmenu.cpp:1146
#17 0xb5b7a6b1 in QMetaObject::activate (sender=0x910f4b0, m=0xb6a9c3f8, local_signal_index=1, argv=0xbfceaf78) at kernel/qobject.cpp:3547
#18 0xb611d9bd in QAction::triggered (this=0x910f4b0, _t1=false) at .moc/release-shared/moc_qaction.cpp:277
#19 0xb611dc5b in QAction::activate (this=0x910f4b0, event=QAction::Trigger) at kernel/qaction.cpp:1257
#20 0xb65df453 in QMenuPrivate::activateCausedStack (this=0x908fee8, causedStack=..., action=0x910f4b0, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1028
#21 0xb65e632f in QMenuPrivate::activateAction (this=0x908fee8, action=0x910f4b0, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1120
#22 0xb65e9015 in QMenu::mouseReleaseEvent (this=0x904fe50, e=0xbfceb7b4) at widgets/qmenu.cpp:2360
#23 0xb6d8925c in KMenu::mouseReleaseEvent (this=0x904fe50, e=0xbfceb7b4) at ../../kdeui/widgets/kmenu.cpp:464
#24 0xb617f1ac in QWidget::event (this=0x904fe50, event=0xbfceb7b4) at kernel/qwidget.cpp:8362
#25 0xb65e7a9c in QMenu::event (this=0x904fe50, e=0xbfceb7b4) at widgets/qmenu.cpp:2469
#26 0xb6124ed4 in notify_helper (e=0xbfceb7b4, receiver=0x904fe50, this=0x8beee80) at kernel/qapplication.cpp:4559
#27 QApplicationPrivate::notify_helper (this=0x8beee80, receiver=0x904fe50, e=0xbfceb7b4) at kernel/qapplication.cpp:4531
#28 0xb612b024 in QApplication::notify (this=0x8beee80, receiver=0x904fe50, e=0xbfceb7b4) at kernel/qapplication.cpp:4102
#29 0xb6caae01 in KApplication::notify (this=0xbfcec00c, receiver=0x904fe50, event=0xbfceb7b4) at ../../kdeui/kernel/kapplication.cpp:311
#30 0xb5b6397e in QCoreApplication::notifyInternal (this=0xbfcec00c, receiver=0x904fe50, event=0xbfceb7b4) at kernel/qcoreapplication.cpp:876
#31 0xb6125e95 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#32 QApplicationPrivate::sendMouseEvent (receiver=0x904fe50, event=0xbfceb7b4, alienWidget=0x0, nativeWidget=0x904fe50, buttonDown=0xb6ab9cf4, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3170
#33 0xb61b27d2 in QETWidget::translateMouseEvent (this=0x904fe50, event=0xbfcebc6c) at kernel/qapplication_x11.cpp:4551
#34 0xb61b0c0d in QApplication::x11ProcessEvent (this=0xbfcec00c, event=0xbfcebc6c) at kernel/qapplication_x11.cpp:3732
#35 0xb61ddeac in x11EventSourceDispatch (s=0x8beb880, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#36 0xb4ef6d86 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#37 0xb4ef7125 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#38 0xb4ef7201 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#39 0xb5b96887 in QEventDispatcherGlib::processEvents (this=0x8bc8758, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#40 0xb61ddaaa in QGuiEventDispatcherGlib::processEvents (this=0x8bc8758, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#41 0xb5b6250d in QEventLoop::processEvents (this=0xbfcebf64, flags=...) at kernel/qeventloop.cpp:149
#42 0xb5b627a9 in QEventLoop::exec (this=0xbfcebf64, flags=...) at kernel/qeventloop.cpp:204
#43 0xb5b67eba in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#44 0xb6122a74 in QApplication::exec () at kernel/qapplication.cpp:3820
#45 0x0807855b in main (argc=301994496, argv=0x12001200) at ../../../umbrello/umbrello/main.cpp:111

Report to https://bugs.kde.org

Reproducible: Always

Steps to Reproduce:
1. Open umbrello.
2. In Tree View, right click on "Logical View" node.
3. In popup menu, hover over "New" item.
4. In secondary popup menu, left click "Class". Accept given name "new_class".
5. In Tree View, under node "Logical View", right click node "new_class".
6. In popup menu, left click "Copy".

Actual Results:  
Umbrello crashes.


Expected Results:  
Class information is copied to clipboard, so it can be pasted into Tree View or Class diagram.
Comment 1 Ralf Habacker 2013-11-12 20:39:30 UTC
could not reproduce with umbrello 2.9.5 on kde 4.11.2 with qt 4.8.5