PHP 4.0 Bug #10115: segmentation fault
| From: | root at anight dot org | Date: | Mon, 02 Apr 2001 13:23:43 +0000 |
| Subject: | PHP 4.0 Bug #10115: segmentation fault | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-50584@lists.php.net to get a copy of this message | ||
From: root@anight.org
Operating system: linux 2.4.3
PHP version: 4.0.4pl1
PHP Bug Type: Unknown/Other Function
Bug description: segmentation fault
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
--
Edit Bug report at: http://bugs.php.net/?id=10115&edit=1