Quuxplusone / LLVMBugzillaTest

0 stars 0 forks source link

*** glibc detected *** clang double free or corruption #17296

Open Quuxplusone opened 11 years ago

Quuxplusone commented 11 years ago
Bugzilla Link PR17297
Status NEW
Importance P normal
Reported by Greg Czajkowski (gregczajkowski@yahoo.com)
Reported on 2013-09-19 23:25:19 -0700
Last modified on 2013-10-01 11:14:14 -0700
Version trunk
Hardware HP Linux
CC llvm-bugs@lists.llvm.org, rafael@espindo.la
Fixed by commit(s)
Attachments clangbug.zip (130079 bytes, application/octet-stream)
Blocks
Blocked by
See also
Created attachment 11244
reproduction files

Revision: 190763 .. head as of a couple days ago. Attached are all files used
to reproduce

*** glibc detected *** /path/bin/clang: double free or corruption (out):
0x0000000004318920 ***
======= Backtrace: =========
/lib64/libc.so.6[0x2aaaac82776e]
/lib64/libc.so.6(__libc_free+0x6c)[0x2aaaac828ebc]
/path/bin/clang(_ZN4llvm13LiveVariables20runOnMachineFunctionERNS_15MachineFunctionE+0x1363)[0x29ffc13]
/path/bin/clang(_ZN4llvm19MachineFunctionPass13runOnFunctionERNS_8FunctionE+0x61)[0x2a26f31]
/path/bin/clang(_ZN4llvm13FPPassManager13runOnFunctionERNS_8FunctionE+0x1c0)[0x304d830]
/path/bin/clang(_ZN4llvm13FPPassManager11runOnModuleERNS_6ModuleE+0x49)[0x304d629]
/path/bin/clang(_ZN4llvm13MPPassManager11runOnModuleERNS_6ModuleE+0x1d6)[0x3051036]
/path/bin/clang(_ZN4llvm15PassManagerImpl3runERNS_6ModuleE+0xc0)[0x3050de0]

This was discovered when attempting to compile pypy with clang.
Quuxplusone commented 11 years ago

Attached clangbug.zip (130079 bytes, application/octet-stream): reproduction files