Re: [PHP-DEV] [PATCH] zend_operators DVAL_TO_LVAL fix

2004-09-10 Thread Andi Gutmans
Commited. At 09:32 AM 9/10/2004 +0100, Joe Orton wrote: On Tue, Aug 31, 2004 at 09:48:47PM -0700, Andi Gutmans wrote: > It does look as if you're right. I don't quite understand why the standard > was written in such a way and not in a way which only makes the value > itself undefined. > I think we

Re: [PHP-DEV] [patch] Zend/zend_objects_API.c - bug #29980 (segfault while executing __destruct())

2004-09-10 Thread Andi Gutmans
At 10:03 AM 9/10/2004 +0200, Andrey Hristov wrote: Well, if the engine is unstable state why the registered shutdown function is being executed then ? :) Right. I think it might be a problem to do so during an E_ERROR, most definitely in an E_CORE_ERROR. Andrey Andi Gutmans wrote: I think this

[PHP-DEV] Bug #29080 [Opn->Bgs]: Segmentation Fault when using Interface

2004-09-10 Thread PHP Bug Database
Hello Nuno, Please explain what you mean here. I'm running 5.0.1 on RH/Linux and getting segfaults when I attempt to use an interface. Thanks. -- Best Regards, Jason -- ATTENTION! Do NOT reply to this email! To reply, u

Re: [PHP-DEV] PHP 4.3.9RC3

2004-09-10 Thread Andi Gutmans
You can also try and use valgrind on it. Good chances are that it's not the memory manager which is causing this problem. At 11:12 AM 9/10/2004 +0200, Derick Rethans wrote: On Fri, 10 Sep 2004, Jacques Marneweck wrote: > Using PHP 4.3.9RC3 I keep getting core dumps every time I run php on a > dev

Re: [PHP-DEV] [patch] Zend/zend_objects_API.c - bug #29980 (segfault while executing __destruct())

