Bug 237992

Summary: Crash of Umbrello when entering entityconstraints
Product: [Applications] umbrello Reporter: Dick Kniep <dickkniep>
Component: generalAssignee: Joris Steyn <kde>
Status: RESOLVED FIXED    
Severity: crash CC: ralf.habacker
Priority: NOR    
Version: 2.4.2   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 4.11.4
Sentry Crash Report:

Description Dick Kniep 2010-05-18 00:43:32 UTC
Application: umbrello (2.4.2)
KDE Platform Version: 4.4.2 (KDE 4.4.2)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-22-generic i686
Distribution: Ubuntu 10.04 LTS

-- Information about the crash:
When more than one entityconstraint is entered after 2 or 3 it crashes, this happens all the time

The crash can be reproduced every time.

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

Thread 2 (Thread 0xb5136b70 (LWP 3535)):
#0  0x00c91e16 in *__GI_clock_gettime (clock_id=13197300, tp=0xb5135fb8) at ../sysdeps/unix/clock_gettime.c:100
#1  0x027db6fb in qt_gettime () at kernel/qcore_unix.cpp:111
#2  0x027e0825 in QTimerInfoList::updateCurrentTime (this=0xa419684) at kernel/qeventdispatcher_unix.cpp:340
#3  0x027e086a in QTimerInfoList::timerWait (this=0xa419684, tm=...) at kernel/qeventdispatcher_unix.cpp:443
#4  0x027de818 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xb51360cc) at kernel/qeventdispatcher_glib.cpp:136
#5  0x027de8a5 in timerSourcePrepare (source=0x0, timeout=0xc95ff4) at kernel/qeventdispatcher_glib.cpp:169
#6  0x04a17aca in g_main_context_prepare () from /lib/libglib-2.0.so.0
#7  0x04a17ee9 in ?? () from /lib/libglib-2.0.so.0
#8  0x04a184b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#9  0x027de60f in QEventDispatcherGlib::processEvents (this=0xa41a3c0, flags=...) at kernel/qeventdispatcher_glib.cpp:414
#10 0x027b1059 in QEventLoop::processEvents (this=0xb5136290, flags=) at kernel/qeventloop.cpp:149
#11 0x027b14aa in QEventLoop::exec (this=0xb5136290, flags=...) at kernel/qeventloop.cpp:201
#12 0x026ad5a8 in QThread::exec (this=0xa4123a8) at thread/qthread.cpp:487
#13 0x02790c1b in QInotifyFileSystemWatcherEngine::run (this=0xa4123a8) at io/qfilesystemwatcher_inotify.cpp:248
#14 0x026b032e in QThreadPrivate::start (arg=0xa4123a8) at thread/qthread_unix.cpp:248
#15 0x0052896e in start_thread (arg=0xb5136b70) at pthread_create.c:300
#16 0x0316aa0e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb77d0710 (LWP 3534)):
[KCrash Handler]
#6  __memcpy_ia32 () at ../sysdeps/i386/i686/multiarch/../memcpy.S:75
#7  0xbfa446e0 in ?? ()
#8  0x01badefb in QString::operator+= (this=0xade1000, text=..., _format=...) at ../../include/QtCore/../../src/corelib/tools/qstring.h:269
#9  QTextCursor::insertText (this=0xade1000, text=..., _format=...) at text/qtextcursor.cpp:1320
#10 0x01bae6c2 in QTextCursor::insertText (this=0xbfa4457c, text=...) at text/qtextcursor.cpp:1283
#11 0x01b6c96e in QTextDocument::setPlainText (this=0xa440b18, text=...) at text/qtextdocument.cpp:1131
#12 0x01b3d620 in QTextControlPrivate::setContent (this=0xa440a40, format=Qt::PlainText, text=..., document=0x0) at text/qtextcontrol.cpp:472
#13 0x01b3d86b in QTextControl::setPlainText (this=0xa440a30, text=...) at text/qtextcontrol.cpp:1129
#14 0x01da51f2 in QTextEdit::setPlainText (this=0xa5fb270, text=...) at widgets/qtextedit.cpp:1133
#15 0x01da5254 in QTextEdit::setText (this=0xa5fb270, text=...) at widgets/qtextedit.cpp:2494
#16 0x080a5fe7 in ClassifierListPage::slotActivateItem (this=0xab18a10, item=0xabf2928) at ../../../umbrello/umbrello/dialogs/classifierlistpage.cpp:354
#17 0x080a969c in ClassifierListPage::qt_metacall (this=0xab18a10, _c=QMetaObject::InvokeMetaMethod, _id=27, _a=0xbfa44854) at ./classifierlistpage.moc:94
#18 0x080a9c1c in ConstraintListPage::qt_metacall (this=0xab18a10, _c=QMetaObject::InvokeMetaMethod, _id=27, _a=0xbfa44854) at ./constraintlistpage.moc:73
#19 0x027b7c9a in QMetaObject::metacall (object=0xab18a10, cl=86794448, idx=27, argv=0xbfa44854) at kernel/qmetaobject.cpp:237
#20 0x027c63d5 in QMetaObject::activate (sender=0xac34550, m=0x2201fc8, local_signal_index=6, argv=0xbfa44854) at kernel/qobject.cpp:3293
#21 0x01edac89 in QListWidget::currentItemChanged (this=0xac34550, _t1=0xabf2928, _t2=0xa9a6880) at .moc/release-shared/moc_qlistwidget.cpp:233
#22 0x01edc7c7 in QListWidgetPrivate::_q_emitCurrentItemChanged (this=0xab05df0, current=..., previous=...) at itemviews/qlistwidget.cpp:1112
#23 0x01edfba8 in QListWidget::qt_metacall (this=0xac34550, _c=QMetaObject::InvokeMetaMethod, _id=19, _a=0xbfa449d4) at .moc/release-shared/moc_qlistwidget.cpp:147
#24 0x027b7c9a in QMetaObject::metacall (object=0xac34550, cl=86794448, idx=89, argv=0xbfa449d4) at kernel/qmetaobject.cpp:237
#25 0x027c63d5 in QMetaObject::activate (sender=0xa949508, m=0x2201e30, local_signal_index=1, argv=0xbfa449d4) at kernel/qobject.cpp:3293
#26 0x01ec75a9 in QItemSelectionModel::currentChanged (this=0xa949508, _t1=..., _t2=...) at .moc/release-shared/moc_qitemselectionmodel.cpp:159
#27 0x01ec7742 in QItemSelectionModel::setCurrentIndex (this=0xa949508, index=..., command=...) at itemviews/qitemselectionmodel.cpp:1167
#28 0x01edc65d in QListWidget::setCurrentRow (this=0xac34550, row=1) at itemviews/qlistwidget.cpp:1484
#29 0x01edd085 in QListWidget::setCurrentItem (this=0xac34550, item=0xabf2928) at itemviews/qlistwidget.cpp:1455
#30 0x080a6624 in ClassifierListPage::slotListItemCreated (this=0xab18a10, object=0xa3dd268) at ../../../umbrello/umbrello/dialogs/classifierlistpage.cpp:400
#31 0x080a96dc in ClassifierListPage::qt_metacall (this=0xab18a10, _c=QMetaObject::InvokeMetaMethod, _id=29, _a=0xbfa44cb8) at ./classifierlistpage.moc:96
#32 0x080a9c1c in ConstraintListPage::qt_metacall (this=0xab18a10, _c=QMetaObject::InvokeMetaMethod, _id=29, _a=0xbfa44cb8) at ./constraintlistpage.moc:73
#33 0x027b7c9a in QMetaObject::metacall (object=0xab18a10, cl=86794448, idx=29, argv=0xbfa44cb8) at kernel/qmetaobject.cpp:237
#34 0x027c63d5 in QMetaObject::activate (sender=0xa24c7c0, m=0x8792968, local_signal_index=4, argv=0xbfa44cb8) at kernel/qobject.cpp:3293
#35 0x086e18c5 in UMLDoc::sigObjectCreated (this=0xa24c7c0, _t1=0xa3dd268) at ./umldoc.moc:153
#36 0x086839e9 in UMLEntity::createUniqueConstraint (this=0xa44e490, name=...) at ../../../umbrello/umbrello/entity.cpp:195
#37 0x086b4478 in Object_Factory::createChildObject (parent=0xa44e490, type=Uml::ot_UniqueConstraint) at ../../../umbrello/umbrello/object_factory.cpp:278
#38 0x080a5a18 in ClassifierListPage::slotNewListItem (this=0xab18a10) at ../../../umbrello/umbrello/dialogs/classifierlistpage.cpp:735
#39 0x080a9af1 in ConstraintListPage::slotNewPrimaryKeyConstraint (this=0xab18a10) at ../../../umbrello/umbrello/dialogs/constraintlistpage.cpp:95
#40 0x080a9c7b in ConstraintListPage::qt_metacall (this=0xab18a10, _c=QMetaObject::InvokeMetaMethod, _id=41, _a=0xbfa44f78) at ./constraintlistpage.moc:79
#41 0x027b7c9a in QMetaObject::metacall (object=0xab18a10, cl=86794448, idx=41, argv=0xbfa44f78) at kernel/qmetaobject.cpp:237
#42 0x027c63d5 in QMetaObject::activate (sender=0xa779198, m=0x21f4d58, local_signal_index=1, argv=0xbfa44f78) at kernel/qobject.cpp:3293
#43 0x018c5bd9 in QAction::triggered (this=0xa779198, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#44 0x018c7dcc in QAction::activate (this=0xa779198, event=QAction::Trigger) at kernel/qaction.cpp:1255
#45 0x01d6b60c in QMenuPrivate::activateCausedStack (this=0xab25210, causedStack=..., action=0xa779198, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1011
#46 0x01d71abb in QMenuPrivate::activateAction (this=0xab25210, action=0xa779198, action_e=QAction::Trigger, self=<value optimized out>) at widgets/qmenu.cpp:1103
#47 0x01d72ac7 in QMenu::mouseReleaseEvent (this=0xa62c3e0, e=0xbfa45810) at widgets/qmenu.cpp:2312
#48 0x00ffff65 in KMenu::mouseReleaseEvent (this=0xa62c3e0, e=0xbfa45810) at ../../kdeui/widgets/kmenu.cpp:471
#49 0x0192a7f8 in QWidget::event (this=0xa62c3e0, event=0xbfa45810) at kernel/qwidget.cpp:7998
#50 0x01d740cc in QMenu::event (this=0xa62c3e0, e=0xbfa45810) at widgets/qmenu.cpp:2414
#51 0x018cc4dc in QApplicationPrivate::notify_helper (this=0xa1666e8, receiver=0xa62c3e0, e=0xbfa45810) at kernel/qapplication.cpp:4300
#52 0x018d39f7 in QApplication::notify (this=0xbfa48620, receiver=0xa62c3e0, e=0xbfa45810) at kernel/qapplication.cpp:3865
#53 0x00f09f2a in KApplication::notify (this=0xbfa48620, receiver=0xa62c3e0, event=0xbfa45810) at ../../kdeui/kernel/kapplication.cpp:302
#54 0x027b2a3b in QCoreApplication::notifyInternal (this=0xbfa48620, receiver=0xa62c3e0, event=0xbfa45810) at kernel/qcoreapplication.cpp:704
#55 0x018d2952 in QCoreApplication::sendEvent (receiver=0xa62c3e0, event=0xbfa45810, alienWidget=0x0, nativeWidget=0xa62c3e0, buttonDown=0x2210058, lastMouseReceiver=..., spontaneous=true)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#56 QApplicationPrivate::sendMouseEvent (receiver=0xa62c3e0, event=0xbfa45810, alienWidget=0x0, nativeWidget=0xa62c3e0, buttonDown=0x2210058, lastMouseReceiver=..., spontaneous=true)
    at kernel/qapplication.cpp:2965
