Re: [PHP-DEV] new/different problem in shutdown

2001-07-08 Thread Thies C. Arntzen
On Fri, Jul 06, 2001 at 07:13:09PM +0300, Andi Gutmans wrote: > I haven't checked it but something like the following might > give you a > problem. > > Andi > > function any($fh) > { > exit(); // exit in a function is noo good... > } > > $fp = fopen("/tmp/1","r"); >

Re: [PHP-DEV] new/different problem in shutdown

2001-07-06 Thread Andi Gutmans
I haven't checked it but something like the following might give you a problem. Andi At 05:35 PM 7/6/2001 +0200, Thies C. Arntzen wrote: >On Fri, Jul 06, 2001 at 05:39:18PM +0300, Andi Gutmans wrote: > > At 04:31 PM 7/6/2001 +0200, Thies C. Arntzen wrote: > > >On Fri, Jul 06, 2001 at 05:12:07

Re: [PHP-DEV] new/different problem in shutdown

2001-07-06 Thread Thies C. Arntzen
On Fri, Jul 06, 2001 at 05:39:18PM +0300, Andi Gutmans wrote: > At 04:31 PM 7/6/2001 +0200, Thies C. Arntzen wrote: > >On Fri, Jul 06, 2001 at 05:12:07PM +0300, Andi Gutmans wrote: > >> Thies, > >> > >> I have thought about your problem. Your patch fixed your test case but > >it > >> won't fix a

Re: [PHP-DEV] new/different problem in shutdown

2001-07-06 Thread Andi Gutmans
At 04:31 PM 7/6/2001 +0200, Thies C. Arntzen wrote: >On Fri, Jul 06, 2001 at 05:12:07PM +0300, Andi Gutmans wrote: > > Thies, > > > > I have thought about your problem. Your patch fixed your test case but it > > won't fix all test cases. It is pretty much impossible to make sure on > > bailout (i

Re: [PHP-DEV] new/different problem in shutdown

2001-07-06 Thread Thies C. Arntzen
On Fri, Jul 06, 2001 at 05:12:07PM +0300, Andi Gutmans wrote: > Thies, > > I have thought about your problem. Your patch fixed your test case but it > won't fix all test cases. It is pretty much impossible to make sure on > bailout (including exit() and errors) that all of the reference counts

Re: [PHP-DEV] new/different problem in shutdown

2001-07-06 Thread Andi Gutmans
Thies, I have thought about your problem. Your patch fixed your test case but it won't fix all test cases. It is pretty much impossible to make sure on bailout (including exit() and errors) that all of the reference counts of the variables will go down to 0 even if we clean the call stack. Th

Re: [PHP-DEV] new/different problem in shutdown

2001-07-05 Thread Andi Gutmans
Thies, The patch you supplied looks like it's heading in the right direction but it is incorrect as not all of the stack is zval's. I'll try and take a look at it tomorrow (no time now). I think we can probably fix up your patch a bit and make it work with nested functions. In any case, if I d

Re: [PHP-DEV] new/different problem in shutdown

2001-07-05 Thread Thies C. Arntzen
On Thu, Jul 05, 2001 at 01:06:43PM +0200, [EMAIL PROTECTED] wrote: > On Thu, 5 Jul 2001, Thies C. Arntzen wrote: > > > On Thu, Jul 05, 2001 at 12:06:57PM +0200, [EMAIL PROTECTED] wrote: > > > Hello, > > > > > > there are also a couple of bug reports filed for this. > > > > could you gimme the

Re: [PHP-DEV] new/different problem in shutdown

2001-07-05 Thread Thies C. Arntzen
zeev, andi please comment on my attached patch - it fixes my reported problem! have i overlooked something? thanx, tc On Thu, Jul 05, 2001 at 11:35:15AM +0200, Thies C. Arntzen wrote: > > zeev,andi > > i have a problem with the oci-extension - it makes heaviy

Re: [PHP-DEV] new/different problem in shutdown

2001-07-05 Thread derick
On Thu, 5 Jul 2001, Thies C. Arntzen wrote: > On Thu, Jul 05, 2001 at 12:06:57PM +0200, [EMAIL PROTECTED] wrote: > > Hello, > > > > there are also a couple of bug reports filed for this. > > could you gimme their no# I could only find one: #11895 regards, Derick Rethans ---

Re: [PHP-DEV] new/different problem in shutdown

2001-07-05 Thread Thies C. Arntzen
On Thu, Jul 05, 2001 at 12:06:57PM +0200, [EMAIL PROTECTED] wrote: > Hello, > > there are also a couple of bug reports filed for this. could you gimme their no# re, tc -- PHP Development Mailing List To unsubscribe, e-mail: [EMAIL PROTECTED] For additional co

Re: [PHP-DEV] new/different problem in shutdown

2001-07-05 Thread derick
Hello, there are also a couple of bug reports filed for this. Derick On Thu, 5 Jul 2001, Thies C. Arntzen wrote: > > zeev,andi > > i have a problem with the oci-extension - it makes heaviy > usage of ref-counting and creates dependices between resouces > using refcounts. so i d

[PHP-DEV] new/different problem in shutdown

2001-07-05 Thread Thies C. Arntzen
zeev,andi i have a problem with the oci-extension - it makes heaviy usage of ref-counting and creates dependices between resouces using refcounts. so i depend on a defined shutdown order and i also depend on the complete symbol-table to be destroyed before zend_destroy_rs