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:[EMAIL PROTECTED]]
Sent
:
Wednesday, November 21, 2001 12:14 AM
To: [EMAIL PROTECTED]
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)

 

Reply via email to