Re: Segfault in HEAD
| From: | Timm Friebe | Date: | Sat, 28 Feb 2004 17:52:37 +0000 |
| Subject: | Re: Segfault in HEAD | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-8251@lists.php.net to get a copy of this message | ||
On Thu, 2004-02-26 at 23:41, Stefan Walk wrote:
> Hi, after a cvs update i get a segfault with this script:
[...]
This sourcecode (which is the same except that there is no code in the
destructor) prints out:
Fatal error: Exception thrown without a stack frame in Unknown on line 0
-- snip --
<?php
class test {
function __destruct() {
}
public function start() {
throw new Exception();
}
}
$test = new test();
$test->start();
?>
-- snip --
>From zend_exceptions.c:
if (!EG(current_execute_data)) {
zend_error(E_ERROR, "Exception thrown without a stack frame");
}
This might help tracking down the problem.
/ Timm