[PHP-DEV] Re: Bugs pending for PHP 4.1.0

2001-11-18 Thread Sander Roobol

  --
  Bug 13711:
  [set_time_limit affects other requests on the same Apache process]
  
  Trying to reproduce this now.
 
  Pretty much by definition this cannot happen.  We'd have to go through
  hoops to create this behavior under Linux.
 
  Under Windows, there may be a bug that breaks the multithreaded alarm
  system, and I'll check it out, but for the same reasons above, I don't
  think it should stale 4.1.0.

 THis was reproduced by sander. Sander, do you have more information?

I created two scripts.

?php set_time_limit(1); ?

?php
for($i=0; $i100; $i++) {
  base64_encode(md5($i));
}
?

Reproducing this bug on Linux is hard. On Windows, it's very easy. On Linux,
you should repeatedly load both the first and the second script.

Today I tried 4.0.6 and 4.1.0RC2 and they show both the same (incorrect)
behaviour on Windows 2000 using Apache 1.3.22.

Also, I was able to reproduce this bug on Apache 1.3.20 with 4.0.6 on Debian
(Potato) Linux, configure line:
 './configure' '--with-apxs=/usr/local/apache/bin/apxs' '--with-zlib'
'--with-bzip2' '--enable-bcmath' '--enable-calendar' '--enable-ftp'
'--with-ctype' '--enable-dbase' '--enable-dbx' '--enable-exif'
'--enable-filepro' '--with-mysql=/usr/local/mysql'
'--with-pgsql=/usr/local/pgsql' '--enable-readline' '--enable-shmop'
'--enable-sockets' '--with-xml' '--with-wddx' '--enable-yp' '--with-mcrypt'
'--with-mhash' '--enable-sysvsem' '--enable-sysvshm' '--with-gd'
'--enable-gd-native-ttf' '--with-jpeg-dir=/usr/local'
'--with-png-dir=/usr/local' '--with-zlib-dir=/usr/local'
'--with-freetype-dir=/usr/local' '--enable-inline-optimization'
'--with-zziplib' '--with-openssl' '--with-gettext' '--with-gmp'
'--with-hyperwave' '--enable-mbstring' '--enable-mbstr-enc-trans'
'--with-recode' '--with-mcal=/usr/local/mcal' '--with-curl' '--with-ming'

I couldn't manage to reproduce it on another box, with Debian (Potato) Linux
running 4.0.6 on 1.3.22, configure line:
'./configure' '--with-apxs=/usr/local/apache/bin/apxs' '--enable-bcmath' '--
enable-ftp' '--enable-calendar' '--with-mysql'

If you wait a while (a few minutes), and then try the second script again,
it works fine. Therefor, I presume that set_time_limit() only affects one
child of Apache.

If you have more specific questions, feel free to ask them...

Sander



-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] Re: Bugs pending for PHP 4.1.0

2001-11-17 Thread Zeev Suraski

At 10:08 16/11/2001, Derick Rethans wrote:
Hello,

here is my list of important pending bugs which need to be fixed before
PHP 4.1.0 can be released IMO.


--
Bug 11813 (not really a bug):
[ImageGammaCorrect no longer works]

Let's keep this open (critical) until it really is solved.
And I think there should be two modules in the win32 release, for both
1.8.x and 2.0.x
versions of GD.

I don't think that should be a showstopper of any kind..?

--
Bug 13143 (patch attached):
[TSRM fails to build]

GCC 2 ignores it, GCC 3 does not.

I applied the patch...

--
Bug 13703:
[PHP allows function redefinition]

Something weird going on with multiple function definitions in classes

In the hope that we actually release 4.1.0 in this millennium, I think that 
should also stay unsolved for now.  I wouldn't want to touch this part 
without another RC, and I hope we won't have another RC.  This was most 
probably the behavior since at least 4.0.0, and it's not a crash bug, so I 
think it can wait for a later version...

--
Bug 13711:
[set_time_limit affects other requests on the same Apache process]

Trying to reproduce this now.

Pretty much by definition this cannot happen.  We'd have to go through 
hoops to create this behavior under Linux.

Under Windows, there may be a bug that breaks the multithreaded alarm 
system, and I'll check it out, but for the same reasons above, I don't 
think it should stale 4.1.0.

--
Bug 14014:
[Need later config.guess/config.sub]

Can someone look at bug#14014 before we do 4.1.0 (or what ever the
next release is?)

It breaks being able to build on OpenUNIX 8.

If somebody gets to look at it - great.  Please do it ASAP, as I want to go 
with 4.1.0 final early next week.  If worse comes to worse, we won't have 
OpenUNIX 8 support in 4.1.0...

Zeev


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] Re: Bugs pending for PHP 4.1.0

2001-11-17 Thread Derick Rethans

On Sat, 17 Nov 2001, Zeev Suraski wrote:

 --
 Bug 11813 (not really a bug):
 [ImageGammaCorrect no longer works]
 
 Let's keep this open (critical) until it really is solved.
 And I think there should be two modules in the win32 release, for both
 1.8.x and 2.0.x
 versions of GD.

 I don't think that should be a showstopper of any kind..?

It is merely a note for the guy who is building the Windows version. IMO,
and that of Jani's, there should be a module of both versions.

 --
 Bug 13703:
 [PHP allows function redefinition]
 
 Something weird going on with multiple function definitions in classes

 In the hope that we actually release 4.1.0 in this millennium, I think that
 should also stay unsolved for now.  I wouldn't want to touch this part
 without another RC, and I hope we won't have another RC.  This was most
 probably the behavior since at least 4.0.0, and it's not a crash bug, so I
 think it can wait for a later version...

Ok


 --
 Bug 13711:
 [set_time_limit affects other requests on the same Apache process]
 
 Trying to reproduce this now.

 Pretty much by definition this cannot happen.  We'd have to go through
 hoops to create this behavior under Linux.

 Under Windows, there may be a bug that breaks the multithreaded alarm
 system, and I'll check it out, but for the same reasons above, I don't
 think it should stale 4.1.0.

THis was reproduced by sander. Sander, do you have more information?


 --
 Bug 14014:
 [Need later config.guess/config.sub]
 
 Can someone look at bug#14014 before we do 4.1.0 (or what ever the
 next release is?)
 
 It breaks being able to build on OpenUNIX 8.

 If somebody gets to look at it - great.  Please do it ASAP, as I want to go
 with 4.1.0 final early next week.  If worse comes to worse, we won't have
 OpenUNIX 8 support in 4.1.0...

I just requested (and got) an account on the box. I'll play with it
tomorrow, first thing in the morning.

Derick


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]