php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #5483 swf_openfile("php://stdout"...) causes segfaults
Submitted: 2000-07-09 16:30 UTC Modified: 2000-10-02 22:19 UTC
From: armond at robotnet dot eu dot org Assigned:
Status: Closed Package: Reproducible Crash
PHP Version: 4.0 Beta 4 Patch Level 1 OS: Linux 2.2.13
Private report: No CVE-ID: None
 [2000-07-09 16:30 UTC] armond at robotnet dot eu dot 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.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-08-23 09:18 UTC] 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-10-02 22:19 UTC] sniper@php.net
No feedback.

--Jani
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Sat Oct 10 23:00:01 2026 UTC