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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: laruence@php.net
New email:
PHP Version: OS:

 

 [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

Add a Patch

Pull Requests

Add a Pull Request

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-2020 The PHP Group
All rights reserved.
Last updated: Wed Apr 01 02:01:22 2020 UTC