Re: [PHP-DEV] Re: Bug #14036: Segfault when using multipart form data

2001-11-13 Thread Lenar Lõhmus

Rasmus Lerdorf wrote:

 Well, file uploads do work in general in PHP 4.0.6 or the whole world
 would be screaming.  So there is something specific to your test case or
 your system that is causing this.

Well I'm using 4.1.0rc1 on linux 2.4.8 (debian unstable). And there was 1 
case with file uploads not working (apache crashed). Since I didn't have 
time to test this and our customer said it's not so important to have file 
upload form, I removed related code and didn't test it more nor searched for
more info on cause.

Bud it didn't work for sure. Strange crashes (not always, let's say 1 out 
of 5 submits). I remember creating a very simple form to test it. And it 
worked 100%. So it seems the bug is dependent on how you handle that upload.

Lenar

 
 -Rasmus
 
 On Tue, 13 Nov 2001, Hans Rakers wrote:
 
 
 As i reported in my bug report, i can reproduce this problem with 4.0.6
 and current cvs.
 
 Hans Rakers
 
 At 15:18 12-11-2001 -0800, you wrote:
 This code has changed significantly in current CVS.  4.0.6 and 4.1.0RC1
 should not have the problem.
 
 -Rasmus
 
 On Tue, 13 Nov 2001, Yasuo Ohgaki wrote:
 
   [EMAIL PROTECTED] wrote:
  
From: [EMAIL PROTECTED]
Operating system: Linux 2.2.20 and 2.4.14
PHP version:  4.0CVS-2001-11-12
PHP Bug Type: Reproducible crash
Bug description:  Segfault when using multipart form data
   
When submitting a form with enctype multipart/form-data Apache
childs segfault. Weird thing is that the problem is not
reproducible when compiling PHP with debugging enabled. I have
tried PHP-4.0.6 and CVS snapshot php4-20020600.
  
  
   4.1.0RC may not have this problem. I cannot reprocude with 4.1.0.
   I need to know to the script/config to be sure, though.
  
   --
   Yasuo Ohgaki
  
  
  
  
  
  
 
 


-- 
Lenar Lõhmus
Vision Group

-- 
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]




Re: [PHP-DEV] Re: Bug #14036: Segfault when using multipart form data

2001-11-12 Thread Hans Rakers


As i reported in my bug report, i can reproduce this problem with 4.0.6 and 
current cvs.

Hans Rakers

At 15:18 12-11-2001 -0800, you wrote:
This code has changed significantly in current CVS.  4.0.6 and 4.1.0RC1
should not have the problem.

-Rasmus

On Tue, 13 Nov 2001, Yasuo Ohgaki wrote:

  [EMAIL PROTECTED] wrote:
 
   From: [EMAIL PROTECTED]
   Operating system: Linux 2.2.20 and 2.4.14
   PHP version:  4.0CVS-2001-11-12
   PHP Bug Type: Reproducible crash
   Bug description:  Segfault when using multipart form data
  
   When submitting a form with enctype multipart/form-data Apache childs
   segfault. Weird thing is that the problem is not reproducible when
   compiling PHP with debugging enabled. I have tried PHP-4.0.6 and CVS
   snapshot php4-20020600.
 
 
  4.1.0RC may not have this problem. I cannot reprocude with 4.1.0.
  I need to know to the script/config to be sure, though.
 
  --
  Yasuo Ohgaki
 
 
 
 
 
 


-- 
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]




Re: [PHP-DEV] Re: Bug #14036: Segfault when using multipart form data

2001-11-12 Thread Hans Rakers


Config is included in the bugreport, and i can reproduce the problem with 
several scripts using multipart forms. Tell me whatever information you 
will need and i will try to provide it to you.

Hans Rakers

At 08:19 13-11-2001 +0900, you wrote:
[EMAIL PROTECTED] wrote:

  From: [EMAIL PROTECTED]
  Operating system: Linux 2.2.20 and 2.4.14
  PHP version:  4.0CVS-2001-11-12
  PHP Bug Type: Reproducible crash
  Bug description:  Segfault when using multipart form data
 
  When submitting a form with enctype multipart/form-data Apache childs
  segfault. Weird thing is that the problem is not reproducible when
  compiling PHP with debugging enabled. I have tried PHP-4.0.6 and CVS
  snapshot php4-20020600.


4.1.0RC may not have this problem. I cannot reprocude with 4.1.0.
I need to know to the script/config to be sure, though.

--
Yasuo Ohgaki


-- 
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]




Re: [PHP-DEV] Re: Bug #14036: Segfault when using multipart form data

2001-11-12 Thread Hans Rakers


I've tried many combinations on the specific box, i will try to explain.

The box initially was a Slackware 7.1 box with glibc-2.1.3. Tried the 
following combinations:

apache_1.3.20 + php-4.0.6
apache_1.3.22 + php-4.0.6
apache_1.3.22 + php4-latest from 20011106

Then after checking out the backtraces(included in my initial bug report) i 
saw the crash happened due to some routine in libc. I thought since the box 
was running an old slackware version i'd upgrade it to slackware-8.0, and 
hope the problem would be gone.
Installed slackware-8.0 (glibc-2.2.3) and tried the following combinations:

apache_1.3.22 + php-4.0.6
apache_1.3.22 + php4-latest from 20011106

also tried leaving out some of the features i compiled into PHP, and tried 
without some of the apache modules i used to have. No luck. The weirdest 
thing is probably that the problem disappears when i compile PHP with debug 
enabled, and that the scripts causing the segfaults do not always result in 
a segfault (sometimes, like 1 in 10 times, they do run properly).

Let me know if you need any more info. I can provide you with php scripts 
that cause this crash.

Hans Rakers


At 15:40 12-11-2001 -0800, you wrote:
Well, file uploads do work in general in PHP 4.0.6 or the whole world
would be screaming.  So there is something specific to your test case or
your system that is causing this.

-Rasmus

On Tue, 13 Nov 2001, Hans Rakers wrote:

 
  As i reported in my bug report, i can reproduce this problem with 4.0.6 
 and
  current cvs.
 
  Hans Rakers
 
  At 15:18 12-11-2001 -0800, you wrote:
  This code has changed significantly in current CVS.  4.0.6 and 4.1.0RC1
  should not have the problem.
  
  -Rasmus
  
  On Tue, 13 Nov 2001, Yasuo Ohgaki wrote:
  
[EMAIL PROTECTED] wrote:
   
 From: [EMAIL PROTECTED]
 Operating system: Linux 2.2.20 and 2.4.14
 PHP version:  4.0CVS-2001-11-12
 PHP Bug Type: Reproducible crash
 Bug description:  Segfault when using multipart form data

 When submitting a form with enctype multipart/form-data Apache childs
 segfault. Weird thing is that the problem is not reproducible when
 compiling PHP with debugging enabled. I have tried PHP-4.0.6 and CVS
 snapshot php4-20020600.
   
   
4.1.0RC may not have this problem. I cannot reprocude with 4.1.0.
I need to know to the script/config to be sure, though.
   
--
Yasuo Ohgaki
   
   
   
   
   
   
 
 
 


--
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 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]