RE: [PHP-DEV] strange crash

From: Date: Wed, 21 Nov 2001 07:25:19 +0000
Subject: RE: [PHP-DEV] strange crash
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-71177@lists.php.net to get a copy of this message
Not that I think this will help a damn bit, but I can stop the crash by commenting out a function from one of the included files. (yeah I know about htmlentities/htmlspecialchars) function form_print($string) { $string = stripslashes($string); $string = str_replace('"','"',$string); print $string; } The entire function has to be commented out; only commenting out part of it still allows it to crash. -Chris -----Original Message----- From: Chris Newbill [mailto:cnewbill@elementalrain.com] Sent: Wednesday, November 21, 2001 12:14 AM To: php-dev@lists.php.net Subject: [PHP-DEV] strange crash I CANNOT GET IT TO CRASH WITH -enable-debug! Program received signal SIGSEGV, Segmentation fault. 0x080f43bc in zend_hash_copy () at eval.c:41 41 eval.c: No such file or directory. in eval.c Log info from -enable-debug --------------------------------------- array.c(1263) : Block 0x08217420 status: Beginning: OK (allocated on array.c:1218, 9 bytes) End: Overflown (magic=0x2A8FCC01 instead of 0x2A8FCC84) 1 byte(s) overflown --------------------------------------- array.c(1218) : Freeing 0x08217444 (9 bytes), script=/www/erain/st2/commercesys/html/discount_detail.php Ideas? This happens with today's CVS and 4.1.0RC3. I haven't broken the script down to something small enough to reproduce..yet. -Chris Linux storm.elementalrain.com 2.4.9-6 #1 Thu Oct 18 09:39:55 EDT 2001 i686 unknown Apache 1.3.22 Red Hat Linux 7.1 gcc version 2.96 20000731 (Red Hat Linux 7.1 2.96-85)

« previous php.dev (#71177) next »