bug-bison
[Top][All Lists]
Advanced

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

Re: Segfault with PHP and bison 1.875(a)


From: Paul Eggert
Subject: Re: Segfault with PHP and bison 1.875(a)
Date: 05 Oct 2003 22:24:41 -0700
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3

Martin Schlemmer <address@hidden> 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.




reply via email to

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