Summary: | Umbrello crashes when rendering large xmi files while they're opened | ||
---|---|---|---|
Product: | [Applications] umbrello | Reporter: | João Batista <jmn.batista> |
Component: | general | Assignee: | Umbrello Development Group <umbrello-devel> |
Status: | RESOLVED DUPLICATE | ||
Severity: | crash | CC: | coolo |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Attachments: | tarball with Umbrello file that caused crash for this bug |
Description
João Batista
2006-05-08 17:55:18 UTC
The new code generators in some places use a pattern as follows - class Parent { public: virtual void someMethod() = 0; Parent() { someMethod(); } }; class Child : public Parent { public: virtual void someMethod(); Child () {} }; Now when constructing a Child object, first the Parent constructor runs - however that invokes someMethod() which is reimplemented in the Child. Alas, construction of the Child object is at that point not finished, which means we get a "pure virtual method called" type segfault. I am in the process of making factories for those classes. *** This bug has been marked as a duplicate of 126262 *** Created attachment 15988 [details]
tarball with Umbrello file that caused crash for this bug
This is the tarballed Umbrello file that caused the crash referenced in this
bug.
OK, it's understandable. Based on past development experience, do you have any idea when this might be solved? i.e., what is the target release number for solving this? This XMI loads now too (see bug 125331) Thanks to Stephan Kulow, the fix will appear in KDE 3.5.3. |