Re: re: crash

From: Date: Sun, 25 Jun 2000 17:22:52 +0000
Subject: Re: re: crash
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-3061@lists.php.net to get a copy of this message
Crashes PHP4.0 on win32 platforms also... >>Here's some code that seems to generate a segfault every time (well, >>beginning with the second time it's run, once the sess_ file has been >>created): >> >><? >> >>function crash() >>{ >> global $x, $HTTP_SESSION_VARS; >> session_start(); >> session_register('x'); >> $x++; >>} >> >>crash(); >>print "value is $x"; >> >>?> >> >>I distilled it down from a 1000-line PHP file by removing parts until I had >>the shortest program that still killed httpd. > >FWIW, my installation on HPUX-10.20 crashes also, so it's not just RedHat >5.1 or Intel cpus. -- /* SteeleSoft Consulting John Steele - Systems Analyst/Programmer * We also walk dogs... jsteele@writeme.com * http://www.gamecomputer.com/ssc/ */

« previous php.general (#3061) next »