php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #70632 Third one of segfault in gc_remove_from_buffer
Submitted: 2015-10-04 03:28 UTC Modified: -
From: laruence@php.net Assigned:
Status: Closed Package: Reproducible crash
PHP Version: 5.6.14 OS: all
Private report: No CVE-ID: None
 [2015-10-04 03:28 UTC] laruence@php.net
Description:
------------
this bug only can be triggered with concurrent requests. 

like using ab -n 1000 -c 50 



Test script:
---------------
<?php

class A {
    public function test($a = array("okey")) {
    }
}


eval ("class B extends A { public function test() {} }");


Expected result:
----------------
none segfault

Actual result:
--------------
segfault with a backtrace similar to #70631

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2015-10-04 06:17 UTC] laruence@php.net
Automatic comment on behalf of laruence@gmail.com
Revision: http://git.php.net/?p=php-src.git;a=commit;h=2fb8bb1157958465a8b12c1a41015b907787c17a
Log: Fixed bug #70632 (Third one of segfault in gc_remove_from_buffer)
 [2015-10-04 06:17 UTC] laruence@php.net
-Status: Open +Status: Closed
 [2015-10-13 10:12 UTC] ab@php.net
Automatic comment on behalf of laruence@gmail.com
Revision: http://git.php.net/?p=php-src.git;a=commit;h=2fb8bb1157958465a8b12c1a41015b907787c17a
Log: Fixed bug #70632 (Third one of segfault in gc_remove_from_buffer)
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Nov 21 08:01:29 2024 UTC