I get the following exception when using CppCheck 2.5 on my codebase. Using CppCheck 2.3 the analysis can be execeuted correctly, Has someone any ideas?
Thank you!!!
Internal error: Access violation (instruction: 0x00007FFBE9510C1E) writing to 0x0000000000000038
0. 0x7FFBE9510C1E in Token::createMutualLinks
1. 0x7FFBE94F7D05 in TemplateSimplifier::expandTemplate
2. 0x7FFBE95089EE in TemplateSimplifier::simplifyTemplateInstantiations
3. 0x7FFBE9509731 in TemplateSimplifier::simplifyTemplates
4. 0x7FFBE956ACCD in Tokenizer::simplifyTokenList1
5. 0x7FFBE956B7AE in Tokenizer::simplifyTokens1
6. 0x7FFBE945CD53 in CppCheck::checkFile
7. 0x7FFBE9459013 in CppCheck::check
8. 0x7FF7C956B9CD in CppCheck::check
9. 0x7FF7C956C6A2 in CppCheck::check
10. 0x7FF7C956B2B8 in CppCheck::check
11. 0x7FF7C956FFBC in CppCheck::check
12. 0x7FF7C95712BC in CppCheck::check
13. 0x7FFC1EA83034 in BaseThreadInitThunk
14. 0x7FFC1F0B1461 in RtlUserThreadStart
Please report this to the cppcheck developers!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
It would be interesting with a small reproducible code example. I assume a short 5-10 line code could reproduce this crash. can you reduce your code?
I'd suggest that you start removing includes and see if you still get the crash..
then try to remove functions..
if there is missing type information, missing declarations, etc in the reproducible code example that is fine however I would like that the syntax is somewhat sane.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I get the following exception when using CppCheck 2.5 on my codebase. Using CppCheck 2.3 the analysis can be execeuted correctly, Has someone any ideas?
Thank you!!!
Internal error: Access violation (instruction: 0x00007FFBE9510C1E) writing to 0x0000000000000038
0. 0x7FFBE9510C1E in Token::createMutualLinks
1. 0x7FFBE94F7D05 in TemplateSimplifier::expandTemplate
2. 0x7FFBE95089EE in TemplateSimplifier::simplifyTemplateInstantiations
3. 0x7FFBE9509731 in TemplateSimplifier::simplifyTemplates
4. 0x7FFBE956ACCD in Tokenizer::simplifyTokenList1
5. 0x7FFBE956B7AE in Tokenizer::simplifyTokens1
6. 0x7FFBE945CD53 in CppCheck::checkFile
7. 0x7FFBE9459013 in CppCheck::check
8. 0x7FF7C956B9CD in CppCheck::check
9. 0x7FF7C956C6A2 in CppCheck::check
10. 0x7FF7C956B2B8 in CppCheck::check
11. 0x7FF7C956FFBC in CppCheck::check
12. 0x7FF7C95712BC in CppCheck::check
13. 0x7FFC1EA83034 in BaseThreadInitThunk
14. 0x7FFC1F0B1461 in RtlUserThreadStart
Please report this to the cppcheck developers!
It would be interesting with a small reproducible code example. I assume a short 5-10 line code could reproduce this crash. can you reduce your code?
I'd suggest that you start removing includes and see if you still get the crash..
then try to remove functions..
if there is missing type information, missing declarations, etc in the reproducible code example that is fine however I would like that the syntax is somewhat sane.