Date: 09/01/99
- Next message: Geocrawler.com: "[PHP-DEV] default umask"
- Previous message: kdorff: "[PHP-DEV] PHP/Apache Seg Faulting"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: ally <email protected>
Operating system: DEC Unix OSF 1 4.0D Dec Alpha
PHP version: 4.0 Latest CVS (01/09/1999)
PHP Bug Type: Other
Bug description: Seg Fault on php.ini reading. Using PHP as a cgi
This error occured compiling PHP4 cvs 08/31/99. I fixed the other nasty little bugs like the
php_lcg.h thingy.
When I try to execute ./php after compiling, I get a seg fault and a core dump.
Examination of the core reveils the following.
0x12001eddc in OnUpdateInt (entry=0x30,
new_value=0x30 <Address 0x30 out of bounds>, new_value_length=3221787512,
mh_arg1=0xd0, mh_arg2=0x14003ea18, mh_arg3=0x0) at php_ini.c:382 382 *p = atoi(new_value);
This is moving one context up. The fault occurred in atoi.
I compiled this with the native compiler and gcc using the following ./configure
./configure --with-oracle=$ORACLE_HOME --with-config-file-path=/tmp
And I just copied the php.ini-dist file to /tmp/php.ini
Hope this helps. :)
Ally
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Geocrawler.com: "[PHP-DEV] default umask"
- Previous message: kdorff: "[PHP-DEV] PHP/Apache Seg Faulting"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

