Bug #78280 [NEW]: _emalloc causes segfaults

From: Date: Fri, 12 Jul 2019 15:43:31 +0000
Subject: Bug #78280 [NEW]: _emalloc causes segfaults
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-221731@lists.php.net to get a copy of this message
From: grzegorz129 at gmail dot com Operating system: Linux PHP version: 7.3.7 Package: Reproducible crash Bug Type: Bug Bug description:_emalloc causes segfaults Description: ------------ From the start I have to say I don't have a reproducer which I can share, since problem only demonstrates itself in a large codebase. However, I'm able to consistently reproduce the problem and I was able to gather couple core dumps. - https://pastebin.com/AD7Gtv4k - https://pastebin.com/iG9djuPi - https://pastebin.com/yMNHsgF2 - https://pastebin.com/PEyBwdry - https://pastebin.com/bBjPaAEy The only consistent element I see is the top frames on the chain: _emalloc -> zend_mm_alloc_heap -> zend_mm_alloc_small Test script: --------------- Not available Expected result: ---------------- - Actual result: -------------- Segfault -- Edit bug report at https://bugs.php.net/bug.php?id=78280&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=78280&r=trysnapshot54 Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=78280&r=trysnapshot55 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=78280&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=78280&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=78280&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=78280&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=78280&r=needscript Try newer version: https://bugs.php.net/fix.php?id=78280&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=78280&r=support Expected behavior: https://bugs.php.net/fix.php?id=78280&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=78280&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=78280&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=78280&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=78280&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=78280&r=dst IIS Stability: https://bugs.php.net/fix.php?id=78280&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=78280&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=78280&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=78280&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=78280&r=mysqlcfg

« previous php.bugs (#221731) next »