Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Jul 2017 15:45:42 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 220883] clang crash: Assertion failed: (Result.isUninit() && "temporary created multiple times"), function createTemporary
Message-ID:  <bug-220883-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D220883

            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@FreeBSD.org
          Reporter: trasz@FreeBSD.org

Created attachment 184550
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D184550&action=
=3Dedit
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 -Ih=
al
-Iemc/nml_intf -Iemc/kinematics -Iemc/tp -Iemc/motion -Iemc/ini -Iemc/rs274=
ngc
-Iemc/pythonplugin
-I/usr/home/trasz/svn-ssh/ports/cad/linuxcnc-devel/work/linuxcnc-5b7929df50=
e0574cb1105143fffe525916d8a4c2/src/include
-I/usr/local/include -I/usr/local/include/python2.7 -I/usr/local/include
-std=3Dc++11    -DULAPI  -g -Wall -Os -fwrapv -Woverloaded-virtual -DSIM -U=
ULAPI
-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=20=20=20=20=20
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, preproces=
sed
source, and associated run script.
c++: note: diagnostic msg:=20
********************

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:

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-220883-8>