#47488 [NEW]: Segmentation Fault
| From: | sub at xu9 dot de | Date: | Tue, 24 Feb 2009 09:55:15 +0000 |
| Subject: | #47488 [NEW]: Segmentation Fault | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-134149@lists.php.net to get a copy of this message | ||
From: sub at xu9 dot de
Operating system: Linux
PHP version: 5.2.8
PHP Bug Type: Reproducible crash
Bug description: Segmentation Fault
Description:
------------
While using the pear Class Spreedsheet_Excel_Writer i noticed a
reproduciable segmentation fault.
due to the fact pear is (to my knowledge) entirely php-code, this seems to
be a bug in php itself.
I tested numberous versions of php, everywhere its the same!
It happend when trying to fill a cell with the string '@-'
Reproduce code:
---------------
<?php
require_once 'Spreadsheet/Excel/Writer.php';
// Creating a workbook
$workbook = new Spreadsheet_Excel_Writer();
// sending HTTP headers
$workbook->send('test.xls');
// Creating a worksheet
$worksheet =& $workbook->addWorksheet('Crash Demo');
// The actual data
$worksheet->write(0, 0, '@-');
// Let's send the file
$workbook->close();
?>
Expected result:
----------------
Sending an XLS
Actual result:
--------------
Segmentation fault.
--
Edit bug report at http://bugs.php.net/?id=47488&edit=1
--
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=47488&r=trysnapshot52
Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=47488&r=trysnapshot53
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=47488&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=47488&r=fixedcvs
Fixed in CVS and need be documented: http://bugs.php.net/fix.php?id=47488&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=47488&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=47488&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=47488&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=47488&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=47488&r=support
Expected behavior: http://bugs.php.net/fix.php?id=47488&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=47488&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=47488&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=47488&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=47488&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=47488&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=47488&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=47488&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=47488&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=47488&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=47488&r=mysqlcfg