2004-09-10 Thread Andrey Hristov
Curt Zirzow wrote: * Thus wrote Antony Dovgal: And the last one, the most questionable patch. ATM ZE2 calls destructor at the end of the request and no matter is there were a fatal error (which should probably stop executing the script). In some cases it leads to nasty segfaults (me and report's a

Re: [PHP-DEV] unserialize() and pear

2004-09-10 Thread Greg Beaver
Nuno: It would also be helpful to know what version of PEAR you are using, and in particular, the setting of magic_quotes_runtime. Earlier PEAR versions choked on the unserialize statements in PEAR_Registry if this setting was on. Greg Marcus Boerger wrote: Hello Nuno, can you sent me he cod

Re: [PHP-DEV] RE: SOAP's ctor's and __call

2004-09-10 Thread Marcus Boerger
Hello Dmitry, Friday, September 10, 2004, 11:07:12 AM, you wrote: > Hi Marcus, > I looked into you ctor's patch and found that it breaks some tests (For > example: ext/soap/tests/transport001.phpt) > I didn't understand what is wrong. :( > I will not apply it now. Well then let's hope MySQLi an

Re: [PHP-DEV] SOAP's __call

2004-09-10 Thread Marcus Boerger
Hello Dmitry, Thursday, September 9, 2004, 7:39:03 PM, you wrote: > Hi Marcus, > May be it make sence, but I am not sure with you. > At first, if you think __call()/__get()/__set() mast conform to uniform > prototypes and extension will define methods with another prototypes then > PHP should n

Re: [PHP-DEV] __set __get __call in internal class

2004-09-10 Thread Marcus Boerger
Hello Frédéric, Friday, September 10, 2004, 1:28:31 PM, you wrote: > hi Marcus, > Sorry for the post ! > well, with zend_try, i want to catch an exception (throwed in user space or > internal). > if I can't use it , how I can recover exception ? that has nothing in common. the macros are try/ca

Re: [PHP-DEV] unserialize() and pear

2004-09-10 Thread Marcus Boerger
Hello Nuno, can you sent me he code it is trying to deserialize? marcus Friday, September 10, 2004, 8:42:42 PM, you wrote: > Hello, > I think that the last unserialize() changes (2004-09-05) have broken it, > because now I can't even do a simple 'pear list'. > I can reproduce this problem i

Re: [PHP-DEV] Re: Really odd PHP problem... different platform

2004-09-10 Thread Dietrich Ayala
Looks like Dr Watson won't help our specific problem: "Dr. Watson cannot create a snapshot if the program does not respond (hangs)." From "How to Troubleshoot Program Faults with Dr. Watson": http://support.microsoft.com/default.aspx?scid=kb;en-us;q275481 However, we do experience php.exe crashes

[PHP-DEV] unserialize() and pear

2004-09-10 Thread Nuno Lopes
Hello, I think that the last unserialize() changes (2004-09-05) have broken it, because now I can't even do a simple 'pear list'. I can reproduce this problem in both my two pcs. Can someone check this problem, please? Thanks, Nuno -- PHP Internals - PHP Runtime Development Mailing List To unsu

Re: [PHP-DEV] Re: Really odd PHP problem... different platform

2004-09-10 Thread Daniel Convissor
On Fri, Sep 10, 2004 at 09:28:04AM +0200, Derick Rethans wrote: > > Can you perhaps wrap up instructions al la "how to generate a backtrace" > for unix with those tools? That would be much appreciated. Uh, while I'd be glad to, I don't know how to. Last night I bumpped into Sysinternal's DebugVi

Re: [PHP-DEV] [patch] Zend/zend_objects_API.c - bug #29980 (segfault while executing __destruct())

2004-09-10 Thread Antony Dovgal
On Fri, 10 Sep 2004 16:23:41 + Curt Zirzow <[EMAIL PROTECTED]> wrote: > Might want to add me to that list :) A use I can see is if the > object manages a buffer of some sort and the destructor ensures > that it is flushed, a bypass of the destructor would cause the > buffer to get lost. Yup.

Re: [PHP-DEV] [patch] Zend/zend_objects_API.c - bug #29980 (segfault while executing __destruct())

2004-09-10 Thread Curt Zirzow
* Thus wrote Antony Dovgal: > And the last one, the most questionable patch. > > ATM ZE2 calls destructor at the end of the request and no matter > is there were a fatal error (which should probably stop executing > the script). In some cases it leads to nasty segfaults (me and > report's author

[PHP-DEV] who calls ts_free_thread?

2004-09-10 Thread Kamesh Jayachandran
Hi All, I am going through the TSRM code. I could see ts_free_thread method to release the resources for the thread. grep did not give me any information about the caller. I could see a constant amount of leak per thread. Whether this leak has got anything to do with not calling ts_free_thread. I

[PHP-DEV] Bug #25570 Some requests cause Apache to crash/restart

2004-09-10 Thread Lester Caine
It would seem that this bug has appeared again, in 5.0.1 on Apache 2.0.50 I've had a report about it on the firebird-php list, and on checking it would seem that it can be reproduced. Could someone have a look and see if we are right please. -- Lester Caine - L.S.Caine

Re: [PHP-DEV] __set __get __call in internal class

2004-09-10 Thread Frédéric LECOINTRE
hi Marcus, Sorry for the post ! well, with zend_try, i want to catch an exception (throwed in user space or internal). if I can't use it , how I can recover exception ? thanks fred - Original Message - From: "Marcus Boerger" <[EMAIL PROTECTED]> To: "Frédéric LECOINTRE" <[EMAIL PROTEC

[PHP-DEV] Locale Based Array sorting

2004-09-10 Thread Derick Rethans
Hello, the attached patch adds a flag (SORT_LOCALE_STRING) to our sort functions that allows the sorting to be done based on the locale settings. This is important for languages like Norwegian which adds æ, ø and å to the end of the alphabet, while their iso-8859-1 (the "C" locale) order is å æ ø.

Re: [PHP-DEV] PHP 4.3.9RC3

2004-09-10 Thread Derick Rethans
On Fri, 10 Sep 2004, Jacques Marneweck wrote: > Using PHP 4.3.9RC3 I keep getting core dumps every time I run php on a > development box, which I'm finding strange. > > #0 0x0817ac8e in shutdown_memory_manager (silent=1, clean_cache=0) > at /usr/local/src/php4-STABLE-200409100630/Zend/zend_al

Re: [PHP-DEV] [PATCH] zend_operators DVAL_TO_LVAL fix

2004-09-10 Thread Joe Orton
On Tue, Aug 31, 2004 at 09:48:47PM -0700, Andi Gutmans wrote: > It does look as if you're right. I don't quite understand why the standard > was written in such a way and not in a way which only makes the value > itself undefined. > I think we can apply the patch. Does anyone have a problem with

RE: [PHP-DEV] RE: SOAP's ctor's and __call

2004-09-10 Thread Dmitry Stogov
Hi Marcus, I looked into you ctor's patch and found that it breaks some tests (For example: ext/soap/tests/transport001.phpt) I didn't understand what is wrong. :( I will not apply it now. I made alias for __call() with another prototype, so now I have not problems with SOAP headers receiving. T

Re: [PHP-DEV] Re: Really odd PHP problem... different platform

2004-09-10 Thread Nuno Lopes
We need to: - provide a debug build with symbols (could be generated daily to reduce load on Edin's snap box) This would great! (I had already suggested that). I don't have the MS compiler, just cygwin, and sometimes I get an error with the snap binnary and then I can't reproduce it with the cygw

[PHP-DEV] PHP 4.3.9RC3

2004-09-10 Thread Jacques Marneweck
Using PHP 4.3.9RC3 I keep getting core dumps every time I run php on a development box, which I'm finding strange. #0 0x0817ac8e in shutdown_memory_manager (silent=1, clean_cache=0) at /usr/local/src/php4-STABLE-200409100630/Zend/zend_alloc.c:491 491 REMOVE

Re: [PHP-DEV] [patch] Zend/zend_objects_API.c - bug #29980 (segfault while executing __destruct())

2004-09-10 Thread Antony Dovgal
On Fri, 10 Sep 2004 10:03:48 +0200 Andrey Hristov <[EMAIL PROTECTED]> wrote: > Well, if the engine is unstable state why the registered shutdown > function is being > executed then ? :) good question, though =) -- Wbr, Antony Dovgal aka tony2001 [EMAIL PROTECTED] || [EMAIL PROTECTED] -- P

Re: [PHP-DEV] Re: Really odd PHP problem... different platform

2004-09-10 Thread Wez Furlong
We need to: - provide a debug build with symbols (could be generated daily to reduce load on Edin's snap box) - find out exactly how to get Dr. Watson (or whatever) to drop dumps for applications - otherwise suggest that they install a debugger. Installing dev tools under win tends to destabilize t

Re: [PHP-DEV] [patch] Zend/zend_objects_API.c - bug #29980 (segfault while executing __destruct())

2004-09-10 Thread Andrey Hristov
Well, if the engine is unstable state why the registered shutdown function is being executed then ? :) Andrey Andi Gutmans wrote: I think this makes sense because PHP could be in an unstable state. Think EG(exit_status) covers all possible situations? No time to check now how it differs from CG(

Re: [PHP-DEV] Fwd: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_compile.h zend_exceptions.c zend_execute.c zend_execute.h zend_execute_API.c zend_opcode.c zend_vm.h zend_vm_handlers.h zend_vm_spec.h

2004-09-10 Thread Derick Rethans
On Thu, 9 Sep 2004, Andi Gutmans wrote: > Don't quite understand the question. How is this different from PHP 4? This > patch improves performance and is not much different from the switch() we > have in PHP 4. That is right, but in PHP 5 it was suddenly possible to override your own opcode handl

Re: [PHP-DEV] Re: Really odd PHP problem... different platform

2004-09-10 Thread Derick Rethans
On Thu, 9 Sep 2004, Daniel Convissor wrote: > On Thu, Sep 09, 2004 at 07:10:51PM +0100, Wez Furlong wrote: > > Hope that helps (and if you find out about the minidump thing, > > please share the knowledge ;-) > > This may be of assistance... Can you perhaps wrap up instructions al la "how to