Re: [PHP4BETA] latest CVS crashes in every script...
| From: | Sascha Schumann | Date: | Tue, 21 Sep 1999 07:50:17 +0000 |
| Subject: | Re: [PHP4BETA] latest CVS crashes in every script... | ||
| References: | 1 2 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-4730@lists.php.net to get a copy of this message | ||
On Tue, Sep 21, 1999 at 09:38:26AM +0200, Sascha Schumann wrote:
> On Tue, Sep 21, 1999 at 09:20:46AM +0200, Thies C. Arntzen wrote:
> > fresh checkout, fresh configure etc
> > cannot run even the simplest script.
> >
>
> Quicky backtrace:
More detailed one. Does happen with the following script
(for loop alone or simple "echo" works):
<?
for($i = 0; $i < 100; $i++)
echo pow(2, $i);
Program received signal SIGSEGV, Segmentation fault.
0x20000757974 in _get_zval_ptr (node=0x1201e67d0, Ts=0x11fffeca8,
should_free=0x200008a7488)
at /home/sas/new2/xx/../php4/libzend/zend_execute.c:85
85 PZVAL_UNLOCK(*Ts[node->u.var].var);
(gdb) bt
#0 0x20000757974 in _get_zval_ptr (node=0x1201e67d0, Ts=0x11fffeca8,
should_free=0x200008a7488)
at /home/sas/new2/xx/../php4/libzend/zend_execute.c:85
#1 0x2000075be1c in execute (op_array=0x1201e6090)
at /home/sas/new2/xx/../php4/libzend/zend_execute.c:1543
#2 0x200006e48b8 in php_execute_script (primary_file=0x11ffff240)
at ../php4/main.c:1171
#3 0x200006e49bc in apache_php_module_main (r=0x1201e67d0, fd=19,
display_source_mode=0) at ../php4/main.c:1212
#4 0x200006e1cbc in send_php (r=0x1201c4690, display_source_mode=0,
filename=0x1201c58a8 "/home/sas/new2/httpd/htdocs/test.php")
at ./mod_php4.c:323
#5 0x200006e1d40 in send_parsed_php (r=0x1201e67d0) at ./mod_php4.c:335
#6 0x120026bd8 in ap_invoke_handler (r=0x1201c4690) at http_config.c:508
#7 0x12003d3a8 in process_request_internal (r=0x1201c4690)
at http_request.c:1214
#8 0x12003d44c in ap_process_request (r=0x1201c4690) at http_request.c:1230
#9 0x120034348 in child_main (child_num_arg=538723984) at http_main.c:4035
#10 0x12003455c in make_child (s=0x12018c020, slot=0, now=937900106)
at http_main.c:4139
#11 0x120034740 in startup_children (number_to_start=5) at http_main.c:4221
#12 0x120034e74 in standalone_main (argc=538863568, argv=0x11fffeca8)
at http_main.c:4509
#13 0x1200357b0 in main (argc=2, argv=0x11ffff648) at http_main.c:4830
#14 0x200004bfea4 in __libc_start_main ()
--
Regards,
Sascha Schumann
Consultant