Bug #10115 Updated: segmentation fault
| From: | elixer@php.net | Date: | Sat, 28 Apr 2001 23:22:46 +0000 |
| Subject: | Bug #10115 Updated: segmentation fault | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-52808@lists.php.net to get a copy of this message | ||
ID: 10115
Updated by: elixer
Reported By: root@anight.org
Old-Status: Open
Status: Feedback
Bug Type: Semaphore related
PHP Version: 4.0.4pl1
Assigned To:
Comments:
Could you provide a small sample script (just enough code for this to fail.) for us to analyze?
Sean
Previous Comments:
---------------------------------------------------------------------------
[2001-04-02 09:23:43] root@anight.org
got segfault using shm_attach():
1) script started as user A creating shared memory block: shm_attach($mem_id, $mem_size, 0600);
2) same script, but started as user B trying shm_attach($mem_id, $mem_size, 0600);
(it cannot be done, because access rights is 0600 - memory is for owner only)
the result is segmentation fault.
PHP/4.0.4pl1
Linux 2.2.16
php config:
./configure
--disable-session
--disable-pear
--disable-pic
--with-gdbm --disable-dbm
--with-mysql=/usr/local
--with-mcrypt=/usr/local
--disable-debug
--enable-sysvshm
--enable-sysvsem
--disable-xml
---------------------------------------------------------------------------
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=10115&edit=2