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

--- Comment #4 from Ralf Habacker <ralf.habac...@freenet.de> ---
>#7 0xffffffff in __dynamic_cast () at /lib/libstdc++.so.6 
>#8 0x082bd338 in ClassifierWidget::paint(QPainter*, QStyleOptionGraphicsItem 
>const*, QWidget*) ()
The callstack indicates that the crash happens somewhere in
ClassifierWidget::paint() performing an invalid dynamic cast. 
An invalid cast is performed in classifier() called at line 672:
    UMLClassifier *umlc = this->classifier();
which expands to 
    return dynamic_cast<UMLClassifier*>(m_umlObject);

Stackoverflow mentioned several reasons for crashing dynamic cast here
http://stackoverflow.com/questions/278429/what-could-cause-a-dynamic-cast-to-crash.
 

The most common reason for such issues is that the related m_umlObject has been
destroyed, which we can catch with QPointer.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to