ID: 16805
Updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
-Status: Open
+Status: Assigned
Bug Type: Semaphore related
Operating System: Linux 2.2.x (Debian)
PHP Version: 4.0CVS-2002-04-24
-Assigned To:
+Assigned To: derick
Previous Comments:
------------------------------------------------------------------------
[2002-04-24 14:24:00] [EMAIL PROTECTED]
sem_remove causes a segfault with the following script:
*****
<?php
// create the semaphore:
$sem = sem_get($parentPID);
// delete the semaphore:
sem_remove($sem);
?>
*****
Here's my terminal log:
sean@adnagaporp:~/dev/sock$ php4-dev -v
4.3.0-dev
sean@adnagaporp:~/dev/sock$ php4-dev -q sem.php
[Wed Apr 24 14:21:56 2002] Script: 'sem.php'
---------------------------------------
/home/sean/cvs/php/php4/Zend/zend_execute.h(62) : Block 0x08231DF0
status:
Beginning: Overrun (magic=0x00000000, expected=0x7312F8DC)
End: Unknown
---------------------------------------
Segmentation fault
*****
And my php configuration:
System Linux adnagaporp 2.2.19pre17 #1 Tue Mar 13 22:37:59 EST 2001
i686
Build Date Apr 24 2002 14:12:20
Configure Command './configure' '--enable-sockets' '--enable-pcntl'
'--enable-shmop' '--enable-sysvsem' '--enable-debug'
Server API CGI
Virtual Directory Support disabled
Configuration File (php.ini) Path /usr/local/lib
Debug Build yes
Thread Safety disabled
PHP Streams enabled
*****
S
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=16805&edit=1