[Uml-devel] [Bug 204035] New: Crash when trying to create a function of the type Vector<package.class>.

jan0sch jan0sch at gmx.net
Sun Aug 16 10:27:59 UTC 2009


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

           Summary: Crash when trying to create a function of the type
                    Vector<package.class>.
           Product: umbrello
           Version: unspecified
          Platform: Unlisted Binaries
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: umbrello-devel at kde.org
        ReportedBy: jan0sch at gmx.net


Application that crashed: umbrello
Version of the application: 2.3.0
KDE Version: 4.3.00 (KDE 4.3.0)
Qt Version: 4.5.2
Operating System: Linux 2.6.28-14-generic x86_64
Distribution: Ubuntu 9.04

What I was doing when the application crashed:
I created a class diagram with several classes within one package. For some
functions that return vectors of specific types I created several data types
("Vector", "Vector<String>", "Vector<package.foo>", "Vector<package.bar>").

The creation of some function of the type Vector<String> and
Vector<package.foo> was no problem but now I am stuck with the situation that
the applications crashes whenever I try to define a new function of the type
Vector<package.bar>.
It sometimes crashes also when I try to create an attribute of this type but it
crashes always when trying to create a function.

I could send you my uml file if you can't reproduce the bug.


 -- Backtrace:
Application: Umbrello UML-Modeller (umbrello), signal: Segmentation fault
[KCrash Handler]
#5  JavaClassifierCodeDocument::addCodeOperation (this=0x28cb330, op=0x285fe28)
at
/build/buildd/kdesdk-4.3.0/umbrello/umbrello/codegenerators/java/javaclassifiercodedocument.cpp:124
#6  0x0000000000bc0759 in ClassifierCodeDocument::addOperation (this=0x28cb330,
o=<value optimized out>) at
/build/buildd/kdesdk-4.3.0/umbrello/umbrello/classifiercodedocument.cpp:308
#7  0x0000000000bc0e37 in ClassifierCodeDocument::qt_metacall (this=0x28cb330,
_c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7ffff8573be0)
    at
/build/buildd/kdesdk-4.3.0/obj-x86_64-linux-gnu/umbrello/umbrello/classifiercodedocument.moc:90
#8  0x00007f0eecffaea2 in QMetaObject::activate (sender=0x2835f20,
from_signal_index=<value optimized out>, to_signal_index=8, argv=0x2815f50) at
kernel/qobject.cpp:3113
#9  0x0000000000bb286d in UMLClassifier::operationAdded (this=0x0,
_t1=0x287ba40) at
/build/buildd/kdesdk-4.3.0/obj-x86_64-linux-gnu/umbrello/umbrello/classifier.moc:93
#10 0x0000000000bb9c64 in UMLClassifier::addOperation (this=0x2835f20,
op=0x287ba40, position=-1) at
/build/buildd/kdesdk-4.3.0/umbrello/umbrello/classifier.cpp:320
#11 0x0000000000bba3ab in UMLClassifier::createOperation (this=0x2835f20,
name=@0x7ffff8573df0, isExistingOp=<value optimized out>,
params=0x7ffff8573e10)
    at /build/buildd/kdesdk-4.3.0/umbrello/umbrello/classifier.cpp:277
#12 0x0000000000bfad10 in Object_Factory::createChildObject (parent=0x0,
type=<value optimized out>) at
/build/buildd/kdesdk-4.3.0/umbrello/umbrello/object_factory.cpp:259
#13 0x0000000000b6f7a2 in ClassifierWidget::slotMenuSelection (this=0x285dd90,
action=0x2879160) at
/build/buildd/kdesdk-4.3.0/umbrello/umbrello/widgets/classifierwidget.cpp:429
#14 0x0000000000b9d985 in UMLWidget::qt_metacall (this=0x285dd90,
_c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7ffff85741b0)
    at
