Bug 170596 - Umbrello crashes with SIGSEGV in Object Flow properties
Summary: Umbrello crashes with SIGSEGV in Object Flow properties
Status: RESOLVED WORKSFORME
Alias: None
Product: umbrello
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Umbrello Development Group
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-07 10:27 UTC by Maros Barabas
Modified: 2013-11-06 17:29 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.8.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Maros Barabas 2008-09-07 10:27:52 UTC
Version:           2.0.3 (using KDE 4.0.5)
Compiler:          gcc-4.3.0-8 
OS:                Linux
Installed from:    Fedora RPMs

Description: 

Umbrello still crashing (SIGSEGV) by clicking on properties of Object Flow.

How to reproduce:

1. Make new activity diagram
2. Make new Object Node
   - Select Object Flow
   - Leave dialogs unchanged
3. Click on this created node
4. Right-click and select Properties

Backtrace:

(no debugging symbols found)
...
[Thread debugging using libthread_db enabled]
[New Thread 0x7f34500f67e0 (LWP 6174)]
(no debugging symbols found)
...
[KCrash handler]
#5  0x00000032ee71ab35 in QTextEngine::itemize ()
   from /usr/lib64/libQtGui.so.4
#6  0x00000032ee724246 in QTextLine::cursorToX ()
   from /usr/lib64/libQtGui.so.4
#7  0x00000032ee86f4a5 in QLineEdit::paintEvent ()
   from /usr/lib64/libQtGui.so.4
#8  0x00000032f4074183 in KLineEdit::paintEvent ()
   from /usr/lib64/libkdeui.so.5
#9  0x00000032ee5d3d17 in QWidget::event () from /usr/lib64/libQtGui.so.4
#10 0x00000032ee87375b in QLineEdit::event () from /usr/lib64/libQtGui.so.4
#11 0x00000032f4079f55 in KLineEdit::event () from /usr/lib64/libkdeui.so.5
#12 0x00000032ee590d81 in QApplicationPrivate::notify_helper ()
   from /usr/lib64/libQtGui.so.4
#13 0x00000032ee59752f in QApplication::notify ()
   from /usr/lib64/libQtGui.so.4
#14 0x00000032f3fd3ecb in KApplication::notify ()
   from /usr/lib64/libkdeui.so.5
#15 0x00000032ed2ea9e0 in QCoreApplication::notifyInternal ()
   from /usr/lib64/libQtCore.so.4
#16 0x00000032ee6e1467 in QWidgetPrivate::drawWidget ()
   from /usr/lib64/libQtGui.so.4
#17 0x00000032ee6e1a71 in ?? () from /usr/lib64/libQtGui.so.4
#18 0x00000032ee6e1974 in ?? () from /usr/lib64/libQtGui.so.4
#19 0x00000032ee6e1974 in ?? () from /usr/lib64/libQtGui.so.4
#20 0x00000032ee6e1974 in ?? () from /usr/lib64/libQtGui.so.4
#21 0x00000032ee6e1974 in ?? () from /usr/lib64/libQtGui.so.4
#22 0x00000032ee6e1974 in ?? () from /usr/lib64/libQtGui.so.4
#23 0x00000032ee6e1974 in ?? () from /usr/lib64/libQtGui.so.4
#24 0x00000032ee6e1974 in ?? () from /usr/lib64/libQtGui.so.4
#25 0x00000032ee6e109e in QWidgetPrivate::drawWidget ()
   from /usr/lib64/libQtGui.so.4
#26 0x00000032ee6e1a71 in ?? () from /usr/lib64/libQtGui.so.4
#27 0x00000032ee6e1974 in ?? () from /usr/lib64/libQtGui.so.4
#28 0x00000032ee6e109e in QWidgetPrivate::drawWidget ()
   from /usr/lib64/libQtGui.so.4
#29 0x00000032ee6e1a71 in ?? () from /usr/lib64/libQtGui.so.4
#30 0x00000032ee6e109e in QWidgetPrivate::drawWidget ()
   from /usr/lib64/libQtGui.so.4