#57 0x0195e5cf in QETWidget::translateMouseEvent (this=0xa62c3e0, event=0xbfa45d2c) at kernel/qapplication_x11.cpp:4302
#58 0x0195d511 in QApplication::x11ProcessEvent (this=0xbfa48620, event=0xbfa45d2c) at kernel/qapplication_x11.cpp:3379
#59 0x0198c60a in x11EventSourceDispatch (s=0xa169900, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#60 0x04a145e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#61 0x04a182d8 in ?? () from /lib/libglib-2.0.so.0
#62 0x04a184b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#63 0x027de5d5 in QEventDispatcherGlib::processEvents (this=0xa149150, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#64 0x0198c135 in QGuiEventDispatcherGlib::processEvents (this=0xa149150, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#65 0x027b1059 in QEventLoop::processEvents (this=0xbfa46020, flags=) at kernel/qeventloop.cpp:149
#66 0x027b14aa in QEventLoop::exec (this=0xbfa46020, flags=...) at kernel/qeventloop.cpp:201
#67 0x01d6edde in QMenu::exec (this=0xa62c3e0, p=..., action=0x0) at widgets/qmenu.cpp:2063
#68 0x01d7fdf7 in QPushButtonPrivate::_q_popupPressed (this=0xac2d650) at widgets/qpushbutton.cpp:588
#69 0x01d813b0 in QPushButton::qt_metacall (this=0xac2d638, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0xbfa4616c) at .moc/release-shared/moc_qpushbutton.cpp:80
#70 0x027b7c9a in QMetaObject::metacall (object=0xac2d638, cl=86794448, idx=40, argv=0xbfa4616c) at kernel/qmetaobject.cpp:237
#71 0x027c63d5 in QMetaObject::activate (sender=0xac2d638, m=0x22078c4, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3293
#72 0x01ff74f7 in QAbstractButton::pressed (this=0xac2d638) at .moc/release-shared/moc_qabstractbutton.cpp:193
#73 0x01cd6a49 in QAbstractButtonPrivate::emitPressed (this=0xac2d650) at widgets/qabstractbutton.cpp:560
#74 0x01cd6c4e in QAbstractButton::mousePressEvent (this=0xac2d638, e=0xbfa46880) at widgets/qabstractbutton.cpp:1096
#75 0x0192a7dc in QWidget::event (this=0xac2d638, event=0xbfa46880) at kernel/qwidget.cpp:7994
#76 0x01cd6d4e in QAbstractButton::event (this=0xac2d638, e=0xabdec8c) at widgets/qabstractbutton.cpp:1080
#77 0x01d811f2 in QPushButton::event (this=0xac2d638, e=0xbfa46880) at widgets/qpushbutton.cpp:679
#78 0x018cc4dc in QApplicationPrivate::notify_helper (this=0xa1666e8, receiver=0xac2d638, e=0xbfa46880) at kernel/qapplication.cpp:4300
#79 0x018d39f7 in QApplication::notify (this=0xbfa48620, receiver=0xac2d638, e=0xbfa46880) at kernel/qapplication.cpp:3865
#80 0x00f09f2a in KApplication::notify (this=0xbfa48620, receiver=0xac2d638, event=0xbfa46880) at ../../kdeui/kernel/kapplication.cpp:302
#81 0x027b2a3b in QCoreApplication::notifyInternal (this=0xbfa48620, receiver=0xac2d638, event=0xbfa46880) at kernel/qcoreapplication.cpp:704
#82 0x018d2952 in QCoreApplication::sendEvent (receiver=0xac2d638, event=0xbfa46880, alienWidget=0xac2d638, nativeWidget=0xaaf2b48, buttonDown=0x2210058, lastMouseReceiver=..., spontaneous=true)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#83 QApplicationPrivate::sendMouseEvent (receiver=0xac2d638, event=0xbfa46880, alienWidget=0xac2d638, nativeWidget=0xaaf2b48, buttonDown=0x2210058, lastMouseReceiver=..., spontaneous=true)
    at kernel/qapplication.cpp:2965
