Re: sd.check fails in CppunitTest_sd_export_tests-ooxml2

2025-08-18 Thread Balázs Varga
On 8/18/2025 18:45 PM, Mike Kaganski wrote: > FYI, a brute force approach in Player::InitializeWindow, like > > static const BOOL sync = o3tl::IsRunningUnitTest() ? TRUE : FALSE; > > if (SUCCEEDED(hr)) > > hr = > > g_pPlayer->CreateMediaItemFromURL(o3tl::toW(maURL.getStr()), s

Re: sd.check fails in CppunitTest_sd_export_tests-ooxml2

2025-08-18 Thread Mike Kaganski
On 8/6/2025 12:49 PM, Balázs Varga wrote: >>>Probably the Player object, inside its dispose() method, or its destructor, needs to wait until the CreateMediaItemFromURL call completes. >>> We do similar stuff for child threads and asynchronous vcl PostUserEvent callbacks. Yes, probably somethin

Re: sd.check fails in CppunitTest_sd_export_tests-ooxml2

2025-08-06 Thread Noel Grandin
On Wed, 6 Aug 2025 at 09:13, Balázs Varga wrote: > we make these calls and we InitializeWindow, so we create a > MFPCreateMediaPlayer, CreateMediaItemFromURL with the tmp media file > (avi): file:///C:/cygwin64/tmp/tesB70A.tmp, > which methods (CreateMediaItemFromURL) completes asynchronously. W

Re: sd.check fails in CppunitTest_sd_export_tests-ooxml2

2025-08-06 Thread Balázs Varga
>>>Probably the Player object, inside its dispose() method, or its destructor, needs to wait until the CreateMediaItemFromURL call completes. >>> We do similar stuff for child threads and asynchronous vcl PostUserEvent callbacks. Yes, probably something like that can help on this. Fyi loading/imp

Re: sd.check fails in CppunitTest_sd_export_tests-ooxml2

2025-08-06 Thread Regina Henschel
Hi Noel, Noel Grandin schrieb am 05.08.2025 um 23:12: On Tue, 5 Aug 2025 at 18:45, Regina Henschel > wrote: I've found these two problems: testTdf53970 fails with message Throwing InvalidHeaderException *** Exception 0xc005 occurred ***

Re: sd.check fails in CppunitTest_sd_export_tests-ooxml2

2025-08-06 Thread Balázs Varga
Hi Regina, Noel, Thanks for catching this, it also happens on my local Windows when I tried to run make CppunitTest_sd_export_tests-ooxml2... In my case the problem happened after CPPUNIT_TEST_FIXTURE(SdOOXMLExportTest2, testTdf106867) run successfully, but before the next unit test, and somehow

Re: sd.check fails in CppunitTest_sd_export_tests-ooxml2

2025-08-05 Thread Noel Grandin
On Tue, 5 Aug 2025 at 18:45, Regina Henschel wrote: > I've found these two problems: > > testTdf53970 fails with message > Throwing InvalidHeaderException > *** Exception 0xc005 occurred *** > at MFPCreateMediaPlayerEx, address 0x7FFB1D241AD1 in > C:\WINDOWS\SYSTEM32\MFPlay.DLL > > >

Re: sd.check fails in CppunitTest_sd_export_tests-ooxml2

2025-08-05 Thread Regina Henschel
Hi Miklos, Miklos Vajna schrieb am 01.08.2025 um 09:26: Hi Regina, On Thu, Jul 31, 2025 at 08:44:00AM +0200, Regina Henschel wrote: make CppunitTest_sd_export_tests-ooxml2 It fails e.g. as [_RUN_] testTdf111518::TestBody *** Exception 0xc005 occurred *** But when I test only this

Re: sd.check fails in CppunitTest_sd_export_tests-ooxml2

2025-08-01 Thread Miklos Vajna
Hi Regina, On Thu, Jul 31, 2025 at 08:44:00AM +0200, Regina Henschel wrote: > make CppunitTest_sd_export_tests-ooxml2 > > It fails e.g. as > [_RUN_] testTdf111518::TestBody > *** Exception 0xc005 occurred *** > > But when I test only this test via > /make CppunitTest_sd_export_tests-o