Bug 281478 - Umbrello crashes when adding an attribute in an entity relation diagram
Summary: Umbrello crashes when adding an attribute in an entity relation diagram
Status: RESOLVED DUPLICATE of bug 302120
Alias: None
Product: umbrello
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Umbrello Development Group
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-06 13:30 UTC by pedro.aguilar.iniestra
Modified: 2012-07-05 22:15 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (14.84 KB, text/plain)
2011-12-19 19:07 UTC, juanux
Details

Note You need to log in before you can comment on or make changes to this bug.
Description pedro.aguilar.iniestra 2011-09-06 13:30:10 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.38-11-generic i686
Distribution: Ubuntu 11.04

-- Information about the crash:
- What I was doing when the application crashed:
I was adding an attribute in the 'Entity Attribute Properties' menu.

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

Thread 3 (Thread 0xb758fb70 (LWP 6809)):
#0  0x002e8416 in __kernel_vsyscall ()
#1  0x05357f76 in __poll (fds=0x9beb318, nfds=3, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0x07f3884b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x07f281af in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0x07f2892b in g_main_loop_run () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0x07373304 in ?? () from /usr/lib/i386-linux-gnu/libgio-2.0.so.0
#6  0x07f512df in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#7  0x002afe99 in start_thread (arg=0xb758fb70) at pthread_create.c:304
#8  0x0536673e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0xa626cb70 (LWP 6823)):
#0  0x002b236b in __pthread_mutex_lock (mutex=0x9eea59c) at pthread_mutex_lock.c:61
#1  0x05374616 in pthread_mutex_lock (mutex=0x9eea59c) at forward.c:182
#2  0x07f27009 in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x07f27e63 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0x07f28524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0x012f5577 in QEventDispatcherGlib::processEvents (this=0x9eea300, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#6  0x012c7289 in QEventLoop::processEvents (this=0xa626c290, flags=...) at kernel/qeventloop.cpp:149
#7  0x012c7522 in QEventLoop::exec (this=0xa626c290, flags=...) at kernel/qeventloop.cpp:201
#8  0x011d12a0 in QThread::exec (this=0x9ee78a0) at thread/qthread.cpp:492
#9  0x012a8fdb in QInotifyFileSystemWatcherEngine::run (this=0x9ee78a0) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x011d3da2 in QThreadPrivate::start (arg=0x9ee78a0) at thread/qthread_unix.cpp:320
#11 0x002afe99 in start_thread (arg=0xa626cb70) at pthread_create.c:304
#12 0x0536673e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb77ce710 (LWP 6808)):
[KCrash Handler]
#7  QString (this=0xff) at /usr/include/qt4/QtCore/qstring.h:728
#8  UMLObject::doc (this=0xff) at ../../../umbrello/umbrello/umlobject.cpp:408
#9  0x080945e2 in ClassifierListPage::slotActivateItem (this=0xa456248, item=0xa44f580) at ../../../umbrello/umbrello/dialogs/classifierlistpage.cpp:354
#10 0x08096eac in ClassifierListPage::qt_metacall (this=0xa456248, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbf851664) at ./classifierlistpage.moc:94
#11 0x08097a3c in ConstraintListPage::qt_metacall (this=0xa456248, _c=QMetaObject::InvokeMetaMethod, _id=27, _a=0xbf851664) at ./constraintlistpage.moc:73
#12 0x012ce6ba in QMetaObject::metacall (object=0xa456248, cl=QMetaObject::InvokeMetaMethod, idx=27, argv=0xbf851664) at kernel/qmetaobject.cpp:237
#13 0x012de4ff in QMetaObject::activate (sender=0xa32a818, m=0x2153fe8, local_signal_index=6, argv=0xbf851664) at kernel/qobject.cpp:3287
#14 0x01df8af9 in QListWidget::currentItemChanged (this=0xa32a818, _t1=0xa44f580, _t2=0x0) at .moc/release-shared/moc_qlistwidget.cpp:233
#15 0x01df8ecf in QListWidgetPrivate::_q_emitCurrentItemChanged (this=0xa4705c8, current=..., previous=...) at itemviews/qlistwidget.cpp:1112
#16 0x01dfc2d4 in QListWidget::qt_metacall (this=0xa32a818, _c=QMetaObject::InvokeMetaMethod, _id=19, _a=0xbf8517d4) at .moc/release-shared/moc_qlistwidget.cpp:147
#17 0x012ce6ba in QMetaObject::metacall (object=0xa32a818, cl=QMetaObject::InvokeMetaMethod, idx=89, argv=0xbf8517d4) at kernel/qmetaobject.cpp:237
#18 0x012de4ff in QMetaObject::activate (sender=0xa4a6d90, m=0x2153e50, local_signal_index=1, argv=0xbf8517d4) at kernel/qobject.cpp:3287
#19 0x01de6d59 in QItemSelectionModel::currentChanged (this=0xa4a6d90, _t1=..., _t2=...) at .moc/release-shared/moc_qitemselectionmodel.cpp:159
#20 0x01de6e8f in QItemSelectionModel::setCurrentIndex (this=0xa4a6d90, index=..., command=...) at itemviews/qitemselectionmodel.cpp:1169
#21 0x01df874d in QListWidget::setCurrentRow (this=0xa32a818, row=1) at itemviews/qlistwidget.cpp:1484
#22 0x01df9af5 in QListWidget::setCurrentItem (this=0xa32a818, item=0xa44f580) at itemviews/qlistwidget.cpp:1455
#23 0x08096d45 in ClassifierListPage::slotListItemCreated (this=0xa456248, object=0xa43dc40) at ../../../umbrello/umbrello/dialogs/classifierlistpage.cpp:400
#24 0x08096eec in ClassifierListPage::qt_metacall (this=0xa456248, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbf851a98) at ./classifierlistpage.moc:96
#25 0x08097a3c in ConstraintListPage::qt_metacall (this=0xa456248, _c=QMetaObject::InvokeMetaMethod, _id=29, _a=0xbf851a98) at ./constraintlistpage.moc:73
#26 0x012ce6ba in QMetaObject::metacall (object=0xa456248, cl=QMetaObject::InvokeMetaMethod, idx=29, argv=0xbf851a98) at kernel/qmetaobject.cpp:237
#27 0x012de4ff in QMetaObject::activate (sender=0x9d46bb8, m=0x843eac8, local_signal_index=4, argv=0xbf851a98) at kernel/qobject.cpp:3287
#28 0x08394e25 in UMLDoc::sigObjectCreated (this=0x9d46bb8, _t1=0xa43dc40) at ./umldoc.moc:153
#29 0x0832a4b9 in UMLEntity::createAttribute (this=0xa40d250, name=..., type=0x0, vis=..., iv=...) at ../../../umbrello/umbrello/entity.cpp:142
#30 0x0835f882 in Object_Factory::createChildObject (parent=0xa40d250, type=Uml::ot_EntityAttribute) at ../../../umbrello/umbrello/object_factory.cpp:252
#31 0x08095428 in ClassifierListPage::slotNewListItem (this=0xa367d38) at ../../../umbrello/umbrello/dialogs/classifierlistpage.cpp:735
#32 0x08096fbb in ClassifierListPage::qt_metacall (this=0xa367d38, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbf851d28) at ./classifierlistpage.moc:104
#33 0x012ce6ba in QMetaObject::metacall (object=0xa367d38, cl=QMetaObject::InvokeMetaMethod, idx=37, argv=0xbf851d28) at kernel/qmetaobject.cpp:237
#34 0x012de4ff in QMetaObject::activate (sender=0x9ef5be8, m=0x2159884, local_signal_index=2, argv=0xbf851d28) at kernel/qobject.cpp:3287
#35 0x01eff7c9 in QAbstractButton::clicked (this=0x9ef5be8, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:206
#36 0x01c17326 in QAbstractButtonPrivate::emitClicked (this=0xa426b88) at widgets/qabstractbutton.cpp:546
#37 0x01c18b94 in QAbstractButtonPrivate::click (this=0xa426b88) at widgets/qabstractbutton.cpp:539
#38 0x01c18e4e in QAbstractButton::mouseReleaseEvent (this=0x9ef5be8, e=0xbf852484) at widgets/qabstractbutton.cpp:1121
#39 0x0186c13a in QWidget::event (this=0x9ef5be8, event=0xbf852484) at kernel/qwidget.cpp:8259
#40 0x01c17e9e in QAbstractButton::event (this=0x9ef5be8, e=0xbf852484) at widgets/qabstractbutton.cpp:1080
#41 0x01cb5c52 in QPushButton::event (this=0x9ef5be8, e=0xbf852484) at widgets/qpushbutton.cpp:683
#42 0x01813d24 in QApplicationPrivate::notify_helper (this=0x9bb5ac8, receiver=0x9ef5be8, e=0xbf852484) at kernel/qapplication.cpp:4462
#43 0x01819201 in QApplication::notify (this=0xbf854200, receiver=0x9ef5be8, e=0xbf852484) at kernel/qapplication.cpp:4023
#44 0x00d383ca in KApplication::notify (this=0xbf854200, receiver=0x9ef5be8, event=0xbf852484) at ../../kdeui/kernel/kapplication.cpp:311
#45 0x012c80bb in QCoreApplication::notifyInternal (this=0xbf854200, receiver=0x9ef5be8, event=0xbf852484) at kernel/qcoreapplication.cpp:731
#46 0x01814c3b in sendSpontaneousEvent (receiver=0x9ef5be8, event=0xbf852484, alienWidget=0x9ef5be8, nativeWidget=0xa417148, buttonDown=0x2162c60, lastMouseReceiver=..., spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#47 QApplicationPrivate::sendMouseEvent (receiver=0x9ef5be8, event=0xbf852484, alienWidget=0x9ef5be8, nativeWidget=0xa417148, buttonDown=0x2162c60, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3120
#48 0x018a004c in QETWidget::translateMouseEvent (this=0xa417148, event=0xbf8529ac) at kernel/qapplication_x11.cpp:4558
#49 0x0189e9b5 in QApplication::x11ProcessEvent (this=0xbf854200, event=0xbf8529ac) at kernel/qapplication_x11.cpp:3680
#50 0x018ca5f4 in x11EventSourceDispatch (s=0x9bbb168, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#51 0x07f27aa8 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#52 0x07f28270 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#53 0x07f28524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#54 0x012f553c in QEventDispatcherGlib::processEvents (this=0x9b6caa8, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#55 0x018ca1e5 in QGuiEventDispatcherGlib::processEvents (this=0x9b6caa8, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#56 0x012c7289 in QEventLoop::processEvents (this=0xbf852c80, flags=...) at kernel/qeventloop.cpp:149
#57 0x012c7522 in QEventLoop::exec (this=0xbf852c80, flags=...) at kernel/qeventloop.cpp:201
#58 0x01d33a93 in QDialog::exec (this=0xa417148) at dialogs/qdialog.cpp:552
#59 0x082ff205 in UMLWidget::showProperties (this=0xa40b4d0) at ../../../umbrello/umbrello/widgets/umlwidget.cpp:650
#60 0x08303fec in UMLWidget::slotMenuSelection (this=0xa40b4d0, action=0xa357b68) at ../../../umbrello/umbrello/widgets/umlwidget.cpp:294
#61 0x08302faf in UMLWidget::qt_metacall (this=0xa40b4d0, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0xbf852ef8) at ./umlwidget.moc:93
#62 0x012ce6ba in QMetaObject::metacall (object=0xa40b4d0, cl=QMetaObject::InvokeMetaMethod, idx=7, argv=0xbf852ef8) at kernel/qmetaobject.cpp:237
#63 0x012de4ff in QMetaObject::activate (sender=0xa260308, m=0x214d328, local_signal_index=2, argv=0xbf852ef8) at kernel/qobject.cpp:3287
#64 0x01ca1083 in QMenu::triggered (this=0xa260308, _t1=0xa357b68) at .moc/release-shared/moc_qmenu.cpp:164
#65 0x01ca20aa in QMenuPrivate::_q_actionTriggered (this=0xa42f148) at widgets/qmenu.cpp:1111
#66 0x01ca730e in QMenu::qt_metacall (this=0xa260308, _c=QMetaObject::InvokeMetaMethod, _id=8, _a=0xbf8530c8) at .moc/release-shared/moc_qmenu.cpp:105
#67 0x00e1705a in KMenu::qt_metacall (this=0xa260308, _c=QMetaObject::InvokeMetaMethod, _id=35, _a=0xbf8530c8) at ./kmenu.moc:76
#68 0x012ce6ba in QMetaObject::metacall (object=0xa260308, cl=QMetaObject::InvokeMetaMethod, idx=35, argv=0xbf8530c8) at kernel/qmetaobject.cpp:237
#69 0x012de4ff in QMetaObject::activate (sender=0xa357b68, m=0x21463f8, local_signal_index=1, argv=0xbf8530c8) at kernel/qobject.cpp:3287
#70 0x0180c8d9 in QAction::triggered (this=0xa357b68, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#71 0x0180cb38 in QAction::activate (this=0xa357b68, event=QAction::Trigger) at kernel/qaction.cpp:1257
#72 0x01ca133d in QMenuPrivate::activateCausedStack (this=0xa42f148, causedStack=..., action=0xa357b68, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:993
#73 0x01ca7bfb in QMenuPrivate::activateAction (this=0xa42f148, action=0xa357b68, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1085
#74 0x01ca8a8e in QMenu::mouseReleaseEvent (this=0xa260308, e=0xbf853964) at widgets/qmenu.cpp:2306
#75 0x00e15cf4 in KMenu::mouseReleaseEvent (this=0xa260308, e=0xbf853964) at ../../kdeui/widgets/kmenu.cpp:458
#76 0x0186c13a in QWidget::event (this=0xa260308, event=0xbf853964) at kernel/qwidget.cpp:8259
#77 0x01ca8f67 in QMenu::event (this=0xa260308, e=0xbf853964) at widgets/qmenu.cpp:2415
#78 0x01813d24 in QApplicationPrivate::notify_helper (this=0x9bb5ac8, receiver=0xa260308, e=0xbf853964) at kernel/qapplication.cpp:4462
#79 0x01819201 in QApplication::notify (this=0xbf854200, receiver=0xa260308, e=0xbf853964) at kernel/qapplication.cpp:4023
#80 0x00d383ca in KApplication::notify (this=0xbf854200, receiver=0xa260308, event=0xbf853964) at ../../kdeui/kernel/kapplication.cpp:311
#81 0x012c80bb in QCoreApplication::notifyInternal (this=0xbf854200, receiver=0xa260308, event=0xbf853964) at kernel/qcoreapplication.cpp:731
#82 0x01814c3b in sendSpontaneousEvent (receiver=0xa260308, event=0xbf853964, alienWidget=0x0, nativeWidget=0xa260308, buttonDown=0x2162c60, lastMouseReceiver=..., spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#83 QApplicationPrivate::sendMouseEvent (receiver=0xa260308, event=0xbf853964, alienWidget=0x0, nativeWidget=0xa260308, buttonDown=0x2162c60, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3120
#84 0x018a0253 in QETWidget::translateMouseEvent (this=0xa260308, event=0xbf853e8c) at kernel/qapplication_x11.cpp:4492
#85 0x0189e9b5 in QApplication::x11ProcessEvent (this=0xbf854200, event=0xbf853e8c) at kernel/qapplication_x11.cpp:3680
#86 0x018ca5f4 in x11EventSourceDispatch (s=0x9bbb168, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#87 0x07f27aa8 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#88 0x07f28270 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#89 0x07f28524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#90 0x012f553c in QEventDispatcherGlib::processEvents (this=0x9b6caa8, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#91 0x018ca1e5 in QGuiEventDispatcherGlib::processEvents (this=0x9b6caa8, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#92 0x012c7289 in QEventLoop::processEvents (this=0xbf854154, flags=...) at kernel/qeventloop.cpp:149
#93 0x012c7522 in QEventLoop::exec (this=0xbf854154, flags=...) at kernel/qeventloop.cpp:201
#94 0x012cbecc in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#95 0x018118e7 in QApplication::exec () at kernel/qapplication.cpp:3736
#96 0x08355a27 in main (argc=0, argv=0x0) at ../../../umbrello/umbrello/main.cpp:111

