sd.check fails in CppunitTest_sd_export_tests-ooxml2

Miklos Vajna vmiklos at collabora.com
Fri Aug 1 07:26:02 UTC 2025


Hi Regina,

On Thu, Jul 31, 2025 at 08:44:00AM +0200, Regina Henschel <rb.henschel at t-online.de> wrote:
> make  CppunitTest_sd_export_tests-ooxml2
> 
> It fails e.g. as
> [_RUN_____] testTdf111518::TestBody
> *** Exception 0xc0000005 occurred ***
> 
> But when I test only this test via
> /make CppunitTest_sd_export_tests-ooxml2 CPPUNIT_TEST_NAME="testTdf111518"
> it does not fail.

This can happen if one test modifies the global state in a way that it
influences the test result of a next test case in the test suite. Of
course this is far from ideal, but in practice it can happen, e.g. when
the invoked code modifies global static variables.

One thing you can try is to find out what tests run before
testTdf111518, and hopefully you can shrink the list to just 2 tests,
which may lead you close to the solution.

I would speculate one of those tests before testTdf111518 don't clean
up properly after itself.

Regards,

Miklos


More information about the LibreOffice mailing list