3

Our team needs to analyse core dumps from testers (or sometimes from clients) that C++ libraries and application produces. Both on Windows & Linux. Of course we can use gdb to analyse it, but it is all about simplifying and team-work. Do you know any Atlassian, Jetbrains or others web tool or plugin that can integrate with Jenkins or BitBucket for example, that simplifies (browse a stack trace and a list of local variables, etc.) C++ core dump analysis?

  • IMHO your request is too broad, covering Windows + Linux + User mode + Kernel mode. There once was a tool for Windows only, called Instant Online Crash Analysis. However, it was for Windows only and with very limited functionality (running !analyze -v). Also, the terms of use were not exactly great. They reserved the right to use the uploaded crash dump in seminars. Crash dumps may contain personal information, they definitely contain information about the system of the user and may even contain passwords. That's quite sensitive data. – Thomas Weller Apr 23 at 19:01
  • Also, Microsoft once provided online crash dump analysis, also for Windows only. It was a service called Windows Error Reporting (WER), then renamed to Windows Quality Online Services (WinQual). Both services do not exist any more. As the top all time WinDbg user, I don't know any online service and my guess is that you have to write your own. Be prepared that people upload files that are 4 GB large, just to find out that they ran into a OutOfMemory condition. – Thomas Weller Apr 23 at 19:09
  • An online service also has the problem of finding the matching PDBs. If you don't upload them as well, the reliable information will be limited. I think that's the main reason that online tools do not exist. If you do it yourself, consider linking the analysis tool to your symbol store (e.g. TFS). – Thomas Weller Apr 23 at 19:11
  • All in all +1. I think the request for such a tool is valid. If you develop one, ping me. I'd be glad trying it. – Thomas Weller Apr 23 at 19:13
0

Since you already know gdb, why not automate it?

Everyone seems to know Python these days, so take a look at these (or choose your own way to automate it):

| improve this answer | |
  • 1
    Of course I can write my own plugin/script. But there are different compilers on different OS'es so that I am asking for ready solution. If it doesn't exist, I could give my time and write it :) – jaskmar Aug 1 '18 at 13:26
  • I hope that you don't have to, as I would also like to have such a tool :-) It seems that I spend more time these days writing Python scripts than doing "real coding" :-) – Mawg says reinstate Monica Aug 1 '18 at 14:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.