FS#47375 - [clang] clang++ segfault

Attached to Project: Arch Linux
Opened by David Renshaw (dwrensha) - Monday, 14 December 2015, 20:30 GMT
Last edited by Doug Newgard (Scimmia) - Monday, 14 December 2015, 21:21 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture x86_64
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

The latest update to clang (clang-3.7.0-6) causes a crash during certain builds.

To reproduce, download the source file posted here:
https://oasis.sandstorm.io/shared/TWsUUpGCIIGcuDCpvjy2IihY1zKLdKHPXIcuLH2RnP6

run-bundle-segfault.cpp is a self-contained 5MB file autogenerated by clang when the error occurs. It can successfully be compiled by clang++ before the clang-3.7.0-6 update. After the update, I see the following error:

```
$ clang++ -c -std=c++1y run-bundle-segfault.cpp
clang-3.7: error: unable to execute command: Segmentation fault (core dumped)
clang-3.7: error: clang frontend command failed due to signal (use -v to see invocation)
clang version 3.7.0 (tags/RELEASE_370/final)
Target: x86_64-unknown-linux-gnu
Thread model: posix
clang-3.7: note: diagnostic msg: PLEASE submit a bug report to http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and associated run script.
clang-3.7: note: diagnostic msg:
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang-3.7: note: diagnostic msg: /tmp/run-bundle-segfault-d76070.cpp
clang-3.7: note: diagnostic msg: /tmp/run-bundle-segfault-d76070.sh
clang-3.7: note: diagnostic msg:
```
This task depends upon

Closed by  Doug Newgard (Scimmia)
Monday, 14 December 2015, 21:21 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#47329 

Loading...