#31 0x00000032ee6e1a71 in ?? () from /usr/lib64/libQtGui.so.4
#32 0x00000032ee6e1974 in ?? () from /usr/lib64/libQtGui.so.4
#33 0x00000032ee6e1974 in ?? () from /usr/lib64/libQtGui.so.4
#34 0x00000032ee6e109e in QWidgetPrivate::drawWidget ()
   from /usr/lib64/libQtGui.so.4
#35 0x00000032ee6e1a71 in ?? () from /usr/lib64/libQtGui.so.4
#36 0x00000032ee6e1974 in ?? () from /usr/lib64/libQtGui.so.4
#37 0x00000032ee6e1974 in ?? () from /usr/lib64/libQtGui.so.4
#38 0x00000032ee6e109e in QWidgetPrivate::drawWidget ()
   from /usr/lib64/libQtGui.so.4
#39 0x00000032ee6e2334 in ?? () from /usr/lib64/libQtGui.so.4
#40 0x00000032ee6e27bb in ?? () from /usr/lib64/libQtGui.so.4
#41 0x00000032ee5d39cd in QWidget::event () from /usr/lib64/libQtGui.so.4
#42 0x00000032ee590d81 in QApplicationPrivate::notify_helper ()
   from /usr/lib64/libQtGui.so.4
#43 0x00000032ee59752f in QApplication::notify ()
   from /usr/lib64/libQtGui.so.4
#44 0x00000032f3fd3ecb in KApplication::notify ()
   from /usr/lib64/libkdeui.so.5
#45 0x00000032ed2ea9e0 in QCoreApplication::notifyInternal ()
   from /usr/lib64/libQtCore.so.4
#46 0x00000032ed2ec8b3 in QCoreApplicationPrivate::sendPostedEvents ()
   from /usr/lib64/libQtCore.so.4
#47 0x00000032ed30aa7c in ?? () from /usr/lib64/libQtCore.so.4
#48 0x00000032e52374db in g_main_context_dispatch ()
   from /lib64/libglib-2.0.so.0
#49 0x00000032e523acbd in ?? () from /lib64/libglib-2.0.so.0
#50 0x00000032e523ae7b in g_main_context_iteration ()
   from /lib64/libglib-2.0.so.0
#51 0x00000032ed30a751 in QEventDispatcherGlib::processEvents ()
   from /usr/lib64/libQtCore.so.4
#52 0x00000032ee60641f in ?? () from /usr/lib64/libQtGui.so.4
#53 0x00000032ed2e9898 in QEventLoop::processEvents ()
   from /usr/lib64/libQtCore.so.4
#54 0x00000032ed2e9a75 in QEventLoop::exec () from /usr/lib64/libQtCore.so.4
#55 0x00000032ee907f4f in QDialog::exec () from /usr/lib64/libQtGui.so.4
#56 0x000000000062f028 in ?? ()
#57 0x00000000006300f4 in ?? ()
#58 0x000000000062ef7e in ?? ()
#59 0x00000032ed2fc3a6 in QMetaObject::activate ()
   from /usr/lib64/libQtCore.so.4
#60 0x00000032ee894162 in QMenu::triggered () from /usr/lib64/libQtGui.so.4
#61 0x00000032ee89525e in ?? () from /usr/lib64/libQtGui.so.4
#62 0x00000032ee89ba01 in QMenu::qt_metacall () from /usr/lib64/libQtGui.so.4
#63 0x00000032f40814b5 in KMenu::qt_metacall () from /usr/lib64/libkdeui.so.5
#64 0x00000032ed2fc3a6 in QMetaObject::activate ()
   from /usr/lib64/libQtCore.so.4
#65 0x00000032ee58be87 in QAction::triggered () from /usr/lib64/libQtGui.so.4
#66 0x00000032ee58c564 in QAction::activate () from /usr/lib64/libQtGui.so.4
#67 0x00000032ee89a9ed in ?? () from /usr/lib64/libQtGui.so.4
#68 0x00000032f40801c1 in KMenu::mouseReleaseEvent ()
   from /usr/lib64/libkdeui.so.5
