Bug 281901 - Crash when trying to add a static operation to a class.
Summary: Crash when trying to add a static operation to a class.
Status: RESOLVED DUPLICATE of bug 204035
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-12 20:44 UTC by Matthias Bender
Modified: 2012-07-05 23:33 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matthias Bender 2011-09-12 20:44:56 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 x86_64
Distribution: Ubuntu 11.04

-- Information about the crash:
- What I was doing when the application crashed:

I added a static method to a class. This could be reproduced on the current project with all kinds of existing classes but not using a simple new project. So I do not actually know what might also influence this problem.

The crash can be reproduced some of the time.

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

Thread 2 (Thread 0x7f11388f4700 (LWP 17353)):
#0  0x00007f11414e8f03 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f113dbe5104 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f113dbe59f2 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f1139253c44 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007f113dc0c3e4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f11411f8d8c in start_thread (arg=0x7f11388f4700) at pthread_create.c:304
#6  0x00007f11414f604d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f11456d9780 (LWP 17352)):
[KCrash Handler]
#6  JavaClassifierCodeDocument::addCodeOperation (this=0x31f5fc0, op=0x2b86488) at ../../../umbrello/umbrello/codegenerators/java/javaclassifiercodedocument.cpp:124
#7  0x00000000006f678a in ClassifierCodeDocument::addOperation (this=0x31f5fc0, o=<value optimized out>) at ../../../umbrello/umbrello/classifiercodedocument.cpp:308
#8  0x00000000006f965c in ClassifierCodeDocument::qt_metacall (this=0x31f5fc0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff6b0d1890) at ./classifiercodedocument.moc:96
#9  0x00007f11425935f8 in QMetaObject::activate (sender=0x2e402c0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff6b0d1890) at kernel/qobject.cpp:3287
#10 0x00000000006eba5d in UMLClassifier::operationAdded (this=<value optimized out>, _t1=0x2dfdaf0) at ./classifier.moc:99
#11 0x00000000006f0e13 in UMLClassifier::addOperation (this=0x2e402c0, op=0x2dfdaf0, position=<value optimized out>) at ../../../umbrello/umbrello/classifier.cpp:316
#12 0x00000000006f2069 in UMLClassifier::createOperation (this=0x2e402c0, name=<value optimized out>, isExistingOp=<value optimized out>, params=0x0) at ../../../umbrello/umbrello/classifier.cpp:273
#13 0x0000000000736e70 in Object_Factory::createChildObject (parent=0x2e402c0, type=Uml::ot_Operation) at ../../../umbrello/umbrello/object_factory.cpp:259
#14 0x00000000006aa9a2 in ClassifierWidget::slotMenuSelection (this=0x2e65c30, action=0x28bd4c0) at ../../../umbrello/umbrello/widgets/classifierwidget.cpp:429
#15 0x00000000006d899c in UMLWidget::qt_metacall (this=0x2e65c30, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0x7fff6b0d1e30) at ./umlwidget.moc:93
#16 0x00007f11425935f8 in QMetaObject::activate (sender=0x2e74a30, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff6b0d1e30) at kernel/qobject.cpp:3287
#17 0x00007f1142eaa772 in QMenu::triggered (this=<value optimized out>, _t1=0x28bd4c0) at .moc/release-shared/moc_qmenu.cpp:164
#18 0x00007f1142eaa941 in QMenuPrivate::activateCausedStack (this=0x2b8e130, causedStack=..., action=0x28bd4c0, action_e=QAction::Trigger, self=<value optimized out>) at widgets/qmenu.cpp:1003
#19 0x00007f1142eb09aa in QMenuPrivate::activateAction (this=0x2b8e130, action=0x28bd4c0, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1085
#20 0x00007f1143f7ee8d in KMenu::mouseReleaseEvent (this=0x27433c0, e=<value optimized out>) at ../../kdeui/widgets/kmenu.cpp:458
#21 0x00007f1142abdcc8 in QWidget::event (this=0x27433c0, event=0x7fff6b0d2a30) at kernel/qwidget.cpp:8259
#22 0x00007f1142eb1b8b in QMenu::event (this=0x27433c0, e=0x7fff6b0d2a30) at widgets/qmenu.cpp:2415
#23 0x00007f1142a6c9f4 in QApplicationPrivate::notify_helper (this=0x24f22c0, receiver=0x27433c0, e=0x7fff6b0d2a30) at kernel/qapplication.cpp:4462
#24 0x00007f1142a71dc3 in QApplication::notify (this=<value optimized out>, receiver=0x27433c0, e=0x7fff6b0d2a30) at kernel/qapplication.cpp:4023
#25 0x00007f1143eb8866 in KApplication::notify (this=0x7fff6b0d3720, receiver=0x27433c0, event=0x7fff6b0d2a30) at ../../kdeui/kernel/kapplication.cpp:311
#26 0x00007f114257e49c in QCoreApplication::notifyInternal (this=0x7fff6b0d3720, receiver=0x27433c0, event=0x7fff6b0d2a30) at kernel/qcoreapplication.cpp:731
#27 0x00007f1142a6da1d in sendEvent (receiver=0x27433c0, event=0x7fff6b0d2a30, alienWidget=0x0, nativeWidget=0x27433c0, buttonDown=0x7f1143550218, lastMouseReceiver=..., spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#28 QApplicationPrivate::sendMouseEvent (receiver=0x27433c0, event=0x7fff6b0d2a30, alienWidget=0x0, nativeWidget=0x27433c0, buttonDown=0x7f1143550218, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3122
#29 0x00007f1142aef3e4 in QETWidget::translateMouseEvent (this=0x27433c0, event=<value optimized out>) at kernel/qapplication_x11.cpp:4492
#30 0x00007f1142aedab7 in QApplication::x11ProcessEvent (this=0x7fff6b0d3720, event=0x7fff6b0d3380) at kernel/qapplication_x11.cpp:3680
#31 0x00007f1142b16842 in x11EventSourceDispatch (s=0x24f61d0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#32 0x00007f113dbe4bcd in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#33 0x00007f113dbe53a8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#34 0x00007f113dbe5639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#35 0x00007f11425a93ef in QEventDispatcherGlib::processEvents (this=0x2485340, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#36 0x00007f1142b164de in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#37 0x00007f114257d882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#38 0x00007f114257dabc in QEventLoop::exec (this=0x7fff6b0d3680, flags=...) at kernel/qeventloop.cpp:201
#39 0x00007f1142581ecb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#40 0x000000000072c594 in main (argc=1, argv=0x7fff6b0d3bb8) at ../../../umbrello/umbrello/main.cpp:111

Possible duplicates by query: bug 281612, bug 256668, bug 204035.

Reported using DrKonqi
Comment 1 Jekyll Wu 2012-07-05 23:33:13 UTC

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