I've thrown some more memory at the problem. Increased actual memory from 3.5GB to 4GB. Seems to have fixed the problem. I already had 4GB of swap which I would have thought would have rolled in when the compiler needed it. For the record I'm running Slackware 14.2 - 64bit, Kernel 4.4.144 with 4GB of physical memory and 4GB of swap. All in VirtualBox 5.0.40. I shall drop back to 3.5GB and see if I can create the problem again. Alex On 01/08/18 11:34, Alex Kempshall wrote: > I'm getting a segmentation fault when compiling. I've tried my usual > techniques to overcome the problem such as - waiting till the next day > and/or complete refresh. All to no avail. > > I've been compiling for several years without major incident. Last > compiled successfully on July 6th 2018. > > Have I missed something that I should have done recently to cater for > some change. I'm not aware of other people encountering this problem. > Should I raise it as a bug? > > Alex > >> [build DEP] LNK:Library/libavmedialo.so >> [build LNK] Library/libavmedialo.so >> [build DEP] LNK:Library/libdbplo.so >> [build LNK] Library/libdbplo.so >> /bin/sh: line 1: 1727 Segmentation fault     ( >> LD_LIBRARY_PATH=${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}"$I/program:$I/program":$W/UnpackedTarball/cppunit/src/cppunit/.libs >> MALLOC_CHECK_=2 MALLOC_PERTURB_=153 >> $W/LinkTarget/Executable/cppunittester >> $W/LinkTarget/CppunitTest/libtest_vcl_lifecycle.so --headless >> "-env:BRAND_BASE_DIR=file://$S/instdir" >> "-env:BRAND_SHARE_SUBDIR=share" >> "-env:BRAND_SHARE_RESOURCE_SUBDIR=program/resource" >> "-env:UserInstallation=file://$W/CppunitTest/vcl_lifecycle.test.user" >> "-env:CONFIGURATION_LAYERS=xcsxcu:file://$I/share/registry >> xcsxcu:file://$W/unittest/registry" >> "-env:UNO_TYPES=file://$I/program/types.rdb >> file://$I/program/types/offapi.rdb" >> "-env:UNO_SERVICES=file://$W/Rdb/ure/services.rdb >> file://$W/ComponentTarget/configmgr/source/configmgr.component >> file://$W/ComponentTarget/i18npool/util/i18npool.component >> file://$W/ComponentTarget/ucb/source/core/ucb1.component >> file://$W/ComponentTarget/ucb/source/ucp/file/ucpfile1.component >> file://$W/ComponentTarget/framework/u/bin/sh: line 1: 1713 >> Segmentation fault     ( >> LD_LIBRARY_PATH=${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}"$I/program:$I/program":$W/UnpackedTarball/cppunit/src/cppunit/.libs >> MALLOC_CHECK_=2 MALLOC_PERTURB_=153 >> $W/LinkTarget/Executable/cppunittester >> $W/LinkTarget/CppunitTest/libtest_toolkit.so --headless >> "-env:BRAND_BASE_DIR=file://$S/instdir" >> "-env:BRAND_SHARE_SUBDIR=share" >> "-env:BRAND_SHARE_RESOURCE_SUBDIR=program/resource" >> "-env:UserInstallation=file://$W/CppunitTest/toolkit.test.user" >> "-env:CONFIGURATION_LAYERS=xcsxcu:file://$I/share/registry >> xcsxcu:file://$W/unittest/registry" >> "-env:UNO_TYPES=file://$I/program/types/offapi.rdb >> file://$I/program/types.rdb" >> "-env:UNO_SERVICES=file://$W/Rdb/ure/services.rdb >> file://$W/ComponentTarget/comphelper/util/comphelp.component >> file://$W/ComponentTarget/configmgr/source/configmgr.component >> file://$W/ComponentTarget/framework/util/fwk.component >> file://$W/ComponentTarget/i18npool/util/i18npool.component >> file://$W/ComponentTarget/sfx2/util/sfx.component >> file://$W/ComponentTarget/toolkit/util/tk.component >> file://$W/ComponentTarget/ucb/source/core/ucb1.component >> file://$W/ComponentTarget/ucb/source/ucp/file/ucpfile1.component" >> -env:URE_INTERNAL_LIB_DIR=file://$I/program >> -env:LO_LIB_DIR=file://$I/program >> -env:LO_JAVA_DIR=file://$I/program/classes --protector >> $W/LinkTarget/Library/unoexceptionprotector.so unoexceptionprotector >> --protector $W/LinkTarget/Library/unobootstrapprotector.so >> unobootstrapprotector --protector >> $W/LinkTarget/Library/libvclbootstrapprotector.so >> vclbootstrapprotector >> "-env:CPPUNITTESTTARGET=$W/CppunitTest/toolkit.test" ) > >> $W/CppunitTest/toolkit.test.log 2>&1 >> til/fwk.component file://$W/ComponentTarget/sfx2/util/sfx.component" >> -env:URE_INTERNAL_LIB_DIR=file://$I/program >> -env:LO_LIB_DIR=file://$I/program >> -env:LO_JAVA_DIR=file://$I/program/classes --protector >> $W/LinkTarget/Library/unoexceptionprotector.so unoexceptionprotector >> --protector $W/LinkTarget/Library/unobootstrapprotector.so >> unobootstrapprotector --protector >> $W/LinkTarget/Library/libvclbootstrapprotector.so >> vclbootstrapprotector >> "-env:CPPUNITTESTTARGET=$W/CppunitTest/vcl_lifecycle.test" ) > >> $W/CppunitTest/vcl_lifecycle.test.log 2>&1 >> warn:vcl.opengl:1713:1713:vcl/opengl/x11/X11DeviceInfo.cxx:356: >> unknown vendor => blocked >> Window position and size in pixel: >> X: 100 >> Y: 100 >> Width: 640 >> Height: 480 >> Window position: >> X: 2646 1/100mm >> Y: 2646 1/100mm >> Window size: >> Width: 16933 1/100mm >> Height: 12700 1/100mm >> Window size: >> Width: 1693 1/10mm >> Height: 1270 1/10mm >> Window size: >> Width: 640 pixel >> Height: 480 pixel >> Window size: >> Width: 332 appfont >> Height: 295 appfont >> Window size: >> Width: 332 sysfont >> Height: 295 sysfont >> Window size: >> Width: 169 mm >> Height: 127 mm >> Window size: >> Width: 17 cm >> Height: 13 cm >> Window size: >> Width: 6667 1/1000inch >> Height: 5000 1/1000inch >> Window size: >> Width: 667 1/100inch >> Height: 500 1/100inch >> Window size: >> Width: 67 1/10inch >> Height: 50 1/10inch >> Window size: >> Width: 7 inch >> Height: 5 inch >> Window size: >> Width: 480 point >> Height: 360 point >> Window size: >> Width: 9600 twip >> Height: 7200 twip >> Window size: >> Width: 640 pixel >> Height: 480 pixel >> (anonymous namespace)::ToolkitTest::testXUnitConversion finished in: >> 728ms >> OK (1) >> warn:fwk.desktop:1713:1713:framework/source/services/desktop.cxx:1069: >> Desktop disposed before terminating it >> >> No core file identified in directory >> /home/alex/master/workdir/CppunitTest/toolkit.test.core >> To show backtraces for crashes during test execution, >> enable core files with: >> >>   ulimit -c unlimited >> >> warn:vcl.window:1727:1727:vcl/source/window/window.cxx:946: >> Window::Window(): pParent == NULL >> warn:vcl.window:1727:1727:vcl/source/window/window.cxx:946: >> Window::Window(): pParent == NULL >> LifecycleTest::testCast finished in: 63ms >> LifecycleTest::testVirtualDevice finished in: 0ms >> LifecycleTest::testMultiDispose finished in: 3ms >> warn:vcl.window:1727:1727:vcl/source/window/window.cxx:946: >> Window::Window(): pParent == NULL >> warn:vcl.window:1727:1727:vcl/source/window/window.cxx:946: >> Window::Window(): pParent == NULL >> warn:vcl.window:1727:1727:vcl/source/window/window.cxx:946: >> Window::Window(): pParent == NULL >> warn:vcl.window:1727:1727:vcl/source/window/window.cxx:946: >> Window::Window(): pParent == NULL >> LifecycleTest::testIsolatedWidgets finished in: 1ms >> warn:vcl.opengl:1727:1727:vcl/opengl/x11/X11DeviceInfo.cxx:356: >> unknown vendor => blocked >> LifecycleTest::testParentedWidgets finished in: 1ms >> LifecycleTest::testChildDispose finished in: 0ms >> LifecycleTest::testPostDispose finished in: 0ms >> LifecycleTest::testFocus finished in: 0ms >> LifecycleTest::testLeakage finished in: 409ms >> LifecycleTest::testToolkit finished in: 1ms >> OK (10) >> warn:fwk.desktop:1727:1727:framework/source/services/desktop.cxx:1069: >> Desktop disposed before terminating it >> >> No core file identified in directory >> /home/alex/master/workdir/CppunitTest/vcl_lifecycle.test.core >> To show backtraces for crashes during test execution, >> enable core files with: >> >>   ulimit -c unlimited >> >> [build DEP] LNK:Library/libgraphicfilterlo.so >> [build LNK] Library/libgraphicfilterlo.so >> >> Error: a unit test failed, please do one of: >> >> make CppunitTest_toolkit CPPUNITTRACE="gdb --args" >>    # for interactive debugging on Linux >> make CppunitTest_toolkit VALGRIND=memcheck >>    # for memory checking >> make CppunitTest_toolkit DEBUGCPPUNIT=TRUE >>    # for exception catching >> >> You can limit the execution to just one particular test by: >> >> >> Error: a unit test failed, please do one of: >> >> make CppunitTest_vcl_lifecycle CPPUNITTRACE="gdb --args" >>    # for interactive debugging on Linux >> make CppunitTest_vcl_lifecycle VALGRIND=memcheck >>    # for memory checking >> make CppunitTest_vcl_lifecycle DEBUGCPPUNIT=TRUE >>    # for exception catching >> >> You can limit the execution to just one particular test by: >> >> make CPPUNIT_TEST_NAME="testXYZ" ...above mentioned params... >> >> /home/alex/master/solenv/gbuild/CppunitTest.mk:116: recipe for target >> '/home/alex/master/workdir/CppunitTest/toolkit.test' failed >> make[1]: *** [/home/alex/master/workdir/CppunitTest/toolkit.test] >> Error 1 >> make[1]: *** Waiting for unfinished jobs.... >> make CPPUNIT_TEST_NAME="testXYZ" ...above mentioned params... >> >> /home/alex/master/solenv/gbuild/CppunitTest.mk:116: recipe for target >> '/home/alex/master/workdir/CppunitTest/vcl_lifecycle.test' failed >> make[1]: *** >> [/home/alex/master/workdir/CppunitTest/vcl_lifecycle.test] Error 1 >> make[1]: *** wait: No child processes. Stop. >> Makefile:286: recipe for target 'build' failed >> make: *** [build] Error 2 >