Operating System - HP-UX
1834052 Members
2511 Online
110063 Solutions
New Discussion

Re: Segmentation Violation

 
Anand Natarajan
New Member

Segmentation Violation

When i run my Application(C program) in the middle the Application gets
terminated with Signal 11. Can u tell me why the error is comming and How to
rectify this...

Thanks,
Anand N
1 REPLY 1
Carlos Riera
Frequent Advisor

Re: Segmentation Violation

This error is usual while you are writing a C program.

It means you are not using pointers ( or chars arrays) correctly, and data
pointed cannot be accesed.

Use a debbuger.