I found the reason behind your bug. When you are checking if the segment exists or not you are using $testID = shmop_open( 0xff3, "ac", 0, 0);
instead of $testID = shmop_open( 0xff3, "a", 0, 0); which simply tried to open the segment and will return FALSE if it fails. Once I changed your code to mine, the segfault stopped appearing. If you have any further questions you can email me, I am one of the shmop module authors. I believe the bug is occuring because you are passing an invalid flag to shmop_open(). I ask that someone would remove the misleading comment on shmop_open() page which tells people to use 'ac' flag to see if segment exists or not. Also, to whom should I submit a patch that will prevent this from happening in the future? Prottoss [EMAIL PROTECTED] ICQ: 23361082 http://mediaminer.org/ On January 1, 2002 03:17 pm, [EMAIL PROTECTED] wrote: > ID: 14784 > User updated by: [EMAIL PROTECTED] > Reported By: [EMAIL PROTECTED] > Status: Open > Bug Type: Reproducible crash > Operating System: Linux (RH 6.2 / 2.4.3) > PHP Version: 4.1.1 > New Comment: -- -- 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]