[Uml-devel] [Bug 168752] Crash on new synchronous message in sequence diagram

Ralf Habacker ralf.habacker at freenet.de
Wed Dec 7 07:59:42 UTC 2011


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


Ralf Habacker <ralf.habacker at freenet.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
                 CC|                            |ralf.habacker at freenet.de




--- Comment #4 from Ralf Habacker <ralf habacker freenet de>  2011-12-07 07:59:42 ---
At the second stack frame in
/usr/src/debug/kdesdk-4.5.5/umbrello/umbrello/classifier.cpp around 193

            Model_Utils::NameAndType_ListIt nt(params.begin() + i);
            UMLClassifier *c = dynamic_cast<UMLClassifier*>((*nt).m_type);
>            UMLClassifier *testType = testParams.at(i)->getType();
            if (c == NULL) {  //template parameter
                if (testType->name() != "class")
                    break;

in the related case the testType param is zero and let crash theaccess to
name() in the following line

                if (testType->name() != "class")

-- 
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