Bug #2420 Updated: Segmentation fault in read_next_token at token_cache.c:177

From: Date: Sun, 16 Jun 2002 12:58:45 +0000
Subject: Bug #2420 Updated: Segmentation fault in read_next_token at token_cache.c:177
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-10694@lists.php.net to get a copy of this message
ID: 2420 Updated by: sander@php.net Reported By: Stephane.Legrand@bigfoot.com -Status: Open +Status: Bogus Bug Type: Reproducible Crash Operating System: FreeBSD 3.3 PHP Version: 3.0.12 New Comment: Thank you for taking the time to report a problem with PHP. Unfortunately, PHP 3 is no longer supported. Please download the latest version of PHP 4 from http://www.php.net/downloads.php If you are able to reproduce the bug with one of the latest versions of PHP, please change the PHP version on this bug report to the version you tested and change the status back to "Open". Again, thank you for your continued support of PHP. Previous Comments: ------------------------------------------------------------------------ [1999-10-02 17:00:25] Stephane.Legrand@bigfoot.com It seems that it's exactly the same bug as #900. The script stops with this backtrace : This GDB was configured as "i386-unknown-freebsd"... (gdb) run -X Starting program: /usr/local/sbin/apache -X Program received signal SIGSEGV, Segmentation fault. 0x806d0d5 in read_next_token (tcm=0x818cf3c, token=0xbfbfc8d4, phplval=0xbfbfc9f0) at token_cache.c:177 177 return (*token)->token_type; (gdb) bt #0 0x806d0d5 in read_next_token (tcm=0x818cf3c, token=0xbfbfc8d4, phplval=0xbfbfc9f0) at token_cache.c:177 #1 0x8066643 in phplex (phplval=0xbfbfc9f0) at main.c:496 #2 0x80ab2e0 in phpparse () at /usr/lib/bison.simple:431 #3 0x8067d24 in php3_parse (yyin=0x1830e398) at main.c:1548 #4 0x8067fe0 in apache_php3_module_main (r=0x81df034, fd=18, display_source_mode=0, preprocessed=0) at main.c:1934 #5 0x80658b5 in send_php3 () #6 0x80658fd in send_parsed_php3 () #7 0x80b8ecb in ap_invoke_handler () #8 0x80c604d in process_request_internal () #9 0x80c609b in ap_process_request () #10 0x80c03b8 in child_main () #11 0x80c04e7 in make_child () #12 0x80c05dc in startup_children () #13 0x80c0a74 in standalone_main () #14 0x80c113f in main () #15 0x8065479 in _start () I've a script to reproduce this problem. It's too long to be included here but i can send it to anyone interested. PHP : 3.0.12 Apache : 1.3.9 MySQL : 3.22.25 (the MySQL server is on a Linux box). ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=2420&edit=1

« previous php.bugs (#10694) next »