https://llvm.org/bugs/show_bug.cgi?id=27166
Bug ID: 27166 Summary: Error in `bugpoint': free(): invalid pointer Product: tools Version: 3.8 Hardware: PC OS: Linux Status: NEW Severity: normal Priority: P Component: bugpoint Assignee: unassignedb...@nondot.org Reporter: sh37...@gmail.com CC: llvm-bugs@lists.llvm.org Classification: Unclassified Created attachment 16141 --> https://llvm.org/bugs/attachment.cgi?id=16141&action=edit input bitcode gzip1.bc is generated by llvm-link. supervisor@localhost:~$ bugpoint --output gzip.out -run-llc-ia ./gzip1.bc --gcc-tool-args -static Read input file : './gzip1.bc' *** All input ok Initializing execution environment: Found llc: /opt/llvm/3.8.0/bin/llc Running the code generator to test for a crash: <llc-ia> *** Checking the code generator... <llc-ia><CC><program> *** Input program does not match reference diff! Debugging code generator problem! Checking to see if the program is misoptimized when these functions are run through the passes: bi_init send_bits bi_reverse bi_windup copy_block lm_init longest_match deflate get_method abort_gzip... <69 total> *** Error in `bugpoint': free(): invalid pointer: 0x0000000002702910 *** #0 0x0000000000bb19e5 llvm::sys::PrintStackTrace(llvm::raw_ostream&) (/opt/llvm/3.8.0/bin/bugpoint+0xbb19e5) #1 0x0000000000bafa06 llvm::sys::RunSignalHandlers() (/opt/llvm/3.8.0/bin/bugpoint+0xbafa06) #2 0x0000000000bafc05 SignalHandler(int) (/opt/llvm/3.8.0/bin/bugpoint+0xbafc05) #3 0x00007f932d476340 __restore_rt (/lib/x86_64-linux-gnu/libpthread.so.0+0x10340) #4 0x00007f932c69ecc9 gsignal /build/eglibc-3GlaMS/eglibc-2.19/signal/../nptl/sysdeps/unix/sysv/linux/raise.c:56:0 #5 0x00007f932c6a20d8 abort /build/eglibc-3GlaMS/eglibc-2.19/stdlib/abort.c:91:0 #6 0x00007f932c6db394 /build/eglibc-3GlaMS/eglibc-2.19/libio/../sysdeps/posix/libc_fatal.c:175:0 #7 0x00007f932c6e766e malloc_printerr /build/eglibc-3GlaMS/eglibc-2.19/malloc/malloc.c:4996:0 #8 0x00007f932c6e766e _int_free /build/eglibc-3GlaMS/eglibc-2.19/malloc/malloc.c:3840:0 #9 0x00000000008a9171 llvm::Module::~Module() (/opt/llvm/3.8.0/bin/bugpoint+0x8a9171) #10 0x0000000000542815 TestCodeGenerator(llvm::BugDriver&, std::unique_ptr<llvm::Module, std::default_delete<llvm::Module> >, std::unique_ptr<llvm::Module, std::default_delete<llvm::Module> >, std::string&) (/opt/llvm/3.8.0/bin/bugpoint+0x542815) #11 0x0000000000543ae3 (anonymous namespace)::ReduceMiscompilingFunctions::TestFuncs(std::vector<llvm::Function*, std::allocator<llvm::Function*> > const&, std::string&) [clone .isra.235] (/opt/llvm/3.8.0/bin/bugpoint+0x543ae3) #12 0x0000000000544116 (anonymous namespace)::ReduceMiscompilingFunctions::doTest(std::vector<llvm::Function*, std::allocator<llvm::Function*> >&, std::vector<llvm::Function*, std::allocator<llvm::Function*> >&, std::string&) (/opt/llvm/3.8.0/bin/bugpoint+0x544116) #13 0x000000000052b438 llvm::ListReducer<llvm::Function*>::reduceList(std::vector<llvm::Function*, std::allocator<llvm::Function*> >&, std::string&) (/opt/llvm/3.8.0/bin/bugpoint+0x52b438) #14 0x0000000000545b21 DebugAMiscompilation(llvm::BugDriver&, bool (*)(llvm::BugDriver&, std::unique_ptr<llvm::Module, std::default_delete<llvm::Module> >, std::unique_ptr<llvm::Module, std::default_delete<llvm::Module> >, std::string&), std::string&) (/opt/llvm/3.8.0/bin/bugpoint+0x545b21) #15 0x00000000005491b6 llvm::BugDriver::debugCodeGenerator(std::string*) (/opt/llvm/3.8.0/bin/bugpoint+0x5491b6) #16 0x0000000000529183 llvm::BugDriver::run(std::string&) (/opt/llvm/3.8.0/bin/bugpoint+0x529183) #17 0x000000000050fe6e main (/opt/llvm/3.8.0/bin/bugpoint+0x50fe6e) #18 0x00007f932c689ec5 __libc_start_main /build/eglibc-3GlaMS/eglibc-2.19/csu/libc-start.c:321:0 #19 0x0000000000527b94 _start (/opt/llvm/3.8.0/bin/bugpoint+0x527b94) Stack dump: 0. Program arguments: bugpoint --output gzip.out -run-llc-ia ./gzip1.bc --gcc-tool-args -static 已放弃 (核心已转储) -- You are receiving this mail because: You are on the CC list for the bug.
_______________________________________________ llvm-bugs mailing list llvm-bugs@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs