[LLVMbugs] [Bug 12875] New: clang++ crash

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri May 18 08:47:32 PDT 2012


http://llvm.org/bugs/show_bug.cgi?id=12875

             Bug #: 12875
           Summary: clang++ crash
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Static Analyzer
        AssignedTo: kremenek at apple.com
        ReportedBy: gartung at fnal.gov
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


Created attachment 8586
  --> http://llvm.org/bugs/attachment.cgi?id=8586
scan-build report

scan-build: 'clang' executable not found in
'/storage/local/data1/cms_admin/llvm/tools/clang/tools/scan-build/bin'.
scan-build: Using 'clang' from path:
/storage/local/data1/cms_admin/clang-build/Debug+Asserts/bin/clang
In file included from
/storage/local/data1/cms_admin/build/slc5_amd64_gcc470/external/boost/1.49.0/include/boost/smart_ptr/shared_ptr.hpp:30:0,
                 from
/storage/local/data1/cms_admin/build/slc5_amd64_gcc470/external/boost/1.49.0/include/boost/shared_ptr.hpp:17,
                 from
/storage/local/data1/cms_admin/CMSSW_6_0_X_2012-05-11-1400/src/DataFormats/Common/interface/EDProductfwd.h:9,
                 from
/storage/local/data1/cms_admin/CMSSW_6_0_X_2012-05-11-1400/src/FWCore/Framework/interface/Frameworkfwd.h:10,
                 from
/storage/local/data1/cms_admin/CMSSW_6_0_X_2012-05-11-1400/src/FWCore/Framework/interface/EDAnalyzer.h:4,
                 from
/storage/local/data1/cms_admin/CMSSW_6_0_X_2012-05-11-1400/src/Calibration/EcalCalibAlgos/src/PhiSymmetryCalibration_step2_SM.h:3,
                 from
/storage/local/data1/cms_admin/CMSSW_6_0_X_2012-05-11-1400/src/Calibration/EcalCalibAlgos/src/PhiSymmetryCalibration_step2_SM.cc:1:
/storage/local/data1/cms_admin/build/slc5_amd64_gcc470/external/boost/1.49.0/include/boost/checked_delete.hpp:
In instantiation of 'void boost::checked_delete(T*) [with T =
boost::error_info<boost::tag_original_exception_type, const std::type_info*>]':
/storage/local/data1/cms_admin/build/slc5_amd64_gcc470/external/boost/1.49.0/include/boost/smart_ptr/detail/shared_count.hpp:95:13:
  required from 'boost::detail::shared_count::shared_count(Y*) [with Y =
boost::error_info<boost::tag_original_exception_type, const std::type_info*>]'
/storage/local/data1/cms_admin/build/slc5_amd64_gcc470/external/boost/1.49.0/include/boost/smart_ptr/shared_ptr.hpp:183:50:
  required from 'boost::shared_ptr<T>::shared_ptr(Y*) [with Y =
boost::error_info<boost::tag_original_exception_type, const std::type_info*>; T
= boost::error_info<boost::tag_original_exception_type, const
std::type_info*>]'
/storage/local/data1/cms_admin/build/slc5_amd64_gcc470/external/boost/1.49.0/include/boost/exception/info.hpp:171:69:
  required from 'const E& boost::exception_detail::set_info(const E&, const
boost::error_info<Tag, T>&) [with E = boost::unknown_exception; Tag =
boost::tag_original_exception_type; T = const std::type_info*]'
/storage/local/data1/cms_admin/build/slc5_amd64_gcc470/external/boost/1.49.0/include/boost/exception/info.hpp:192:46:
  required from 'typename
boost::enable_if<boost::exception_detail::derives_boost_exception<E>, const
E&>::type boost::operator<<(const E&, const boost::error_info<Tag, T>&) [with E
= boost::unknown_exception; Tag = boost::tag_original_exception_type; T = const
std::type_info*; typename
boost::enable_if<boost::exception_detail::derives_boost_exception<E>, const
E&>::type = const boost::unknown_exception&]'
/storage/local/data1/cms_admin/build/slc5_amd64_gcc470/external/boost/1.49.0/include/boost/exception/detail/exception_ptr.hpp:182:13:
  required from 'void boost::unknown_exception::add_original_type(const E&)
