[PHP-DEV] [Fwd: Segfault on writing to shared memory block] From: mike (mike <email protected>)
Date: 09/29/01

Oh, and I'm using 4.0.6. Sorry, forgot to mention that ;)

----

Hi,

my scripts look like this...

#!/usr/local/bin/php

That sets up the shared memory and waits for the first four chars to be set to "exit", then it should exit the loop and clean up.

The script that is supposed to set "exit" in the shared block is

#!/usr/local/bin/php

It segfaults on the shmop_write line, every time.

I am using slackware 8, gcc 2.95.3. The shared memory shows up fine on ipcs and the process that created it can write to it fine. Is this a bug or am I doing something wrong?

Mike

-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>