Summary: | Umbrello crashes while loading XMI file. | ||
---|---|---|---|
Product: | [Applications] umbrello | Reporter: | Anthony Parent <tonyp> |
Component: | general | Assignee: | Umbrello Development Group <umbrello-devel> |
Status: | RESOLVED UNMAINTAINED | ||
Severity: | crash | CC: | okellogg, ralf.habacker |
Priority: | NOR | ||
Version: | 2.8.3 | ||
Target Milestone: | --- | ||
Platform: | Fedora RPMs | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Anthony Parent
2012-05-14 14:11:44 UTC
(In reply to comment #0) > [...] > - What I was doing when the application crashed: > Loading a generated XMI file. (FIle was generated as per a previous umbrello > version. Granted the file may not be 100% correct, but the application > should not crash...) Totally agree. Hard to tell what's happening just from the backtrace (in particular because of values optimized out.) Could you attach the XMI file (or a stripped down version thereof) that causes the crash? no response after 2 years Git commit dbd78fa7cc80765da48e2d20de27986d692c8e75 by Oliver Kellogg. Committed on 07/06/2014 at 05:48. Pushed by okellogg into branch 'master'. (In reply to comment #0) > -- 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. M +2 -0 umbrello/association.cpp http://commits.kde.org/umbrello/dbd78fa7cc80765da48e2d20de27986d692c8e75 It was two years ago that I reported this issue. At the time, I couldn't add the XMI file because of company proprietary info. I gave up long ago and moved on. Git commit afa2b621fad60ee7b7d981830841f697763eb550 by Oliver Kellogg. Committed on 07/06/2014 at 05:48. Pushed by okellogg into branch 'KDE/4.13'. (In reply to comment #0) > -- 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. M +2 -0 umbrello/association.cpp http://commits.kde.org/umbrello/afa2b621fad60ee7b7d981830841f697763eb550 |