[llvm-bugs] [Bug 39211] New: clang crashed with SIGSEGV in llvm:ManagedStaticBase::destroy()
via llvm-bugs
llvm-bugs at lists.llvm.org
Sun Oct 7 23:00:26 PDT 2018
https://bugs.llvm.org/show_bug.cgi?id=39211
Bug ID: 39211
Summary: clang crashed with SIGSEGV in
llvm:ManagedStaticBase::destroy()
Product: clang
Version: 6.0
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: -New Bugs
Assignee: unassignedclangbugs at nondot.org
Reporter: doublemice at qq.com
CC: llvm-bugs at lists.llvm.org
Created attachment 20975
--> https://bugs.llvm.org/attachment.cgi?id=20975&action=edit
compile file,dmesg.txt,file created by ltrace and strace.
System details:
ubuntu 18.04 linux 4.15.0-34.37-generic 4.15.18
clang 6.0
Bug details:
when compile one c file with "-Xclang -load -Xclang" option to load a custom
llvm-pass.so, clang crash with eip point to an unexpected address.
StackTrace
??()
??() from /usr/lib/llvm-6.0/bin/../lib/libLLVM-6.0.so.1
llvm::ManagedStaticBase:destroy() const() from
/usr/lib/llvm-6.0/bin/../lib/libLLVM-6.0.so.1
llvm::llvm_shutdown() () from /usr/lib/llvm-6.0/bin/../lib/libLLVM-6.0.s0.1
main()
Compile cmd:
clang -Xclang -load -Xclang llvm-pass.so test-instr.c -o test-instr
Check the attachment with trace log and compiled file.
--
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/20181008/fe12d076/attachment.html>
More information about the llvm-bugs
mailing list