/build/buildd/kdesdk-4.3.0/obj-x86_64-linux-gnu/umbrello/umbrello/umlwidget.moc:87
#15 0x00007f0eecffaea2 in QMetaObject::activate (sender=0x23db080,
from_signal_index=<value optimized out>, to_signal_index=29, argv=0x2815f50) at
kernel/qobject.cpp:3113
#16 0x00007f0eedf65072 in QMenu::triggered (this=0x0, _t1=0x2879160) at
.moc/release-shared/moc_qmenu.cpp:158
#17 0x00007f0eedf6648a in QMenuPrivate::activateCausedStack (this=0x27e0880,
causedStack=@0x7ffff85742a0, action=0x2879160, action_e=QAction::Trigger,
self=<value optimized out>)
    at widgets/qmenu.cpp:977
#18 0x00007f0eedf6c53e in QMenuPrivate::activateAction (this=0x27e0880,
action=0x2879160, action_e=QAction::Trigger, self=true) at
widgets/qmenu.cpp:1060
#19 0x00007f0eef03bdc1 in KMenu::mouseReleaseEvent (this=0x244f730,
e=0x7ffff8574c40) at /build/buildd/kde4libs-4.3.0/kdeui/widgets/kmenu.cpp:456
#20 0x00007f0eedbb50bf in QWidget::event (this=0x244f730, event=0x7ffff8574c40)
at kernel/qwidget.cpp:7549
#21 0x00007f0eedf6ed8b in QMenu::event (this=0x244f730, e=0x7ffff8574c40) at
widgets/qmenu.cpp:2353
#22 0x00007f0eedb63f4d in QApplicationPrivate::notify_helper (this=0x20f25d0,
receiver=0x244f730, e=0x7ffff8574c40) at kernel/qapplication.cpp:4056
#23 0x00007f0eedb6c8ea in QApplication::notify (this=<value optimized out>,
receiver=0x244f730, e=0x7ffff8574c40) at kernel/qapplication.cpp:3758
#24 0x00007f0eeef6871b in KApplication::notify (this=0x7ffff8576ba0,
receiver=0x244f730, event=0x7ffff8574c40) at
/build/buildd/kde4libs-4.3.0/kdeui/kernel/kapplication.cpp:302
#25 0x00007f0eecfe56ac in QCoreApplication::notifyInternal
(this=0x7ffff8576ba0, receiver=0x244f730, event=0x7ffff8574c40) at
kernel/qcoreapplication.cpp:610
#26 0x00007f0eedb6bb38 in QApplicationPrivate::sendMouseEvent
(receiver=0x244f730, event=0x7ffff8574c40, alienWidget=0x0,
nativeWidget=0x244f730, buttonDown=<value optimized out>, 
    lastMouseReceiver=@0x7f0eee59b010) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216
#27 0x00007f0eedbd5cd4 in QETWidget::translateMouseEvent (this=0x244f730,
event=<value optimized out>) at kernel/qapplication_x11.cpp:4343
#28 0x00007f0eedbd4b53 in QApplication::x11ProcessEvent (this=0x7ffff8576ba0,
event=0x7ffff85767c0) at kernel/qapplication_x11.cpp:3550
#29 0x00007f0eedbfd454 in x11EventSourceDispatch (s=0x20f62c0, callback=0,
user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#30 0x00007f0ee858f20a in g_main_context_dispatch () from
/usr/lib/libglib-2.0.so.0
#31 0x00007f0ee85928e0 in ?? () from /usr/lib/libglib-2.0.so.0
#32 0x00007f0ee8592a7c in g_main_context_iteration () from
/usr/lib/libglib-2.0.so.0
#33 0x00007f0eed00ea8f in QEventDispatcherGlib::processEvents (this=0x20ccf00,
flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#34 0x00007f0eedbfcbdf in QGuiEventDispatcherGlib::processEvents (this=0x0,
flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#35 0x00007f0eecfe3f42 in QEventLoop::processEvents (this=<value optimized
out>, flags={i = -128488784}) at kernel/qeventloop.cpp:149
#36 0x00007f0eecfe4314 in QEventLoop::exec (this=0x7ffff8576af0, flags={i =
-128488704}) at kernel/qeventloop.cpp:201
#37 0x00007f0eecfe65e4 in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:888
#38 0x0000000000bf0c65 in main (argc=1, argv=0x7ffff8577028) at
/build/buildd/kdesdk-4.3.0/umbrello/umbrello/main.cpp:111

Reported using DrKonqi

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.




More information about the umbrello-devel mailing list