#23730 [NEW]: Using Spreadsheet_Excel_Writer can cause PHP segfault

From: Date: Wed, 21 May 2003 06:53:45 +0000
Subject: #23730 [NEW]: Using Spreadsheet_Excel_Writer can cause PHP segfault
Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-16554@lists.php.net to get a copy of this message
From: robin dot ericsson at profecta dot se Operating system: Linux 2.4 PHP version: 4.3.2RC3 PHP Bug Type: PEAR related Bug description: Using Spreadsheet_Excel_Writer can cause PHP segfault These lines of code produces a segfault in PHP, test with 4.2.3 and 4.3.2RC3 cli. The problem might be that it goes into an infinite function loop as I get 3629 frames in by backtrace. <?php include 'Spreadsheet/Excel/Writer.php'; $wb = new Spreadsheet_Excel_Writer('test.xls'); $ws =& $wb->addWorksheet('1'); $ws->writeFormula(0, 0, "=SUM('Music Denmark'!C2:C31)"); $wb->close(); ?> -- Edit bug report at http://bugs.php.net/?id=23730&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=23730&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=23730&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=23730&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=23730&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=23730&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=23730&r=support Expected behavior: http://bugs.php.net/fix.php?id=23730&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=23730&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=23730&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=23730&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=23730&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=23730&r=dst IIS Stability: http://bugs.php.net/fix.php?id=23730&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=23730&r=gnused

« previous php.pear.dev (#16554) next »