Summary: | crash when creating a message in collaboration diagram | ||
---|---|---|---|
Product: | [Applications] umbrello | Reporter: | Jonathan Riddell <jr> |
Component: | general | Assignee: | Umbrello Development Group <umbrello-devel> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | bosman |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Jonathan Riddell
2004-05-04 19:57:39 UTC
gdb output: Program received signal SIGSEGV, Segmentation fault. 0x080f72ea in AssociationWidget (this=0x8455330, view=0x84e36e8, pWidgetA=0x85ef320, assocType=at_Coll_Message, pWidgetB=0x84585d8) at associationwidget.cpp:115 115 m_pName->setUMLObject(m_role[B].m_pWidget->getUMLObject() ); valgrind output: ==16047== ==16047== Invalid read of size 4 ==16047== at 0x80F72EA: AssociationWidget::AssociationWidget(UMLV iew*, UMLWidget*, Uml::Association_Type, UMLWidget*) (associationwid get.cpp:115) ==16047== by 0x818AF21: UMLView::setAssoc(UMLWidget*) (umlview.cp p:2171) ==16047== by 0x819459F: UMLWidget::mouseReleaseEvent(QMouseEvent* ) (umlwidget.cpp:411) ==16047== by 0x818B8CA: UMLView::allocateMouseReleaseEvent(QMouse Event*) (umlview.cpp:2453) ==16047== Address 0x0 is not stack'd, malloc'd or free'd AssociationWidget::setName() needs a non-empty name else it will not produce a new FloatingText. This behaviour was changed previously to reduce the amount of empty FloatingTexts saved to file. |