Summary: | Umbrello crashed when generating C# code. | ||
---|---|---|---|
Product: | [Applications] umbrello | Reporter: | Atli Þór Jónsson <atli.jonsson> |
Component: | general | Assignee: | Umbrello Development Group <umbrello-devel> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | ralf.habacker |
Priority: | NOR | ||
Version: | 2.4.1 | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/umbrello/2801735fd954d76c40194f4318b07c656b7bd550 | Version Fixed In: | 2.17.1 (KDE Applications 15.08.1) |
Sentry Crash Report: |
Description
Atli Þór Jónsson
2010-03-29 04:44:23 UTC
(In reply to Atli Þór Jónsson from comment #0) > #6 UMLObject::getUMLPackage (this=0xbfdab538) at ../../../umbrello/umbrello/umlobject.cpp:606 This call is performed from QString CSharpWriter::makeLocalTypeName(UMLClassifierListItem *cl) { UMLPackage *p = cl->getType()->getUmlPackage(); where UMLClassifier * UMLClassifierListItem::getType() const is defined as { return static_cast<UMLClassifier*>(m_pSecondary); } m_pSecondary could be zero, but isn't checked against in the statement UMLPackage *p = cl->getType()->getUmlPackage(); Git commit 2801735fd954d76c40194f4318b07c656b7bd550 by Ralf Habacker. Committed on 18/08/2015 at 19:34. Pushed by habacker into branch 'Applications/15.08'. Fix 'Umbrello crashed when generating C# code' in CSharpWriter::makeLocalTypeName(). This commit contains a fix for the same case in ValaWriter::makeLocalTypeName(). FIXED-IN:2.17.1 (KDE Applications 15.08.1) M +7 -7 umbrello/codegenerators/csharp/csharpwriter.cpp M +7 -6 umbrello/codegenerators/vala/valawriter.cpp http://commits.kde.org/umbrello/2801735fd954d76c40194f4318b07c656b7bd550 |