Re: [PHP-DEV] streams crash

2002-03-16 Thread Sander Roobol
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. >

Re: [PHP-DEV] streams crash

2002-03-16 Thread Wez Furlong
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

Re: [PHP-DEV] streams crash

2002-03-16 Thread Sander Roobol
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

Re: [PHP-DEV] streams crash

2002-03-16 Thread Wez Furlong
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

Re: [PHP-DEV] streams crash

2002-03-16 Thread Sander Roobol
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=

[PHP-DEV] streams crash

2002-03-16 Thread sesser
following little script crashes now: it crashes in fflush() of libc and backtrace shows that its called by php_stdiop_flush, which is called from php_stream_flush, php_stream_free, Stefan -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/un