Bug 256668 - Crash when trying to add a method in an Interface that returns a Map<String, String>
Summary: Crash when trying to add a method in an Interface that returns a Map<String, ...
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: 2010-11-12 10:52 UTC by mule98
Modified: 2010-11-18 01:04 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 mule98 2010-11-12 10:52:40 UTC
Application: umbrello (2.5.1)
KDE Platform Version: 4.5.1 (KDE 4.5.1)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-22-generic x86_64
Distribution: Ubuntu 10.10

-- Information about the crash:
When the crash occured i just imported a full project for UML modelling. But my interface didn't have the method defined in the java class.

So I tried to add it manually. This method must return a Map<String, String>. When i validated the add action it crashed

The crash can be reproduced every time.

-- Backtrace:
Application: Umbrello - Outil de modélisation UML (umbrello), signal: Segmentation fault
[Current thread is 1 (Thread 0x7fc8926cb760 (LWP 4084))]

Thread 2 (Thread 0x7fc886817710 (LWP 4085)):
#0  0x00007fc88e2671d3 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fc889d77009 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007fc889d777b5 in g_main_loop_run () from /lib/libglib-2.0.so.0
#3  0x00007fc886f4e0f4 in ?? () from /usr/lib/libgio-2.0.so.0
#4  0x00007fc889d9c7e4 in ?? () from /lib/libglib-2.0.so.0
#5  0x00007fc88f1b3971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#6  0x00007fc88e27391d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fc8926cb760 (LWP 4084)):
[KCrash Handler]
#6  JavaClassifierCodeDocument::addCodeOperation (this=0x4d884e0, op=0x3b47a78) at ../../../umbrello/umbrello/codegenerators/java/javaclassifiercodedocument.cpp:124
#7  0x00000000009ce154 in ClassifierCodeDocument::addOperation (this=0x4d884e0, o=<value optimized out>) at ../../../umbrello/umbrello/classifiercodedocument.cpp:308
#8  0x00000000009ce953 in ClassifierCodeDocument::qt_metacall (this=0x4d884e0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff751874b0) at ./classifiercodedocument.moc:96
#9  0x00007fc88f549b27 in QMetaObject::activate (sender=0x4b20080, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x43d35a0) at kernel/qobject.cpp:3280
#10 0x00000000009c05cd in UMLClassifier::operationAdded (this=0x0, _t1=0x4060270) at ./classifier.moc:99
#11 0x00000000009c58b5 in UMLClassifier::addOperation (this=0x4b20080, op=0x4060270, position=-1) at ../../../umbrello/umbrello/classifier.cpp:316
#12 0x00000000009c6983 in UMLClassifier::createOperation (this=<value optimized out>, name=..., isExistingOp=<value optimized out>, params=0x7fff75187700) at ../../../umbrello/umbrello/classifier.cpp:273
#13 0x0000000000a0567d in Object_Factory::createChildObject (parent=0x0, type=<value optimized out>) at ../../../umbrello/umbrello/object_factory.cpp:259
#14 0x000000000097e502 in ClassifierWidget::slotMenuSelection (this=0x4b8da10, action=0x445c590) at ../../../umbrello/umbrello/widgets/classifierwidget.cpp:429
#15 0x00000000009abd6c in UMLWidget::qt_metacall (this=0x4b8da10, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff75187a90) at ./umlwidget.moc:93
#16 0x00007fc88f549b27 in QMetaObject::activate (sender=0x3f50730, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x43d35a0) at kernel/qobject.cpp:3280
#17 0x00007fc88fe7c692 in QMenu::triggered (this=0x0, _t1=0x445c590) at .moc/release-shared/moc_qmenu.cpp:164
#18 0x00007fc88fe7dd15 in QMenuPrivate::activateCausedStack (this=<value optimized out>, causedStack=..., action=0x445c590, action_e=QAction::Trigger, self=<value optimized out>) at widgets/qmenu.cpp:1003
#19 0x00007fc88fe83782 in QMenuPrivate::activateAction (this=0x386e670, action=0x445c590, action_e=QAction::Trigger, self=<value optimized out>) at widgets/qmenu.cpp:1085
#20 0x00007fc890f75cee in KMenu::mouseReleaseEvent (this=0x44b9b30, e=0x7fff751872b0) at ../../kdeui/widgets/kmenu.cpp:471
#21 0x00007fc88fa7304e in QWidget::event (this=0x44b9b30, event=0x7fff751886b0) at kernel/qwidget.cpp:8187
#22 0x00007fc88fe8590b in QMenu::event (this=0x44b9b30, e=0x7fff751886b0) at widgets/qmenu.cpp:2410
#23 0x00007fc88fa1cfdc in QApplicationPrivate::notify_helper (this=0x2add180, receiver=0x44b9b30, e=0x7fff751886b0) at kernel/qapplication.cpp:4396
#24 0x00007fc88fa2330e in QApplication::notify (this=0x7fff751893c0, receiver=0x44b9b30, e=0x7fff751886b0) at kernel/qapplication.cpp:3959
#25 0x00007fc890e95156 in KApplication::notify (this=0x7fff751893c0, receiver=0x44b9b30, event=0x7fff751886b0) at ../../kdeui/kernel/kapplication.cpp:310
#26 0x00007fc88f531cdc in QCoreApplication::notifyInternal (this=0x7fff751893c0, receiver=0x44b9b30, event=0x7fff751886b0) at kernel/qcoreapplication.cpp:732
#27 0x00007fc88fa21dbe in sendEvent (receiver=0x44b9b30, event=0x7fff751886b0, alienWidget=0x0, nativeWidget=0x44b9b30, buttonDown=<value optimized out>, lastMouseReceiver=<value optimized out>, spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#28 QApplicationPrivate::sendMouseEvent (receiver=0x44b9b30, event=0x7fff751886b0, alienWidget=0x0, nativeWidget=0x44b9b30, buttonDown=<value optimized out>, lastMouseReceiver=<value optimized out>, spontaneous=true) at kernel/qapplication.cpp:3058
#29 0x00007fc88faa57bd in QETWidget::translateMouseEvent (this=0x44b9b30, event=<value optimized out>) at kernel/qapplication_x11.cpp:4337
#30 0x00007fc88faa3c5c in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fff75188fd0) at kernel/qapplication_x11.cpp:3536
#31 0x00007fc88fad00e2 in x11EventSourceDispatch (s=0x2ae0fa0, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#32 0x00007fc889d73342 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#33 0x00007fc889d772a8 in ?? () from /lib/libglib-2.0.so.0
#34 0x00007fc889d7745c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#35 0x00007fc88f55e193 in QEventDispatcherGlib::processEvents (this=0x2ab5410, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#36 0x00007fc88facfa4e in QGuiEventDispatcherGlib::processEvents (this=0x0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#37 0x00007fc88f530a02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#38 0x00007fc88f530dec in QEventLoop::exec (this=0x7fff75189300, flags=) at kernel/qeventloop.cpp:201
#39 0x00007fc88f534ebb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#40 0x00000000009fd595 in main (argc=<value optimized out>, argv=<value optimized out>) at ../../../umbrello/umbrello/main.cpp:111

This bug may be a duplicate of or related to bug 204035.

Possible duplicates by query: bug 204035.

Reported using DrKonqi
Comment 1 Dario Andres 2010-11-18 01:04:36 UTC
[Comment from a bug triager]
This issue is being tracked at bug 204035. Merging. Thanks

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