#43387 [Com]: Segmentation fault during shutdown in _zend_mm_free_int()
ID: 43387 Comment by: sebabar at konto dot pl Reported By: matteo at beccati dot com Status: No Feedback Bug Type: Reproducible crash Operating System: GNU/Linux 2.6.18 x86_64 PHP Version: 5.2.5 New Comment: I just experienced the same. I don't know why this happens, but I managed to find the last executed line before segfault. Below is method getMock() from PHPUnit (3.2.15), file /PHPUnit/Framework/TestCase.php I added few echos to see where it crashes. protected function getMock($className, array $methods = array(), array $arguments = array(), $mockClassName = '', $callOriginalConstructor = TRUE, $callOriginalClone = TRUE, $callAutoload = TRUE) { if (!is_string($className) || !is_string($mockClassName)) { throw new InvalidArgumentException; } $mock = PHPUnit_Framework_MockObject_Mock::generate( $className, $methods, $mockClassName, $callOriginalConstructor, $callOriginalClone, $callAutoload ); echo GENERATED ; $mockClass = new ReflectionClass($mock-mockClassName); echo REFLECTED ; $mockObject = $mockClass-newInstanceArgs($arguments); echo \n AFTER newInstanceArgs() \n; $this-mockObjects[] = $mockObject; echo MOCK READY ; return $mockObject; } In cases when php crashes, it stops just after REFLECTED message - on call to newInstanceArgs() The same unit tests, testing the same code base with the same version of PHPUnit under windows and PHP 5.2.3 works ok. Previous Comments: [2008-02-09 02:10:55] [EMAIL PROTECTED] not fixed - reopen [2007-12-13 06:18:50] phajdan dot jr at gmail dot com As this bug is now closed due to lack of feedback, can you reopen my original bug http://bugs.php.net/bug.php?id=43397 ? [2007-12-07 15:27:38] phajdan dot jr at gmail dot com I don't know if it is helpful, but I tested with recent snapshot and the bug wasn't fixed (I submitted another bug report, marked as a duplicate of this one). [2007-12-05 15:40:55] [EMAIL PROTECTED] Keep this in feedback status until you have actually tested the snapshot. A fix was committed recently which should fix this one too. [2007-12-04 16:06:52] matteo at beccati dot com We'll try to reproduce it again with either 5.2.4 or 5.2.5 and see if the snapshot fixes it. Thanks for the feedback, we really appreciate it! The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/43387 -- Edit this bug report at http://bugs.php.net/?id=43387edit=1
#43387 [Com]: Segmentation fault during shutdown in _zend_mm_free_int()
ID: 43387 Comment by: phajdan dot jr at gmail dot com Reported By: matteo at beccati dot com Status: No Feedback Bug Type: Reproducible crash Operating System: GNU/Linux 2.6.18 x86_64 PHP Version: 5.2.5 New Comment: As this bug is now closed due to lack of feedback, can you reopen my original bug http://bugs.php.net/bug.php?id=43397 ? Previous Comments: [2007-12-13 01:00:00] php-bugs at lists dot php dot net No feedback was provided for this bug for over a week, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to Open. [2007-12-07 15:27:38] phajdan dot jr at gmail dot com I don't know if it is helpful, but I tested with recent snapshot and the bug wasn't fixed (I submitted another bug report, marked as a duplicate of this one). [2007-12-05 15:40:55] [EMAIL PROTECTED] Keep this in feedback status until you have actually tested the snapshot. A fix was committed recently which should fix this one too. [2007-12-04 16:06:52] matteo at beccati dot com We'll try to reproduce it again with either 5.2.4 or 5.2.5 and see if the snapshot fixes it. Thanks for the feedback, we really appreciate it! [2007-12-04 12:50:54] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php5.2-latest.tar.gz For Windows (zip): http://snaps.php.net/win32/php5.2-win32-latest.zip For Windows (installer): http://snaps.php.net/win32/php5.2-win32-installer-latest.msi The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/43387 -- Edit this bug report at http://bugs.php.net/?id=43387edit=1
#43387 [Com]: Segmentation fault during shutdown in _zend_mm_free_int()
ID: 43387 Comment by: phajdan dot jr at gmail dot com Reported By: matteo at beccati dot com Status: Feedback Bug Type: Reproducible crash Operating System: GNU/Linux 2.6.18 x86_64 PHP Version: 5.2.5 New Comment: I don't know if it is helpful, but I tested with recent snapshot and the bug wasn't fixed (I submitted another bug report, marked as a duplicate of this one). Previous Comments: [2007-12-05 15:40:55] [EMAIL PROTECTED] Keep this in feedback status until you have actually tested the snapshot. A fix was committed recently which should fix this one too. [2007-12-04 16:06:52] matteo at beccati dot com We'll try to reproduce it again with either 5.2.4 or 5.2.5 and see if the snapshot fixes it. Thanks for the feedback, we really appreciate it! [2007-12-04 12:50:54] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php5.2-latest.tar.gz For Windows (zip): http://snaps.php.net/win32/php5.2-win32-latest.zip For Windows (installer): http://snaps.php.net/win32/php5.2-win32-installer-latest.msi [2007-12-03 10:54:13] [EMAIL PROTECTED] Note for developers: See bug #43476 (crash in same place) [2007-11-30 06:24:01] [EMAIL PROTECTED] Note for developers: See bug #43459 (crash in same place) The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/43387 -- Edit this bug report at http://bugs.php.net/?id=43387edit=1