[umbrello-devel] [umbrello] [Bug 338797] SEGV crash when umbrello is opening AIXM files

Oliver Kellogg okellogg at users.sourceforge.net
Fri Sep 5 05:15:19 UTC 2014


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

Oliver Kellogg <okellogg at users.sourceforge.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|FIXED                       |---
             Status|RESOLVED                    |REOPENED
     Ever confirmed|0                           |1

--- Comment #7 from Oliver Kellogg <okellogg at users.sourceforge.net> ---
(In reply to M Hounsell at ACFR from comment #6)
> 2014-09-05 00:52:30 Z
> 
> Ok, I just did a git pull and a make clean  and it reproduced exactley the
> same, twice. 
> Tried again with "Use tabbed diagrams" disabled but same SEGV.
> 

Although I cannot reproduce the crash I had a closer look at the backtrace, and
in fact there is a problem:

UMLClassifier *ClassifierWidget::classifier() const
{
    return static_cast<UMLClassifier*>(m_umlObject);
}

Since the recent class-or-package modifications, m_umlObject may also point to
UMLPackage - which means that the static_cast to UMLClassifier* is invalid.
I am making the required adjustments and will commit later today.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the umbrello-devel mailing list