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

            Bug ID: 37114
           Summary: Seg fault when running clang-format
           Product: clang
           Version: 6.0
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
          Assignee: unassignedclangb...@nondot.org
          Reporter: t...@harness.io
                CC: dgre...@apple.com, llvm-bugs@lists.llvm.org

i get the following dump:
#0 0x0000000000424e64 PrintStackTraceSignalHandler(void*)
(/opt/clang/bin/clang-format+0x424e64)
#1 0x0000000000425146 SignalHandler(int) (/opt/clang/bin/clang-format+0x425146)
#2 0x00007faa6e276390 __restore_rt
(/lib/x86_64-linux-gnu/libpthread.so.0+0x11390)
#3 0x00000000004342e4
clang::DiagnosticIDs::ProcessDiag(clang::DiagnosticsEngine&) const
(/opt/clang/bin/clang-format+0x4342e4)
#4 0x0000000000432e82 clang::DiagnosticsEngine::EmitCurrentDiagnostic(bool)
(/opt/clang/bin/clang-format+0x432e82)
#5 0x000000000048a91b clang::Rewriter::overwriteChangedFiles()
(/opt/clang/bin/clang-format+0x48a91b)
#6 0x0000000000408beb clang::format::format(llvm::StringRef)
(/opt/clang/bin/clang-format+0x408beb)
#7 0x0000000000406e85 main (/opt/clang/bin/clang-format+0x406e85)
#8 0x00007faa6d20e830 __libc_start_main
(/lib/x86_64-linux-gnu/libc.so.6+0x20830)
#9 0x0000000000406949 _start (/opt/clang/bin/clang-format+0x406949)
xargs: /opt/clang/bin/clang-format: terminated by signal 11

this is while running on AWS EC2 instance
it's running on Amazon Linux AMI (ie centos)

this is on Java code

-- 
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

Reply via email to