> > My apache on RedHat 6.2 crashes when I try to create a shm block using > > sysvshm. Can anyone reproduce this? I'm trying to cut down the offending > > script to the smallest example possible. Will post more details later. > > Please post a backtrace too while you're at it.
This is rather critical for the many of my applications (and anybody else who uses sysvshm). The problems seems tho be shm_remove. Test case: $key=0x5432; $id=shm_attach($key, 4096); shm_remove($key); Backtrace: Program received signal SIGSEGV, Segmentation fault. 0x80ac569 in zif_shm_remove (ht=1, return_value=0x814f164, this_ptr=0x0, return_value_used=0) at sysvshm.c:211 211 if(shmctl(shm_list_ptr->id,IPC_RMID,NULL)<0) { (gdb) bt #0 0x80ac569 in zif_shm_remove (ht=1, return_value=0x814f164, this_ptr=0x0, return_value_used=0) at sysvshm.c:211 #1 0x80ea2d1 in execute (op_array=0x814f234) at ./zend_execute.c:1590 #2 0x80c6fdc in zend_execute_scripts (type=8, retval=0x0, file_count=3) at zend.c:814 #3 0x805b42e in php_execute_script (primary_file=0x7ffff910) at main.c:1309 #4 0x8058eea in main (argc=3, argv=0x7ffff984) at cgi_main.c:738 Configure: ./configure --without-pear --disable-short-tags --without-pcre-regex --disa ble-posix --disable-session --disable-xml --disable-wddx --without-mysql --e nable-sysvshm --enable-debug -- 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]