Re: PHP 4.0 Bug #3221: PHP crashes on second run of the script
| From: | Thies C. Arntzen | Date: | Sun, 16 Jan 2000 10:52:14 +0000 |
| Subject: | Re: PHP 4.0 Bug #3221: PHP crashes on second run of the script | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-14666@lists.php.net to get a copy of this message | ||
please update you cvs and try again!
On 16 Jan 2000 stas@zend.com wrote:
> From: stas@zend.com
> Operating system: Linux
> PHP version: 4.0 Latest CVS (16/01/2000)
> PHP Bug Type: Reproduceable crash
> Bug description: PHP crashes on second run of the script
>
> Script:
>
> Abc-de:
> <?
> echo $HTTP_GET_VARS["abc-de"];
> ?>
>
> when it's run twice, it crashes with:
>
> Program received signal SIGSEGV, Segmentation fault.
> 0x2a2c312d in ?? ()
> (gdb) where
> #0 0x2a2c312d in ?? ()
> #1 0x808f3c6 in zend_llist_apply (l=0x8189d94,
> func=0x808416c <php_start_request_hook>) at ../../Zend/zend_llist.c:147
> #2 0x8084197 in php_execute_pre_request_shutdown ()
> at /home/php/php4/./main.c:667
> #3 0x8084f75 in php_execute_script (primary_file=0xbffffb1c)
> at /home/php/php4/./main.c:1297
> #4 0x809d081 in apache_php_module_main (r=0x81c7e4c, fd=19,
> display_source_mode=0) at /home/php/php4/sapi/apache/sapi_apache.c:86
> #5 0x8083413 in send_php ()
> #6 0x8083458 in send_parsed_php ()
> #7 0x80eeb33 in ap_invoke_handler ()
> #8 0x8101e29 in process_request_internal ()
> #9 0x8101e8c in ap_process_request ()
> #10 0x80f984e in child_main ()
> #11 0x80f99dc in make_child ()
> #12 0x80f9b39 in startup_children ()
> #13 0x80fa166 in standalone_main ()
> #14 0x80fa8e3 in main ()
> #15 0x400e81eb in __libc_start_main (main=0x80fa5ac <main>, argc=4,
> argv=0xbffffcd4, init=0x805f440 <_init>, fini=0x8134e1c <_fini>,
> rtld_fini=0x4000a610 <_dl_fini>, stack_end=0xbffffccc)
> at ../sysdeps/generic/libc-start.c:90
> (gdb) up
> #1 0x808f3c6 in zend_llist_apply (l=0x8189d94,
> func=0x808416c <php_start_request_hook>) at ../../Zend/zend_llist.c:147
> 147 func(element->data);
> (gdb) info locals
> l = (zend_llist *) 0x2a2c312d
> func = (void (*)()) 0x808416c <php_start_request_hook>
> element = (zend_llist_element *) 0x81cae80
>
>
>
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net
> For additional commands, e-mail: php-dev-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>
Thies C. Arntzen "One Big-Mac, Small Fries and a Coke!"
Digital Collections Phone +49 40 235350 Fax +49 40 23535180
Hammerbrookstr. 93 20097 Hamburg / Germany