Segmentation fault when compiling

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is not an issue specific to his environment. I'm also seeing the same
seg fault on a clean Windows 32-bit debug build. 

$ cat autogen.input
--enable-debug

After a 
$ make clean && git pull && ./autogen.sh && make check

I'm seeing: 
[build CUT] vcl_lifecycle
[build SLC] drawinglayer
[build DEP] LNK:CppunitTest/test_framework_dispatch.dll
[build LNK] CppunitTest/test_framework_dispatch.dll
   Creating library
C:/core/workdir/LinkTarget/CppunitTest/itest_framework_dispatch.lib and
object C:/core/workdir/LinkTarget/CppunitTest/itest_framework_dispatch.exp
[build LNK] Library/graphicfilterlo.dll
/usr/bin/sh: line 1:  6360 Segmentation fault      (
PATH="C:\core\instdir\program;C:\core\instdir\program;C:\core\workdir\LinkTarget\Library;C:\core\workdir\UnpackedTarball\cppunit\src\cppunit\ReleaseDll;$PATH"
$W/LinkTarget/Executable/cppunittester.exe
$W/LinkTarget/CppunitTest/test_vcl_lifecycle.dll --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/util/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.dll unoexceptionprotector
--protector $W/LinkTarget/Library/unobootstrapprotector.dll
unobootstrapprotector --protector
$W/LinkTarget/Library/vclbootstrapprotector.dll vclbootstrapprotector
"-env:CPPUNITTESTTARGET=$W/CppunitTest/vcl_lifecycle.test" ) >
$W/CppunitTest/vcl_lifecycle.test.log 2>&1
warn:vcl.window:18848:3412:vcl/source/window/window.cxx:946:
Window::Window(): pParent == NULL
warn:vcl.opengl:18848:3412:vcl/opengl/win/WinDeviceInfo.cxx:506: use :
warn:vcl.fonts:18848:3412:vcl/win/gdi/salfont.cxx:1300:
WinSalGraphics::GetDevFontList(): enter
LifecycleTest::testPostDispose finished in: 2ms
LifecycleTest::testFocus finished in: 2ms
LifecycleTest::testLeakage finished in: 1544ms
LifecycleTest::testToolkit finished in: 2ms
OK (10)
warn:fwk.desktop:18848:3412:framework/source/services/desktop.cxx:1069:
Desktop disposed before terminating it
warn:fwk.desktop:18848:3412:framework/source/services/desktop.cxx:191:
Desktop not terminated before being destructed

Error: a unit test failed, please do one of:
make CppunitTest_vcl_lifecycle CPPUNITTRACE=TRUE # which is a shortcut for
the following line
make CppunitTest_vcl_lifecycle CPPUNITTRACE="'C:/Program Files
(x86)/Microsoft Visual Studio/2017/Community/Common7/IDE/devenv.exe'
/debugexe" # for interactive debugging in Visual Studio
make CppunitTest_vcl_lifecycle CPPUNITTRACE="drmemory -free_max_frames 20" #
for memory checking (install Dr.Memory first, and put it to your PATH)

You can limit the execution to just one particular test by:

make CppunitTest_vcl_lifecycle CPPUNIT_TEST_NAME="testXYZ" ...above
mentioned params...

C:/core/solenv/gbuild/CppunitTest.mk:116: recipe for target
'C:/core/workdir/CppunitTest/vcl_lifecycle.test' failed
make[1]: *** [C:/core/workdir/CppunitTest/vcl_lifecycle.test] Error 1
make[1]: *** Waiting for unfinished jobs....
   Creating library C:/core/workdir/LinkTarget/Library/iavmedia.lib and
object C:/core/workdir/LinkTarget/Library/iavmedia.exp
   Creating library C:/core/workdir/LinkTarget/Library/idbp.lib and object
C:/core/workdir/LinkTarget/Library/idbp.exp
   Creating library C:/core/workdir/LinkTarget/Library/ixo.lib and object
C:/core/workdir/LinkTarget/Library/ixo.exp
Makefile:286: recipe for target 'build' failed
make: *** [build] Error 2




--
Sent from: http://document-foundation-mail-archive.969070.n3.nabble.com/Dev-f1639786.html


[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux