Re: Clang 5.0 32-bit builds Failing on CppunitTest_vcl_pdfexport

2017-05-01 Thread slacka
>  SIGABRT failure of
CppunitTest_vcl_filters_test only happen on one of those "2 different
machines(Ubuntu/Fedora)" or on both? 

To Answer your other 2 Questions. It's failing on my Fedora box with Clang
5.0 master. It's failing on my Ubuntu box with clang 3.9 release. Both are
x86.

> * Which jpeg library is that, system one or external/jpeg-turbo? 

How do I check this? See my previous post for my 'autogen.input'.



--
View this message in context: 
http://nabble.documentfoundation.org/MSVC-2015-s-broken-static-initializer-list-causing-build-failure-tp4202928p4213632.html
Sent from the Dev mailing list archive at Nabble.com.
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Clang 5.0 32-bit builds Failing on CppunitTest_vcl_pdfexport

2017-04-13 Thread slacka
I think my initial bisect was wrong because I didn't do a "make clean"
between all the builds. Reverting
https://cgit.freedesktop.org/libreoffice/core/commit/?id=6889fa826eef6bd1074d77507818e71dfe8ba152
Caused a failing build to pass, so it looks like Michael Stahl's hunch was
correct.


$ cat autogen.input 
--without-export-validation
CC=clang
CXX=clang++


and --enable-debug for recent debug builds


The build command I'm using is  
$ ./autogen.sh && make ENVCFLAGS="-mllvm -no-x86-call-frame-opt"
ENVCFLAGSCXX="-mllvm -no-x86-call-frame-opt" 2>&1 | tee build2.log

The flags are because of  this issue.
  





--
View this message in context: 
http://nabble.documentfoundation.org/MSVC-2015-s-broken-static-initializer-list-causing-build-failure-tp4202928p4212415.html
Sent from the Dev mailing list archive at Nabble.com.
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Clang 5.0 32-bit builds Failing on CppunitTest_vcl_pdfexport

2017-04-13 Thread Stephan Bergmann

On 04/12/2017 10:46 PM, Michael Stahl wrote:

On 12.04.2017 21:43, Michael Stahl wrote:

On 12.04.2017 19:35, slacka wrote:

Here is the backtrace:

https://pastebin.com/vhYRQDSG

This was with  clang version 4.0.0 (trunk 287326)

On Ubuntu 16.04.2 LTS 3 4.4.0-64-generic #85-Ubuntu SMP Mon Feb 20 11:49:39
UTC 2017 i686 i686 i686

I'm not sure if it was timing, ccache. or what but whatever is causing this
crash started about 1 month ago. I have been building Libreoffice with Clang
for years and I'm seeing this on 2 different machines(Ubuntu/Fedora).


oh, that is interesting!


#11 0x403058ad in std::terminate() () from 
/usr/lib/i386-linux-gnu/libstdc++.so.6
No symbol table info available.
#12 0x40305b70 in __cxa_throw () from /usr/lib/i386-linux-gnu/libstdc++.so.6
No symbol table info available.
#13 0x458d4ea4 in errorExit (cinfo=0xbfa9beb0) at 
/core/vcl/source/filter/jpeg/jpegc.cxx:45
 buffer = "Quantization table 0x00 was not 
defined\000\016\225\261E\260\276\251\277S\v\000\000\230\273\251\277\273\221\261E\b\000\000\000\b\000\000\000\000\260\367E\b\000\000\000\b\000\000\000\000\260\367E\300\245\362\t\260\245\362\t\370\320\362\t@\v\000\000\001\000\000\000\260\276\251\277\001\000\000\000\000\260\367E軩\277\060\227\261E\260\276\251\277\001\000\000\000@\v\000\000\n\000\000\000
 
