php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #14921 Shared Memory problem! BUG!
Submitted: 2002-01-07 18:18 UTC Modified: 2002-01-07 19:30 UTC
From: koester at x-itec dot de Assigned:
Status: Not a bug Package: Unknown/Other Function
PHP Version: 4.1.1 OS: FreeBSD 4.4
Private report: No CVE-ID: None
 [2002-01-07 18:18 UTC] koester at x-itec dot de
Your shared memory implementation is buggy in 4.1.1. You can attach a shmem segment, but you can not detach it.

This is a real bug.

If I try to detach an existing and valid shmem segment, I get this:

Warning: The parameter is not a valid shm_indentifier in ...

I am using shared memory in a production environment at it is very important that someone gives me a feedback.

There were no problems with shmem on php4 but this time its buggy.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-01-07 19:30 UTC] edink@php.net
If you are talking about --with-sysvshm shared memory
there was a change of parameters for some functions
like shm_remove. It use to take shm_key as the argument,
while it take mem_id now.

The documentation is updated and should give you
enough info to fix the problems.

http://www.php.net/manual/en/ref.sem.php

If this does not solve your problem,
please reopen the bug report with some more info.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat May 18 13:01:32 2024 UTC