[umbrello-devel] [umbrello] [Bug 329274] New: Umbrello crashed when adding new check constrait in ERD

ondrej.flidr at seznam.cz ondrej.flidr at seznam.cz
Fri Dec 27 12:55:14 UTC 2013


https://bugs.kde.org/show_bug.cgi?id=329274

            Bug ID: 329274
           Summary: Umbrello crashed when adding new check constrait in
                    ERD
    Classification: Unclassified
           Product: umbrello
           Version: unspecified
          Platform: Ubuntu Packages
                OS: Linux
            Status: UNCONFIRMED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: umbrello-devel at kde.org
          Reporter: ondrej.flidr at seznam.cz

Application: umbrello (2.11.3)
KDE Platform Version: 4.11.3
Qt Version: 4.8.4
Operating System: Linux 3.11.0-14-generic x86_64
Distribution: Ubuntu 13.10

-- Information about the crash:
- What I was doing when the application crashed:
Adding new check constraint in ERD. Dialog appears but umbrello crashed after
OK. Another constraints (FK, PK, uniq) works without problem.

- Custom settings of the application:
Default language sets to PHP5
Project is created in older version of umbrello and KDE libs.

The crash can be reproduced every time.

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

Thread 3 (Thread 0x7faf140d8700 (LWP 3870)):
#0  0x00007faf248c8f7d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007faf2161e6a4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007faf2161eb0a in g_main_loop_run () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007faf1bb30b66 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007faf216430f5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007faf21ae3f6e in start_thread (arg=0x7faf140d8700) at
pthread_create.c:311
#6  0x00007faf248d59cd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 2 (Thread 0x7faf12fbc700 (LWP 3871)):
#0  0x00007faf248c8f7d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007faf2161e6a4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007faf2161e7ac in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007faf2161e7f9 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007faf216430f5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007faf21ae3f6e in start_thread (arg=0x7faf12fbc700) at
pthread_create.c:311
#6  0x00007faf248d59cd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7faf283cd7c0 (LWP 3867)):
[KCrash Handler]
#6  QString (other=..., this=this at entry=0x7ffff96d7f80) at
/usr/include/qt4/QtCore/qstring.h:725
#7  UMLObject::doc (this=this at entry=0x41) at ../../umbrello/umlobject.cpp:406
#8  0x00000000004613c7 in ClassifierListPage::slotActivateItem (this=0x29c8de0,
item=<optimized out>) at ../../umbrello/dialogs/classifierlistpage.cpp:354
#9  0x00007faf26201a58 in QMetaObject::activate (sender=sender at entry=0x2970bc0,
m=m at entry=0x7faf26051780 <QListWidget::staticMetaObject>,
local_signal_index=local_signal_index at entry=6, argv=argv at entry=0x7ffff96d80d0)
at kernel/qobject.cpp:3539
#10 0x00007faf25ae3fdb in QListWidget::currentItemChanged
(this=this at entry=0x2970bc0, _t1=_t1 at entry=0x29ace60, _t2=0x0) at
.moc/release-shared/moc_qlistwidget.cpp:247
#11 0x00007faf25ae40ec in QListWidgetPrivate::_q_emitCurrentItemChanged
(this=0x2970bf0, current=..., previous=...) at itemviews/qlistwidget.cpp:1112
#12 0x00007faf26201a58 in QMetaObject::activate (sender=sender at entry=0x278a7c0,
m=m at entry=0x7faf26050fc0 <QItemSelectionModel::staticMetaObject>,
local_signal_index=local_signal_index at entry=1, argv=argv at entry=0x7ffff96d8270)
at kernel/qobject.cpp:3539
#13 0x00007faf25ad2c7a in QItemSelectionModel::currentChanged
(this=this at entry=0x278a7c0, _t1=..., _t2=...) at
.moc/release-shared/moc_qitemselectionmodel.cpp:173
#14 0x00007faf25ad2d5d in QItemSelectionModel::setCurrentIndex (this=0x278a7c0,
index=..., command=...) at itemviews/qitemselectionmodel.cpp:1175
#15 0x00007faf25ae3588 in QListWidget::setCurrentRow (this=0x2970bc0, row=2) at
itemviews/qlistwidget.cpp:1488
#16 0x00007faf25ae35d4 in QListWidget::setCurrentItem (this=<optimized out>,
item=<optimized out>) at itemviews/qlistwidget.cpp:1455
#17 0x0000000000461746 in ClassifierListPage::slotListItemCreated
(this=0x29c8de0, object=0x2a030f0) at
../../umbrello/dialogs/classifierlistpage.cpp:400
#18 0x00007faf26201a58 in QMetaObject::activate (sender=0x1920e70,
m=m at entry=0x816480 <UMLDoc::staticMetaObject>,
local_signal_index=local_signal_index at entry=4, argv=argv at entry=0x7ffff96d8550)
at kernel/qobject.cpp:3539
#19 0x0000000000740d60 in sigObjectCreated (_t1=0x2a030f0, this=<optimized
out>) at ./umldoc.moc:167
#20 UMLDoc::signalUMLObjectCreated (this=<optimized out>, o=o at entry=0x2a030f0)
at ../../umbrello/umldoc.cpp:1616
#21 0x00000000006e1a6c in UMLEntity::createCheckConstraint (this=0x218ecb0,
name=...) at ../../umbrello/entity.cpp:293
#22 0x000000000070ee56 in Object_Factory::createChildObject (parent=0x218ecb0,
type=UMLObject::ot_CheckConstraint) at ../../umbrello/object_factory.cpp:295
#23 0x00000000004628b2 in ClassifierListPage::slotNewListItem (this=0x29c8de0)
at ../../umbrello/dialogs/classifierlistpage.cpp:735
#24 0x0000000000463358 in slotNewCheckConstraint (this=<optimized out>) at
../../umbrello/dialogs/constraintlistpage.cpp:134
#25 ConstraintListPage::qt_static_metacall (_o=0x29c8de0, _c=65, _id=37359872,
_a=0x7faf24b9c750 <main_arena+16>) at ./constraintlistpage.moc:58
#26 0x00007faf26201a58 in QMetaObject::activate (sender=sender at entry=0x27956d0,
m=m at entry=0x7faf26033de0 <QAction::staticMetaObject>,
local_signal_index=local_signal_index at entry=1, argv=argv at entry=0x7ffff96d8800)
at kernel/qobject.cpp:3539
#27 0x00007faf25584a32 in QAction::triggered (this=this at entry=0x27956d0,
_t1=false) at .moc/release-shared/moc_qaction.cpp:277
#28 0x00007faf25586403 in QAction::activate (this=this at entry=0x27956d0,
event=event at entry=QAction::Trigger) at kernel/qaction.cpp:1257
#29 0x00007faf259b37f9 in QMenuPrivate::activateCausedStack
(this=this at entry=0x278dc00, causedStack=..., action=action at entry=0x27956d0,
action_e=action_e at entry=QAction::Trigger, self=self at entry=true) at
widgets/qmenu.cpp:1038
#30 0x00007faf259b7d19 in QMenuPrivate::activateAction (this=0x278dc00,
action=0x27956d0, action_e=action_e at entry=QAction::Trigger,
self=self at entry=true) at widgets/qmenu.cpp:1130
#31 0x00007faf259bb6e5 in QMenu::mouseReleaseEvent (this=this at entry=0x278db70,
e=e at entry=0x7ffff96d8f30) at widgets/qmenu.cpp:2372
#32 0x00007faf26f44175 in KMenu::mouseReleaseEvent (this=0x278db70,
e=0x7ffff96d8f30) at ../../kdeui/widgets/kmenu.cpp:464
#33 0x00007faf255da31e in QWidget::event (this=this at entry=0x278db70,
event=event at entry=0x7ffff96d8f30) at kernel/qwidget.cpp:8375
#34 0x00007faf259bbaeb in QMenu::event (this=0x278db70, e=0x7ffff96d8f30) at
widgets/qmenu.cpp:2481
#35 0x00007faf2558adfc in QApplicationPrivate::notify_helper
(this=this at entry=0x1647c80, receiver=receiver at entry=0x278db70,
e=e at entry=0x7ffff96d8f30) at kernel/qapplication.cpp:4567
#36 0x00007faf255915ad in QApplication::notify (this=this at entry=0x7ffff96db780,
receiver=receiver at entry=0x278db70, e=e at entry=0x7ffff96d8f30) at
kernel/qapplication.cpp:4110
#37 0x00007faf26e8da6a in KApplication::notify (this=0x7ffff96db780,
receiver=0x278db70, event=0x7ffff96d8f30) at
../../kdeui/kernel/kapplication.cpp:311
#38 0x00007faf261ed8bd in QCoreApplication::notifyInternal
(this=0x7ffff96db780, receiver=receiver at entry=0x278db70,
event=event at entry=0x7ffff96d8f30) at kernel/qcoreapplication.cpp:946
#39 0x00007faf25590d63 in sendEvent (event=<optimized out>, receiver=<optimized
out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#40 QApplicationPrivate::sendMouseEvent (receiver=receiver at entry=0x278db70,
event=event at entry=0x7ffff96d8f30, alienWidget=alienWidget at entry=0x0,
nativeWidget=nativeWidget at entry=0x278db70,
buttonDown=buttonDown at entry=0x7faf2606f2f8 <qt_button_down>,
lastMouseReceiver=..., spontaneous=spontaneous at entry=true) at
kernel/qapplication.cpp:3178
#41 0x00007faf25605b0c in QETWidget::translateMouseEvent
(this=this at entry=0x278db70, event=event at entry=0x7ffff96d9280) at
kernel/qapplication_x11.cpp:4565
#42 0x00007faf25605079 in QApplication::x11ProcessEvent (this=0x7ffff96db780,
event=event at entry=0x7ffff96d9280) at kernel/qapplication_x11.cpp:3624
#43 0x00007faf2562c922 in x11EventSourceDispatch (s=0x1649020, callback=0x0,
user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#44 0x00007faf2161e3b6 in g_main_context_dispatch () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#45 0x00007faf2161e708 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#46 0x00007faf2161e7ac in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#47 0x00007faf2621aa55 in QEventDispatcherGlib::processEvents (this=0x1613760,
flags=...) at kernel/qeventdispatcher_glib.cpp:424
#48 0x00007faf2562c9d6 in QGuiEventDispatcherGlib::processEvents
(this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#49 0x00007faf261ec5ef in QEventLoop::processEvents
(this=this at entry=0x7ffff96d9670, flags=...) at kernel/qeventloop.cpp:149
#50 0x00007faf261ec8e5 in QEventLoop::exec (this=this at entry=0x7ffff96d9670,
flags=...) at kernel/qeventloop.cpp:204
#51 0x00007faf259ba8e7 in QMenu::exec (this=0x278db70, p=...,
action=action at entry=0x0) at widgets/qmenu.cpp:2125
#52 0x00007faf259c4f3f in QPushButtonPrivate::_q_popupPressed (this=0x27bf720)
at widgets/qpushbutton.cpp:592
#53 0x00007faf26201a58 in QMetaObject::activate (sender=sender at entry=0x278ce00,
m=m at entry=0x7faf2605d2a0 <QAbstractButton::staticMetaObject>,
local_signal_index=local_signal_index at entry=0, argv=argv at entry=0x0) at
kernel/qobject.cpp:3539
#54 0x00007faf25bd86e0 in QAbstractButton::pressed (this=this at entry=0x278ce00)
at .moc/release-shared/moc_qabstractbutton.cpp:207
#55 0x00007faf2593c006 in QAbstractButtonPrivate::emitPressed
(this=this at entry=0x27bf720) at widgets/qabstractbutton.cpp:562
#56 0x00007faf2593c5ac in QAbstractButton::mousePressEvent (this=0x278ce00,
e=0x7ffff96d9c90) at widgets/qabstractbutton.cpp:1098
#57 0x00007faf255da191 in QWidget::event (this=0x278ce00, event=0x7ffff96d9c90)
at kernel/qwidget.cpp:8371
#58 0x00007faf2558adfc in QApplicationPrivate::notify_helper
(this=this at entry=0x1647c80, receiver=receiver at entry=0x278ce00,
e=e at entry=0x7ffff96d9c90) at kernel/qapplication.cpp:4567
#59 0x00007faf255915ad in QApplication::notify (this=this at entry=0x7ffff96db780,
receiver=receiver at entry=0x278ce00, e=e at entry=0x7ffff96d9c90) at
kernel/qapplication.cpp:4110
#60 0x00007faf26e8da6a in KApplication::notify (this=0x7ffff96db780,
receiver=0x278ce00, event=0x7ffff96d9c90) at
../../kdeui/kernel/kapplication.cpp:311
#61 0x00007faf261ed8bd in QCoreApplication::notifyInternal
(this=0x7ffff96db780, receiver=receiver at entry=0x278ce00,
event=event at entry=0x7ffff96d9c90) at kernel/qcoreapplication.cpp:946
#62 0x00007faf25590d63 in sendEvent (event=<optimized out>, receiver=<optimized
out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#63 QApplicationPrivate::sendMouseEvent (receiver=receiver at entry=0x278ce00,
event=event at entry=0x7ffff96d9c90, alienWidget=alienWidget at entry=0x278ce00,
nativeWidget=nativeWidget at entry=0x2243600,
buttonDown=buttonDown at entry=0x7faf2606f2f8 <qt_button_down>,
lastMouseReceiver=..., spontaneous=spontaneous at entry=true) at
kernel/qapplication.cpp:3178
#64 0x00007faf256057db in QETWidget::translateMouseEvent
(this=this at entry=0x2243600, event=event at entry=0x7ffff96da010) at
kernel/qapplication_x11.cpp:4631
#65 0x00007faf25605079 in QApplication::x11ProcessEvent (this=0x7ffff96db780,
event=event at entry=0x7ffff96da010) at kernel/qapplication_x11.cpp:3624
#66 0x00007faf2562c922 in x11EventSourceDispatch (s=0x1649020, callback=0x0,
user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#67 0x00007faf2161e3b6 in g_main_context_dispatch () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#68 0x00007faf2161e708 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#69 0x00007faf2161e7ac in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#70 0x00007faf2621aa55 in QEventDispatcherGlib::processEvents (this=0x1613760,
flags=...) at kernel/qeventdispatcher_glib.cpp:424
#71 0x00007faf2562c9d6 in QGuiEventDispatcherGlib::processEvents
(this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#72 0x00007faf261ec5ef in QEventLoop::processEvents
(this=this at entry=0x7ffff96da400, flags=...) at kernel/qeventloop.cpp:149
#73 0x00007faf261ec8e5 in QEventLoop::exec (this=this at entry=0x7ffff96da400,
flags=...) at kernel/qeventloop.cpp:204
#74 0x00007faf25a3138c in QDialog::exec (this=0x2243600) at
dialogs/qdialog.cpp:554
#75 0x00000000006a79d2 in UMLWidget::showPropertiesDialog (this=0x21af300) at
../../umbrello/widgets/umlwidget.cpp:797
#76 0x00000000006aa5f3 in UMLWidget::mouseDoubleClickEvent (this=0x21af300,
event=0x20433b0) at ../../umbrello/widgets/umlwidget.cpp:298
#77 0x000000000072534a in ToolBarState::mouseDoubleClick (this=0x21a45f0,
ome=<optimized out>) at ../../umbrello/toolbarstate.cpp:151
#78 0x0000000000786b3c in UMLScene::mouseDoubleClickEvent (this=0x21a3f50,
event=0x7ffff96da820) at ../../umbrello/umlscene.cpp:864
#79 0x00007faf25b6f5f0 in QGraphicsScene::event (this=0x21a3f50,
event=0x7ffff96da820) at graphicsview/qgraphicsscene.cpp:3461
#80 0x00007faf2558adfc in QApplicationPrivate::notify_helper
(this=this at entry=0x1647c80, receiver=receiver at entry=0x21a3f50,
e=e at entry=0x7ffff96da820) at kernel/qapplication.cpp:4567
#81 0x00007faf25591470 in QApplication::notify (this=this at entry=0x7ffff96db780,
receiver=receiver at entry=0x21a3f50, e=e at entry=0x7ffff96da820) at
kernel/qapplication.cpp:4353
#82 0x00007faf26e8da6a in KApplication::notify (this=0x7ffff96db780,
receiver=0x21a3f50, event=0x7ffff96da820) at
../../kdeui/kernel/kapplication.cpp:311
#83 0x00007faf261ed8bd in QCoreApplication::notifyInternal
(this=0x7ffff96db780, receiver=0x21a3f50, event=event at entry=0x7ffff96da820) at
kernel/qcoreapplication.cpp:946
#84 0x00007faf25589526 in sendSpontaneousEvent
(event=event at entry=0x7ffff96da820, receiver=<optimized out>) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#85 qt_sendSpontaneousEvent (receiver=<optimized out>,
event=event at entry=0x7ffff96da820) at kernel/qapplication.cpp:5565
#86 0x00007faf25b85da7 in QGraphicsView::mouseDoubleClickEvent (this=0x2190610,
event=0x7ffff96dad90) at graphicsview/qgraphicsview.cpp:3122
#87 0x00007faf255da45e in QWidget::event (this=this at entry=0x2190610,
event=event at entry=0x7ffff96dad90) at kernel/qwidget.cpp:8379
#88 0x00007faf2597b5be in QFrame::event (this=0x2190610, e=0x7ffff96dad90) at
widgets/qframe.cpp:557
#89 0x00007faf25b86e09 in QGraphicsView::viewportEvent (this=0x2190610,
event=0x7ffff96dad90) at graphicsview/qgraphicsview.cpp:2866
#90 0x00007faf261eda26 in
QCoreApplicationPrivate::sendThroughObjectEventFilters
(this=this at entry=0x1647c80, receiver=receiver at entry=0x21a3b00,
event=event at entry=0x7ffff96dad90) at kernel/qcoreapplication.cpp:1056
#91 0x00007faf2558addc in QApplicationPrivate::notify_helper
(this=this at entry=0x1647c80, receiver=receiver at entry=0x21a3b00,
e=e at entry=0x7ffff96dad90) at kernel/qapplication.cpp:4563
#92 0x00007faf255915ad in QApplication::notify (this=this at entry=0x7ffff96db780,
receiver=receiver at entry=0x21a3b00, e=e at entry=0x7ffff96dad90) at
kernel/qapplication.cpp:4110
#93 0x00007faf26e8da6a in KApplication::notify (this=0x7ffff96db780,
receiver=0x21a3b00, event=0x7ffff96dad90) at
../../kdeui/kernel/kapplication.cpp:311
#94 0x00007faf261ed8bd in QCoreApplication::notifyInternal
(this=0x7ffff96db780, receiver=receiver at entry=0x21a3b00,
event=event at entry=0x7ffff96dad90) at kernel/qcoreapplication.cpp:946
#95 0x00007faf25590d63 in sendEvent (event=<optimized out>, receiver=<optimized
out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#96 QApplicationPrivate::sendMouseEvent (receiver=receiver at entry=0x21a3b00,
event=event at entry=0x7ffff96dad90, alienWidget=alienWidget at entry=0x0,
nativeWidget=nativeWidget at entry=0x21a3b00,
buttonDown=buttonDown at entry=0x7faf2606f2f8 <qt_button_down>,
lastMouseReceiver=..., spontaneous=spontaneous at entry=true) at
kernel/qapplication.cpp:3178
#97 0x00007faf256057db in QETWidget::translateMouseEvent
(this=this at entry=0x21a3b00, event=event at entry=0x7ffff96db110) at
kernel/qapplication_x11.cpp:4631
#98 0x00007faf25605079 in QApplication::x11ProcessEvent (this=0x7ffff96db780,
event=event at entry=0x7ffff96db110) at kernel/qapplication_x11.cpp:3624
#99 0x00007faf2562c922 in x11EventSourceDispatch (s=0x1649020, callback=0x0,
user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#100 0x00007faf2161e3b6 in g_main_context_dispatch () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#101 0x00007faf2161e708 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#102 0x00007faf2161e7ac in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#103 0x00007faf2621aa55 in QEventDispatcherGlib::processEvents (this=0x1613760,
flags=...) at kernel/qeventdispatcher_glib.cpp:424
#104 0x00007faf2562c9d6 in QGuiEventDispatcherGlib::processEvents
(this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#105 0x00007faf261ec5ef in QEventLoop::processEvents
(this=this at entry=0x7ffff96db4f0, flags=...) at kernel/qeventloop.cpp:149
#106 0x00007faf261ec8e5 in QEventLoop::exec (this=this at entry=0x7ffff96db4f0,
flags=...) at kernel/qeventloop.cpp:204
#107 0x00007faf261f1e5b in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:1218
#108 0x00007faf2558934c in QApplication::exec () at
kernel/qapplication.cpp:3828
#109 0x000000000043807b in main (argc=<optimized out>, argv=<optimized out>) at
../../umbrello/main.cpp:113

Possible duplicates by query: bug 304337, bug 302120, bug 300479, bug 298359,
bug 291691.

Reported using DrKonqi

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the umbrello-devel mailing list