\001\000\000\020\000\000\000`\000\000\000\000\260\367E^\373\064\000\000\000\000\000\n\000\000\000\n\000\000\000\000\261\362\t0\205\362\t\370\320\362\t\n\000\000\000
 \001\000\000\001\000\000\000\260\276\251\277"
#14 0x45b052e2 in latch_quant_tables (cinfo=0xbfa9beb0) at jdinput.c:259
 ci = 0
 qtblno = 0
 compptr = 0x9f26620
 qtbl = 0x1
#15 0x45b04ab7 in start_input_pass (cinfo=0xbfa9beb0) at jdinput.c:281
No locals.
#16 0x45b0aa98 in master_selection (cinfo=0xbfa9beb0) at jdmaster.c:575
 master = 0x9e64870
 use_c_buffer = 0
 samplesperrow = 2220
 jd_samplesperrow = 2220
#17 0x45b0a3ce in jinit_master_decompress (cinfo=0xbfa9beb0) at jdmaster.c:735
 master = 0x9e64870
#18 0x45b033ca in jpeg_start_decompress (cinfo=0xbfa9beb0) at jdapistd.c:47
No locals.
#19 0x458d5738 in ReadJPEG (pJPEGReader=0x9e5e03c, pInputStream=0xbfa9ca30, 
pLines=0xbfa9c124, previewSize=...) at 
/core/vcl/source/filter/jpeg/jpegc.cxx:206


an unhandled exception during JPEG import


this is probably happening since:

commit 6889fa826eef6bd1074d77507818e71dfe8ba152
Author: Caolán McNamara 
AuthorDate: Sat Mar 18 20:19:51 2017 +

 rework jpeg error handling to throw rather than setjmp to avoid leaks


the function errorExit() is declared extern "C" and throws an exception,
so std::terminate() is invoked and the catch
(css::uno::RuntimeException) in ReadJPEG() is not reached.

now why does that happen only in your build?  my clang builds don't seem
to mind throwing from extern "C"?  tinderboxes seem happy too.


Maybe it depends on how the jpeg library was built.  So interesting 
questions would be:


* Which jpeg library is that, system one or external/jpeg-turbo?

* What's the autogen.input anyway?

* Does this "terminate called after throwing an instance of 
'com::sun::star::uno::RuntimeException'" SIGABRT failure of 
CppunitTest_vcl_filters_test only happen on one of those "2 different 
machines(Ubuntu/Fedora)" or on both?

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Clang 5.0 32-bit builds Failing on CppunitTest_vcl_pdfexport

2017-04-12 Thread Michael Stahl
On 12.04.2017 21:43, Michael Stahl wrote:
> On 12.04.2017 19:35, slacka wrote:
>> Here is the backtrace:
>>
>> https://pastebin.com/vhYRQDSG
>>
>> This was with  clang version 4.0.0 (trunk 287326)
>>
>> On Ubuntu 16.04.2 LTS 3 4.4.0-64-generic #85-Ubuntu SMP Mon Feb 20 11:49:39
>> UTC 2017 i686 i686 i686 
>>
>> I'm not sure if it was timing, ccache. or what but whatever is causing this
>> crash started about 1 month ago. I have been building Libreoffice with Clang
>> for years and I'm seeing this on 2 different machines(Ubuntu/Fedora).
> 
> oh, that is interesting!
> 
>> #11 0x403058ad in std::terminate() () from 
>> /usr/lib/i386-linux-gnu/libstdc++.so.6
>> No symbol table info available.
>> #12 0x40305b70 in __cxa_throw () from /usr/lib/i386-linux-gnu/libstdc++.so.6
>> No symbol table info available.
>> #13 0x458d4ea4 in errorExit (cinfo=0xbfa9beb0) at 
>> /core/vcl/source/filter/jpeg/jpegc.cxx:45
>> buffer = "Quantization table 0x00 was not 
>> defined\000\016\225\261E\260\276\251\277S\v\000\000\230\273\251\277\273\221\261E\b\000\000\000\b\000\000\000\000\260\367E\b\000\000\000\b\000\000\000\000\260\367E\300\245\362\t\260\245\362\t\370\320\362\t@\v\000\000\001\000\000\000\260\276\251\277\001\000\000\000\000\260\367E軩\277\060\227\261E\260\276\251\277\001\000\000\000@\v\000\000\n\000\000\000
>>  
>> \001\000\000\020\000\000\000`\000\000\000\000\260\367E^\373\064\000\000\000\000\000\n\000\000\000\n\000\000\000\000\261\362\t0\205\362\t\370\320\362\t\n\000\000\000
>>  \001\000\000\001\000\000\000\260\276\251\277"
>> #14 0x45b052e2 in latch_quant_tables (cinfo=0xbfa9beb0) at jdinput.c:259
>> ci = 0
>> qtblno = 0
>> compptr = 0x9f26620
>> qtbl = 0x1
>> #15 0x45b04ab7 in start_input_pass (cinfo=0xbfa9beb0) at jdinput.c:281
>> No locals.
>> #16 0x45b0aa98 in master_selection (cinfo=0xbfa9beb0) at jdmaster.c:575
>> master = 0x9e64870
>> use_c_buffer = 0
>> samplesperrow = 2220
>> jd_samplesperrow = 2220
>> #17 0x45b0a3ce in jinit_master_decompress (cinfo=0xbfa9beb0) at 
>> jdmaster.c:735
>> master = 0x9e64870
>> #18 0x45b033ca in jpeg_start_decompress (cinfo=0xbfa9beb0) at jdapistd.c:47
>> No locals.
>> #19 0x458d5738 in ReadJPEG (pJPEGReader=0x9e5e03c, pInputStream=0xbfa9ca30, 
>> pLines=0xbfa9c124, previewSize=...) at 
>> /core/vcl/source/filter/jpeg/jpegc.cxx:206
> 
> an unhandled exception during JPEG import

