Bug #16805 Updated: sem_remove(...) segfaults

From: Date: Wed, 24 Apr 2002 18:58:43 +0000
Subject: Bug #16805 Updated: sem_remove(...) segfaults
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-5872@lists.php.net to get a copy of this message
ID: 16805 Updated by: derick@php.net Reported By: sean@caedmon.net -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] sean@caedmon.net 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

« previous php.bugs (#5872) next »