[llvm-bugs] [Bug 30223] New: Clang 4.0 Regression: r279460 causes segmentation fault

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Aug 31 09:07:03 PDT 2016


https://llvm.org/bugs/show_bug.cgi?id=30223

            Bug ID: 30223
           Summary: Clang 4.0 Regression: r279460 causes segmentation
                    fault
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Transformation Utilities
          Assignee: unassignedbugs at nondot.org
          Reporter: lukebenes at hotmail.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

I am no longer able to build LibreOffice with newer versions of clang 4.0 after
http://llvm.org/viewvc/llvm-project?view=revision&revision=279460 

Steps to reproduce:
1. $ git clone git://anongit.freedesktop.org/libreoffice/core
2. $ apt-get build-dep libreoffice ( also lo_usefull Shell Script if missing
dep)
3. Remove ccache if it's installed ( ccache generates warning w/ clang)
4. create file autogen.input with CC=clang and CXX=clang++
5 ./autogen.sh && make

Results:
gcc 5.4.0 - SUCCESS
clang 3.8.0 - SUCCESS
clang 4.0.0 r279459 - SUCCESS
clang 4.0.0 r279460 - FAIL

[CUT] cppcanvas_emfplus

(cppunittester:16425): Gtk-WARNING **: Theme parsing error: <data>:1:59:
'min-width' is not a valid property name

(cppunittester:16425): Gtk-WARNING **: Theme parsing error: <data>:1:76:
'min-height' is not a valid property name
Segmentation fault (core dumped)

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

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

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20160831/2fc63b98/attachment.html>


More information about the llvm-bugs mailing list