[Uml-devel] [Bug 126968] Umbrello crashes when rendering large xmi files while they're opened

Oliver Kellogg okellogg at users.sourceforge.net
Mon May 8 10:23:00 UTC 2006


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=126968         
okellogg users sourceforge net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |coolo kde org
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |DUPLICATE



------- Additional Comments From okellogg users sourceforge net  2006-05-08 19:22 -------
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 ***




More information about the umbrello-devel mailing list