[xdebug-dev] Bug 0000176: segfault using SplTempFileObject

From: <xdebug-dev[@]lists.xdebug.org>
Date: Mon, 1 May 2006 06:44:13 +0200

The following NEW bug has been ADDED.
======================================================================
http://bugs.xdebug.org/bug_view_page.php?bug_id=0000176
======================================================================
Reporter: judas_iscariote
Handler:
======================================================================
Project: Xdebug
Bug ID: 176
Category: Usage problems
Reproducibility: always
Severity: crash
Priority: normal
Status: new
Operating System: linux 64 bit
PHP Version: 5.1-dev
Xdebug Version: 2.0.0rc1-dev
======================================================================
Date Submitted: 2006-05-01 06:44 CEST
Last Modified: 2006-05-01 06:44 CEST
======================================================================
Summary: segfault using SplTempFileObject
Description:
xdebug segfaults using SplTempFileObject

<?php
$crap = new SplTempFileObject('foo');
$crap->fwrite('give me a crash');
?>

expected result:

PHP Fatal error: Uncaught exception 'RuntimeException' with message
'SplTempFileObject::__construct() expects parameter 1 to be long, string
given' in /srv/www/htdocs/temp.php:3
Stack trace:
http://bugs.xdebug.org/bug_view_page.php?bug_id=0000000 /srv/www/htdocs/temp.php(3): SplTempFileObject->__construct('foo')
http://bugs.xdebug.org/bug_view_page.php?bug_id=0000001 {main}

actual result :

Segmentation fault (core dumped)

======================================================================

Bug History
Date Modified Username Field Change
======================================================================
2006-05-01 06:44judas_iscarioteNew Bug
2006-05-01 06:44judas_iscarioteBug Monitored: judas_iscariote
======================================================================
Received on Mon May 01 2006 - 06:44:15 BST

This archive was generated by hypermail 2.2.0 : Sun Jun 24 2018 - 04:00:03 BST