cccc crashed with SIGABRT in __gnu_cxx::__verbose_terminate_handler() when starting execution with wildcard
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cccc (Ubuntu) |
Confirmed
|
Medium
|
Unassigned |
Bug Description
I ran `$ cccc **` in the directory of a C/C++ git work area. A few seconds later I had seen:
$ cccc **
build
cppcheck.xml
Jenkinsfile
Makefile
NOTICE.3rd_party
directory_1
directory_2
directory_3
directory_4
CCCC - a code counter for C and C++
=======
A program to analyse C and C++ source code and report on
some simple software metrics
Version 3.1.4
Copyright Tim Littlefair, 1995, 1996, 1997, 1998, 1999, 2000
with contributions from Bill McLean, Herman Hueni, Lynn Wilson
Peter Bell, Thomas Hieber and Kenneth H. Cox.
The development of this program was heavily dependent on
the Purdue Compiler Construction Tool Set (PCCTS)
by Terence Parr, Will Cohen, Hank Dietz, Russel Quoung,
Tom Moog and others.
CCCC comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it
under certain conditions. See the file COPYING in the source
code distribution for details.
Parsing
terminate called after throwing an instance of 'std::out_of_range'
what(): basic_string:
Aborted (core dumped)
ProblemType: Crash
DistroRelease: Ubuntu 16.04
Package: cccc 1:3.1.4-9
ProcVersionSign
Uname: Linux 4.4.0-72-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.6
Architecture: amd64
CurrentDesktop: Unity
Date: Fri Jul 7 11:36:24 2017
Dependencies:
gcc-5-base 5.4.0-6ubuntu1~
gcc-6-base 6.0.1-0ubuntu1
libc6 2.23-0ubuntu9
libgcc1 1:6.0.1-0ubuntu1
libstdc++6 5.4.0-6ubuntu1~
ExecutablePath: /usr/bin/cccc
InstallationDate: Installed on 2015-03-12 (847 days ago)
InstallationMedia: Ubuntu 14.04.2 LTS "Trusty Tahr" - Release amd64 (20150218.1)
ProcCmdline: cccc build cppcheck.xml Jenkinsfile Makefile NOTICE.3rd_party third_party vtss_api vtss_appl vtss_basics
Signal: 6
SourcePackage: cccc
StacktraceTop:
__gnu_
?? () from /usr/lib/
std::terminate() () from /usr/lib/
__cxa_throw () from /usr/lib/
std::_
Title: cccc crashed with SIGABRT in __gnu_cxx:
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dialout dip lpadmin lxd mock plugdev sambashare sudo wireshark
StacktraceTop: cxx::__ verbose_ terminate_ handler () at ../../. ./../src/ libstdc+ +-v3/libsupc+ +/vterminate. cc:95 :__terminate (handler=<optimized out>) at ../../. ./../src/ libstdc+ +-v3/libsupc+ +/eh_terminate. cc:47 ./../src/ libstdc+ +-v3/libsupc+ +/eh_terminate. cc:57 :__cxa_ throw (obj=obj@ entry=0x5652dd2 3b850, tinfo=0x7f0bce6 f9ad8 <typeinfo for std::out_of_range>, dest=0x7f0bce427b40 <std::out_ of_range: :~out_of_ range() >) at ../../. ./../src/ libstdc+ +-v3/libsupc+ +/eh_throw. cc:87 _throw_ out_of_ range_fmt (__fmt= __fmt@entry= 0x5652db4c9c00 "%s: __pos (which is %zu) > this->size() (which is %zu)") at ../../. ./../.. /src/libstdc+ +-v3/src/ c++11/functexce pt.cc:101
__gnu_
__cxxabiv1:
std::terminate () at ../../.
__cxxabiv1:
std::_