#69 0x00000032ee5d3f2c in QWidget::event () from /usr/lib64/libQtGui.so.4
#70 0x00000032ee89bdfb in QMenu::event () from /usr/lib64/libQtGui.so.4
#71 0x00000032ee590d81 in QApplicationPrivate::notify_helper ()
   from /usr/lib64/libQtGui.so.4
#72 0x00000032ee597be8 in QApplication::notify ()
   from /usr/lib64/libQtGui.so.4
#73 0x00000032f3fd3ecb in KApplication::notify ()
   from /usr/lib64/libkdeui.so.5
#74 0x00000032ed2ea9e0 in QCoreApplication::notifyInternal ()
   from /usr/lib64/libQtCore.so.4
#75 0x00000032ee5e4b31 in ?? () from /usr/lib64/libQtGui.so.4
#76 0x00000032ee5e347b in QApplication::x11ProcessEvent ()
   from /usr/lib64/libQtGui.so.4
#77 0x00000032ee606b9c in ?? () from /usr/lib64/libQtGui.so.4
#78 0x00000032e52374db in g_main_context_dispatch ()
   from /lib64/libglib-2.0.so.0
#79 0x00000032e523acbd in ?? () from /lib64/libglib-2.0.so.0
#80 0x00000032e523ae7b in g_main_context_iteration ()
   from /lib64/libglib-2.0.so.0
#81 0x00000032ed30a751 in QEventDispatcherGlib::processEvents ()
   from /usr/lib64/libQtCore.so.4
#82 0x00000032ee60641f in ?? () from /usr/lib64/libQtGui.so.4
#83 0x00000032ed2e9898 in QEventLoop::processEvents ()
   from /usr/lib64/libQtCore.so.4
#84 0x00000032ed2e9a75 in QEventLoop::exec () from /usr/lib64/libQtCore.so.4
#85 0x00000032ed2ecbb7 in QCoreApplication::exec ()
   from /usr/lib64/libQtCore.so.4
#86 0x00000000006210a5 in ?? ()
#87 0x00000032e361e32a in __libc_start_main () from /lib64/libc.so.6
#88 0x000000000042dd89 in _start ()

Standard output:

$ umbrello
umbrello(6174) UMLListView::findView: returning 0 at UMLListView::findView
umbrello(6174) UMLListView::findView: returning 0 at UMLListView::findView
umbrello(6174) UMLListView::findView: returning 0 at UMLListView::findView
umbrello(6174) UMLListView::popupMenuSel: unknown type -1

KCrash: Application 'umbrello' crashing...
sock_file=/home/barry/.kde/socket-localhost.localdomain/kdeinit4__0

Expected behaviour:

App should not crash.

Thanks,
-Maros
Comment 1 Oliver Putz 2008-09-07 14:14:45 UTC
Confirming (KDE-4.1.1) with the follwoing backtrace:

Application: Umbrello UML Modeller (umbrello), signal SIGSEGV
[Thread debugging using libthread_db enabled]
[New Thread 0xb5f43700 (LWP 32394)]
[KCrash handler]
#6  0xb6166a81 in memcpy () from /lib/libc.so.6
#7  0xb725999e in QString::realloc (this=0x0, alloc=504)
    at tools/qstring.cpp:1049
#8  0xb7259ad2 in QString::realloc (this=0xbfac4764) at tools/qstring.cpp:1080
#9  0xb6847b4c in QLineEditPrivate::updateTextLayout (this=0x87f7fe0)
    at ../../include/QtCore/../../src/corelib/tools/qstring.h:666
#10 0xb68483de in QLineEditPrivate::init (this=0x87f7fe0, txt=@0xbfac48d8)
    at widgets/qlineedit.cpp:2683
#11 0xb6851953 in QLineEdit (this=0x87f7d30, contents=@0xbfac48d8, 
    parent=0x87f7108) at widgets/qlineedit.cpp:287
#12 0xb7952861 in KLineEdit (this=0x87f7d30, string=@0xbfac48d8, 
    parent=0x87f7108)
    at /var/tmp/portage/kde-base/kdelibs-4.1.1/work/kdelibs-4.1.1/kdeui/widgets/klineedit.cpp:186
