[Uml-devel] [Bug 302120] New: crash on foreign key

Karoly Bujtor bujtor.karoly at gmail.com
Mon Jun 18 12:24:56 UTC 2012


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

            Bug ID: 302120
          Severity: crash
           Version: unspecified
          Priority: NOR
          Assignee: umbrello-devel at kde.org
           Summary: crash on foreign key
    Classification: Unclassified
                OS: Linux
          Reporter: bujtor.karoly at gmail.com
          Hardware: Ubuntu Packages
            Status: UNCONFIRMED
         Component: general
           Product: umbrello

Application: umbrello (2.8.3)
KDE Platform Version: 4.8.3 (4.8.3)
Qt Version: 4.8.1
Operating System: Linux 3.2.0-25-generic x86_64
Distribution: Ubuntu 12.04 LTS

-- Information about the crash:
umbrello crashed on foreign key creation

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 0x7f47db84b780 (LWP 17083))]

Thread 4 (Thread 0x7f47c1ee4700 (LWP 17094)):
#0  0x00007f47d782fb03 in __GI___poll (fds=<optimized out>, nfds=<optimized
out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f47d4730036 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f47d473049a in g_main_loop_run () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f47c1ee998b in ?? () from
/usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so
#4  0x00007f47d47519e5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f47d7533e9a in start_thread (arg=0x7f47c1ee4700) at
pthread_create.c:308
#6  0x00007f47d783b4bd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f47c16e3700 (LWP 17095)):
#0  0x00007f47d4751eb0 in g_thread_self () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f47d472f1cb in g_main_context_acquire () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f47d472ff04 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f47d473049a in g_main_loop_run () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f47c924b406 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#5  0x00007f47d47519e5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f47d7533e9a in start_thread (arg=0x7f47c16e3700) at
pthread_create.c:308
#7  0x00007f47d783b4bd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f47a6fa2700 (LWP 17117)):
#0  0x00007f47d782fb03 in __GI___poll (fds=<optimized out>, nfds=<optimized
out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f47d4730036 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f47d4730164 in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f47d84c0426 in QEventDispatcherGlib::processEvents
(this=0x7f47a00008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f47d848fc82 in QEventLoop::processEvents (this=<optimized out>,
flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f47d848fed7 in QEventLoop::exec (this=0x7f47a6fa1dd0, flags=...) at
kernel/qeventloop.cpp:204
#6  0x00007f47d838efa7 in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:501
#7  0x00007f47d846f9ff in QInotifyFileSystemWatcherEngine::run (this=0x163b2d0)
at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f47d8391fcb in QThreadPrivate::start (arg=0x163b2d0) at
thread/qthread_unix.cpp:298
#9  0x00007f47d7533e9a in start_thread (arg=0x7f47a6fa2700) at
pthread_create.c:308
#10 0x00007f47d783b4bd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f47db84b780 (LWP 17083)):
[KCrash Handler]
#6  QString (other=..., this=0x7fffd155ad30) at
/usr/include/qt4/QtCore/qstring.h:725
#7  UMLObject::doc (this=0x6c000000330038) at
../../../umbrello/umbrello/umlobject.cpp:415
#8  0x000000000045c75e in ClassifierListPage::slotActivateItem (this=0x19575a0,
item=<optimized out>) at
../../../umbrello/umbrello/dialogs/classifierlistpage.cpp:354
#9  0x00007f47d84a5281 in QMetaObject::activate (sender=0x1cc8710, m=<optimized
out>, local_signal_index=<optimized out>, argv=0x7fffd155aea0) at
kernel/qobject.cpp:3547
#10 0x00007f47d966dcdf in QListWidget::currentItemChanged (this=<optimized
out>, _t1=0x1e04e00, _t2=0x0) at .moc/release-shared/moc_qlistwidget.cpp:247
#11 0x00007f47d966de0e in QListWidgetPrivate::_q_emitCurrentItemChanged
(this=0x17087c0, current=..., previous=...) at itemviews/qlistwidget.cpp:1112
#12 0x00007f47d84a5281 in QMetaObject::activate (sender=0x18fa7c0, m=<optimized
out>, local_signal_index=<optimized out>, argv=0x7fffd155b060) at
kernel/qobject.cpp:3547
#13 0x00007f47d965b8ea in QItemSelectionModel::currentChanged (this=<optimized
out>, _t1=..., _t2=...) at .moc/release-shared/moc_qitemselectionmodel.cpp:173
#14 0x00007f47d965b9e0 in QItemSelectionModel::setCurrentIndex (this=0x18fa7c0,
index=..., command=...) at itemviews/qitemselectionmodel.cpp:1175
#15 0x00007f47d966d698 in QListWidget::setCurrentRow (this=0x1cc8710, row=1) at
itemviews/qlistwidget.cpp:1484
#16 0x000000000045edbd in ClassifierListPage::slotListItemCreated
(this=0x19575a0, object=0x15948e0) at
../../../umbrello/umbrello/dialogs/classifierlistpage.cpp:400
#17 0x00007f47d84a5281 in QMetaObject::activate (sender=0x10f7c10, m=<optimized
out>, local_signal_index=<optimized out>, argv=0x7fffd155b3a0) at
kernel/qobject.cpp:3547
#18 0x0000000000745d20 in UMLDoc::sigObjectCreated (this=<optimized out>,
_t1=0x15948e0) at ./umldoc.moc:167
#19 0x00000000006db804 in UMLEntity::createForeignKeyConstraint
(this=0x1b65620, name=...) at ../../../umbrello/umbrello/entity.cpp:244
#20 0x000000000070b449 in Object_Factory::createChildObject (parent=0x1b65620,
type=UMLObject::ot_ForeignKeyConstraint) at
../../../umbrello/umbrello/object_factory.cpp:287
#21 0x000000000045d552 in ClassifierListPage::slotNewListItem (this=0x19575a0)
at ../../../umbrello/umbrello/dialogs/classifierlistpage.cpp:735
#22 0x000000000045f863 in ConstraintListPage::slotNewForeignKeyConstraint
(this=0x19575a0) at
../../../umbrello/umbrello/dialogs/constraintlistpage.cpp:125
#23 0x00007f47d84a5281 in QMetaObject::activate (sender=0x167c820, m=<optimized
out>, local_signal_index=<optimized out>, argv=0x7fffd155b760) at
kernel/qobject.cpp:3547
#24 0x00007f47d90d8132 in QAction::triggered (this=<optimized out>, _t1=false)
at .moc/release-shared/moc_qaction.cpp:277
#25 0x00007f47d90d831f in QAction::activate (this=0x167c820, event=<optimized
out>) at kernel/qaction.cpp:1257
#26 0x00007f47d952a119 in QMenuPrivate::activateCausedStack (this=0x18fef30,
causedStack=..., action=0x167c820, action_e=QAction::Trigger, self=true) at
widgets/qmenu.cpp:1028
#27 0x00007f47d9530272 in QMenuPrivate::activateAction (this=0x18fef30,
action=0x167c820, action_e=QAction::Trigger, self=true) at
widgets/qmenu.cpp:1120
#28 0x00007f47d9ed84a0 in KMenu::mouseReleaseEvent (this=0x18feea0,
e=0x7fffd155c330) at ../../kdeui/widgets/kmenu.cpp:464
#29 0x00007f47d912f144 in QWidget::event (this=0x18feea0, event=0x7fffd155c330)
at kernel/qwidget.cpp:8362
#30 0x00007f47d953180b in QMenu::event (this=0x18feea0, e=0x7fffd155c330) at
widgets/qmenu.cpp:2469
#31 0x00007f47d90de894 in notify_helper (e=0x7fffd155c330, receiver=0x18feea0,
this=0xe80070) at kernel/qapplication.cpp:4559
#32 QApplicationPrivate::notify_helper (this=0xe80070, receiver=0x18feea0,
e=0x7fffd155c330) at kernel/qapplication.cpp:4531
#33 0x00007f47d90e40bf in QApplication::notify (this=<optimized out>,
receiver=0x18feea0, e=0x7fffd155c330) at kernel/qapplication.cpp:4102
#34 0x00007f47d9e17bb6 in KApplication::notify (this=0x7fffd15607e0,
receiver=0x18feea0, event=0x7fffd155c330) at
../../kdeui/kernel/kapplication.cpp:311
#35 0x00007f47d8490e9c in QCoreApplication::notifyInternal
(this=0x7fffd15607e0, receiver=0x18feea0, event=0x7fffd155c330) at
kernel/qcoreapplication.cpp:876
#36 0x00007f47d90df862 in sendEvent (event=<optimized out>, receiver=<optimized
out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#37 QApplicationPrivate::sendMouseEvent (receiver=0x18feea0,
event=0x7fffd155c330, alienWidget=0x0, nativeWidget=0x18feea0, buttonDown=0x0,
lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3170
#38 0x00007f47d915f2c1 in QETWidget::translateMouseEvent (this=0x18feea0,
event=<optimized out>) at kernel/qapplication_x11.cpp:4551
#39 0x00007f47d915dbae in QApplication::x11ProcessEvent (this=0x7fffd15607e0,
event=0x7fffd155cc00) at kernel/qapplication_x11.cpp:3732
#40 0x00007f47d91870d2 in x11EventSourceDispatch (s=0xe7f300, callback=0,
user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#41 0x00007f47d472fd53 in g_main_context_dispatch () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#42 0x00007f47d47300a0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#43 0x00007f47d4730164 in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#44 0x00007f47d84c03bf in QEventDispatcherGlib::processEvents (this=0xe523d0,
flags=...) at kernel/qeventdispatcher_glib.cpp:424
#45 0x00007f47d9186d5e in QGuiEventDispatcherGlib::processEvents
(this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#46 0x00007f47d848fc82 in QEventLoop::processEvents (this=<optimized out>,
flags=...) at kernel/qeventloop.cpp:149
#47 0x00007f47d848fed7 in QEventLoop::exec (this=0x7fffd155cfa0, flags=...) at
kernel/qeventloop.cpp:204
#48 0x00007f47d952d131 in QMenu::exec (this=<optimized out>, p=..., action=0x0)
at widgets/qmenu.cpp:2113
#49 0x00007f47d953c6d2 in QPushButtonPrivate::_q_popupPressed (this=0x17fa530)
at widgets/qpushbutton.cpp:592
#50 0x00007f47d84a5281 in QMetaObject::activate (sender=0x1b137e0, m=<optimized
out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3547
#51 0x00007f47d94acae1 in QAbstractButtonPrivate::emitPressed (this=<optimized
out>) at widgets/qabstractbutton.cpp:562
#52 0x00007f47d94ad51c in QAbstractButton::mousePressEvent (this=0x1b137e0,
e=0x7fffd155d9e0) at widgets/qabstractbutton.cpp:1098
#53 0x00007f47d912f429 in QWidget::event (this=0x1b137e0, event=0x7fffd155d9e0)
at kernel/qwidget.cpp:8358
#54 0x00007f47d90de894 in notify_helper (e=0x7fffd155d9e0, receiver=0x1b137e0,
this=0xe80070) at kernel/qapplication.cpp:4559
#55 QApplicationPrivate::notify_helper (this=0xe80070, receiver=0x1b137e0,
e=0x7fffd155d9e0) at kernel/qapplication.cpp:4531
#56 0x00007f47d90e40bf in QApplication::notify (this=<optimized out>,
receiver=0x1b137e0, e=0x7fffd155d9e0) at kernel/qapplication.cpp:4102
#57 0x00007f47d9e17bb6 in KApplication::notify (this=0x7fffd15607e0,
receiver=0x1b137e0, event=0x7fffd155d9e0) at
../../kdeui/kernel/kapplication.cpp:311
#58 0x00007f47d8490e9c in QCoreApplication::notifyInternal
(this=0x7fffd15607e0, receiver=0x1b137e0, event=0x7fffd155d9e0) at
kernel/qcoreapplication.cpp:876
#59 0x00007f47d90df862 in sendEvent (event=<optimized out>, receiver=<optimized
out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#60 QApplicationPrivate::sendMouseEvent (receiver=0x1b137e0,
event=0x7fffd155d9e0, alienWidget=0x1b137e0, nativeWidget=0x1147240,
buttonDown=0x1b137e0, lastMouseReceiver=..., spontaneous=true) at
kernel/qapplication.cpp:3170
#61 0x00007f47d915ebf5 in QETWidget::translateMouseEvent (this=0x1147240,
event=<optimized out>) at kernel/qapplication_x11.cpp:4617
#62 0x00007f47d915dbae in QApplication::x11ProcessEvent (this=0x7fffd15607e0,
event=0x7fffd155e2b0) at kernel/qapplication_x11.cpp:3732
#63 0x00007f47d91870d2 in x11EventSourceDispatch (s=0xe7f300, callback=0,
user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#64 0x00007f47d472fd53 in g_main_context_dispatch () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#65 0x00007f47d47300a0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#66 0x00007f47d4730164 in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#67 0x00007f47d84c03bf in QEventDispatcherGlib::processEvents (this=0xe523d0,
flags=...) at kernel/qeventdispatcher_glib.cpp:424
#68 0x00007f47d9186d5e in QGuiEventDispatcherGlib::processEvents
(this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#69 0x00007f47d848fc82 in QEventLoop::processEvents (this=<optimized out>,
flags=...) at kernel/qeventloop.cpp:149
#70 0x00007f47d848fed7 in QEventLoop::exec (this=0x7fffd155e650, flags=...) at
kernel/qeventloop.cpp:204
#71 0x00007f47d95ae936 in QDialog::exec (this=0x1147240) at
dialogs/qdialog.cpp:554
#72 0x000000000076d2eb in UMLObject::showPropertiesPagedDialog (this=0x1b65620,
page=<optimized out>, assoc=false) at
../../../umbrello/umbrello/umlobject.cpp:125
#73 0x000000000076484d in UMLListView::popupMenuSel (this=0x145feb0,
action=<optimized out>) at ../../../umbrello/umbrello/umllistview.cpp:617
#74 0x00000000007669f4 in UMLListView::qt_static_metacall (_o=0x145feb0,
_c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at
./umllistview.moc:92
#75 0x00007f47d84a5281 in QMetaObject::activate (sender=0x16a9e40, m=<optimized
out>, local_signal_index=<optimized out>, argv=0x7fffd155ed60) at
kernel/qobject.cpp:3547
#76 0x00007f47d9529ea2 in QMenu::triggered (this=<optimized out>,
_t1=0x19bd7f0) at .moc/release-shared/moc_qmenu.cpp:178
#77 0x00007f47d952b2bb in QMenuPrivate::_q_actionTriggered (this=<optimized
out>) at widgets/qmenu.cpp:1146
#78 0x00007f47d84a5281 in QMetaObject::activate (sender=0x19bd7f0, m=<optimized
out>, local_signal_index=<optimized out>, argv=0x7fffd155ef10) at
kernel/qobject.cpp:3547
#79 0x00007f47d90d8132 in QAction::triggered (this=<optimized out>, _t1=false)
at .moc/release-shared/moc_qaction.cpp:277
#80 0x00007f47d90d831f in QAction::activate (this=0x19bd7f0, event=<optimized
out>) at kernel/qaction.cpp:1257
#81 0x00007f47d952a119 in QMenuPrivate::activateCausedStack (this=0x1919f50,
causedStack=..., action=0x19bd7f0, action_e=QAction::Trigger, self=true) at
widgets/qmenu.cpp:1028
#82 0x00007f47d9530272 in QMenuPrivate::activateAction (this=0x1919f50,
action=0x19bd7f0, action_e=QAction::Trigger, self=true) at
widgets/qmenu.cpp:1120
#83 0x00007f47d9ed84a0 in KMenu::mouseReleaseEvent (this=0x16a9e40,
e=0x7fffd155fae0) at ../../kdeui/widgets/kmenu.cpp:464
#84 0x00007f47d912f144 in QWidget::event (this=0x16a9e40, event=0x7fffd155fae0)
at kernel/qwidget.cpp:8362
#85 0x00007f47d953180b in QMenu::event (this=0x16a9e40, e=0x7fffd155fae0) at
widgets/qmenu.cpp:2469
#86 0x00007f47d90de894 in notify_helper (e=0x7fffd155fae0, receiver=0x16a9e40,
this=0xe80070) at kernel/qapplication.cpp:4559
#87 QApplicationPrivate::notify_helper (this=0xe80070, receiver=0x16a9e40,
e=0x7fffd155fae0) at kernel/qapplication.cpp:4531
#88 0x00007f47d90e40bf in QApplication::notify (this=<optimized out>,
receiver=0x16a9e40, e=0x7fffd155fae0) at kernel/qapplication.cpp:4102
#89 0x00007f47d9e17bb6 in KApplication::notify (this=0x7fffd15607e0,
receiver=0x16a9e40, event=0x7fffd155fae0) at
../../kdeui/kernel/kapplication.cpp:311
#90 0x00007f47d8490e9c in QCoreApplication::notifyInternal
(this=0x7fffd15607e0, receiver=0x16a9e40, event=0x7fffd155fae0) at
kernel/qcoreapplication.cpp:876
#91 0x00007f47d90df862 in sendEvent (event=<optimized out>, receiver=<optimized
out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#92 QApplicationPrivate::sendMouseEvent (receiver=0x16a9e40,
event=0x7fffd155fae0, alienWidget=0x0, nativeWidget=0x16a9e40, buttonDown=0x0,
lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3170
#93 0x00007f47d915f2c1 in QETWidget::translateMouseEvent (this=0x16a9e40,
event=<optimized out>) at kernel/qapplication_x11.cpp:4551
#94 0x00007f47d915dbae in QApplication::x11ProcessEvent (this=0x7fffd15607e0,
event=0x7fffd15603b0) at kernel/qapplication_x11.cpp:3732
#95 0x00007f47d91870d2 in x11EventSourceDispatch (s=0xe7f300, callback=0,
user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#96 0x00007f47d472fd53 in g_main_context_dispatch () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#97 0x00007f47d47300a0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#98 0x00007f47d4730164 in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#99 0x00007f47d84c03bf in QEventDispatcherGlib::processEvents (this=0xe523d0,
flags=...) at kernel/qeventdispatcher_glib.cpp:424
#100 0x00007f47d9186d5e in QGuiEventDispatcherGlib::processEvents
(this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#101 0x00007f47d848fc82 in QEventLoop::processEvents (this=<optimized out>,
flags=...) at kernel/qeventloop.cpp:149
#102 0x00007f47d848fed7 in QEventLoop::exec (this=0x7fffd1560750, flags=...) at
kernel/qeventloop.cpp:204
#103 0x00007f47d8494f67 in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:1148
#104 0x0000000000438d16 in main (argc=3, argv=0x7fffd1560bf8) at
../../../umbrello/umbrello/main.cpp:111

Possible duplicates by query: bug 300479, bug 298359, bug 291691, bug 281478,
bug 281391.

Reported using DrKonqi

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




More information about the umbrello-devel mailing list