Skip to content

Instantly share code, notes, and snippets.

@andriesss
Created December 18, 2012 12:13
Show Gist options
  • Save andriesss/4327496 to your computer and use it in GitHub Desktop.
Save andriesss/4327496 to your computer and use it in GitHub Desktop.
PHP crashes when I try to add a PHPUnit test to the stack.
System
- Provider
[ Name] Application Error
- EventID 1000
[ Qualifiers] 0
Level 2
Task 100
Keywords 0x80000000000000
- TimeCreated
[ SystemTime] 2012-12-18T12:06:40.000000000Z
EventRecordID 40460
Channel Application
Computer anselap.macqel
Security
- EventData
php.exe
5.3.16.0
502bf539
php5ts.dll
5.3.16.0
502bf5b2
c0000005
00092c57
2200
01cddd1814049e5e
C:\PHP\php.exe
C:\PHP\php5ts.dll
60ec5eff-490b-11e2-a56e-101f74ece23c
@andriesss
Copy link
Author

I have written a bunch of PHP unit tests. As soon as I try to add any additional test to the stack, php crashes with the above error in the system log.

PHP 5.3.16 (cli) (built: Aug 15 2012 20:06:57)

@andriesss
Copy link
Author

Currently, I have 545 unit test written. As soon as I add number 546, it crashes, even with the simplest test case, like:

public function testFoo()
{
    $this->assertTrue(true);
}

@andriesss
Copy link
Author

Upgrade to PHP 5.3.19 fixed the problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment