FAQ 10.1
| From: | Riccardo | Date: | Fri, 14 Jul 2000 23:54:55 +0000 |
| Subject: | FAQ 10.1 | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-24590@lists.php.net to get a copy of this message | ||
Hi, i have a problem with php4 (and php3 too), like on FAQ 10.1 (document
contains no data).
The resulting backtrace is:
(gdb) run -X -f/etc/httpd/conf/httpd.conf
Starting program: /usr/sbin/httpd -X -f/etc/httpd/conf/httpd.conf
Program received signal SIGSEGV, Segmentation fault.
0x40473191 in php_init_config ()
at /home/php/php4/php-4.0.1/main/configuration-parser.y:237
237 parsing_mode = PARSING_MODE_CFG;
(gdb) bt
#0 0x40473191 in php_init_config ()
at /home/php/php4/php-4.0.1/main/configuration-parser.y:237
#1 0x40524e0c in yy_state_buf () from /etc/httpd/modules/libphp4.so
#2 0x40473334 in php_if_parse_ini_file (ht=135784496, return_value=0x0,
this_ptr=0x817e830, return_value_used=134858704)
at /home/php/php4/php-4.0.1/main/configuration-parser.y:288
#3 0x80545c4 in ap_invoke_handler ()
Cannot access memory at address 0x1f4
And this is the tail of /var/log/httpd/error.log:
[Sat Jul 15 01:45:27 2000] [notice] child pid 10128 exit signal Segmentation fault (11)
[Sat Jul 15 01:46:37 2000] [notice] child pid 10127 exit signal Segmentation fault (11)
[Sat Jul 15 01:47:12 2000] [notice] child pid 10131 exit signal Segmentation fault (11)
So, what's going on here? What can I do?
Riccardo