> > Test case:
> >
> > $key=0x5432;
> > $id=shm_attach($key, 4096);
> > shm_remove($key);
>
> Your script is buggy, this should be the script:
>
> $key = 0x5432;
> $id = shm_attach ($key, 4096);
> shm_remove ($id); // Not $key
As you can see from the user notes on shm_remove docs page, this has b
On Thu, 22 Nov 2001, Derick Rethans wrote:
> However, this should not crash. The fix is easy though. Already on it.
I added a patch to the CVS, can you tree a new checkout? (Or wait some
time (3-4 hours) and try the latest snapshot. I also merged this into the
4.1.0 release branch, but imo, it's
On Thu, 22 Nov 2001, Edin Kadribasic wrote:
> Test case:
>
> $key=0x5432;
> $id=shm_attach($key, 4096);
> shm_remove($key);
Your script is buggy, this should be the script:
$key = 0x5432;
$id = shm_attach ($key, 4096);
shm_remove ($id); // Not $key
However, this should not crash. The fix is ea
> > My apache on RedHat 6.2 crashes when I try to create a shm block using
> > sysvshm. Can anyone reproduce this? I'm trying to cut down the offending
> > script to the smallest example possible. Will post more details later.
>
> Please post a backtrace too while you're at it.
This is rather cri