[Bug 220883] clang crash: Assertion failed: (Result.isUninit() && "temporary created multiple times"), function createTemporary

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Jul 20 15:45:43 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=220883

            Bug ID: 220883
           Summary: clang crash: Assertion failed: (Result.isUninit() &&
                    "temporary created multiple times"), function
                    createTemporary
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: trasz at FreeBSD.org

Created attachment 184550
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=184550&action=edit
repro case

When building a newer version of LinuxCNC, clang crashes like this:

% c++ -c -I. -Ilibnml/linklist -Ilibnml/cms -Ilibnml/rcs -Ilibnml/inifile
-Ilibnml/os_intf -Ilibnml/nml -Ilibnml/buffer -Ilibnml/posemath -Irtapi -Ihal
-Iemc/nml_intf -Iemc/kinematics -Iemc/tp -Iemc/motion -Iemc/ini -Iemc/rs274ngc
-Iemc/pythonplugin
-I/usr/home/trasz/svn-ssh/ports/cad/linuxcnc-devel/work/linuxcnc-5b7929df50e0574cb1105143fffe525916d8a4c2/src/include
-I/usr/local/include -I/usr/local/include/python2.7 -I/usr/local/include
-std=c++11    -DULAPI  -g -Wall -Os -fwrapv -Woverloaded-virtual -DSIM -UULAPI
-DRTAPI -pthread  -MP -MD -MF "objects/rtapi/uspace_rtapi_app.d" -MT
"objects/rtapi/uspace_rtapi_app.o" rtapi/uspace_rtapi_app.cc -o
objects/rtapi/uspace_rtapi_app.o     
Assertion failed: (Result.isUninit() && "temporary created multiple times"),
function createTemporary, file
/usr/home/trasz/svn-ssh/head/contrib/llvm/tools/clang/lib/AST/ExprConstant.cpp,
line 1082.
c++: error: unable to execute command: Abort trap (core dumped)
c++: error: clang frontend command failed due to signal (use -v to see
invocation)
FreeBSD clang version 4.0.0 (tags/RELEASE_400/final 297347) (based on LLVM
4.0.0)
Target: x86_64-unknown-freebsd12.0
Thread model: posix
InstalledDir: /usr/bin
c++: note: diagnostic msg: PLEASE submit a bug report to
https://bugs.freebsd.org/submit/ and include the crash backtrace, preprocessed
source, and associated run script.
c++: note: diagnostic msg: 
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
c++: note: diagnostic msg: /tmp/uspace_rtapi_app-4fc6ab.cpp
c++: note: diagnostic msg: /tmp/uspace_rtapi_app-4fc6ab.sh
c++: note: diagnostic msg:

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list