Re: [PHP-DEV] Segfault in HEAD with PHPUnit2

2005-04-25 Thread Sebastian Bergmann
Edin Kadribasic wrote: > You can configure PHP with --enable-debug-pack which will compile > release version of the binaries with external debug symbols. Thank you for this information. The issue I was experiencing has been fixed by Marcus in CVS already. -- Sebastian Bergmann

Re: [PHP-DEV] Segfault in HEAD with PHPUnit2

2005-04-25 Thread Edin Kadribasic
Hi Sebastian, You can configure PHP with --enable-debug-pack which will compile release version of the binaries with external debug symbols. Edin - Original Message - From: "Sebastian Bergmann" <[EMAIL PROTECTED]> To: Sent: Saturday, April 23, 2005 10:36 AM Subject: [PHP-DEV] Segfault

Re: [PHP-DEV] Segfault in HEAD

2004-04-01 Thread Andi Gutmans
At 12:41 PM 4/1/2004 +0400, Antony Dovgal wrote: On Thu, 01 Apr 2004 10:36:43 +0200 Andi Gutmans <[EMAIL PROTECTED]> wrote: > Sterling, > > It's a stack overflow caused by an infinite loop in function calls (i.e. > not while/for loop). So, it's ok and won't be fixed ? This has been discussed many t

Re: [PHP-DEV] Segfault in HEAD

2004-04-01 Thread Derick Rethans
On Thu, 1 Apr 2004, Antony Dovgal wrote: > On Thu, 01 Apr 2004 10:36:43 +0200 > Andi Gutmans <[EMAIL PROTECTED]> wrote: > > > Sterling, > > > > It's a stack overflow caused by an infinite loop in function calls (i.e. > > not while/for loop). > > So, it's ok and won't be fixed ? Exactly (though ad

Re: [PHP-DEV] Segfault in HEAD

2004-04-01 Thread Antony Dovgal
On Thu, 01 Apr 2004 10:36:43 +0200 Andi Gutmans <[EMAIL PROTECTED]> wrote: > Sterling, > > It's a stack overflow caused by an infinite loop in function calls (i.e. > not while/for loop). So, it's ok and won't be fixed ? --- WBR, Antony Dovgal aka tony2001 [EMAIL PROTECTED] || [EMAIL PROTECTED]

Re: [PHP-DEV] Segfault in HEAD

2004-04-01 Thread Andi Gutmans
Sterling, It's a stack overflow caused by an infinite loop in function calls (i.e. not while/for loop). Andi At 10:17 AM 3/31/2004 -0800, Sterling Hughes wrote: php5 shouldn't crash _at all_ within an infinite loop because we aren't in one big execution loop. -sterling On Mar 30, 2004, at 11

Re: [PHP-DEV] Segfault in HEAD

2004-03-31 Thread George Schlossnagle
On Mar 31, 2004, at 1:17 PM, Sterling Hughes wrote: php5 shouldn't crash _at all_ within an infinite loop because we aren't in one big execution loop. Why shouldn't this crash eventually? You still have to account for all the callers stacks. George -- PHP Internals - PHP Runtime Development M

Re: [PHP-DEV] Segfault in HEAD

2004-03-31 Thread Sterling Hughes
php5 shouldn't crash _at all_ within an infinite loop because we aren't in one big execution loop. -sterling On Mar 30, 2004, at 11:27 PM, Derick Rethans wrote: On Wed, 31 Mar 2004, Antony Dovgal wrote: Hi all! This small script: class test { var $a = false; var $x = false;

Re: [PHP-DEV] Segfault in HEAD

2004-03-30 Thread Derick Rethans
On Wed, 31 Mar 2004, Antony Dovgal wrote: > > PHP always crashes on infinite loops as you might be aware off. You'll > > have to live with it. > > And there is no workarounds at all? > (BTW, same results with PHP_4_3..) Just don't make infinite loops? :) Derick -- PHP Internals - PHP Runtime D

Re: [PHP-DEV] Segfault in HEAD

2004-03-30 Thread Antony Dovgal
On Wed, 31 Mar 2004 09:27:42 +0200 (CEST) Derick Rethans <[EMAIL PROTECTED]> wrote: > On Wed, 31 Mar 2004, Antony Dovgal wrote: > > > Hi all! > > > > This small script: > > > > > class test { > > var $a = false; > > var $x = false; > > > > function getA() { > > if (!$this

Re: [PHP-DEV] Segfault in HEAD

2004-03-30 Thread Derick Rethans
On Wed, 31 Mar 2004, Antony Dovgal wrote: > Hi all! > > This small script: > > class test { > var $a = false; > var $x = false; > > function getA() { > if (!$this->x) { // yep, I know, it's infinite loop PHP always crashes on infinite loops as you might be aware o

Re: [PHP-DEV] Segfault in HEAD

2004-03-01 Thread Andi Gutmans
This should be fixed now. Thanks for the short reproducing script. Andi At 11:41 PM 2/26/2004 +0100, Stefan Walk wrote: Hi, after a cvs update i get a segfault with this script: foo = false; } public function start() { throw new Exception(); } } $test = new test(); $test->start(); ?

Re: [PHP-DEV] Segfault in HEAD

2004-02-28 Thread Timm Friebe
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 -- sta

Re: [PHP-DEV] Segfault in HEAD

2004-02-10 Thread Andi Gutmans
Fixed. At 05:42 PM 12/6/2003 +0100, Andrey Hristov wrote: Hi, the following script segfaults when HEAD is used (no problem with PHP_4_3). Here is a session that shows the script and the error spotted by valgrind. [session] bash-2.05b$ cat soffset.php bash-2.05b$ valgrind ./php soffset.php ==4985

Re: [PHP-DEV] Segfault in HEAD

2003-12-07 Thread Jani Taskinen
Please add this as one regression test..there are never too many of these. (If it doesn't already exist) --Jani On Sat, 6 Dec 2003, Andrey Hristov wrote: >Hi, >the following script segfaults when HEAD is used (no problem with PHP_4_3). >$s = "FUBAR"; >$s[0][] = 1; >?> > >Here is

Re: [PHP-DEV] Segfault in HEAD & PHP_4_3 (and possible patch)

2003-09-29 Thread Antony Dovgal
On Wed, 24 Sep 2003 20:18:28 +0100 (BST) Wez Furlong <[EMAIL PROTECTED]> wrote: > The memory manager will deliberately segfault if an allocation fails in a debug > build. > > Having said that, your patch seems ok anyway. hmmm.. patch is ok, but still not commited =\ --- WBR, Antony Dovgal aka t

Re: [PHP-DEV] Segfault in HEAD & PHP_4_3 (and possible patch)

2003-09-24 Thread Wez Furlong
The memory manager will deliberately segfault if an allocation fails in a debug build. Having said that, your patch seems ok anyway. --Wez. On Wed, 24 Sep 2003, Antony Dovgal wrote: > Hi, all! > > This script (you need to compile PHP with --enable-memory-limit first): > ini_set("memory_limit",