|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2000-04-14 06:41 UTC] rieder at subedvz dot tu-graz dot ac dot at
[2000-04-14 09:19 UTC] rasmus at cvs dot php dot net
[2024-11-26 21:04 UTC] git@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Nov 07 14:00:02 2025 UTC |
OS: SunOS 5.7 Generic_106541-04 sun4u sparc SUNW,Ultra-2 compiler: gcc-2.95.2-sol7-sparc apache: 1.3.12 Configure options: ./configure\ --with-oracle\ --without-mysql\ --with-imap\ --with-ldap\ --with-db2 \ --enable-sysvsem\ --enable-sysvshm\ --enable-track-vars\ --with-gd \ --with-jpeg-dir=/usr/local/lib \ --with-apxs=/usr/local/apache/bin/apxs Script: <?php $key=0x123754; $x = $key + 1; //++++++++++++ // crash crash crash $semid = sem_get($x); // end crash //++++++++++++ sem_acquire($semid); if($x=shm_attach($key, 64000, 0600)) { print "OK"; } else { print "NO"; } shm_put_var($x, $test, "this_is_a_test"); print shm_get_var($x, $test); shm_remove($key); ?> Other example: horde-1.2.0-pre10 (www.horde.org) imp-2.2.0-pre10 (www.horde.org) phplib-7 (http://phplib.netuse.de/) Session management was configured to use shared memory apache crashes with following log entry: ... [notice] child pid 18681 exit signal Bus Error (10) The same occours with older versions of php and/or apache.