william007
asked on
Program has been terminated receiving signal 11 (Segmentation fault)
Hi, I have seen this error in the C program that I run.
I just want to know what is
1)Signal 11?
2)Segmentation fault? what kind of senario is consider as Segmentation fault?
I just want to know what is
1)Signal 11?
2)Segmentation fault? what kind of senario is consider as Segmentation fault?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks=)
Mental note to myself: It pays off to repost what others have linked to if a Q is open long enough.
You can just put some debug messages in the .c file using printf(..) and see which statement is the one causing the seg. fault. Once you get to know this, then we can fix it easily.
Let me know the piece of code which is giving the seg. fault. I can try to do something to fix it.
Thanks