Re: Re: Bug #14036: Segfault when using multipart form data

From: Date: Tue, 13 Nov 2001 00:08:20 +0000
Subject: Re: Re: Bug #14036: Segfault when using multipart form data
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-70298@lists.php.net to get a copy of this message
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:
hans@clubned.com wrote:
From:             hans@clubned.com
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-200111120600.
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: php-dev-unsubscribe@lists.php.net For additional commands, e-mail: php-dev-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net


« previous php.dev (#70298) next »