PHP 4.0 Bug #2927: Segfault on source display

From: Date: Tue, 07 Dec 1999 11:43:42 +0000
Subject: PHP 4.0 Bug #2927: Segfault on source display
Groups: php.dev 
Request: Send a blank email to php-dev+get-13489@lists.php.net to get a copy of this message
From: stas@zend.com Operating system: Linux PHP version: 4.0 Latest CVS (07/12/1999) PHP Bug Type: Reproduceable crash Bug description: Segfault on source display PHP segfaults on source display. Debug trace: #0 0x401273f2 in chunk_alloc (ar_ptr=0x401b7580, nb=48) at malloc.c:2784 #1 0x40126b8a in __libc_malloc (bytes=40) at malloc.c:2616 #2 0x8084960 in yy_flex_alloc (size=40) at zend-scanner.c:5734 #3 0x808449d in zend_create_buffer (file=0x81aae18, size=16384) at zend-scanner.c:5409 #4 0x807fe37 in open_file_for_scanning (file_handle=0xbffffb8c) at /home/zeev/php4/apache/../libzend/zend-scanner.l:269 #5 0x8084aa8 in apache_php_module_main (r=0x81a73f4, fd=19, display_source_mode=1) at ../../../sapi/apache/sapi_apache.c:79 #6 0x80630a3 in send_php () #7 0x8063104 in send_parsed_php_source () #8 0x80e25f3 in ap_invoke_handler () #9 0x80f58e9 in process_request_internal () #10 0x80f594c in ap_process_request () #11 0x80ed30e in child_main () #12 0x80ed49c in make_child () #13 0x80ed5f9 in startup_children () #14 0x80edc26 in standalone_main () #15 0x80ee3a3 in main () #16 0x400e6cb3 in __libc_start_main (main=0x80ee06c <main>, argc=2, argv=0xbffffd44, init=0x804b35c <_init>, fini=0x81288dc <_fini>, rtld_fini=0x4000a350 <_dl_fini>, stack_end=0xbffffd3c) at ../sysdeps/generic/libc-start.c:78 It happens not every time and not on every file. On most files that it happens, it happens on the first try, but in some - on second or third.

« previous php.dev (#13489) next »