#84 0x0195e088 in QETWidget::translateMouseEvent (this=0xaaf2b48, event=0xbfa46d9c) at kernel/qapplication_x11.cpp:4368
#85 0x0195d511 in QApplication::x11ProcessEvent (this=0xbfa48620, event=0xbfa46d9c) at kernel/qapplication_x11.cpp:3379
#86 0x0198c60a in x11EventSourceDispatch (s=0xa169900, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#87 0x04a145e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#88 0x04a182d8 in ?? () from /lib/libglib-2.0.so.0
#89 0x04a184b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#90 0x027de5d5 in QEventDispatcherGlib::processEvents (this=0xa149150, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#91 0x0198c135 in QGuiEventDispatcherGlib::processEvents (this=0xa149150, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#92 0x027b1059 in QEventLoop::processEvents (this=0xbfa47090, flags=) at kernel/qeventloop.cpp:149
#93 0x027b14aa in QEventLoop::exec (this=0xbfa47090, flags=...) at kernel/qeventloop.cpp:201
#94 0x01e0b4f3 in QDialog::exec (this=0xa9db620) at dialogs/qdialog.cpp:546
#95 0x0865c4de in UMLWidget::showProperties (this=0xa4a8d80) at ../../../umbrello/umbrello/widgets/umlwidget.cpp:648
#96 0x0865df86 in UMLWidget::slotMenuSelection (this=0xa4a8d80, action=0xa9219a8) at ../../../umbrello/umbrello/widgets/umlwidget.cpp:292
#97 0x0865b80f in UMLWidget::qt_metacall (this=0xa4a8d80, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0xbfa472e8) at ./umlwidget.moc:93
#98 0x027b7c9a in QMetaObject::metacall (object=0xa4a8d80, cl=86794448, idx=7, argv=0xbfa472e8) at kernel/qmetaobject.cpp:237
#99 0x027c63d5 in QMetaObject::activate (sender=0xab403d0, m=0x21fb748, local_signal_index=2, argv=0xbfa472e8) at kernel/qobject.cpp:3293
#100 0x01d6a073 in QMenu::triggered (this=0xab403d0, _t1=0xa9219a8) at .moc/release-shared/moc_qmenu.cpp:164
#101 0x01d6caca in QMenuPrivate::_q_actionTriggered (this=0xa74dde0) at widgets/qmenu.cpp:1129
#102 0x01d71196 in QMenu::qt_metacall (this=0xab403d0, _c=QMetaObject::InvokeMetaMethod, _id=8, _a=0xbfa474d8) at .moc/release-shared/moc_qmenu.cpp:105
#103 0x010019aa in KMenu::qt_metacall (this=0xab403d0, _c=QMetaObject::InvokeMetaMethod, _id=35, _a=0xbfa474d8) at ./kmenu.moc:76
#104 0x027b7c9a in QMetaObject::metacall (object=0xab403d0, cl=86794448, idx=35, argv=0xbfa474d8) at kernel/qmetaobject.cpp:237
#105 0x027c63d5 in QMetaObject::activate (sender=0xa9219a8, m=0x21f4d58, local_signal_index=1, argv=0xbfa474d8) at kernel/qobject.cpp:3293
#106 0x018c5bd9 in QAction::triggered (this=0xa9219a8, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#107 0x018c7dcc in QAction::activate (this=0xa9219a8, event=QAction::Trigger) at kernel/qaction.cpp:1255
#108 0x01d6b60c in QMenuPrivate::activateCausedStack (this=0xa74dde0, causedStack=..., action=0xa9219a8, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1011
#109 0x01d71abb in QMenuPrivate::activateAction (this=0xa74dde0, action=0xa9219a8, action_e=QAction::Trigger, self=<value optimized out>) at widgets/qmenu.cpp:1103
#110 0x01d72ac7 in QMenu::mouseReleaseEvent (this=0xab403d0, e=0xbfa47d70) at widgets/qmenu.cpp:2312
#111 0x00ffff65 in KMenu::mouseReleaseEvent (this=0xab403d0, e=0xbfa47d70) at ../../kdeui/widgets/kmenu.cpp:471
#112 0x0192a7f8 in QWidget::event (this=0xab403d0, event=0xbfa47d70) at kernel/qwidget.cpp:7998
#113 0x01d740cc in QMenu::event (this=0xab403d0, e=0xbfa47d70) at widgets/qmenu.cpp:2414
#114 0x018cc4dc in QApplicationPrivate::notify_helper (this=0xa1666e8, receiver=0xab403d0, e=0xbfa47d70) at kernel/qapplication.cpp:4300
#115 0x018d39f7 in QApplication::notify (this=0xbfa48620, receiver=0xab403d0, e=0xbfa47d70) at kernel/qapplication.cpp:3865
#116 0x00f09f2a in KApplication::notify (this=0xbfa48620, receiver=0xab403d0, event=0xbfa47d70) at ../../kdeui/kernel/kapplication.cpp:302
#117 0x027b2a3b in QCoreApplication::notifyInternal (this=0xbfa48620, receiver=0xab403d0, event=0xbfa47d70) at kernel/qcoreapplication.cpp:704
#118 0x018d2952 in QCoreApplication::sendEvent (receiver=0xab403d0, event=0xbfa47d70, alienWidget=0x0, nativeWidget=0xab403d0, buttonDown=0x2210058, lastMouseReceiver=..., spontaneous=true)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#119 QApplicationPrivate::sendMouseEvent (receiver=0xab403d0, event=0xbfa47d70, alienWidget=0x0, nativeWidget=0xab403d0, buttonDown=0x2210058, lastMouseReceiver=..., spontaneous=true)
    at kernel/qapplication.cpp:2965
