[Uml-devel] [Bug 223760] Crash when importing java project or class [QListIterator, UMLPackage::findObject, UMLDoc::isUnique, Model_Utils::uniqObjectName]
Oliver Kellogg
okellogg at users.sourceforge.net
Mon Jul 16 19:17:05 UTC 2012
https://bugs.kde.org/show_bug.cgi?id=223760
Oliver Kellogg <okellogg at users.sourceforge.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |okellogg at users.sourceforge.
| |net
--- Comment #14 from Oliver Kellogg <okellogg at users.sourceforge.net> ---
(In reply to comment #12)
> at least on windows using msvc it looks that in the following code
>
> UMLObject * UMLPackage::findObject(const QString &name)
> {
> const bool caseSensitive =
> UMLApp::app()->activeLanguageIsCaseSensitive();
> > for (UMLObjectListIt oit(m_objects); oit.hasNext(); ) {
> UMLObject *obj = oit.next();
>
> the m_objects member isn't initialized or overwritten
> [...]
I don't understand that comment.
m_objects is of type UMLObjectList and so should be default constructed?
Are you saying that m_objects was uninitialized?
IMHO that would sound like some wild overrun destroying random memory
locations.
I just did a
git clone git://gitorious.org/kalibro/kalibro.git
and imported all of KalibroCore/src/org without crash.
Please attach the exact Java files for which the crash happens.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the umbrello-devel
mailing list