what kind of dump file is it? it doesn't seem to be a gdb compatible dump so can you tell me how I open it.
can you try to debug this? Compile cppcheck and run it in a debugger. The latest cppcheck source code is available here: http://github.com/danmar/cppcheck/
Compiling is pretty simple.. If you use VS you can just open the provided visual studio solution and build. If you use gcc/clang, use the Makefile.
Last edit: Daniel Marjamäki 2015-09-21
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I suggest that you also try to download and compile the latest source code. A hang for that binary would be MUCH more interesting.
I don't intend to fix the 1.69 source code even if you pinpoint the problem. If it still exists in latest source code I can fix the latest source code.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
Asking for help about a hanging issue. I have the dump file. How can I send it to you?
I use version 1.69, because 1.70 need VS2015.
this hang could be fixed already then.
Could you try to use the --report-progress.. if it doesn't report anything for a few minutes then what is its last message? Use it like this:
To fix this we will need to be able to reproduce it. Would it be ok for you to put the cpp file and the headers in a ZIP file and share that with us?
261/395 files checked 99% done
Checking T:\Horizon\src\HzAPI\Interface\DnMToolElement.cpp...
Checking T:\Horizon\src\HzAPI\Interface\Channel.cpp: APSTUDIO_INVOKED...
Checking T:\Horizon\src\HzAPI\Interface\DPointCatalog.cpp: APSTUDIO_INVOKED...
Log like this:
My command:
cppcheck.exe -j 16 --force --xml --debug-warnings --report-progress --inline-suppr
I have a reproduce sample. But because the confidencial, I may not give the codes, can I give a dump file?I attached.
Thanks a lot!
It's a cpp file with 2 lines include header files, but include header file include anther header file.....many many levels....
what kind of dump file is it? it doesn't seem to be a gdb compatible dump so can you tell me how I open it.
can you try to debug this? Compile cppcheck and run it in a debugger. The latest cppcheck source code is available here: http://github.com/danmar/cppcheck/
Compiling is pretty simple.. If you use VS you can just open the provided visual studio solution and build. If you use gcc/clang, use the Makefile.
Last edit: Daniel Marjamäki 2015-09-21
Can you give me the version 1.69 source code? Because the crash happened in 1.69, I will try debug it, thanks a lot!
You can download the source code for any release here:
https://github.com/danmar/cppcheck/releases
I suggest that you also try to download and compile the latest source code. A hang for that binary would be MUCH more interesting.
I don't intend to fix the 1.69 source code even if you pinpoint the problem. If it still exists in latest source code I can fix the latest source code.
This is not true when you compile yourself. You can use VS2010 to compile latest source code as far as I know.