#120 0x0195e5cf in QETWidget::translateMouseEvent (this=0xab403d0, event=0xbfa4828c) at kernel/qapplication_x11.cpp:4302
#121 0x0195d511 in QApplication::x11ProcessEvent (this=0xbfa48620, event=0xbfa4828c) at kernel/qapplication_x11.cpp:3379
#122 0x0198c60a in x11EventSourceDispatch (s=0xa169900, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#123 0x04a145e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#124 0x04a182d8 in ?? () from /lib/libglib-2.0.so.0
#125 0x04a184b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#126 0x027de5d5 in QEventDispatcherGlib::processEvents (this=0xa149150, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#127 0x0198c135 in QGuiEventDispatcherGlib::processEvents (this=0xa149150, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#128 0x027b1059 in QEventLoop::processEvents (this=0xbfa48584, flags=) at kernel/qeventloop.cpp:149
#129 0x027b14aa in QEventLoop::exec (this=0xbfa48584, flags=...) at kernel/qeventloop.cpp:201
#130 0x027b569f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#131 0x018cc577 in QApplication::exec () at kernel/qapplication.cpp:3579
#132 0x086ac645 in main (argc=3, argv=0xbfa487d4) at ../../../umbrello/umbrello/main.cpp:111

Reported using DrKonqi
Comment 1 Andi Fischer 2013-09-23 17:33:15 UTC
Git commit 8eb9a5457ca292712c75ca5efbc4bf5ff2f88afc by Andi Fischer, on behalf of Joris Steyn.
Committed on 23/09/2013 at 17:27.
Pushed by fischer into branch 'master'.

