17.08.2016

SEGFAULT INVESTIGATION

If you have segfault you will be interested in this page

Do you have any issues with FastNetMon segmentation fault? Yes, I know! So I could not help you here but I could help you to create correct GitHub issue about it.

First of all, please be patient and try to understand what happened. Please review recent configuration changes and check last ~100 lines from /var/log/fastnetmon. If something looks strange, try to fix or revert it!

When you saw something like this in dmesg:

It means some dangerous bug in FastNetMon. But please relax! FastNetMon could work for years without any issues! This issue could be related with broken configuration or some very specific case for your system. But we have some details about it and you could try to extract they. Please check your system about files with name “core.XXXXX” (where X is arbitrary number). You could find them inside toolkit folder or in the system root (/).

Then you should know full path to FastNetMon’s binary which experienced segmentation fault. By default it should be: /opt/fastnetmon/fastnetmon

Then you should install gdb package with yum or apt-get.

And run this command (please replace all paths to your!):

Then you could get interactive shell with debugger. Here you should enter command “backtrace” and send output to me with new issue (or update to existing issue).

Or you could try to find issue manually and send pull request to me 🙂 And I’ll merge it!