Re: RE: Segfault in HEAD
| From: | Timm Friebe | Date: | Tue, 02 Mar 2004 22:40:38 +0000 |
| Subject: | Re: RE: Segfault in HEAD | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-8327@lists.php.net to get a copy of this message | ||
On Mon, 2004-03-01 at 16:53, kase@gmx.net wrote:
> >This should be fixed now. Thanks for the short reproducing script.
> >
> >Andi
>
> I don't think, that it is fixed in latest cvs.
> Simply changing the script to this, the problem/bug still exists:
[...]
$ cat destruct_segfault.php
<?php
class test {
function __destruct() {
$this->foo = false;
}
public function start() {
throw new Exception();
}
}
function bar() {
$test = new test();
$test->start();
}
bar();
?>
$ php5 destruct_segfault.php
Fatal error: Uncaught exception 'exception' in
/usr/home/thekid/devel/php/tests/destruct_segfault.php:7
Stack trace:
#0 /usr/home/thekid/devel/php/tests/destruct_segfault.php(13):
test->start()
#1 /usr/home/thekid/devel/php/tests/destruct_segfault.php(16): bar()
#2 {main}
thrown in /usr/home/thekid/devel/php/tests/destruct_segfault.php on
line 7
Looks fine to me.
- Timm