PHP 4.0 Bug #5483 Updated: swf_openfile("php://stdout"...) causes segfaults
| From: | Bug Database | Date: | Tue, 03 Oct 2000 02:19:38 +0000 |
| Subject: | PHP 4.0 Bug #5483 Updated: swf_openfile("php://stdout"...) causes segfaults | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-33983@lists.php.net to get a copy of this message | ||
ID: 5483
Updated by: sniper
Reported By: armond@robotnet.eu.org
Status: Closed
Bug Type: Reproduceable crash
Assigned To:
Comments:
No feedback.
--Jani
Previous Comments:
---------------------------------------------------------------------------
[2000-08-23 09:18:40] sniper@php.net
Please try more recent version of php4
(from CVS or snaps.php.net) and report back
whether this problem still persists.
And please attach a minimal script to reproduce this.
--Jani
---------------------------------------------------------------------------
[2000-07-09 16:30:10] armond@robotnet.eu.org
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.
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=5483