Re: [PHP4BETA] Segmentation fault - new facts
| From: | Zeev Suraski | Date: | Sun, 05 Dec 1999 23:37:30 +0000 |
| Subject: | Re: [PHP4BETA] Segmentation fault - new facts | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-7482@lists.php.net to get a copy of this message | ||
Fixed in the latest Zend CVS.
Thanks for the report!
Zeev
At 19:24 05/12/1999 , Vadim Tkachenko wrote:
I have two very simple scripts: page1.php: <?php echo "start page1"; ?> <? include ("page2.inc"); ?> page2.php: <div>include file page2</div> after reload page1.php 5-10 times - segmentation fault: Starting program: /usr/apache-php4/bin/httpd -X Program received signal SIGSEGV, Segmentation fault. 0x400bbc61 in chunk_alloc (ar_ptr=0x4014c580, nb=64) at malloc.c:2672 malloc.c:2672: No such file or directory. (gdb) bt #0 0x400bbc61 in chunk_alloc (ar_ptr=0x4014c580, nb=64) at malloc.c:2672 #1 0x400bbb8a in __libc_malloc (bytes=60) at malloc.c:2616 #2 0x40177810 in _emalloc (size=12, __zend_filename=0x401fc838 "main.c", __zend_lineno=1056, __zend_orig_filename=0x0,-- Zeev Suraski <zeev@zend.com> http://www.zend.com/__zend_orig_lineno=0) at zend_alloc.c:125#3 0x4016be03 in zend_hash_environment () at main.c:1056 #4 0x4016c4a1 in php_execute_script (primary_file=0xbffffa84) at main.c:1224 #5 0x401b3134 in apache_php_module_main (r=0x80fed0c, fd=19, display_source_mode=0) at sapi_apache.c:88 #6 0x401b384a in send_php (r=0x80fed0c, display_source_mode=0, filename=0x80ff764 "/usr/apache-php4/htdocs/page1.php")at mod_php4.c:355#7 0x401b38a4 in send_parsed_php (r=0x80fed0c) at mod_php4.c:367 #8 0x806a7f7 in ap_invoke_handler () #9 0x807f0fc in process_request_internal () #10 0x807f172 in ap_process_request () #11 0x8076300 in child_main () #12 0x80764b5 in make_child () #13 0x8076634 in startup_children () #14 0x8076c9d in standalone_main () #15 0x80774bc in main () #16 0x4007bcb3 in __libc_start_main (main=0x8077140 <main>, argc=2, argv=0xbffffd24, init=0x804ec10 <_init>,fini=0x80accbc <_fini>, rtld_fini=0x4000a350 <_dl_fini>,stack_end=0xbffffd1c) at ../sysdeps/generic/libc-start.c:78 (CVS from 05-12-1999, 17:00 (GDM)) Vadim Tkachenko -- PHP 4.0 Beta Mailing List <http://www.php.net/version4/> To unsubscribe, e-mail: php4beta-unsubscribe@lists.php.net For additional commands, e-mail: php4beta-help@lists.php.net To contact the list administrators, e-mail: php4beta-admin@lists.php.net