Hello Wez,
You hack makes it work again. It doesn't crash anymore.
Tnx,
Sander
On 2002.03.16 12:56 Wez Furlong wrote:
> Sander,
>
> in main/main.c on line 576 there is a ZEND_REGISTER_RESOURCE
> call. Can you comment out that line and try again?
> I'd expect a leak instead of a crash now.
>
Sander,
in main/main.c on line 576 there is a ZEND_REGISTER_RESOURCE
call. Can you comment out that line and try again?
I'd expect a leak instead of a crash now.
We need a cleaner solution for this anyway :-/
--Wez.
On 16/03/02, "Sander Roobol" <[EMAIL PROTECTED]> wrote:
> Hello,
>
> Unfortu
Hello,
Unfortunately, it still fails. Configures & compiles fine, but crashes
Apache. The backtrace is still the same.
Sander
On 2002.03.16 12:25 Wez Furlong wrote:
> Hi Sander,
>
> I've added some asserts and removed a bogus php_stream_flush
> call; update your streams.c let me know how you
Hi Sander,
I've added some asserts and removed a bogus php_stream_flush
call; update your streams.c let me know how you get on :-)
If this doesn't work, then it's probably to do with the
resource management in main/main.c fopen_wrapper_for_zend :-/
--Wez.
On 16/03/02, "Sander Roobol" <[EMAIL P
Apache crashes when running _any_ script (even phpinfo(); segfaults).
CLI works fine.
Backtrace:
#0 0x400e7476 in fflush () from /lib/libc.so.6
#1 0x402ff5b7 in php_stdiop_flush (stream=0x8169bc4)
at /home/sander/php/head/php4/main/streams.c:500
#2 0x402fee39 in php_stream_flush (stream=