TYPO3 Flow Base DistributionPackagesApplications

Bug #471

Crash of Apache on Windows

Added by Malte Jansen over 7 years ago. Updated almost 5 years ago.

Status:Resolved Start date:2008-04-16
Priority:Could have Due date:
Assigned To:Robert Lemke % Done:

100%

Category:-
Target version:- Estimated time:0.00 hour

Description

If I run the TestRunner on any package, the apache shuts down (or sometimes restarts).

Following Error is logged:

[Wed Apr 16 20:15:23 2008] [notice] Parent: child process exited with status 3221225477 -- Restarting.

Via google I found this hint for the php.ini:

output_buffering = On

The result is, that the first lines are shown, but the apache still shuts down...

Associated revisions

Revision 29ef6e73
Added by Karsten Dambekalns about 7 years ago

Testing:
  • Switched off $GLOBALS backup, this fixes crashes on Windows and makes the tests run twice as fast, refs #371, fixes #471

History

#1 Updated by Robert Lemke over 7 years ago

  • Status changed from New to Needs Feedback

Which PHP Version? Which operating system? Which Apache version?

Maybe this is your problem:
http://bugs.php.net/bug.php?id=44226

#2 Updated by Malte Jansen over 7 years ago

I'm using:
Win XP Pro SP 2
Apache/2.2.6 (Win32, Xampp)
PHP/5.2.4 (Xampp)

Could also be this problem, because here is the same apache-error mentioned.
http://bugs.php.net/bug.php?id=44546

I will try to use a newer version of PHP.

#3 Updated by Malte Jansen over 7 years ago

With
PHP/5.2.5 there is no change...

#4 Updated by Malte Jansen over 7 years ago

If removed all

try {} catch {}

Still using the content of the try-part.

The error still appears.

I forgot to mention. The first to tests are displayed...

#5 Updated by Malte Jansen over 7 years ago

I have made some further tests.

It does not matter, if there is one single test, which succeeds or fails. The apache always crashes...

#6 Updated by Tim Eilers over 7 years ago

Same here with newest original code.

XP Pro SP2
Apache 2.2.8 (Win32)
PHP 5.2.5
(xampp)

I am getting exactly the same error Malte mentioned above (same number, too)!

#7 Updated by Malte Jansen over 7 years ago

The problem occurse due to line 61 (http://forge.typo3.org/repositories/annotate/packages-testing/trunk/Classes/Controller/F3_Testing_Controller_Default.php)

But if this line is missing some general PHPunit-error occured.

#8 Updated by Tim Eilers over 7 years ago

400 MB memory for php - apache still crashes.

#9 Updated by Robert Lemke about 7 years ago

  • Estimated time set to 0.00

Hi windows users,

can you try again debugging this issue by using a debug build of PHP? You can download a w32 debug pack at http://www.php.net/downloads.php . That should give you some more meaningful output in the log files.

If someone has the time and expertise to do some memory profiling, that would be helpful as well: What makes the test runner consume so much memory?

#10 Updated by Karsten Dambekalns about 7 years ago

  • Status changed from Needs Feedback to Resolved
  • % Done changed from 0 to 100

Applied in changeset r910.

Also available in: Atom PDF