Re: [PHP-DEV] recover from a segfault

2006-02-24 Thread Michael Vergoz
--- Original Message - From: "Jared Williams" <[EMAIL PROTECTED]> To: "'Michael Vergoz'" <[EMAIL PROTECTED]>; "'Wez Furlong'" <[EMAIL PROTECTED]>; "'Ilia Alshanetsky'" <[EMAIL PROTECTED]> Cc: "'

RE: [PHP-DEV] recover from a segfault

2006-02-24 Thread Jared Williams
> The problem is that setrlimit() need privilege to expand the > process stack. > I don't think it's a good idea to use this system call to fix > the too-high-function-stack bug. > There is no really way to fix correctly this bug. > However I think we should re-examined the execution flow of >

Re: [PHP-DEV] recover from a segfault

2006-02-24 Thread Michael Vergoz
ow of PECL functions. It is not normal PECL can eat all the stack. -michael - Original Message - From: "Wez Furlong" <[EMAIL PROTECTED]> To: "Ilia Alshanetsky" <[EMAIL PROTECTED]> Cc: "Nuno Lopes" <[EMAIL PROTECTED]>; "PHPdev" Sent

Re: [PHP-DEV] recover from a segfault

2006-02-22 Thread Wez Furlong
If we do do this, please make it optional; it's bad form when a module or a library unilaterally changes a process-wide option or setting and impacts a system that has already been tuned; the sysadmin may already have set up appropriate limits. --Wez. On 2/21/06, Ilia Alshanetsky <[EMAIL PROTECTE

Re: [PHP-DEV] recover from a segfault

2006-02-22 Thread Nuno Lopes
Nuno Lopes wrote: In the last days I've exchanged some e-mails with PCRE's author because of one more bug that appeared in our database about segfaults in PCRE (related to stack overflows). PCRE can consume a lot of stack, because of backtracking (thus segfaulting PHP). Yesterday I've discovere

Re: [PHP-DEV] recover from a segfault

2006-02-21 Thread Markus Fischer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, [response is at the bottom] Ilia Alshanetsky wrote: > Nuno Lopes wrote: >> In the last days I've exchanged some e-mails with PCRE's author >> because of one more bug that appeared in our database about segfaults >> in PCRE (related to stack overf

Re: [PHP-DEV] recover from a segfault

2006-02-21 Thread Rasmus Lerdorf
Nuno Lopes wrote: Hi, In the last days I've exchanged some e-mails with PCRE's author because of one more bug that appeared in our database about segfaults in PCRE (related to stack overflows). PCRE can consume a lot of stack, because of backtracking (thus segfaulting PHP). Yesterday I've dis

Re: [PHP-DEV] recover from a segfault

2006-02-21 Thread Ilia Alshanetsky
Nuno Lopes wrote: In the last days I've exchanged some e-mails with PCRE's author because of one more bug that appeared in our database about segfaults in PCRE (related to stack overflows). PCRE can consume a lot of stack, because of backtracking (thus segfaulting PHP). Yesterday I've discovere

[PHP-DEV] recover from a segfault

2006-02-21 Thread Nuno Lopes
Hi, In the last days I've exchanged some e-mails with PCRE's author because of one more bug that appeared in our database about segfaults in PCRE (related to stack overflows). PCRE can consume a lot of stack, because of backtracking (thus segfaulting PHP). Yesterday I've discovered that when u