Skip to content
  • Oliver Kellogg's avatar
    (In reply to comment #0) · dbd78fa7
    Oliver Kellogg authored
    > -- Backtrace:
    > Application: Umbrello UML Modeller (umbrello), signal: Segmentation fault
    > [...]
    > Thread 1 (Thread 0x7ff392baa880 (LWP 27703)):
    > [KCrash Handler]
    > #6  0x0000000000abf450 in ?? ()
    > #7  0x00000000006a5f10 in UMLAssociation::getObjectId (this=<optimized out>,
    > role=Uml::A) at
    > /usr/src/debug/kdesdk-4.8.3/umbrello/umbrello/association.cpp:500
    
    I suspect the <UML:Association> was somehow inconsistent in the XMI so that
    the role objects (UMLAssociation::m_pRole) did not get constructed.
    As said, without a reproducer it's hard to tell.
    
    umbrello/association.cpp
    - Do not dereference m_pRole[role] when NULL.
      Might happen on loading corrupted XMI.
    
    CCBUG:300004
    dbd78fa7