This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/47874] Multiple Inheritance - Virtual Function - Segfault


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47874

Ibaidul Sahib <isahib at xtra dot co.nz> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |CLOSED

--- Comment #7 from Ibaidul Sahib <isahib at xtra dot co.nz> 2011-03-12 02:18:47 UTC ---
(In reply to comment #6)
> BugReport::Tier2::Entity::m_Body is null when dereferenced

Confirmed http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47874#c6 in the attached
test case BugReport::Tier2::Entity::Entity fails to initialise m_Body properly.

In production code however the cause of the segfault may have been the
covariant Print() which may have been fixed by
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47873


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]