When the crash happens a core dump should be generated. Thus you have to be patient, and use the application as usual. To obtain this file you have to wait until the application crashes and this can take some time. For this reason this file is fundamental to understand what has caused the crash. Enabling core dump generation is something that varies slightly across operating systems and typically requires you to set ulimit -c unlimited (in bash) or limit coredumpsize unlimited (in tcsh).Ī core dump is a file that contains the status of the program at the exact moment of the crash. Once all the optimizations have been turned off, you are ready to execute the application but, to record a meaningful trace of the crash, you have to enable the core dump generation. Another option that you should enable when using the GNU toolchain is -b. Therefore, you have to make sure no option such as -O2 or -Os is used there. Typically, when using the GNU toolchain, debugging symbols are configured in the Makefile. This kind of optimizations usually make the code (marginally) faster but prevent the application from being debugged easily. When debugging applications built from source, you have to make sure the compiler has not performed compile-time code optimizations. Finding the cause of a crash boils down to debugging the application, but don’t worry, you do not have to be a programmer to do that! In the remainder of this page we will show some simple steps that that will allow you to debug any product and report us the resulting information. In the (unlikely) case of crash, it is fundamental to understand the root cause of the crash. We will be happy to review it and possibly include in one official branch. If you want to submit a patch please send us a merge request via Github. For commercial applications such as nProbe you can contact us privately or fill this form. Check this README for updated information.įor open-source applications such as ntopng, if you want to report a bug, please open an issue on our official Github page.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |