Bug 272695 - Crash on 14th foreign key constraint
Summary: Crash on 14th foreign key constraint
Status: RESOLVED DUPLICATE of bug 259404
Alias: None
Product: umbrello
Classification: Applications
Component: general (show other bugs)
Version: 2.6.2
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Umbrello Development Group
URL:
Keywords:
: 258263 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-05-07 14:19 UTC by ozsmhext
Modified: 2014-12-02 02:06 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 ozsmhext 2011-05-07 14:19:53 UTC
Application: umbrello (2.6.2)
KDE Platform Version: 4.6.2 (4.6.2)
Qt Version: 4.7.2
Operating System: Linux 2.6.35.12-90.fc14.x86_64 x86_64
Distribution: "Fedora release 14 (Laughlin)"

-- Information about the crash:
- What I was doing when the application crashed:
I was adding 14th Foreign Key to an entity. 
There are 45 entities defined. All have primary keys. Some had Unique constraints.

The crash can be reproduced every time.

-- Backtrace:
Application: Umbrello UML Modeller (umbrello), signal: Segmentation fault
41	  int result = INLINE_SYSCALL (wait4, 4, pid, stat_loc, options, NULL);
[Current thread is 1 (Thread 0x7fb14b29c840 (LWP 16403))]

Thread 3 (Thread 0x7fb144fd5700 (LWP 16404)):
#0  0x0000003ed30d7283 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x0000003ed5042374 in g_main_context_poll (context=0x2b5d9e0, block=1, dispatch=1, self=<value optimized out>) at gmain.c:3093
#2  g_main_context_iterate (context=0x2b5d9e0, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2775
#3  0x0000003ed5042c82 in g_main_loop_run (loop=0x2b5dac0) at gmain.c:2988
#4  0x0000003edb0a5774 in gdbus_shared_thread_func (data=<value optimized out>) at gdbusprivate.c:277
#5  0x0000003ed5069446 in g_thread_create_proxy (data=0x2b5dae0) at gthread.c:1897
#6  0x0000003ed3806ccb in start_thread (arg=0x7fb144fd5700) at pthread_create.c:301
#7  0x0000003ed30e0c2d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 2 (Thread 0x7fb139d9e700 (LWP 16405)):
#0  0x0000003ed30d7283 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x0000003ed5042374 in g_main_context_poll (context=0x7fb1340009b0, block=1, dispatch=1, self=<value optimized out>) at gmain.c:3093
#2  g_main_context_iterate (context=0x7fb1340009b0, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2775
#3  0x0000003ed50428ad in g_main_context_iteration (context=0x7fb1340009b0, may_block=1) at gmain.c:2843
#4  0x000000381b1883a6 in QEventDispatcherGlib::processEvents (this=0x7fb1340008c0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#5  0x000000381b15c532 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x000000381b15c77c in QEventLoop::exec (this=0x7fb139d9dd00, flags=...) at kernel/qeventloop.cpp:201
#7  0x000000381b0715f4 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#8  0x000000381b13de08 in QInotifyFileSystemWatcherEngine::run (this=0x2ed7940) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x000000381b073e95 in QThreadPrivate::start (arg=0x2ed7940) at thread/qthread_unix.cpp:320
#10 0x0000003ed3806ccb in start_thread (arg=0x7fb139d9e700) at pthread_create.c:301
#11 0x0000003ed30e0c2d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7fb14b29c840 (LWP 16403)):
[KCrash Handler]
#4  operator!= (this=0x346a000, position=1287, assoc=0x3460be0) at /usr/include/QtCore/qbasicatomic.h:75
#5  insert (this=0x346a000, position=1287, assoc=0x3460be0) at /usr/include/QtCore/qlist.h:564
#6  AssociationWidget::insertIntoLists (this=0x346a000, position=1287, assoc=0x3460be0) at /usr/src/debug/kdesdk-4.6.2/umbrello/umbrello/widgets/associationwidget.cpp:3175
#7  0x00000000006972de in AssociationWidget::updateAssociations (this=0x346a000, totalCount=104, region=AssociationWidget::West, role=Uml::B) at /usr/src/debug/kdesdk-4.6.2/umbrello/umbrello/widgets/associationwidget.cpp:3244
#8  0x000000000069771b in AssociationWidget::doUpdates (this=0x346a000, otherX=<value optimized out>, otherY=<value optimized out>, role=Uml::B) at /usr/src/debug/kdesdk-4.6.2/umbrello/umbrello/widgets/associationwidget.cpp:1378
#9  0x000000000069798f in AssociationWidget::calculateEndingPoints (this=0x346a000) at /usr/src/debug/kdesdk-4.6.2/umbrello/umbrello/widgets/associationwidget.cpp:1336
#10 0x0000000000699423 in AssociationWidget::AssociationWidget (this=0x346a000, view=<value optimized out>, pWidgetA=0x37f9640, assocType=Uml::at_Relationship, pWidgetB=0x37f4590, umlobject=<value optimized out>) at /usr/src/debug/kdesdk-4.6.2/umbrello/umbrello/widgets/associationwidget.cpp:112
#11 0x00000000007a0f9c in UMLView::createAutoConstraintAssociation (this=0x37d50c0, refEntity=<value optimized out>, fkConstraint=0x379aa50, widget=0x37f4590) at /usr/src/debug/kdesdk-4.6.2/umbrello/umbrello/umlview.cpp:2427
#12 0x00000000007a11ae in UMLView::createAutoConstraintAssociations (this=0x37d50c0, widget=0x37f4590) at /usr/src/debug/kdesdk-4.6.2/umbrello/umbrello/umlview.cpp:2405
#13 0x00000000006c95d8 in UMLWidget::updateWidget (this=0x37f4590) at /usr/src/debug/kdesdk-4.6.2/umbrello/umbrello/widgets/umlwidget.cpp:194
#14 0x00000000006ca0d5 in UMLWidget::qt_metacall (this=0x37f4590, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0x7fff6a320790) at /usr/src/debug/kdesdk-4.6.2/x86_64-redhat-linux-gnu/umbrello/umbrello/umlwidget.moc:92
#15 0x000000381b171acf in QMetaObject::activate (sender=0x37b1660, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3278
#16 0x00000000006ef59e in UMLEntity::addConstraint (this=0x37b1660, constr=0x37b6b60) at /usr/src/debug/kdesdk-4.6.2/umbrello/umbrello/entity.cpp:584
#17 0x00000000006f00c4 in UMLEntity::createForeignKeyConstraint (this=0x37b1660, name=...) at /usr/src/debug/kdesdk-4.6.2/umbrello/umbrello/entity.cpp:241
#18 0x0000000000725e46 in Object_Factory::createChildObject (parent=<value optimized out>, type=Uml::ot_ForeignKeyConstraint) at /usr/src/debug/kdesdk-4.6.2/umbrello/umbrello/object_factory.cpp:285
#19 0x00000000006a4ade in EntityWidget::slotMenuSelection (this=0x37f4590, action=0x3919a50) at /usr/src/debug/kdesdk-4.6.2/umbrello/umbrello/widgets/entitywidget.cpp:213
#20 0x00000000006ca0f4 in UMLWidget::qt_metacall (this=0x37f4590, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0x7fff6a320c70) at /usr/src/debug/kdesdk-4.6.2/x86_64-redhat-linux-gnu/umbrello/umbrello/umlwidget.moc:93
#21 0x000000381b171acf in QMetaObject::activate (sender=0x2ecd380, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff6a320c70) at kernel/qobject.cpp:3278
#22 0x000000381cdeefc2 in QMenu::triggered (this=<value optimized out>, _t1=0x3919a50) at .moc/release-shared/moc_qmenu.cpp:164
#23 0x000000381cdef191 in QMenuPrivate::activateCausedStack (this=0x2ecceb0, causedStack=..., action=0x3919a50, action_e=QAction::Trigger, self=<value optimized out>) at widgets/qmenu.cpp:1003
#24 0x000000381cdf51da in QMenuPrivate::activateAction (this=0x2ecceb0, action=0x3919a50, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1085
#25 0x000000381dd0923d in KMenu::mouseReleaseEvent (this=0x2ebf140, e=<value optimized out>) at /usr/src/debug/kdelibs-4.6.2/kdeui/widgets/kmenu.cpp:458
#26 0x000000381ca096ec in QWidget::event (this=0x2ebf140, event=0x7fff6a3218c0) at kernel/qwidget.cpp:8259
#27 0x000000381cdf63db in QMenu::event (this=0x2ebf140, e=0x7fff6a3218c0) at widgets/qmenu.cpp:2415
#28 0x000000381c9b7cd4 in QApplicationPrivate::notify_helper (this=0x2b0d970, receiver=0x2ebf140, e=0x7fff6a3218c0) at kernel/qapplication.cpp:4462
#29 0x000000381c9bd10a in QApplication::notify (this=<value optimized out>, receiver=0x2ebf140, e=0x7fff6a3218c0) at kernel/qapplication.cpp:4023
#30 0x000000381dc3ff96 in KApplication::notify (this=0x7fff6a3225e0, receiver=0x2ebf140, event=0x7fff6a3218c0) at /usr/src/debug/kdelibs-4.6.2/kdeui/kernel/kapplication.cpp:311
#31 0x000000381b15d19c in QCoreApplication::notifyInternal (this=0x7fff6a3225e0, receiver=0x2ebf140, event=0x7fff6a3218c0) at kernel/qcoreapplication.cpp:731
#32 0x000000381c9b8cd5 in sendEvent (receiver=0x2ebf140, event=0x7fff6a3218c0, alienWidget=0x0, nativeWidget=0x2ebf140, buttonDown=0x381d48eaf8, lastMouseReceiver=..., spontaneous=true) at ../../src/corelib/kernel/qcoreapplication.h:215
#33 QApplicationPrivate::sendMouseEvent (receiver=0x2ebf140, event=0x7fff6a3218c0, alienWidget=0x0, nativeWidget=0x2ebf140, buttonDown=0x381d48eaf8, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3122
#34 0x000000381ca37794 in QETWidget::translateMouseEvent (this=0x2ebf140, event=<value optimized out>) at kernel/qapplication_x11.cpp:4395
#35 0x000000381ca35c29 in QApplication::x11ProcessEvent (this=0x7fff6a3225e0, event=0x7fff6a322210) at kernel/qapplication_x11.cpp:3587
#36 0x000000381ca5d656 in x11EventSourceDispatch (s=0x2b116b0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:148
#37 0x0000003ed5041e33 in g_main_dispatch (context=0x2b0fe20) at gmain.c:2149
#38 g_main_context_dispatch (context=0x2b0fe20) at gmain.c:2702
#39 0x0000003ed5042610 in g_main_context_iterate (context=0x2b0fe20, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2780
#40 0x0000003ed50428ad in g_main_context_iteration (context=0x2b0fe20, may_block=1) at gmain.c:2843
#41 0x000000381b18834f in QEventDispatcherGlib::processEvents (this=0x2ac65f0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#42 0x000000381ca5d35e in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:207
#43 0x000000381b15c532 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#44 0x000000381b15c77c in QEventLoop::exec (this=0x7fff6a322520, flags=...) at kernel/qeventloop.cpp:201
#45 0x000000381b160c3b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#46 0x000000000071b9fc in main (argc=2, argv=0x7fff6a322a78) at /usr/src/debug/kdesdk-4.6.2/umbrello/umbrello/main.cpp:111

Possible duplicates by query: bug 259404, bug 258263.

Reported using DrKonqi
Comment 1 Jekyll Wu 2012-07-05 23:44:26 UTC
*** Bug 258263 has been marked as a duplicate of this bug. ***
Comment 2 Ralf Habacker 2014-12-02 02:06:29 UTC

*** This bug has been marked as a duplicate of bug 259404 ***