[llvm-bugs] [Bug 25756] New: segmentation fault

via llvm-bugs llvm-bugs at lists.llvm.org
Sun Dec 6 15:20:18 PST 2015


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

            Bug ID: 25756
           Summary: segmentation fault
           Product: clang
           Version: 3.4
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: castedo at castedo.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

0  libLLVM-3.4.so  0x00007fefc71a2612 llvm::sys::PrintStackTrace(_IO_FILE*) +
50
1  libLLVM-3.4.so  0x00007fefc71a23d4
2  libpthread.so.0 0x00007fefc5e70130
3  clang           0x0000000000c17f14
4  clang           0x0000000000c1865a
5  clang           0x0000000000c18c6b
6  clang           0x0000000000c1a79f
7  clang           0x0000000000c12595
8  clang           0x0000000000c1286a
clang::Sema::AddMethodCandidate(clang::CXXMethodDecl*, clang::DeclAccessPair,
clang::CXXRecordDecl*, clang::QualType, clang::Expr::Classification,
llvm::ArrayRef<clang::Expr*>, clang::OverloadCandidateSet&, bool) + 714
9  clang           0x0000000000c27e30
clang::Sema::BuildCallToMemberFunction(clang::Scope*, clang::Expr*,
clang::SourceLocation, llvm::MutableArrayRef<clang::Expr*>,
clang::SourceLocation) + 1760
10 clang           0x0000000000b6bb66 clang::Sema::ActOnCallExpr(clang::Scope*,
clang::Expr*, clang::SourceLocation, llvm::MutableArrayRef<clang::Expr*>,
clang::SourceLocation, clang::Expr*, bool) + 1126
11 clang           0x0000000000cc2638
12 clang           0x0000000000cbfa25
13 clang           0x0000000000cc4855
14 clang           0x0000000000cbf486
15 clang           0x0000000000cd4061
16 clang           0x0000000000cbf875
17 clang           0x0000000000cd646c
18 clang           0x0000000000cd50b5
19 clang           0x0000000000cd5ada
20 clang           0x0000000000cd5c3b
21 clang           0x0000000000cd5125
22 clang           0x0000000000cd7e2f clang::Sema::SubstStmt(clang::Stmt*,
clang::MultiLevelTemplateArgumentList const&) + 95
23 clang           0x0000000000ceefee
clang::Sema::InstantiateFunctionDefinition(clang::SourceLocation,
clang::FunctionDecl*, bool, bool) + 3294
24 clang           0x0000000000cee10a
clang::Sema::PerformPendingInstantiations(bool) + 490
25 clang           0x0000000000ceeb39
clang::Sema::InstantiateFunctionDefinition(clang::SourceLocation,
clang::FunctionDecl*, bool, bool) + 2089
26 clang           0x0000000000cee10a
clang::Sema::PerformPendingInstantiations(bool) + 490
27 clang           0x0000000000ceeb39
clang::Sema::InstantiateFunctionDefinition(clang::SourceLocation,
clang::FunctionDecl*, bool, bool) + 2089
28 clang           0x0000000000cee10a
clang::Sema::PerformPendingInstantiations(bool) + 490
29 clang           0x0000000000ceeb39
clang::Sema::InstantiateFunctionDefinition(clang::SourceLocation,
clang::FunctionDecl*, bool, bool) + 2089
30 clang           0x0000000000cee10a
clang::Sema::PerformPendingInstantiations(bool) + 490
31 clang           0x0000000000a0334e clang::Sema::ActOnEndOfTranslationUnit()
+ 350
32 clang           0x000000000097cd6e
clang::Parser::ParseTopLevelDecl(clang::OpaquePtr<clang::DeclGroupRef>&) + 542
33 clang           0x0000000000974053 clang::ParseAST(clang::Sema&, bool, bool)
+ 579
34 clang           0x0000000000805062 clang::CodeGenAction::ExecuteAction() +
50
35 clang           0x000000000069c829 clang::FrontendAction::Execute() + 169
36 clang           0x000000000067b2b5
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 309
37 clang           0x000000000066388a
clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 1770
38 clang           0x000000000065d810 cc1_main(char const**, char const**, char
const*, void*) + 1184
39 clang           0x000000000065c04e main + 8814
40 libc.so.6       0x00007fefc4c6caf5 __libc_start_main + 245
41 clang           0x000000000065c6d1
Stack dump:
0.      Program arguments: /usr/bin/clang -cc1 -triple x86_64-redhat-linux-gnu
-emit-obj -mrelax-all -disable-free -disable-llvm-verifier -main-file-name
realtimer.cxx -mrelocation-model pic -pic-level 2 -mdisable-fp-elim
-fmath-errno -masm-verbose -mconstructor-aliases -munwind-tables
-fuse-init-array -target-cpu x86-64 -target-linker-version 2.23.52.0.1 -g
-coverage-file
/home/castedo/src/ellercode/debug/cel/lib/CMakeFiles/cel-lib.dir/realtimer.cxx.o
-resource-dir /usr/bin/../lib/clang/3.4.2 -include-pch
/home/castedo/src/ellercode/debug/topincludes.hpp.pch -D
BOOST_ENABLE_ASSERT_HANDLER -D BOOST_MOVE_USE_STANDARD_LIBRARY_MOVE -D
BOOST_NETWORK_DEBUG -D BOOST_NETWORK_ENABLE_HTTPS -I
/home/castedo/src/ellercode/debug -I /home/castedo/src/ellercode/debug/ocelib
-I /home/castedo/src/ellercode/. -I /home/castedo/src/ellercode/jios -I
/home/castedo/src/ellercode/isomon -I /home/castedo/src/ellercode/ocelib -I
/home/castedo/src/ellercode/cel/lib/../../../../rats/IBJts-9.67/cpp/Shared
-internal-isystem
/usr/bin/../lib/gcc/x86_64-redhat-linux/4.8.3/../../../../include/c++/4.8.3
-internal-isystem
/usr/bin/../lib/gcc/x86_64-redhat-linux/4.8.3/../../../../include/c++/4.8.3/x86_64-redhat-linux
-internal-isystem
/usr/bin/../lib/gcc/x86_64-redhat-linux/4.8.3/../../../../include/c++/4.8.3/backward
-internal-isystem
/usr/bin/../lib/gcc/x86_64-redhat-linux/4.8.3/../../../../include/x86_64-redhat-linux/c++/4.8.3
-internal-isystem /usr/local/include -internal-isystem
/usr/bin/../lib/clang/3.4.2/include -internal-externc-isystem /include
-internal-externc-isystem /usr/include -Winvalid-pch -Wall -Wno-deprecated
-Wno-unused-const-variable -Wno-overloaded-virtual -Wno-mismatched-tags
-std=c++11 -fdebug-compilation-dir /home/castedo/src/ellercode/debug/cel/lib
-ferror-limit 19 -ftemplate-backtrace-limit 0 -fmessage-length 0 -mstackrealign
-fobjc-runtime=gcc -fcxx-exceptions -fexceptions -fdiagnostics-show-option
-vectorize-slp -o CMakeFiles/cel-lib.dir/realtimer.cxx.o -x c++
/home/castedo/src/ellercode/cel/lib/realtimer.cxx 
1.      <eof> parser at end of file
2.      /usr/include/boost/date_time/date_parsing.hpp:104:5: instantiating
function definition 'parse_date'
3.      /usr/include/boost/lexical_cast.hpp:2312:19: instantiating function
definition 'lexical_cast'
4.      /usr/include/boost/lexical_cast.hpp:2255:21: instantiating function
definition 'try_lexical_convert'
5.      /usr/include/boost/lexical_cast.hpp:2078:32: instantiating function
definition 'try_convert'
clang: error: unable to execute command: Segmentation fault
clang: error: clang frontend command failed due to signal (use -v to see
invocation)
clang version 3.4.2 (tags/RELEASE_34/dot2-final)
Target: x86_64-redhat-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/realtimer-08596c.cpp
clang: note: diagnostic msg: /tmp/realtimer-08596c.sh
clang: note: diagnostic msg:

-- 
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/20151206/e59e2f24/attachment.html>


More information about the llvm-bugs mailing list