this is probably happening since:

commit 6889fa826eef6bd1074d77507818e71dfe8ba152
Author: Caolán McNamara 
AuthorDate: Sat Mar 18 20:19:51 2017 +

rework jpeg error handling to throw rather than setjmp to avoid leaks


the function errorExit() is declared extern "C" and throws an exception,
so std::terminate() is invoked and the catch
(css::uno::RuntimeException) in ReadJPEG() is not reached.

now why does that happen only in your build?  my clang builds don't seem
to mind throwing from extern "C"?  tinderboxes seem happy too.



___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Clang 5.0 32-bit builds Failing on CppunitTest_vcl_pdfexport

2017-04-12 Thread Michael Stahl
On 12.04.2017 19:35, slacka wrote:
> Here is the backtrace:
> 
> https://pastebin.com/vhYRQDSG
> 
> This was with  clang version 4.0.0 (trunk 287326)
> 
> On Ubuntu 16.04.2 LTS 3 4.4.0-64-generic #85-Ubuntu SMP Mon Feb 20 11:49:39
> UTC 2017 i686 i686 i686 
> 
> I'm not sure if it was timing, ccache. or what but whatever is causing this
> crash started about 1 month ago. I have been building Libreoffice with Clang

CppunitTest_vcl_pdfexport was added quite recently.

> for years and I'm seeing this on 2 different machines(Ubuntu/Fedora).

oh, that is interesting!

