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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
10 + 50 = ?
Subscribe to this entry?

 
 [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: Sat Jan 18 12:01:23 2020 UTC