From: joe at bs0 dot com Operating system: windows xp PHP version: 4.3.11 PHP Bug Type: Unknown/Other Function Bug description: shmop: can still open segment for reading after shmop_delete
Description: ------------ Tested with iis/php5.0.4, iis/php4.3.11, apache2/php4.3.11 - same problem. after a succesful call to shmop_delete, the shared memory can still be opened, and the previous values read in. Delete call seems to have no effect. Each step is done in new request: 1)Create shared memory block, populate with string. 2)open block, read in string 3)open block, call shmop_delete (returns true) 4)open block, read in string <- should not be able to open block for reading at this point. looks to be the same as Bug #28965, this bug has status of No Feedback, so opening a new one. Reproduce code: --------------- Code to reproduce: http://bs0.com/shmop/shmop_test.php.txt Expected result: ---------------- leave only one step uncommented at a time, at step 4, the open should fail and no data should be read in. Actual result: -------------- After step 4, memory is still opened/data is read in. -- Edit bug report at http://bugs.php.net/?id=33011&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=33011&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=33011&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=33011&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=33011&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=33011&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=33011&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=33011&r=needscript Try newer version: http://bugs.php.net/fix.php?id=33011&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=33011&r=support Expected behavior: http://bugs.php.net/fix.php?id=33011&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=33011&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=33011&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=33011&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=33011&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=33011&r=dst IIS Stability: http://bugs.php.net/fix.php?id=33011&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=33011&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=33011&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=33011&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=33011&r=mysqlcfg