> #11 0x403058ad in std::terminate() () from 
> /usr/lib/i386-linux-gnu/libstdc++.so.6
> No symbol table info available.
> #12 0x40305b70 in __cxa_throw () from /usr/lib/i386-linux-gnu/libstdc++.so.6
> No symbol table info available.
> #13 0x458d4ea4 in errorExit (cinfo=0xbfa9beb0) at 
> /core/vcl/source/filter/jpeg/jpegc.cxx:45
> buffer = "Quantization table 0x00 was not 
> defined\000\016\225\261E\260\276\251\277S\v\000\000\230\273\251\277\273\221\261E\b\000\000\000\b\000\000\000\000\260\367E\b\000\000\000\b\000\000\000\000\260\367E\300\245\362\t\260\245\362\t\370\320\362\t@\v\000\000\001\000\000\000\260\276\251\277\001\000\000\000\000\260\367E軩\277\060\227\261E\260\276\251\277\001\000\000\000@\v\000\000\n\000\000\000
>  
> \001\000\000\020\000\000\000`\000\000\000\000\260\367E^\373\064\000\000\000\000\000\n\000\000\000\n\000\000\000\000\261\362\t0\205\362\t\370\320\362\t\n\000\000\000
>  \001\000\000\001\000\000\000\260\276\251\277"
> #14 0x45b052e2 in latch_quant_tables (cinfo=0xbfa9beb0) at jdinput.c:259
> ci = 0
> qtblno = 0
> compptr = 0x9f26620
> qtbl = 0x1
> #15 0x45b04ab7 in start_input_pass (cinfo=0xbfa9beb0) at jdinput.c:281
> No locals.
> #16 0x45b0aa98 in master_selection (cinfo=0xbfa9beb0) at jdmaster.c:575
> master = 0x9e64870
> use_c_buffer = 0
> samplesperrow = 2220
> jd_samplesperrow = 2220
> #17 0x45b0a3ce in jinit_master_decompress (cinfo=0xbfa9beb0) at jdmaster.c:735
> master = 0x9e64870
> #18 0x45b033ca in jpeg_start_decompress (cinfo=0xbfa9beb0) at jdapistd.c:47
> No locals.
> #19 0x458d5738 in ReadJPEG (pJPEGReader=0x9e5e03c, pInputStream=0xbfa9ca30, 
> pLines=0xbfa9c124, previewSize=...) at 
> /core/vcl/source/filter/jpeg/jpegc.cxx:206

an unhandled exception during JPEG import - then i was wrong to blame
the GStreamer thread?

or is this a different problem - this one dies with SIGABRT while your
previous log died with SIGSEGV?  hmm and previously the test printed "OK
(4)" but here it apparently dies in the middle of the test.  oh, and now
i notice that this log is for CppunitTest_vcl_filters_test not the
pdfexport test.


___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Clang 5.0 32-bit builds Failing on CppunitTest_vcl_pdfexport

2017-04-12 Thread slacka
Here is the backtrace:

https://pastebin.com/vhYRQDSG

This was with  clang version 4.0.0 (trunk 287326)

On Ubuntu 16.04.2 LTS 3 4.4.0-64-generic #85-Ubuntu SMP Mon Feb 20 11:49:39
UTC 2017 i686 i686 i686 

I'm not sure if it was timing, ccache. or what but whatever is causing this
crash started about 1 month ago. I have been building Libreoffice with Clang
for years and I'm seeing this on 2 different machines(Ubuntu/Fedora).



--
View this message in context: 
http://nabble.documentfoundation.org/MSVC-2015-s-broken-static-initializer-list-causing-build-failure-tp4202928p4212319.html
Sent from the Dev mailing list archive at Nabble.com.
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Clang 5.0 32-bit builds Failing on CppunitTest_vcl_pdfexport

2017-04-07 Thread Michael Stahl
On 07.04.2017 07:37, Luke Benes wrote:
> 
> I'm getting the following build failure
> 
> /bin/sh: line 1: 16577 Segmentation fault  (core dumped) (
> 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_pdfexport.so --headless

> (anonymous namespace)::PdfExportTest::testTdf106059 finished in: 635ms
> (anonymous namespace)::PdfExportTest::testTdf105461 finished in: 756ms
> (anonymous namespace)::PdfExportTest::testTdf105093 finished in: 2364ms
> ** Message: PackageKit: xid = 0
> ** Message: PackageKit: desktop_id = (null)
> ** Message: PackageKit: Codec nice name: H.264 (Constrained Baseline
> Profile) decoder
> ** Message: PackageKit: ignoring field named level
> ** Message: PackageKit: ignoring field named profile
> ** Message: PackageKit: structure: gstreamer1(decoder-video/x-h264)

gstreamer is missing a codec and told packagekit to install it...

> (anonymous namespace)::PdfExportTest::testTdf106206 finished in: 244ms
> OK (4)

... and it crashes on shutdown.

the GStreamer install thread is still running at shutdown, Stephan just
said that he would investigate why it isn't joined before shutdown.

of course this depends on timing so you can't reproduce the crash reliably.


___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Clang 5.0 32-bit builds Failing on CppunitTest_vcl_pdfexport

2017-04-06 Thread Luke Benes
Sorry for the noise. I'm still getting this intermittent failure, but it looks 
like I bisected it incorrectly. I'll try a newer version of clang and removing 
ccache.





From: Luke Benes <lukebe...@hotmail.com>
Sent: Tuesday, April 4, 2017 11:41 PM
To: libreoffice@lists.freedesktop.org; sberg...@redhat.com
Subject: Clang 5.0 32-bit builds Failing on CppunitTest_vcl_pdfexport

After  commit 739345e73af9e14d9c666836d0e35a93b1ed12ee
Author: Stephan Bergmann <sberg...@redhat.com>
Date:   Thu Mar 9 11:36:27 2017 +0100

Add missing CxxClrObject case

I'm getting the following build failure

/bin/sh: line 1: 16577 Segmentation fault  (core dumped) ( 
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_pdfexport.so --headless 
"-env:BRAND_BASE_DIR=file://$S/instdir" "-env:BRAND_SHARE_SUBDIR=share" 
"-env:UserInstallation=file://$W/CppunitTest/vcl_pdfexport.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 file://$I/program/types.rdb 
file://$I/program/types/offapi.rdb" 
"-env:UNO_SERVICES=file://$W/Rdb/ure/services.rdb file://$W/Rdb/services.rdb" 
-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_pdfexport.test" ) > 
$W/CppunitTest/vcl_pdfexport.test.log  2>&1
(anonymous namespace)::PdfExportTest::testTdf106059 finished in: 635ms
(anonymous namespace)::PdfExportTest::testTdf105461 finished in: 756ms
(anonymous namespace)::PdfExportTest::testTdf105093 finished in: 2364ms
** Message: PackageKit: xid = 0
** Message: PackageKit: desktop_id = (null)
** Message: PackageKit: Codec nice name: H.264 (Constrained Baseline Profile) 
decoder
** Message: PackageKit: ignoring field named level
** Message: PackageKit: ignoring field named profile
** Message: PackageKit: structure: gstreamer1(decoder-video/x-h264)
(anonymous namespace)::PdfExportTest::testTdf106206 finished in: 244ms
OK (4)

No core file identified in directory 
/lo/core/workdir/CppunitTest/vcl_pdfexport.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_vcl_pdfexport CPPUNITTRACE="gdb --args"
# for interactive debugging on Linux
make CppunitTest_vcl_pdfexport VALGRIND=memcheck
# for memory checking
make CppunitTest_vcl_pdfexport DEBUGCPPUNIT=TRUE
# for exception catching

/lo/core/solenv/gbuild/CppunitTest.mk:107: recipe for target 
'/lo/core/workdir/CppunitTest/vcl_pdfexport.test' failed
make[1]: *** [/lo/core/workdir/CppunitTest/vcl_pdfexport.test] Error 1
make[1]: *** Waiting for unfinished jobs
Makefile:264: recipe for target 'build' failed
make: *** [build] Error 2

system info:
Fedora release 25 (Twenty Five)
[luke@localhost ~]$ uname -a
Linux localhost.localdomain 4.9.13-201.fc25.i686 #1 SMP Wed Mar 8 00:30:30 UTC 
2017 i686 i686 i386 GNU/Linux
[luke@localhost ~]$ clang --version
clang version 5.0.0 (trunk 292826)



___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Clang 5.0 32-bit builds Failing on CppunitTest_vcl_pdfexport

2017-04-06 Thread Luke Benes
After  commit 739345e73af9e14d9c666836d0e35a93b1ed12ee
Author: Stephan Bergmann 
Date:   Thu Mar 9 11:36:27 2017 +0100

    Add missing CxxClrObject case

I'm getting the following build failure 

/bin/sh: line 1: 16577 Segmentation fault  (core dumped) ( 
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_pdfexport.so --headless 
"-env:BRAND_BASE_DIR=file://$S/instdir" "-env:BRAND_SHARE_SUBDIR=share" 
"-env:UserInstallation=file://$W/CppunitTest/vcl_pdfexport.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 file://$I/program/types.rdb 
file://$I/program/types/offapi.rdb" 
"-env:UNO_SERVICES=file://$W/Rdb/ure/services.rdb file://$W/Rdb/services.rdb" 
-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_pdfexport.test" ) > 
$W/CppunitTest/vcl_pdfexport.test.log  2>&1
(anonymous namespace)::PdfExportTest::testTdf106059 finished in: 635ms
(anonymous namespace)::PdfExportTest::testTdf105461 finished in: 756ms
(anonymous namespace)::PdfExportTest::testTdf105093 finished in: 2364ms
** Message: PackageKit: xid = 0
** Message: PackageKit: desktop_id = (null)
** Message: PackageKit: Codec nice name: H.264 (Constrained Baseline Profile) 
decoder
** Message: PackageKit: ignoring field named level
** Message: PackageKit: ignoring field named profile
** Message: PackageKit: structure: gstreamer1(decoder-video/x-h264)
(anonymous namespace)::PdfExportTest::testTdf106206 finished in: 244ms
OK (4)

No core file identified in directory 
/lo/core/workdir/CppunitTest/vcl_pdfexport.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_vcl_pdfexport CPPUNITTRACE="gdb --args"
    # for interactive debugging on Linux
make CppunitTest_vcl_pdfexport VALGRIND=memcheck
    # for memory checking
make CppunitTest_vcl_pdfexport DEBUGCPPUNIT=TRUE
    # for exception catching

/lo/core/solenv/gbuild/CppunitTest.mk:107: recipe for target 
'/lo/core/workdir/CppunitTest/vcl_pdfexport.test' failed
make[1]: *** [/lo/core/workdir/CppunitTest/vcl_pdfexport.test] Error 1
make[1]: *** Waiting for unfinished jobs
Makefile:264: recipe for target 'build' failed
make: *** [build] Error 2

system info:
Fedora release 25 (Twenty Five)
[luke@localhost ~]$ uname -a
Linux localhost.localdomain 4.9.13-201.fc25.i686 #1 SMP Wed Mar 8 00:30:30 UTC 
2017 i686 i686 i386 GNU/Linux
[luke@localhost ~]$ clang --version
clang version 5.0.0 (trunk 292826)



___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Clang 5.0 32-bit builds Failing on CppunitTest_vcl_pdfexport

2017-04-05 Thread Stephan Bergmann

On 04/05/2017 08:41 AM, Luke Benes wrote:

I'm getting the following build failure

/bin/sh: line 1: 16577 Segmentation fault  (core dumped) ( 
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_pdfexport.so --headless "-env:BRAND_BASE_DIR=file://$S/instdir" 
"-env:BRAND_SHARE_SUBDIR=share" "-env:UserInstallation=file://$W/CppunitTest/vcl_pdfexport.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 file://$I/program/types.rdb file://$I/program/types/offapi.rdb" "-env:UNO_SERVICES=file://$W/Rdb/ure/services.rdb 
file://$W/Rdb/services.rdb" -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_pdfexport.test" ) > 
$W/CppunitTest/vcl_pdfexport.test.log  2>&1
(anonymous namespace)::PdfExportTest::testTdf106059 finished in: 635ms
(anonymous namespace)::PdfExportTest::testTdf105461 finished in: 756ms
(anonymous namespace)::PdfExportTest::testTdf105093 finished in: 2364ms
** Message: PackageKit: xid = 0
** Message: PackageKit: desktop_id = (null)
** Message: PackageKit: Codec nice name: H.264 (Constrained Baseline Profile) 
decoder
** Message: PackageKit: ignoring field named level
** Message: PackageKit: ignoring field named profile
** Message: PackageKit: structure: gstreamer1(decoder-video/x-h264)
(anonymous namespace)::PdfExportTest::testTdf106206 finished in: 244ms
OK (4)

No core file identified in directory 
/lo/core/workdir/CppunitTest/vcl_pdfexport.test.core
To show backtraces for crashes during test execution,
enable core files with:

   ulimit -c unlimited


What's the backtrace output when you actually do that?


Error: a unit test failed, please do one of:
make CppunitTest_vcl_pdfexport CPPUNITTRACE="gdb --args"
# for interactive debugging on Linux
make CppunitTest_vcl_pdfexport VALGRIND=memcheck
# for memory checking
make CppunitTest_vcl_pdfexport DEBUGCPPUNIT=TRUE
# for exception catching

/lo/core/solenv/gbuild/CppunitTest.mk:107: recipe for target 
'/lo/core/workdir/CppunitTest/vcl_pdfexport.test' failed

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice