[PHP-DEV] Bug #14784 Updated: shmop_write causes segfault

2002-01-09 Thread yohgaki
ID: 14784 Updated by: yohgaki Reported By: [EMAIL PROTECTED] Old Status: Open Status: Closed Bug Type: Reproducible crash Operating System: Linux (RH 6.2 / 2.4.3) PHP Version: 4.1.1 New Comment: Supposed to be fixed in CVS. Please reopen bug if there is problem still. Previous Comments: --

[PHP-DEV] Bug #14784 Updated: shmop_write causes segfault

2002-01-01 Thread markhers
ID: 14784 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Old Status: Feedback Status: Open Bug Type: Reproducible crash Operating System: Linux (RH 6.2 / 2.4.3) PHP Version: 4.1.1 New Comment: Backtrace with --with-debug: == Program received signal SIGSEGV, Se

Re: [PHP-DEV] Bug #14784 Updated: shmop_write causes segfault

2002-01-01 Thread Prottoss
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 chang

[PHP-DEV] Bug #14784 Updated: shmop_write causes segfault

2002-01-01 Thread mfischer
ID: 14784 Updated by: mfischer Reported By: [EMAIL PROTECTED] Old Status: Open Status: Feedback Bug Type: Reproducible crash Operating System: Linux (RH 6.2 / 2.4.3) PHP Version: 4.1.1 New Comment: A backtrace without --enable-debug is pretty useless. Can you recompile and paste the backtrace ag

[PHP-DEV] Bug #14784 Updated: shmop_write causes segfault

2002-01-01 Thread markhers
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: Sorry. I forgot to include the backtrace: < start > Program received signal SIGSEGV, Segmentation fa