- Home Page of ProjectGuideline.com ›
- Forums ›
- Get Help to do your B.E., and M.E., M.Tech., & M.S., Project in Ns2 ›
- Segmentation fault
bou_jawad
Participant
Hello all,
I run a new Agent and get the following error from the debugging stack:
#0 0x002999b9 in __printf_fp () from /lib/libc.so.6
Any Clue?
Thanks in advance.
CharlesPandian
Keymaster
There are several reasons to end with Segmentation fault. The most common ones are, due to wrong format strings in fprintf command. (for example, if you try to print a string which is not null terminated, then you may end with such error)
First check the fscanf or fprintf commands (if any)