segmentation fault (Core dumped)

Lars Segerlund lars.segerlund@comsys.se
Thu Feb 10 22:37:00 GMT 2005


 Use gdb and have a look at the crash :-)  ...

 ( btw. if you had an example it would be possible to have a look at the problem ).

 / regars, Lars Segerlund.


On Thu, 10 Feb 2005 04:23:52 -0800 (PST)
patel bhavesh <bhavesh_patel749@yahoo.com> wrote:

> Hi
> 
> I am a lecturer in Computer science college and i am
> teaching Perallel Processing subject in which the
> programing is done under the Linux base C.
> 
> Now when i am sharing a varible among the process
> using shmget and shmctl function ,
> 
> then if the variable is normal integer then my program
> works
> but
> if i want to share the variable that is integer array
> then,
> at compile time it is not giving me any error
> but when i am running this program using ./ filename
> 
> it gives me segmentation fault (core dumped) error
> 
> please provide solution to me
> 
> Bhavesh Patel
> 
> 
> 		
> __________________________________ 
> Do you Yahoo!? 
> Yahoo! Mail - Helps protect you from nasty viruses. 
> http://promotions.yahoo.com/new_mail



More information about the Gcc-help mailing list