|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2012-07-07 16:00 UTC] rik at c-ict dot com
[2012-07-08 08:19 UTC] reeze dot xia at gmail dot com
[2012-07-08 16:26 UTC] laruence@php.net
[2012-07-08 16:28 UTC] laruence@php.net
[2012-07-08 16:29 UTC] laruence@php.net
-Status: Open
+Status: Closed
-Assigned To:
+Assigned To: laruence
[2012-07-08 16:29 UTC] laruence@php.net
[2012-07-10 10:43 UTC] laruence@php.net
[2012-07-10 10:44 UTC] laruence@php.net
[2012-07-10 10:45 UTC] laruence@php.net
[2014-10-07 23:23 UTC] stas@php.net
[2014-10-07 23:24 UTC] stas@php.net
[2014-10-07 23:34 UTC] stas@php.net
[2014-10-07 23:34 UTC] stas@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 22:00:02 2025 UTC |
Description: ------------ Hello, I found a way to reproduce a segfault on at least linux but possibly on other OS'es as wel. It is very simple to reproduce: 1 overload the DateInterval in a new class. 2 overload the constructor 3 use one of the member variables. [Sat Jul 07 17:46:32 2012] [notice] child pid 5775 exit signal Segmentation fault (11) I tested with PHP 5.4.4 and it is there, but it also exists in PHP 5.3 Test script: --------------- <?php class Crasher extends DateInterval { public function __construct($time_spec) { echo "Yes i did it, with the next statement it gives a segfault\n"; // It doesn't matter if we take the y parameter or any other. $this->y = 3; } } $c = new Crasher('blah'); ?> Expected result: ---------------- Yes i did it, with the next statement it gives a segfault Segmentation fault