ID:          36542
 Updated by:  [EMAIL PROTECTED]
 Reported By: ogs22 at cam dot ac dot uk
-Status:      Open
+Status:      Feedback
 Bug Type:    Reproducible crash
 PHP Version: 5.1.2
 New Comment:

Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php for *NIX and
http://bugs.php.net/bugs-generating-backtrace-win32.php for Win32

Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.




Previous Comments:
------------------------------------------------------------------------

[2006-02-27 14:03:22] ogs22 at cam dot ac dot uk

Description:
------------
Tested on php5.1.2 on FreeBSD and MacOSX 10.4.5 both running 
apache 1.3.3

using getimagesize on certain swf files causes crash

test file is http://maths.org/~ogs22/ConstantDrop.swf
it is a version 8 flash file - other version 8 files seem OK.



Reproduce code:
---------------
<?php

$file="/Users/ogs/ConstantDrop.swf";

$x=getimagesize($file);

print_r($x);
?>

Expected result:
----------------
Array ( [0] => 720 [1] => 576 [2] => 13 [3] => width="720" 
height="576" [mime] => application/x-shockwave-flash )

Actual result:
--------------
causes
[Mon Feb 27 12:21:14 2006] [notice] child pid 19520 exit 
signal Bus error (10)

to appear in apache error log
and nothing to appear in browser


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=36542&edit=1

Reply via email to