This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]