[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PHP-DEV] Re: Segfault with PHP and bison 1.875(a)

From: Paul Eggert
Subject: Re: [PHP-DEV] Re: Segfault with PHP and bison 1.875(a)
Date: 06 Oct 2003 13:57:09 -0700
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3

Zeev Suraski <address@hidden> writes:

> Do you experience this bug with PHP 4.3.2?

Here's how I tried to reproduce the problem.  I am running Debian
GNU/Linux 3.0r1 (stable) with Bison 1.875.

  wget http://downloads.php.net/ilia/php-4.3.4RC1.tar.bz2
  tar xjf php-4.3.4RC1.tar.bz2
  cd php-4.3.4RC1
  ./configure --prefix=/tmp/prefix
  touch Zend/zend_ini_parser.y Zend/zend_language_parser.y
  echo foo | ./sapi/cli/php

The last command outputs "Parse error: syntax error, unexpected
T_NUM_STRING in - on line 2".  I don't use PHP, so I don't know
whether this is the correct answer for PHP (I don't use PHP), but it's
not a core dump so I am not reproducing the exact problem.

The "touch" command causes the 2nd make to rebuild the two parsers
using Bison 1.875.

Perhaps someone who is experiencing the problem can try the above
recipe, and we can compare notes.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]