-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
segmentation fault when I try to execute it #8
Comments
Can you provide additional information to help us track the problem? A stack trace of |
Here it is |
@dragonxtek, please try upgrading libpcap. Version 1.8.1 should suffices. |
I installed the last version (1.9) and I have the same issue Here it is the new strace log |
I meant to ask for a (GDB) stack trace on my first message but a typo made that unclear. Can you compile with debug symbols and run it inside `GDB` so we get a better idea of where the segfault is happening?
Another thing that would help is to `valgrind --leak-check=full --show-reachable=yes ./mtraceroute 8.8.8.8 -c mda`.
|
@rlcalmeida let's check these leaks in the meantime while @dragonxtek gets us the dump with the incorrect memory accesses. |
Here it is |
I tried with ping option:
|
@dragonxtek can you compile with -g -O0 and provide gdb's backtrace output? |
From @dragonxtek's
|
|
I compile it in Ubuntu 18.10 with:
When I try to execute it I got a segmentation fault:
No packets were generated (I checked with wireshark).
I tried with all options (mda, ping, traceroute) and I got the same result
The text was updated successfully, but these errors were encountered: