From owner-freebsd-bugs@freebsd.org Thu Jul 20 15:45:43 2017 Return-Path: Delivered-To: freebsd-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5FD48C7AB7F for ; Thu, 20 Jul 2017 15:45:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 406E06E1D8 for ; Thu, 20 Jul 2017 15:45:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v6KFjhxc034633 for ; Thu, 20 Jul 2017 15:45:43 GMT (envelope-from bugzilla-noreply@freebsd.org) 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 Date: Thu, 20 Jul 2017 15:45:42 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: trasz@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Jul 2017 15:45:43 -0000 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.=