[umbrello-devel] [umbrello] [Bug 333363] Crash when doing code import.
Oliver Kellogg
okellogg at users.sourceforge.net
Mon Apr 14 06:08:16 UTC 2014
https://bugs.kde.org/show_bug.cgi?id=333363
Oliver Kellogg <okellogg at users.sourceforge.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |okellogg at users.sourceforge.
| |net
--- Comment #2 from Oliver Kellogg <okellogg at users.sourceforge.net> ---
(In reply to comment #1)
> Please append a test case
Agreed, test case is necessary for a definitive fix.
OTOH, looking at the backtrace,
Thread 1 [...]
#7 UMLAttribute::setInitialValue (this=0x0, iv=...) at attribute.cpp:110
#8 0x00000000004f7026 in AdaImport::parseStmt (this=0x2b316b0) at
codeimport/adaimport.cpp:620
At adaimport.cpp:620 we have a dereference of 'attr' without preceding check
for NULL pointer:
619 UMLAttribute *attr = static_cast<UMLAttribute*>(o);
620 attr->setInitialValue(initialValue);
The crash is inevitable here (even without knowing the exact use case.)
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the umbrello-devel
mailing list