Re: Segfault with PHP and bison 1.875(a)

From: Date: Mon, 06 Oct 2003 05:24:41 +0000
Subject: Re: Segfault with PHP and bison 1.875(a)
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to internals+get-4686@lists.php.net to get a copy of this message
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.

« previous php.internals (#4686) next »