#13 0x082a3360 in Dialog_Utils::makeLabeledEditField (
    containingBox=0x87f7108, layout=0x87f77e8, row=0, label=@0xbfac49b4, 
    labelText=@0xbfac48d4, editField=@0xbfac49c0, editFieldText=@0xbfac48d8)
    at /var/tmp/portage/kde-base/umbrello-4.1.1/work/umbrello-4.1.1/umbrello/umbrello/dialog_utils.cpp:39
#14 0x080eff34 in ObjectNodeDialog::setupGeneralPage (this=0xbfac4984)
    at /var/tmp/portage/kde-base/umbrello-4.1.1/work/umbrello-4.1.1/umbrello/umbrello/dialogs/objectnodedialog.cpp:136
#15 0x080f0574 in ObjectNodeDialog::setupPages (this=0xbfac4984)
    at /var/tmp/portage/kde-base/umbrello-4.1.1/work/umbrello-4.1.1/umbrello/umbrello/dialogs/objectnodedialog.cpp:82
#16 0x080f0973 in ObjectNodeDialog (this=0xbfac4984, pView=0x86c7470, 
    pWidget=0x87da158)
    at /var/tmp/portage/kde-base/umbrello-4.1.1/work/umbrello-4.1.1/umbrello/umbrello/dialogs/objectnodedialog.cpp:45
#17 0x082dc4bc in ObjectNodeWidget::showProperties (this=0x87da158)
    at /var/tmp/portage/kde-base/umbrello-4.1.1/work/umbrello-4.1.1/umbrello/umbrello/objectnodewidget.cpp:216
#18 0x082dc715 in ObjectNodeWidget::slotMenuSelection (this=0x87da158, 
    action=0x87da130)
    at /var/tmp/portage/kde-base/umbrello-4.1.1/work/umbrello-4.1.1/umbrello/umbrello/objectnodewidget.cpp:204
#19 0x082dbe89 in ObjectNodeWidget::qt_metacall (this=0x87da158, 
    _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbfac4b5c)
    at /var/tmp/portage/kde-base/umbrello-4.1.1/work/umbrello_build/umbrello/umbrello/objectnodewidget.moc:67
#20 0xb731c131 in QMetaObject::activate (sender=0x87d2240, 
    from_signal_index=<value optimized out>, to_signal_index=29, 
    argv=0xbfac4b5c) at kernel/qobject.cpp:3007
#21 0xb731e028 in QMetaObject::activate (sender=0x87d2240, m=0xb6c57b88, 
    local_signal_index=2, argv=0xbfac4b5c) at kernel/qobject.cpp:3077
#22 0xb687782d in QMenu::triggered (this=0x87d2240, _t1=0x87da130)
    at .moc/debug-shared/moc_qmenu.cpp:156
#23 0xb6878505 in QMenuPrivate::_q_actionTriggered (this=0x87ca868)
    at widgets/qmenu.cpp:1068
#24 0xb6881afa in QMenu::qt_metacall (this=0x87d2240, 
    _c=QMetaObject::InvokeMetaMethod, _id=8, _a=0xbfac4cec)
    at .moc/debug-shared/moc_qmenu.cpp:98
#25 0xb7959288 in KMenu::qt_metacall (this=0x87d2240, 
    _c=QMetaObject::InvokeMetaMethod, _id=35, _a=0xbfac4cec)
    at /var/tmp/portage/kde-base/kdelibs-4.1.1/work/kdelibs_build/kdeui/kmenu.moc:69
#26 0xb731c131 in QMetaObject::activate (sender=0x87da130, 
    from_signal_index=<value optimized out>, to_signal_index=6, 
    argv=0xbfac4cec) at kernel/qobject.cpp:3007
#27 0xb731c554 in QMetaObject::activate (sender=0x87da130, m=0xb6c52038, 
    from_local_signal_index=1, to_local_signal_index=2, argv=0xbfac4cec)
    at kernel/qobject.cpp:3097
#28 0xb649ef6b in QAction::triggered (this=0x87da130, _t1=false)
    at .moc/debug-shared/moc_qaction.cpp:216
