Bug 334057 - Changing the parent of a package
Summary: Changing the parent of a package
Status: RESOLVED FIXED
Alias: None
Product: umbrello
Classification: Applications
Component: general (show other bugs)
Version: 2.12.3
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Umbrello Development Group
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2014-04-29 08:19 UTC by Mohammad Rahmani
Modified: 2014-06-18 09:06 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 4.12.5


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mohammad Rahmani 2014-04-29 08:19:22 UTC
Application: umbrello (2.12.3)
KDE Platform Version: 4.12.3
Qt Version: 4.8.2
Operating System: Linux 3.2.0-61-generic-pae i686
Distribution: Ubuntu 12.04.4 LTS

-- Information about the crash:
I right clicked on a package's name in Tree View panel and then selected cut and then it said the folder must be first empty so cut can't be performed and the application crashed. It crashed everytime I do this

The crash can be reproduced every time.

-- 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 0xb4dd2740 (LWP 6061))]

Thread 3 (Thread 0xb27e3b40 (LWP 6065)):
#0  0xb7729424 in __kernel_vsyscall ()
#1  0xb5ad2460 in poll () from /lib/i386-linux-gnu/libc.so.6
#2  0xb522aa3b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb521d06e in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb521d52b in g_main_loop_run () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb27e8134 in ?? () from /usr/lib/i386-linux-gnu/gio/modules/libdconfsettings.so
#6  0xb5240673 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#7  0xb59dcd4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#8  0xb5ae0bae in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 2 (Thread 0xb1dffb40 (LWP 6066)):
#0  0xb51eb8b7 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#1  0xb5ae0bae in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 1 (Thread 0xb4dd2740 (LWP 6061)):
[KCrash Handler]
#7  QString (other=<error reading variable: Cannot access memory at address 0x4>, this=0xbfdeb968) at ../../include/QtCore/../../src/corelib/tools/qstring.h:725
#8  QObject::objectName (this=0x0) at kernel/qobject.cpp:1065
#9  0x083b43d8 in UMLApp::slotDeleteSelected (this=0x9b809c8) at ../../umbrello/uml.cpp:2597
#10 0x083b4670 in UMLApp::slotEditCut (this=0x9b809c8) at ../../umbrello/uml.cpp:1455
#11 0x083de9fd in UMLListView::slotMenuSelection (this=0x9e28530, action=0xbfdeb968) at ../../umbrello/umllistview.cpp:627
#12 0x083e00fd in UMLListView::contextMenuEvent (this=0x9e28530, me=0xbfdec46c) at ../../umbrello/umllistview.cpp:1976
#13 0xb5e60d93 in QWidget::event (this=0x9e28530, event=0xbfdec46c) at kernel/qwidget.cpp:8538
#14 0xb627e385 in QFrame::event (this=0x9e28530, e=0xbfdec46c) at widgets/qframe.cpp:557
#15 0xb6311041 in QAbstractScrollArea::viewportEvent (this=0x9e28530, e=0xbfdec46c) at widgets/qabstractscrollarea.cpp:1043
#16 0xb63b71ec in QAbstractItemView::viewportEvent (this=0x9e28530, event=0xbfdec46c) at itemviews/qabstractitemview.cpp:1644
#17 0xb6405146 in QTreeView::viewportEvent (this=0x9e28530, event=0xbfdec46c) at itemviews/qtreeview.cpp:1257
#18 0xb6313766 in viewportEvent (this=<optimized out>, event=0xbfdec46c) at widgets/qabstractscrollarea_p.h:100
#19 eventFilter (e=0xbfdec46c, this=<optimized out>, o=<optimized out>) at widgets/qabstractscrollarea_p.h:116
#20 QAbstractScrollAreaFilter::eventFilter (this=0x9e299a8, o=0x9e28690, e=0xbfdec46c) at widgets/qabstractscrollarea_p.h:115
#21 0xb691afa6 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x99e2648, receiver=0x9e28690, event=0xbfdec46c) at kernel/qcoreapplication.cpp:1025
#22 0xb5e05dc2 in notify_helper (e=0xbfdec46c, receiver=0x9e28690, this=0x99e2648) at kernel/qapplication.cpp:4552
#23 QApplicationPrivate::notify_helper (this=0x99e2648, receiver=0x9e28690, e=0xbfdec46c) at kernel/qapplication.cpp:4528
#24 0xb5e0b7b0 in QApplication::notify (this=0x9e28690, receiver=0x9e28690, e=0xbfdec46c) at kernel/qapplication.cpp:4178
#25 0xb6f951e1 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#26 0xb691ae0e in QCoreApplication::notifyInternal (this=0xbfdecc98, receiver=0x9e28690, event=0xbfdec46c) at kernel/qcoreapplication.cpp:915
#27 0xb5e93015 in sendSpontaneousEvent (event=0xbfdec46c, receiver=0x9e28690) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#28 QETWidget::translateMouseEvent (this=0x9b809c8, event=0xbfdec8fc) at kernel/qapplication_x11.cpp:4622
#29 0xb5e91b2d in QApplication::x11ProcessEvent (this=0xbfdecc98, event=0xbfdec8fc) at kernel/qapplication_x11.cpp:3732
#30 0xb5ebee1c in x11EventSourceDispatch (s=0x99e13f8, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#31 0xb521cd46 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#32 0xb521d0e5 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#33 0xb521d1c1 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#34 0xb694dd87 in QEventDispatcherGlib::processEvents (this=0x99bf9a0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#35 0xb5ebea1a in QGuiEventDispatcherGlib::processEvents (this=0x99bf9a0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#36 0xb69196ad in QEventLoop::processEvents (this=0xbfdecbf4, flags=...) at kernel/qeventloop.cpp:149
#37 0xb6919949 in QEventLoop::exec (this=0xbfdecbf4, flags=...) at kernel/qeventloop.cpp:204
#38 0xb691f34a in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#39 0xb5e039c4 in QApplication::exec () at kernel/qapplication.cpp:3817
#40 0x08078c25 in main (argc=<error reading variable: Cannot access memory at address 0x1>, argv=<error reading variable: Cannot access memory at address 0x5>) at ../../umbrello/main.cpp:113

Reported using DrKonqi
Comment 1 Ralf Habacker 2014-04-29 11:39:10 UTC
Git commit 865d45ae1715cc8ef582bdabe091f64ce1bc3016 by Ralf Habacker.
Committed on 15/01/2014 at 07:10.
Pushed by habacker into branch 'KDE/4.12'.

Guard pointer to avoid crashes.
FIXED-IN:2.12.5
(cherry picked from commit 4cd420fe453942c4b8e0ae9b4a01cc6033bd3db9)

M  +1    -1    umbrello/uml.cpp

http://commits.kde.org/umbrello/865d45ae1715cc8ef582bdabe091f64ce1bc3016