Possible duplicates by query: bug 281391, bug 276490.

Reported using DrKonqi
Comment 1 juanux 2011-12-19 19:07:21 UTC
Created attachment 66911 [details]
New crash information added by DrKonqi

umbrello (2.7.2) on KDE Platform 4.7.2 (4.7.2) using Qt 4.7.4

- What I was doing when the application crashed:

I was trying to add a foreing key to a entity in an ER Diagram

- Custom settings of the application:

-- Backtrace (Reduced):
#7  QString (other=..., this=0x7fffa98de100) at /usr/include/qt4/QtCore/qstring.h:729
#8  UMLObject::doc (this=0x1c08ec0) at ../../../umbrello/umbrello/umlobject.cpp:408
#9  0x000000000045841e in ClassifierListPage::slotActivateItem (this=0x1ac0a80, item=<optimized out>) at ../../../umbrello/umbrello/dialogs/classifierlistpage.cpp:355
#10 0x000000000045aa0a in ClassifierListPage::slotListItemCreated (this=0x1ac0a80, object=0x1b6d2c0) at ../../../umbrello/umbrello/dialogs/classifierlistpage.cpp:402
#11 0x000000000045ab8c in ClassifierListPage::qt_metacall (this=0x1ac0a80, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fffa98de2b0) at ./classifierlistpage.moc:96
Comment 2 brian 2012-05-17 19:24:33 UTC
Umbrello crashes with a segmentation fault when I try to add a foreign key relationship. This occurs every time, regardless of how I try to add one. I haven't the tools installed to produce a useful dump.

dpkg -l
ii  umbrello                                      4:4.5.1-0r1

Version 2.5.3
Using KDE Development Platform 4.5.3 (KDE 4.5.3)

Linux XXXXXXXX 2.6.32-1-mepis-smp #1 SMP PREEMPT Mon May 10 11:40:09 EDT 2010 i686 GNU/Linux

My system is current.

useless trace:
Application: Umbrello UML Modeller (umbrello), signal: Segmentation fault
[KCrash Handler]
#6  0x085ad8d9 in ?? ()
#7  0x080a5ef5 in _start ()
Comment 3 Jekyll Wu 2012-07-05 22:15:13 UTC

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