[LLVMbugs] [Bug 20382] New: SIGBUS (use after free) during SimplifyCFG pass
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Mon Jul 21 05:21:15 PDT 2014
http://llvm.org/bugs/show_bug.cgi?id=20382
Bug ID: 20382
Summary: SIGBUS (use after free) during SimplifyCFG pass
Product: libraries
Version: trunk
Hardware: PC
OS: other
Status: NEW
Severity: normal
Priority: P
Component: Transformation Utilities
Assignee: unassignedbugs at nondot.org
Reporter: ariane at stack.nl
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
Created attachment 12797
--> http://llvm.org/bugs/attachment.cgi?id=12797&action=edit
Source triggering the bug.
SimplifyCFG pass generates SIGBUS, due to use-after-free.
0. Program arguments: /stash/build/install/bin/clang-3.5 -cc1 -triple
i386---eabi -emit-obj -disable-fr-main-file-name string.cc -mrelocation-model
static -mdisable-fp-elim -fmath-errno -masm-verbose -mconstructtium4 -g
-dwarf-column-info -coverage-file
/home/ariane/programming/ilias_os/proper/abi/src/string.o32 -nostresource-dir
/stash/build/install/bin/../lib/clang/3.5.0 -dependency-file
abi/src/string.o32.d -MT abi/src/s -MP -D __ELF__ -D
_YUGA_LITTLE_ENDIAN=__LITTLE_ENDIAN__ -D _YUGA_BIG_ENDIAN=__BIG_ENDIAN__ -D
_KERNEL=1 -D include -I loader_exported/include -O3 -Wno-tautological-compare
-Wno-c++1y-extensions -W -Wall -Weffc++ -Weed-macro -fdebug-compilation-dir
/home/ariane/programming/ilias_os/proper -ferror-limit 19 -fmessage-length ec
-ffreestanding -mstackrealign -fobjc-runtime=gcc -fcxx-exceptions -fexceptions
-fdiagnostics-show-option rize-loops -vectorize-slp -o abi/src/string.o32 -x
c++ abi/src/string.cc
1. <eof> parser at end of file
2. Per-module optimization passes
3. Running pass 'CallGraph Pass Manager' on module 'abi/src/string.cc'.
4. Running pass 'Simplify the CFG' on function '@_ZNSsC2ERKSaIcE'
clang-3.5: error: unable to execute command: Bus error (core dumped)
clang-3.5: error: clang frontend command failed due to signal (use -v to see
invocation)
clang version 3.5.0
Target: i386---eabi
Thread model: posix
clang-3.5: note: diagnostic msg: PLEASE submit a bug report to
http://llvm.org/bugs/ and include the crash brce, and associated run script.
clang-3.5: 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.5: note: diagnostic msg: /tmp/string-c5ab81.cpp
clang-3.5: note: diagnostic msg: /tmp/string-c5ab81.sh
clang-3.5: note: diagnostic msg:
********************
--
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/20140721/75586583/attachment.html>
More information about the llvm-bugs
mailing list