From:             [EMAIL PROTECTED]
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



-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to