Fix crash when adding entity constraints

The root cause of this crash is not checking for a valid index when retrieving
the item from the QList. We should at least check that value before calling at().

The patch I propose adds this check and also fixes the problem causing the
index to be wrong in the first place (like Arash Abedinzadeh described).
Related: bug 191396, bug 257540, bug 302120, bug 322541

M  +12   -11   umbrello/dialogs/classifierlistpage.cpp
M  +1    -1    umbrello/dialogs/classifierlistpage.h
M  +9    -0    umbrello/dialogs/constraintlistpage.cpp
M  +1    -0    umbrello/dialogs/constraintlistpage.h

http://commits.kde.org/umbrello/8eb9a5457ca292712c75ca5efbc4bf5ff2f88afc
Comment 2 Joris Steyn 2013-11-27 19:03:41 UTC
Git commit 29dbb0f09e083613f2acbab2ca14cb999149bbad by Joris Steyn.
Committed on 23/09/2013 at 17:27.
Pushed by jorissteyn into branch 'KDE/4.11'.

Fix crash when adding entity constraints
Related: bug 191396, bug 257540, bug 302120, bug 322541
FIXED-IN: 4.11.4

Cherry-picked from 8eb9a5457ca292712c75ca5efbc4bf5ff2f88afc.

Conflicts (resolved):
	umbrello/dialogs/classifierlistpage.cpp

M  +11   -10   umbrello/dialogs/classifierlistpage.cpp
M  +1    -1    umbrello/dialogs/classifierlistpage.h
M  +9    -0    umbrello/dialogs/constraintlistpage.cpp
M  +1    -0    umbrello/dialogs/constraintlistpage.h

http://commits.kde.org/umbrello/29dbb0f09e083613f2acbab2ca14cb999149bbad