unit test sw_txtexport.test fails on Ubuntu 23.10:
Håkon Hægland
hakon.hagland at gmail.com
Thu Jan 4 08:02:28 UTC 2024
$ git clone https://git.libreoffice.org/core core3
$ cd core3
$ ./autogen.sh
$ make
$ make check
[CUT] sw_rtfimport
[CUT] sw_odfexport
[CUT] sw_odfexport2
[CUT] sw_odfimport
[CUT] sw_txtexport
[CUT] sw_txtencexport
[CUT] sw_txtimport
Aborted (core dumped)
[_RUN_____] (anonymous namespace)::testBullets::Import_Export
file:///home/hakon/test/libreoffice/core3//sw/qa/extras/txtexport/data//bullets.odt:
476
(anonymous namespace)::testBullets::Import_Export finished in: 493ms
[_RUN_____] (anonymous namespace)::testClearingBreakExport::TestBody
private:factory/swriter:
(anonymous namespace)::testClearingBreakExport::TestBody finished in: 80ms
[_RUN_____] (anonymous namespace)::testTdf120574_utf16lebom::Import_Export
Fatal exception: Signal 6
Stack:
/home/hakon/test/libreoffice/core3/instdir/program/libuno_sal.so.3(+0x42232)[0x7f63b6296232]
/home/hakon/test/libreoffice/core3/instdir/program/libuno_sal.so.3(+0x423eb)[0x7f63b62963eb]
/lib/x86_64-linux-gnu/libc.so.6(+0x42910)[0x7f63b5a42910]
/lib/x86_64-linux-gnu/libc.so.6(pthread_kill+0x11b)[0x7f63b5a9999b]
/lib/x86_64-linux-gnu/libc.so.6(raise+0x16)[0x7f63b5a42866]
/lib/x86_64-linux-gnu/libc.so.6(abort+0xd7)[0x7f63b5a268b7]
/home/hakon/test/libreoffice/core3/instdir/program/libvcllo.so(+0x4c31bb)[0x7f63af2c31bb]
/home/hakon/test/libreoffice/core3/instdir/program/libvcllo.so(+0xaa8913)[0x7f63af8a8913]
/home/hakon/test/libreoffice/core3/instdir/program/libvcllo.so(_ZNK3vcl4font22PhysicalFontCollection20GetGlyphFallbackFontERNS0_17FontSelectPatternEP19LogicalFontInstanceRN3rtl8OUStringEi+0xcc)[0x7f63af7a2d0c]
/home/hakon/test/libreoffice/core3/instdir/program/libvcllo.so(+0x9a9004)[0x7f63af7a9004]
/home/hakon/test/libreoffice/core3/instdir/program/libvcllo.so(+0x6b0a2b)[0x7f63af4b0a2b]
/home/hakon/test/libreoffice/core3/instdir/program/libvcllo.so(_ZNK12OutputDevice10ImplLayoutERKN3rtl8OUStringEiiRK5Pointl13KernArraySpanSt4spanIKhLm18446744073709551615EE14SalLayoutFlagsPKN3vcl4text15TextLayoutCacheEPK15SalLayoutGlyphs+0xc57)[0x7f63af4b33b7]
/home/hakon/test/libreoffice/core3/instdir/program/libvcllo.so(_ZNK12OutputDevice16GetTextBoundRectERN5tools9RectangleERKN3rtl8OUStringEiiim13KernArraySpanSt4spanIKhLm18446744073709551615EEPK15SalLayoutGlyphs+0x176)[0x7f63af4b4096]
/home/hakon/test/libreoffice/core3/instdir/program/libvcllo.so(_ZN14FontMetricData13ImplInitFlagsEPK12OutputDevice+0xe4)[0x7f63af7aaf74]
/home/hakon/test/libreoffice/core3/instdir/program/libvcllo.so(_ZNK12OutputDevice11ImplNewFontEv+0x1e0)[0x7f63af4adce0]
/home/hakon/test/libreoffice/core3/instdir/program/libvcllo.so(_ZNK12OutputDevice13GetFontMetricEv+0x38)[0x7f63af4affb8]
/home/hakon/test/libreoffice/core3/instdir/program/libswlo.so(+0x96eb95)[0x7f63aa56eb95]
/home/hakon/test/libreoffice/core3/instdir/program/libswlo.so(+0x992189)[0x7f63aa592189]
/home/hakon/test/libreoffice/core3/instdir/program/libswlo.so(+0x9923eb)[0x7f63aa5923eb]
/home/hakon/test/libreoffice/core3/instdir/program/libswlo.so(+0x8dd71e)[0x7f63aa4dd71e]
/home/hakon/test/libreoffice/core3/instdir/program/libswlo.so(+0x8e7251)[0x7f63aa4e7251]
/home/hakon/test/libreoffice/core3/instdir/program/libswlo.so(+0x8ee523)[0x7f63aa4ee523]
/home/hakon/test/libreoffice/core3/instdir/program/libswlo.so(+0x8eeb68)[0x7f63aa4eeb68]
/home/hakon/test/libreoffice/core3/instdir/program/libswlo.so(_ZN11SwTextFrame10FormatLineER15SwTextFormatterb+0xa8)[0x7f63aa4c2a08]
/home/hakon/test/libreoffice/core3/instdir/program/libswlo.so(_ZN11SwTextFrame7Format_ER15SwTextFormatterR16SwTextFormatInfob+0x4d6)[0x7f63aa4c6b36]
/home/hakon/test/libreoffice/core3/instdir/program/libswlo.so(_ZN11SwTextFrame10FormatImplEP12OutputDeviceP13SwParaPortionRSt6vectorIP16SwAnchoredObjectSaIS6_EE+0x2bb)[0x7f63aa4c770b]
/home/hakon/test/libreoffice/core3/instdir/program/libswlo.so(_ZN11SwTextFrame6FormatEP12OutputDevicePK13SwBorderAttrs+0x8e2)[0x7f63aa4c8432]
/home/hakon/test/libreoffice/core3/instdir/program/libswlo.so(_ZN14SwContentFrame7MakeAllEP12OutputDevice+0x5a9)[0x7f63aa3b7029]
/home/hakon/test/libreoffice/core3/instdir/program/libswlo.so(_ZN7SwFrame14OptPrepareMakeEv+0x103)[0x7f63aa3b54c3]
/home/hakon/test/libreoffice/core3/instdir/program/libswlo.so(+0x7f6432)[0x7f63aa3f6432]
/home/hakon/test/libreoffice/core3/instdir/program/libswlo.so(+0x7f992c)[0x7f63aa3f992c]
/home/hakon/test/libreoffice/core3/instdir/program/libswlo.so(+0x7f9fc9)[0x7f63aa3f9fc9]
/home/hakon/test/libreoffice/core3/instdir/program/libswlo.so(_ZN11SwViewShell13ImplEndActionEb+0x422)[0x7f63aa7e5a42]
/home/hakon/test/libreoffice/core3/instdir/program/libswlo.so(_ZN13SwCursorShell9EndActionEb+0x146)[0x7f63aa111106]
/home/hakon/test/libreoffice/core3/instdir/program/libswlo.so(_ZN6SwView16OuterResizePixelERK5PointRK4Size+0x3ca)[0x7f63aab4742a]
/home/hakon/test/libreoffice/core3/instdir/program/libsfxlo.so(_ZN12SfxViewFrame20DoAdjustPosSizePixelEP12SfxViewShellRK5PointRK4Sizeb+0x47)[0x7f63abb10b97]
/home/hakon/test/libreoffice/core3/instdir/program/libsfxlo.so(_ZN12SfxViewFrame6ResizeEb+0x107)[0x7f63abb11657]
/home/hakon/test/libreoffice/core3/instdir/program/libvcllo.so(+0x543fc0)[0x7f63af343fc0]
/home/hakon/test/libreoffice/core3/instdir/program/libvcllo.so(_ZN3vcl6Window4ShowEb9ShowFlags+0x1e0)[0x7f63af3c6490]
/home/hakon/test/libreoffice/core3/instdir/program/libsfxlo.so(+0x504bed)[0x7f63abb04bed]
/home/hakon/test/libreoffice/core3/instdir/program/libsfxlo.so(_ZN17SfxBaseController11attachFrameERKN3com3sun4star3uno9ReferenceINS2_5frame6XFrameEEE+0x183)[0x7f63abb05d73]
/home/hakon/test/libreoffice/core3/instdir/program/libsfxlo.so(+0x4e8e53)[0x7f63abae8e53]
/home/hakon/test/libreoffice/core3/instdir/program/libfwklo.so(+0x22682a)[0x7f63a982682a]
/home/hakon/test/libreoffice/core3/instdir/program/libfwklo.so(+0x229280)[0x7f63a9829280]
/home/hakon/test/libreoffice/core3/instdir/program/libfwklo.so(+0x2298fc)[0x7f63a98298fc]
/home/hakon/test/libreoffice/core3/instdir/program/libfwklo.so(+0x22a095)[0x7f63a982a095]
/home/hakon/test/libreoffice/core3/instdir/program/libfwklo.so(_ZN9framework7Desktop20loadComponentFromURLERKN3rtl8OUStringES4_iRKN3com3sun4star3uno8SequenceINS7_5beans13PropertyValueEEE+0x1be)[0x7f63a983d2ae]
/home/hakon/test/libreoffice/core3/workdir/LinkTarget/CppunitTest/../Library/libunotest.so(_ZN7unotest10MacrosTest15loadFromDesktopERKN3rtl8OUStringES4_RKN3com3sun4star3uno8SequenceINS7_5beans13PropertyValueEEE+0x5a4)[0x7f63abd87224]
/home/hakon/test/libreoffice/core3/workdir/LinkTarget/CppunitTest/../Library/libsubsequenttest.so(_ZN10UnoApiTest14loadWithParamsERKN3rtl8OUStringERKN3com3sun4star3uno8SequenceINS6_5beans13PropertyValueEEE+0x7a)[0x7f63ab26af5a]
/home/hakon/test/libreoffice/core3/workdir/LinkTarget/CppunitTest/../Library/libsubsequenttest.so(_ZN10UnoApiTest4loadERKN3rtl8OUStringEPKc+0x1b4)[0x7f63ab26c514]
/home/hakon/test/libreoffice/core3/workdir/LinkTarget/CppunitTest/../Library/libswqahelper.so(_ZN15SwModelTestBase7loadURLERKN3rtl8OUStringEPKc+0x51)[0x7f63abde1e21]
/home/hakon/test/libreoffice/core3/workdir/LinkTarget/CppunitTest/../Library/libswqahelper.so(_ZN15SwModelTestBase11loadAndSaveEPKcS1_+0x5b)[0x7f63abde248b]
/home/hakon/test/libreoffice/core3/workdir/LinkTarget/CppunitTest/../Library/libswqahelper.so(_ZN15SwModelTestBase19executeImportExportEPKcS1_+0x2b)[0x7f63abde251b]
/home/hakon/test/libreoffice/core3/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1.15.so.1(_ZNK7CppUnit21TestCaseMethodFunctorclEv+0x6a)[0x7f63b633aa36]
/home/hakon/test/libreoffice/core3/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1.15.so.1(_ZNK7CppUnit14ProtectorChain14ProtectFunctorclEv+0x43)[0x7f63b63345f5]
/home/hakon/test/libreoffice/core3/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1.15.so.1(_ZNK7CppUnit14ProtectorChain14ProtectFunctorclEv+0x43)[0x7f63b63345f5]
/home/hakon/test/libreoffice/core3/workdir/LinkTarget/Library/unoexceptionprotector.so(+0x2855)[0x7f63b6250855]
/home/hakon/test/libreoffice/core3/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1.15.so.1(_ZNK7CppUnit14ProtectorChain14ProtectFunctorclEv+0x43)[0x7f63b63345f5]
/home/hakon/test/libreoffice/core3/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1.15.so.1(_ZN7CppUnit16DefaultProtector7protectERKNS_7FunctorERKNS_16ProtectorContextE+0x51)[0x7f63b632861b]
/home/hakon/test/libreoffice/core3/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1.15.so.1(_ZNK7CppUnit14ProtectorChain14ProtectFunctorclEv+0x43)[0x7f63b63345f5]
/home/hakon/test/libreoffice/core3/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1.15.so.1(_ZN7CppUnit14ProtectorChain7protectERKNS_7FunctorERKNS_16ProtectorContextE+0x180)[0x7f63b633443c]
/home/hakon/test/libreoffice/core3/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1.15.so.1(_ZN7CppUnit10TestResult7protectERKNS_7FunctorEPNS_4TestERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE+0x6f)[0x7f63b6348343]
/home/hakon/test/libreoffice/core3/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1.15.so.1(_ZN7CppUnit8TestCase3runEPNS_10TestResultE+0x1e0)[0x7f63b633a480]
/home/hakon/test/libreoffice/core3/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1.15.so.1(_ZN7CppUnit13TestComposite15doRunChildTestsEPNS_10TestResultE+0x84)[0x7f63b633b0d8]
/home/hakon/test/libreoffice/core3/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1.15.so.1(_ZN7CppUnit13TestComposite3runEPNS_10TestResultE+0x50)[0x7f63b633af50]
/home/hakon/test/libreoffice/core3/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1.15.so.1(_ZN7CppUnit13TestComposite15doRunChildTestsEPNS_10TestResultE+0x84)[0x7f63b633b0d8]
/home/hakon/test/libreoffice/core3/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1.15.so.1(_ZN7CppUnit13TestComposite3runEPNS_10TestResultE+0x50)[0x7f63b633af50]
/home/hakon/test/libreoffice/core3/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1.15.so.1(_ZN7CppUnit10TestRunner13WrappingSuite3runEPNS_10TestResultE+0x46)[0x7f63b634d0ec]
/home/hakon/test/libreoffice/core3/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1.15.so.1(_ZN7CppUnit10TestResult7runTestEPNS_4TestE+0x52)[0x7f63b634808c]
/home/hakon/test/libreoffice/core3/workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit-1.15.so.1(_ZN7CppUnit10TestRunner3runERNS_10TestResultERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE+0x9b)[0x7f63b634d3a5]
/home/hakon/test/libreoffice/core3/workdir/LinkTarget/Executable/cppunittester(+0x7da4)[0x5637001e4da4]
/home/hakon/test/libreoffice/core3/workdir/LinkTarget/Executable/cppunittester(+0x8db8)[0x5637001e5db8]
/home/hakon/test/libreoffice/core3/workdir/LinkTarget/Executable/cppunittester(+0x53ff)[0x5637001e23ff]
/lib/x86_64-linux-gnu/libc.so.6(+0x280d0)[0x7f63b5a280d0]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x89)[0x7f63b5a28189]
/home/hakon/test/libreoffice/core3/workdir/LinkTarget/Executable/cppunittester(+0x5445)[0x5637001e2445]
No core file identified in directory
/home/hakon/test/libreoffice/core3/workdir/CppunitTest/sw_txtexport.test.core
To show backtraces for crashes during test execution,
enable core files with:
ulimit -c unlimited
Error: a unit test failed, please do one of:
make CppunitTest_sw_txtexport CPPUNITTRACE="gdb --args"
# for interactive debugging on Linux
make CppunitTest_sw_txtexport VALGRIND=memcheck
# for memory checking
make CppunitTest_sw_txtexport DEBUGCPPUNIT=TRUE
# for exception catching
You can limit the execution to just one particular test by:
make CPPUNIT_TEST_NAME="testXYZ" ...above mentioned params...
make[1]: ***
[/home/hakon/test/libreoffice/core3/solenv/gbuild/CppunitTest.mk:130:
/home/hakon/test/libreoffice/core3/workdir/CppunitTest/sw_txtexport.test]
Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [Makefile:290: build] Error 2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice/attachments/20240104/a8d339e2/attachment.htm>
More information about the LibreOffice
mailing list