[Libreoffice] Unit tests - cppunit crashing with debug build

Lubos Lunak l.lunak at suse.cz
Mon Jul 11 11:49:56 PDT 2011


 Hello,

 do the attached patches look ok? With debug build I have unit tests failing 
because of _GLIBCXX_DEBUG mismatch (our code built with it, cppunit without), 
leading to CppUnit::Message dtor (not explicitly defined, thus generated by 
the compiler while compiling the unit test) accessing memory not allocated by 
the ctor (located in the cppunit library).

 Thanks

PS: The real question is of course "WTH does it not crash for others with 
debug build?", but I guess that'll remain a mystery.
-- 
 Lubos Lunak
 l.lunak at suse.cz
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bootstrap.diff
Type: text/x-diff
Size: 1007 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20110711/539bb126/attachment.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libs-extern.diff
Type: text/x-diff
Size: 451 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20110711/539bb126/attachment-0001.diff>


More information about the LibreOffice mailing list