Bug 270291

Summary: Umbrello crashes when i try drag&drop package element into classes diagram window
Product: [Applications] umbrello Reporter: Nikolay <xxtdqxx>
Component: generalAssignee: Umbrello Development Group <umbrello-devel>
Status: RESOLVED UNMAINTAINED    
Severity: crash CC: ralf.habacker
Priority: NOR    
Version: 2.5.1   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Nikolay 2011-04-07 08:22:41 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 x86_64
Distribution: Ubuntu 10.10

-- Information about the crash:
- What I was doing when the application crashed:
I import java project into Umbrello and make classes diagram. When i try to drag&drop generated package element from list of logic types into workarea, Umbrella crashes.

The crash can be reproduced some of the time.

-- Backtrace:
Application: Umbrello (umbrello), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f2796b94760 (LWP 4169))]

Thread 2 (Thread 0x7f278abc6700 (LWP 4170)):
#0  0x00007f2792731203 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f278e241009 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007f278e2417b5 in g_main_loop_run () from /lib/libglib-2.0.so.0
#3  0x00007f278b2fd3c4 in ?? () from /usr/lib/libgio-2.0.so.0
#4  0x00007f278e2667e4 in ?? () from /lib/libglib-2.0.so.0
#5  0x00007f279367d971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#6  0x00007f279273d92d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f2796b94760 (LWP 4169)):
[KCrash Handler]
#6  0x000000006567616b in ?? ()
#7  0x000000000097dc36 in ClassifierWidget::displayedMembers (this=0x1e245b0, ot=Uml::ot_Attribute) at ../../../umbrello/umbrello/widgets/classifierwidget.cpp:308
#8  0x000000000098034d in ClassifierWidget::calculateSize (this=0x1e245b0) at ../../../umbrello/umbrello/widgets/classifierwidget.cpp:362
#9  0x00000000009ac29c in UMLWidget::updateComponentSize (this=0x1e245b0) at ../../../umbrello/umbrello/widgets/umlwidget.cpp:899
#10 0x000000000097e738 in ClassifierWidget::setShowAttSigs (this=0x1e245b0, _status=<value optimized out>) at ../../../umbrello/umbrello/widgets/classifierwidget.cpp:275
#11 0x000000000097e84a in ClassifierWidget::ClassifierWidget (this=0x1e245b0, view=<value optimized out>, c=0x22c0820) at ../../../umbrello/umbrello/widgets/classifierwidget.cpp:30
#12 0x00000000009b1d31 in Widget_Factory::createWidget (view=0x23c5090, o=0x22c0820) at ../../../umbrello/umbrello/widgets/widget_factory.cpp:129
#13 0x0000000000a7ece5 in UMLView::slotObjectCreated (this=0x7ffffd671ff0, o=0x22c0820) at ../../../umbrello/umbrello/umlview.cpp:482
#14 0x0000000000a7f1c7 in UMLView::dropEvent (this=0x23c5090, e=0x7ffffd672c10) at ../../../umbrello/umbrello/umlview.cpp:695
#15 0x00007f2793f3d01c in QWidget::event (this=0x23c5090, event=0x7ffffd672c10) at kernel/qwidget.cpp:8377
#16 0x00007f27943085e6 in QFrame::event (this=0x23c5090, e=0x7ffffd672c10) at widgets/qframe.cpp:557
#17 0x00007f2793ee6fdc in QApplicationPrivate::notify_helper (this=0xecce70, receiver=0x23c5090, e=0x7ffffd672c10) at kernel/qapplication.cpp:4396
#18 0x00007f2793eecd82 in QApplication::notify (this=<value optimized out>, receiver=0x23c5090, e=0x7ffffd672c10) at kernel/qapplication.cpp:4202
#19 0x00007f279535f156 in KApplication::notify (this=0x7ffffd675860, receiver=0x23c4f20, event=0x7ffffd672c10) at ../../kdeui/kernel/kapplication.cpp:310
#20 0x00007f27939fbcdc in QCoreApplication::notifyInternal (this=0x7ffffd675860, receiver=0x23c4f20, event=0x7ffffd672c10) at kernel/qcoreapplication.cpp:732
#21 0x00007f2793f7be8d in sendEvent (this=<value optimized out>, xe=<value optimized out>, passive=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#22 QX11Data::xdndHandleDrop (this=<value optimized out>, xe=<value optimized out>, passive=<value optimized out>) at kernel/qdnd_x11.cpp:1183
#23 0x00007f2793f80763 in QDragManager::drop (this=0x1a63b80) at kernel/qdnd_x11.cpp:1725
#24 0x00007f2793f80928 in QDragManager::eventFilter (this=0x1a63b80, o=<value optimized out>, e=<value optimized out>) at kernel/qdnd_x11.cpp:1312
#25 0x00007f27939fb5cb in QCoreApplicationPrivate::sendThroughApplicationEventFilters (this=0xecce70, receiver=0x14d2870, event=0x7ffffd673510) at kernel/qcoreapplication.cpp:828
#26 0x00007f2793ee6f56 in QApplicationPrivate::notify_helper (this=0x7ffffd671ff0, receiver=0x22c0820, e=0x6d) at kernel/qapplication.cpp:4371
#27 0x00007f2793eed30e in QApplication::notify (this=0x7ffffd675860, receiver=0x14d2870, e=0x7ffffd673510) at kernel/qapplication.cpp:3959
#28 0x00007f279535f156 in KApplication::notify (this=0x7ffffd675860, receiver=0x14d2870, event=0x7ffffd673510) at ../../kdeui/kernel/kapplication.cpp:310
#29 0x00007f27939fbcdc in QCoreApplication::notifyInternal (this=0x7ffffd675860, receiver=0x14d2870, event=0x7ffffd673510) at kernel/qcoreapplication.cpp:732
#30 0x00007f2793eebdbe in sendEvent (receiver=0x14d2870, event=0x7ffffd673510, alienWidget=0x0, nativeWidget=0x14d2870, buttonDown=<value optimized out>, lastMouseReceiver=<value optimized out>, spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#31 QApplicationPrivate::sendMouseEvent (receiver=0x14d2870, event=0x7ffffd673510, alienWidget=0x0, nativeWidget=0x14d2870, buttonDown=<value optimized out>, lastMouseReceiver=<value optimized out>, spontaneous=true) at kernel/qapplication.cpp:3058
#32 0x00007f2793f6f345 in QETWidget::translateMouseEvent (this=0x14d2870, event=<value optimized out>) at kernel/qapplication_x11.cpp:4403
#33 0x00007f2793f6dc5c in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7ffffd673e30) at kernel/qapplication_x11.cpp:3536
#34 0x00007f2793f9a0e2 in x11EventSourceDispatch (s=0xed0c00, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#35 0x00007f278e23d342 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#36 0x00007f278e2412a8 in ?? () from /lib/libglib-2.0.so.0
#37 0x00007f278e24145c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#38 0x00007f2793a28193 in QEventDispatcherGlib::processEvents (this=0xea5410, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#39 0x00007f2793f99a4e in QGuiEventDispatcherGlib::processEvents (this=0x7ffffd671ff0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#40 0x00007f27939faa02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#41 0x00007f27939fadec in QEventLoop::exec (this=0x1587320, flags=) at kernel/qeventloop.cpp:201
#42 0x00007f2793f8100b in QDragManager::drag (this=0x1a63b80, o=<value optimized out>) at kernel/qdnd_x11.cpp:1981
#43 0x00007f2793efcf78 in QDrag::exec (this=0x1d04210, supportedActions=) at kernel/qdrag.cpp:284
#44 0x00007f2793efd033 in QDrag::exec (this=0x7ffffd671ff0, supportedActions=<value optimized out>) at kernel/qdrag.cpp:239
#45 0x0000000000a4b580 in UMLListView::contentsMouseMoveEvent (this=0x1284990, me=<value optimized out>) at ../../../umbrello/umbrello/umllistview.cpp:235
#46 0x00007f27932e911b in Q3ScrollView::viewportMouseMoveEvent (this=0x1284990, e=0x7ffffd674b50) at widgets/q3scrollview.cpp:1797
#47 0x00007f27932eaba5 in Q3ScrollView::eventFilter (this=0x1284990, obj=0x1284630, e=0x7ffffd674b50) at widgets/q3scrollview.cpp:1495
#48 0x00007f279328f4c6 in Q3ListView::eventFilter (this=0x1284990, o=0x1284630, e=0x7ffffd674b50) at itemviews/q3listview.cpp:3791
#49 0x00007f27939fb507 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0x1284630, event=0x7ffffd674b50) at kernel/qcoreapplication.cpp:847
#50 0x00007f2793ee6fac in QApplicationPrivate::notify_helper (this=0xecce70, receiver=0x1284630, e=0x7ffffd674b50) at kernel/qapplication.cpp:4392
#51 0x00007f2793eed30e in QApplication::notify (this=0x7ffffd675860, receiver=0x1284630, e=0x7ffffd674b50) at kernel/qapplication.cpp:3959
#52 0x00007f279535f156 in KApplication::notify (this=0x7ffffd675860, receiver=0x1284630, event=0x7ffffd674b50) at ../../kdeui/kernel/kapplication.cpp:310
#53 0x00007f27939fbcdc in QCoreApplication::notifyInternal (this=0x7ffffd675860, receiver=0x1284630, event=0x7ffffd674b50) at kernel/qcoreapplication.cpp:732
#54 0x00007f2793eebdbe in sendEvent (receiver=0x1284630, event=0x7ffffd674b50, alienWidget=0x1284630, nativeWidget=0x1282d80, buttonDown=<value optimized out>, lastMouseReceiver=<value optimized out>, spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#55 QApplicationPrivate::sendMouseEvent (receiver=0x1284630, event=0x7ffffd674b50, alienWidget=0x1284630, nativeWidget=0x1282d80, buttonDown=<value optimized out>, lastMouseReceiver=<value optimized out>, spontaneous=true) at kernel/qapplication.cpp:3058
#56 0x00007f2793f6f345 in QETWidget::translateMouseEvent (this=0x1282d80, event=<value optimized out>) at kernel/qapplication_x11.cpp:4403
#57 0x00007f2793f6dc5c in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7ffffd675470) at kernel/qapplication_x11.cpp:3536
#58 0x00007f2793f9a0e2 in x11EventSourceDispatch (s=0xed0c00, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#59 0x00007f278e23d342 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#60 0x00007f278e2412a8 in ?? () from /lib/libglib-2.0.so.0
#61 0x00007f278e24145c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#62 0x00007f2793a28193 in QEventDispatcherGlib::processEvents (this=0xea5410, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#63 0x00007f2793f99a4e in QGuiEventDispatcherGlib::processEvents (this=0x7ffffd671ff0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#64 0x00007f27939faa02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#65 0x00007f27939fadec in QEventLoop::exec (this=0x7ffffd6757a0, flags=) at kernel/qeventloop.cpp:201
#66 0x00007f27939feebb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#67 0x00000000009fd595 in main (argc=<value optimized out>, argv=<value optimized out>) at ../../../umbrello/umbrello/main.cpp:111

Reported using DrKonqi
Comment 1 Ralf Habacker 2014-02-19 09:06:31 UTC
Please provide a link or append a testcase