Please file bug reports on the according issue tracker at http://trac.cppcheck.net
Looking at the debug information it looks similar to http://trac.cppcheck.net/ticket/6410 .
For further analysis it would help to reduce the source code being checked to a minimum.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi. I currently cannot submit a bug report in the issue tracker, as I cannot login. Login in with OpenID is currently broken, and I cannot seem to find danmar on irc to create an account for me. So as a last resort, I decided to submit the bug report here (even though this is not the 'right place' to submit bug reports.
I can reproduce the abort with analyzing the attachement to this post with the following command:
'cppcheck --enable=all --max-configs=25 ./gcach_xpeer.cxx'
However, I can only reproduce it on a (lib)gcc 4.8.2 system, as it produces this error in addition to the abort (that i do not get on libgcc 4.9.2):
Checking gcach_xpeer.cxx...
/usr/include/c++/4.8.2/debug/list:325:error: attempt to access an element
in an empty container.
Objects involved in the operation:
sequence "this" @ 0x0x15d1a98 {
type = NSt7__debug4listIN9ValueFlow5ValueESaIS2_EEE;
}
Aborted
Hi,
Running the latest git master cppcheck in the following way on the latest git master of LibreOffice triggers an abort in cppcheck:
/home/buildslave/source/cppcheck//cppcheck -i external/ -i workdir/ --xml --suppressions-list=/home/buildslave/tmp/cppcheck_supp.txt --enable=all --max-configs=25 ./ 2> /home/buildslave/tmp/err.xml
I include the output of strace -f below of running above command, hope it helps in diagnosing the root cause.
Please file bug reports on the according issue tracker at http://trac.cppcheck.net
Looking at the debug information it looks similar to http://trac.cppcheck.net/ticket/6410 .
For further analysis it would help to reduce the source code being checked to a minimum.
Hi. I currently cannot submit a bug report in the issue tracker, as I cannot login. Login in with OpenID is currently broken, and I cannot seem to find danmar on irc to create an account for me. So as a last resort, I decided to submit the bug report here (even though this is not the 'right place' to submit bug reports.
I can reproduce the abort with analyzing the attachement to this post with the following command:
'cppcheck --enable=all --max-configs=25 ./gcach_xpeer.cxx'
However, I can only reproduce it on a (lib)gcc 4.8.2 system, as it produces this error in addition to the abort (that i do not get on libgcc 4.9.2):
Checking gcach_xpeer.cxx...
/usr/include/c++/4.8.2/debug/list:325:error: attempt to access an element
in an empty container.
Objects involved in the operation:
sequence "this" @ 0x0x15d1a98 {
type = NSt7__debug4listIN9ValueFlow5ValueESaIS2_EEE;
}
Aborted
Last edit: Maarten Hoes 2015-02-04
I submitted a bug report on this in the bug tracker: http://trac.cppcheck.net/ticket/6497