[with E = std::exception]'
/storage/local/data1/cms_admin/build/slc5_amd64_gcc470/external/boost/1.49.0/include/boost/exception/detail/exception_ptr.hpp:161:32:
  required from here
1  libLLVM-3.2svn.so 0x00002b7297f930dc
2  libpthread.so.0   0x000000325260ebe0
3  libc.so.6         0x0000003251a30265 gsignal + 53
4  libc.so.6         0x0000003251a31d10 abort + 272
5  libLLVM-3.2svn.so 0x00002b7297f7bd46 llvm::report_fatal_error(llvm::Twine
const&) + 0
6  clang++           0x0000000000dff8dd
7  clang++           0x0000000000e02301
8  clang++           0x0000000000e0021c
9  clang++           0x0000000000e00c1a
10 clang++           0x0000000000e0236a
11 clang++           0x0000000000e0266f
12 clang++           0x0000000000e0269a
13 clang++           0x0000000000e02738
14 clang++           0x0000000000e03745
15 clang++           0x0000000000e037eb
16 clang++           0x0000000000efe8ae
17 clang++           0x0000000000efbd8e
clang::ento::CheckerManager::runCheckersOnASTBody(clang::Decl const*,
clang::ento::AnalysisManager&, clang::ento::BugReporter&) + 156
18 clang++           0x0000000000dccace
19 clang++           0x0000000000dcd122
20 clang++           0x0000000000dcd17d
21 clang++           0x0000000000dcd1c8
22 clang++           0x0000000000dd9db0
23 clang++           0x0000000000dcd9cd
24 clang++           0x0000000000dcdd46
25 clang++           0x00000000009ad284 clang::ParseAST(clang::Sema&, bool,
bool) + 576
26 clang++           0x000000000069cf75
clang::ASTFrontendAction::ExecuteAction() + 265
27 clang++           0x000000000069d27f clang::FrontendAction::Execute() + 207
28 clang++           0x0000000000679757
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 639
29 clang++           0x000000000064ef16
clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 870
30 clang++           0x000000000063e9c7 cc1_main(char const**, char const**,
char const*, void*) + 909
31 clang++           0x000000000064ab30 main + 434
32 libc.so.6         0x0000003251a1d994 __libc_start_main + 244
33 clang++           0x000000000063dd39
Stack dump:
0.    Program arguments:
/storage/local/data1/cms_admin/clang-build/Debug+Asserts/bin/clang++ -cc1
-triple x86_64-unknown-linux-gnu -analyze -disable-free -main-file-name
PhiSymmetryCalibration_step2_SM.cc -analyzer-store=region
-analyzer-opt-analyze-nested-blocks -analyzer-eagerly-assume
-analyzer-ipa=inlining -analyzer-checker=core -analyzer-checker=unix
-analyzer-checker=deadcode
-analyzer-checker=security.insecureAPI.UncheckedReturn
-analyzer-checker=security.insecureAPI.getpw
-analyzer-checker=security.insecureAPI.gets
-analyzer-checker=security.insecureAPI.mktemp
-analyzer-checker=security.insecureAPI.mkstemp
-analyzer-checker=security.insecureAPI.vfork -analyzer-output plist -w
-mrelocation-model static -mdisable-fp-elim -fmath-errno -masm-verbose
-mconstructor-aliases -munwind-tables -target-cpu x86-64 -target-linker-version
2.17.50.0.6 -momit-leaf-frame-pointer -resource-dir
/storage/local/data1/cms_admin/clang-build/Debug+Asserts/bin/../lib/clang/3.2
-D GNU_GCC -D _GNU_SOURCE -D PROJECT_NAME=CMSSW -D
PROJECT_VERSION=CMSSW_6_0_X_2012-05-11-1400 -I
/storage/local/data1/cms_admin/build/slc5_amd64_gcc470/external/gcc/4.7.0/include/c++/4.7.0
-I
/storage/local/data1/cms_admin/build/slc5_amd64_gcc470/external/gcc/4.7.0/include/c++/4.7.0/x86_64-unknown-linux-gnu
-I
/storage/local/data1/cms_admin/build/slc5_amd64_gcc470/external/gcc/4.7.0/include/c++/4.7.0/backward
-I /storage/local/data1/cms_admin/CMSSW_6_0_X_2012-05-11-1400/src -I
/storage/local/data1/cms_admin/CMSSW_6_0_X_2012-05-11-1400/include/LCG -I
/storage/local/data1/cms_admin/build/slc5_amd64_gcc470/cms/cmssw/CMSSW_6_0_X_2012-05-11-1400/src
-I
/storage/local/data1/cms_admin/build/slc5_amd64_gcc470/cms/cmssw/CMSSW_6_0_X_2012-05-11-1400/include/LCG
-I
/storage/local/data1/cms_admin/build/slc5_amd64_gcc470/cms/coral/CORAL_2_3_21-cms7/include/LCG
-I
/storage/local/data1/cms_admin/build/slc5_amd64_gcc470/external/boost/1.49.0/include
-I
/storage/local/data1/cms_admin/build/slc5_amd64_gcc470/external/oracle/100.0/include
-I
/storage/local/data1/cms_admin/build/slc5_amd64_gcc470/external/python/2.6.4/include/python2.6
-I
/storage/local/data1/cms_admin/build/slc5_amd64_gcc470/external/uuid/1.38/include
-I
/storage/local/data1/cms_admin/build/slc5_amd64_gcc470/lcg/root/5.32.00-cms5/cint
-I
/storage/local/data1/cms_admin/build/slc5_amd64_gcc470/external/clhep/2.0.4.6-cms/include
-I
/storage/local/data1/cms_admin/build/slc5_amd64_gcc470/external/gsl/1.10/include
-I
/storage/local/data1/cms_admin/build/slc5_amd64_gcc470/external/hepmc/2.06.07/include
-I
/storage/local/data1/cms_admin/build/slc5_amd64_gcc470/external/pcre/7.9-cms/include
-I
/storage/local/data1/cms_admin/build/slc5_amd64_gcc470/external/sigcpp/2.2.10-cms/include/sigc++-2.0
-I
/storage/local/data1/cms_admin/build/slc5_amd64_gcc470/external/xerces-c/2.8.0/include
-I
/storage/local/data1/cms_admin/build/slc5_amd64_gcc470/external/zlib/1.2.3/include
-I
/storage/local/data1/cms_admin/build/slc5_amd64_gcc470/lcg/root/5.32.00-cms5/include
-fmodule-cache-path /var/tmp/clang-module-cache -internal-isystem
/storage/local/data1/cms_admin/build/slc5_amd64_gcc470/external/gcc/4.7.0/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../include/c++/4.7.0
-internal-isystem
/storage/local/data1/cms_admin/build/slc5_amd64_gcc470/external/gcc/4.7.0/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../include/c++/4.7.0/x86_64-unknown-linux-gnu
-internal-isystem
/storage/local/data1/cms_admin/build/slc5_amd64_gcc470/external/gcc/4.7.0/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../include/c++/4.7.0/backward
-internal-isystem /usr/local/include -internal-isystem
/storage/local/data1/cms_admin/clang-build/Debug+Asserts/bin/../lib/clang/3.2/include
-internal-externc-isystem /include -internal-externc-isystem /usr/include
-Wno-long-long -Wno-deprecated -std=c++11 -fdebug-compilation-dir
/uscms/home/cms_admin/data1/CMSSW_6_0_X_2012-05-11-1400 -ferror-limit 19
-fmessage-length 0 -mstackrealign -fgnu-runtime -fobjc-runtime-has-arc
-fobjc-runtime-has-weak -fobjc-fragile-abi -fcxx-exceptions -fexceptions
-fdiagnostics-show-option -analyzer-output=html -o /tmp/scan-build-2012-05-18-7
-x c++
/storage/local/data1/cms_admin/CMSSW_6_0_X_2012-05-11-1400/src/Calibration/EcalCalibAlgos/src/PhiSymmetryCalibration_step2_SM.cc 
1.    <eof> parser at end of file
scan-build: 0 bugs found.
scan-build: The analyzer encountered problems on some source files.
scan-build: Preprocessed versions of these sources were deposited in
'/tmp/scan-build-2012-05-18-7/failures'.
scan-build: Please consider submitting a bug report using these files:
scan-build:   http://clang-analyzer.llvm.org/filing_bugs.html

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list