PHP 4.0 Bug #5483: swf_openfile("php://stdout"...) causes segfaults
| From: | armond at robotnet dot eu dot org | Date: | Sun, 09 Jul 2000 20:30:10 +0000 |
| Subject: | PHP 4.0 Bug #5483: swf_openfile("php://stdout"...) causes segfaults | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-23882@lists.php.net to get a copy of this message | ||
From: armond@robotnet.eu.org
Operating system: Linux 2.2.13
PHP version: 4.0 Beta 4 Patch Level 1
PHP Bug Type: Reproduceable crash
Bug description: swf_openfile("php://stdout"...) causes segfaults
here's a backtrace:
#0 0x81aa2cc in swf_openfile ()
#1 0x810e118 in php_if_swf_openfile (ht=7, return_value=0x832b80c,
this_ptr=0x0, return_value_used=0) at swf.c:178
#2 0x8154a1d in execute (op_array=0x82d8664) at ./zend_execute.c:1558
#3 0x80b1dfa in php_execute_script (primary_file=0xbffff9a8) at main.c:1157
#4 0x81325e9 in apache_php_module_main (r=0x830f41c, fd=26,
display_source_mode=0) at sapi_apache.c:93
#5 0x80af716 in send_php ()
#6 0x80af760 in send_parsed_php ()
#7 0x815f8a3 in ap_invoke_handler ()
#8 0x81761c9 in process_request_internal ()
#9 0x817622c in ap_process_request ()
#10 0x816c559 in child_main ()
#11 0x816c728 in make_child ()
#12 0x816c8b3 in startup_children ()
#13 0x816cf44 in standalone_main ()
#14 0x816d8c3 in main ()
----
I can open a file no problem. Apache only segfaults when i try to use php://stdout. I
couldn't find any documentation about php://stdout except for on the swf_openfile() page, so
i'm at a loss here.