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=0x8169bc4)
at /home/sander/php/head/php4/main/streams.c:186
#3 0x402feb76 in php_stream_free (stream=0x8169bc4, call_dtor=1)
at /home/sander/php/head/php4/main/streams.c:70
#4 0x402a44b2 in _file_stream_dtor (rsrc=0x8169c3c)
at /home/sander/php/head/php4/ext/standard/file.c:116
#5 0x4031f56d in list_entry_destructor (ptr=0x8169c3c)
at /home/sander/php/head/php4/Zend/zend_list.c:177
#6 0x4031f742 in zend_destroy_rsrc_list (ht=0x4043f3dc)
at /home/sander/php/head/php4/Zend/zend_list.c:248
#7 0x40311417 in shutdown_executor ()
at /home/sander/php/head/php4/Zend/zend_execute_API.c:196
#8 0x40319c46 in zend_deactivate () at
/home/sander/php/head/php4/Zend/zend.c:596
#9 0x402f7d2b in php_request_shutdown (dummy=0x0)
at /home/sander/php/head/php4/main/main.c:795
#10 0x403321b3 in apache_php_module_main (r=0x81647cc,
display_source_mode=0)
at /home/sander/php/head/php4/sapi/apache/sapi_apache.c:96
#11 0x40332c5e in send_php (r=0x81647cc, display_source_mode=0,
filename=0x0)
at /home/sander/php/head/php4/sapi/apache/mod_php4.c:575
#12 0x40332cc2 in send_parsed_php (r=0x81647cc)
at /home/sander/php/head/php4/sapi/apache/mod_php4.c:590
#13 0x08075999 in ap_invoke_handler ()
#14 0x0808a7cf in process_request_internal ()
#15 0x0808a836 in ap_process_request ()
#16 0x080816f6 in child_main ()
#17 0x080818b1 in make_child ()
#18 0x08081a2c in startup_children ()
#19 0x080820bd in standalone_main ()
#20 0x0808291c in main ()
#21 0x4009f65f in __libc_start_main () from /lib/libc.so.6
Sander
On 2002.03.16 12:13 [EMAIL PROTECTED] wrote:
> following little script crashes now:
>
> <?
> $myftp = ftp_connect("ftp.mutt.org");
> ?>
>
> 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 <http://www.php.net/>
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php