Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

shared memory problem in AIX 5.1

Status
Not open for further replies.

Geeco

Technical User
Jun 30, 2003
8
FI
Hi,

I tried to implement 1024 byte shared memory segment with semaphore (C -language) in simple client/server application but now I get "segmentation fault - core dumped" every time I try to run the executable. Neither the shmemory nor the semaphore was deallocated/removed within the code. Changing the ids returned by semget and shmget functions didn't work. I rebooted and checked with ipcs -s and -m for existing shared memory segments and semaphores created by the program but it showed nothing ...What causes this core dumping?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top