php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #67040 glibc detected php: realloc() bug with php5.5 and proctitle
Submitted: 2014-04-07 17:55 UTC Modified: 2017-10-24 23:23 UTC
Votes:4
Avg. Score:4.5 ± 0.9
Reproduced:3 of 3 (100.0%)
Same Version:2 (66.7%)
Same OS:2 (66.7%)
From: systemadministrator at internet dot lu Assigned:
Status: Suspended Package: proctitle (PECL)
PHP Version: 5.5.11 OS: Linux
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2014-04-07 17:55 UTC] systemadministrator at internet dot lu
Description:
------------
Hi,

proctitle extension doesn't seem to work with PHP5.5:
https://travis-ci.org/qxsch/WorkerPool/jobs/21848381

Without the proctitle extension the PHP5.5 test passes:
https://travis-ci.org/qxsch/WorkerPool/jobs/21848559


See you,
    Marco 

Test script:
---------------
With the proctitle extension:
https://travis-ci.org/qxsch/WorkerPool/jobs/21848381
Without the proctitle extension:
https://travis-ci.org/qxsch/WorkerPool/jobs/21848559

Actual result:
--------------
.*** glibc detected *** php: realloc(): invalid old size: 0x0000000002baec90 ***

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2014-04-11 08:41 UTC] zaq178miami at gmail dot com
I also had the similar issue with proctitle extension on php 5.5.

http://stackoverflow.com/questions/21413603/php-exits-with-double-free-or-corruption-error

For now cli_set_process_title (http://www.php.net/manual/en/function.cli-set-process-title.php) can be used as an alternative for CLI mode. Has no idea does it work in FPM mode.
 [2015-02-27 12:07 UTC] xxx at yyyyy dot com
Try rolling back Xdebug from version 3.x to Xdebug v2.2.7
 [2017-10-24 23:23 UTC] kalle@php.net
-Status: Open +Status: Suspended
 [2017-10-24 23:23 UTC] kalle@php.net
The proctitle package have not had a release since 2012 and no development since, its safe to say that this package is no longer maintained, if development picks back up then this report should be re-opened
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Mon Jul 22 03:01:26 2019 UTC