[LLVMbugs] [Bug 23977] New: Segmentation fault while compiling duktape

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sun Jun 28 07:24:38 PDT 2015


https://llvm.org/bugs/show_bug.cgi?id=23977

            Bug ID: 23977
           Summary: Segmentation fault while compiling duktape
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: matvejchikov at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

$ make
clang -Xclang -msoft-float -Xclang -no-implicit-float -c duktape.c
0  libLLVM-3.6.so  0x00007fcd8588f822 llvm::sys::PrintStackTrace(_IO_FILE*) +
50
1  libLLVM-3.6.so  0x00007fcd8588de19
2  libpthread.so.0 0x00007fcd846eb660
3  libLLVM-3.6.so  0x00007fcd853e330a
4  libLLVM-3.6.so  0x00007fcd853e3a0b
5  libLLVM-3.6.so  0x00007fcd853e532f
6  libLLVM-3.6.so  0x00007fcd853e6ba0
7  libLLVM-3.6.so  0x00007fcd84f5a7a7
llvm::FPPassManager::runOnFunction(llvm::Function&) + 487
8  libLLVM-3.6.so  0x00007fcd84f5a9fb
llvm::FPPassManager::runOnModule(llvm::Module&) + 43
9  libLLVM-3.6.so  0x00007fcd84f5a401
llvm::legacy::PassManagerImpl::run(llvm::Module&) + 769
10 clang           0x000000000086b9d3
clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::CodeGenOptions
const&, clang::TargetOptions const&, clang::LangOptions const&,
llvm::StringRef, llvm::Module*, clang::BackendAction, llvm::raw_ostream*) +
3219
11 clang           0x000000000085b4fb
12 clang           0x0000000000a1aeba clang::ParseAST(clang::Sema&, bool, bool)
+ 826
13 clang           0x00000000006d4b36 clang::FrontendAction::Execute() + 118
14 clang           0x00000000006af2c9
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 313
15 clang           0x0000000000696554
clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 1828
16 clang           0x0000000000690e40 cc1_main(llvm::ArrayRef<char const*>,
char const*, void*) + 1296
17 clang           0x000000000068de7b main + 955
18 libc.so.6       0x00007fcd83dc1790 __libc_start_main + 240
19 clang           0x0000000000690499 _start + 41
Stack dump:
0.    Program arguments: /usr/bin/clang -cc1 -triple x86_64-unknown-linux-gnu
-emit-obj -mrelax-all -disable-free -disable-llvm-verifier -main-file-name
duktape.c -mrelocation-model static -mthread-model posix -mdisable-fp-elim
-fmath-errno -masm-verbose -mconstructor-aliases -munwind-tables
-fuse-init-array -target-cpu x86-64 -target-linker-version 2.25.0
-dwarf-column-info -coverage-file
/home/ilya/projects/kjs/kernel/duktape/duktape.c -resource-dir
/usr/bin/../lib/clang/3.6.1 -internal-isystem /usr/local/include
-internal-isystem /usr/bin/../lib/clang/3.6.1/include -internal-externc-isystem
/include -internal-externc-isystem /usr/include -fdebug-compilation-dir
/home/ilya/projects/kjs/kernel/duktape -ferror-limit 19 -fmessage-length 159
-mstackrealign -fobjc-runtime=gcc -fdiagnostics-show-option -fcolor-diagnostics
-msoft-float -no-implicit-float -o duktape.o -x c duktape.c 
1.    <eof> parser at end of file
2.    Code generation
3.    Running pass 'Function Pass Manager' on module 'duktape.c'.
4.    Running pass 'Fast Register Allocator' on function '@duk_push_number'
clang: error: unable to execute command: Segmentation fault (core dumped)
clang: error: clang frontend command failed due to signal (use -v to see
invocation)
clang version 3.6.1 (tags/RELEASE_361/final)
Target: x86_64-unknown-linux-gnu
Thread model: posix
clang: 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: note: diagnostic msg: 
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang: note: diagnostic msg: /tmp/duktape-3f6af8.c
clang: note: diagnostic msg: /tmp/duktape-3f6af8.sh
clang: note: diagnostic msg: 

********************
Makefile:4: ошибка выполнения рецепта для цели «duktape.o»
make: *** [duktape.o] Ошибка 254




 "/usr/bin/clang" "-cc1" "-triple" "x86_64-unknown-linux-gnu" "-emit-obj"
"-mrelax-all" "-disable-free" "-disable-llvm-verifier" "-main-file-name"
"duktape.c" "-mrelocation-model" "static" "-mthread-model" "posix"
"-mdisable-fp-elim" "-fmath-errno" "-masm-verbose" "-mconstructor-aliases"
"-munwind-tables" "-fuse-init-array" "-target-cpu" "x86-64"
"-target-linker-version" "2.25.0" "-dwarf-column-info" "-ferror-limit" "19"
"-fmessage-length" "159" "-mstackrealign" "-fobjc-runtime=gcc"
"-fdiagnostics-show-option" "-fcolor-diagnostics" "-msoft-float"
"-no-implicit-float" "-x" "c" "duktape-3f6af8.c"

-- 
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/20150628/15e18c22/attachment.html>


More information about the llvm-bugs mailing list