Re: Re: Segfault with PHP and bison 1.875(a)
| From: | Wez Furlong | Date: | Mon, 06 Oct 2003 09:43:56 +0000 |
| Subject: | Re: Re: Segfault with PHP and bison 1.875(a) | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-4687@lists.php.net to get a copy of this message | ||
Just don't use bison 1.875....
--Wez.
----- Original Message -----
From: "Paul Eggert" <eggert@CS.UCLA.EDU>
To: <azarah@gentoo.org>
Cc: <internals@lists.php.net>; <bug-bison@gnu.org>
Sent: Monday, October 06, 2003 6:24 AM
Subject: [PHP-DEV] Re: Segfault with PHP and bison 1.875(a)
> Martin Schlemmer <azarah@gentoo.org> writes:
>
> > > #0 0x0823c5e8 in zend_stream_read (file_handle=0x0, buf=0x83c4e10 "",
> > > len=8192) at /usr/src/php/php5/Zend/zend_stream.c:95
> > > #1 0x0820ebbf in yy_get_next_buffer () at
Zend/zend_ini_scanner.c:1242
> > > ...
> >
> > I am still trying to track this one, but it basically works this
> > side and not yours, as I have disabled NLS (or multibyte) and
> > you have it enabled.
>
> The backtrace indicates that the non-working version has multibyte
> disabled. I.e., it looks like YY_INPUT invoked zend_stream_read,
> which means that ZEND_MULTIBYTE was not defined. This is the default,
> and it is how I configured php5. I didn't observe the bug.
>
> I also tried configuring php5 with "configure --enable-zend-multibyte",
> but couldn't reproduce the bug that way either.