This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
segmentation fault (Core dumped)
- From: patel bhavesh <bhavesh_patel749 at yahoo dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Thu, 10 Feb 2005 04:23:52 -0800 (PST)
- Subject: segmentation fault (Core dumped)
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