#29 0xb649f7dc in QAction::activate (this=0x87da130, event=QAction::Trigger)
    at kernel/qaction.cpp:1119
#30 0xb687f1b4 in QMenuPrivate::activateAction (this=0x87ca868, 
    action=0x87da130, action_e=QAction::Trigger, self=true)
    at widgets/qmenu.cpp:1005
#31 0xb687fc1f in QMenu::mouseReleaseEvent (this=0x87d2240, e=0xbfac553c)
    at widgets/qmenu.cpp:2169
#32 0xb795918a in KMenu::mouseReleaseEvent (this=0x87d2240, e=0xbfac553c)
    at /var/tmp/portage/kde-base/kdelibs-4.1.1/work/kdelibs-4.1.1/kdeui/widgets/kmenu.cpp:452
#33 0xb64fd1ca in QWidget::event (this=0x87d2240, event=0xbfac553c)
    at kernel/qwidget.cpp:7021
#34 0xb6882051 in QMenu::event (this=0x87d2240, e=0xbfac553c)
    at widgets/qmenu.cpp:2265
#35 0xb64a4f1b in QApplicationPrivate::notify_helper (this=0x846cf18, 
    receiver=0x87d2240, e=0xbfac553c) at kernel/qapplication.cpp:3800
#36 0xb64ac3a8 in QApplication::notify (this=0xbfac5bdc, receiver=0x87d2240, 
    e=0xbfac553c) at kernel/qapplication.cpp:3527
#37 0xb78acce9 in KApplication::notify (this=0xbfac5bdc, receiver=0x87d2240, 
    event=0xbfac553c)
    at /var/tmp/portage/kde-base/kdelibs-4.1.1/work/kdelibs-4.1.1/kdeui/kernel/kapplication.cpp:311
#38 0xb7305771 in QCoreApplication::notifyInternal (this=0xbfac5bdc, 
    receiver=0x87d2240, event=0xbfac553c) at kernel/qcoreapplication.cpp:591
#39 0xb64ad7e9 in QApplicationPrivate::sendMouseEvent (receiver=0x87d2240, 
    event=0xbfac553c, alienWidget=0x0, nativeWidget=0x87d2240, 
    buttonDown=0xb6c68c60, lastMouseReceiver=@0xb6c68c64)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#40 0xb651580f in QETWidget::translateMouseEvent (this=0x87d2240, 
    event=0xbfac5a48) at kernel/qapplication_x11.cpp:3982
#41 0xb6513f0e in QApplication::x11ProcessEvent (this=0xbfac5bdc, 
    event=0xbfac5a48) at kernel/qapplication_x11.cpp:3044
#42 0xb653a35d in QEventDispatcherX11::processEvents (this=0x846cbe0, flags=
      {i = -1079223576}) at kernel/qeventdispatcher_x11.cpp:134
#43 0xb7304300 in QEventLoop::processEvents (this=0xbfac5b60, flags=
      {i = -1079223512}) at kernel/qeventloop.cpp:149
#44 0xb73044a2 in QEventLoop::exec (this=0xbfac5b60, flags={i = -1079223448})
    at kernel/qeventloop.cpp:200
#45 0xb73068bf in QCoreApplication::exec () at kernel/qcoreapplication.cpp:849
#46 0xb64a4cb3 in QApplication::exec () at kernel/qapplication.cpp:3330
#47 0x082cef05 in main (argc=3, argv=0xbfac5d34)
    at /var/tmp/portage/kde-base/umbrello-4.1.1/work/umbrello-4.1.1/umbrello/umbrello/main.cpp:110
#0  0xffffe424 in __kernel_vsyscall ()
Comment 2 Ralf Habacker 2011-12-09 07:58:24 UTC
tested 
- umbrello 2.6.0, opensuse linux 11.4,gcc, KDE 4.6.0 
- umbrello 2.7.41, windows 7, msvc, KDE 4.7.41 

could not reproduce this crash
Comment 3 Ralf Habacker 2013-11-06 17:29:08 UTC
set version-fixed-in from 4.8.0 changelog