Bug #80131 [NEW]: Random Segmentation Fault running php cli
| From: | carlos_eduardo309 at hotmail dot com | Date: | Mon, 21 Sep 2020 23:07:39 +0000 |
| Subject: | Bug #80131 [NEW]: Random Segmentation Fault running php cli | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-229119@lists.php.net to get a copy of this message | ||
From: carlos_eduardo309 at hotmail dot com
Operating system: linux
PHP version: 7.4.10
Package: Unknown/Other Function
Bug Type: Bug
Bug description:Random Segmentation Fault running php cli
Description:
------------
i was running codeception unit tests and randomly since 7.3 im getting
this segmentation error
root@5a71577a17f0:/tmp# gdb php core.5a71577a17f0.php.1600676425
GNU gdb (Debian 8.2.1-2+b3) 8.2.1
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from php...(no debugging symbols found)...done.
[New LWP 559]
[Thread debugging using libthread_db enabled]
Using host libthread_db library
"/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `php ../../vendor/bin/codecept run unit
./tests/unit/modules/forms/models/mongo/'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x0000556fd6d831a1 in _emalloc ()
(gdb) bt
#0 0x0000556fd6d831a1 in _emalloc ()
#1 0x0000556fd6bfb968 in ?? ()
#2 0x0000556fd6bfa1e7 in ?? ()
#3 0x0000556fd6bf7206 in php_json_decode_ex ()
#4 0x0000556fd6bf73b6 in ?? ()
#5 0x0000556fd6e28901 in execute_ex ()
#6 0x0000556fd6e2da53 in zend_execute ()
#7 0x0000556fd6da80f3 in zend_execute_scripts ()
#8 0x0000556fd6d47ee0 in php_execute_script ()
#9 0x0000556fd6e2fb36 in ?? ()
#10 0x0000556fd6ae492b in ?? ()
#11 0x00007f870cbcd09b in __libc_start_main (main=0x556fd6ae44e0,
argc=5, argv=0x7fff9736de48, init=<optimized out>, fini=<optimized out>,
rtld_fini=<optimized out>, stack_end=0x7fff9736de38)
at ../csu/libc-start.c:308
#12 0x0000556fd6ae506a in _start ()
(gdb)
--
Edit bug report at https://bugs.php.net/bug.php?id=80131&edit=1
--
Fix committed: https://bugs.php.net/fix.php?id=80131&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=80131&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=80131&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=80131&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=80131&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=80131&r=support
Expected behavior: https://bugs.php.net/fix.php?id=80131&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=80131&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=80131&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=80131&r=globals
PHP version support discontinued: https://bugs.php.net/fix.php?id=80131&r=phptooold
Daylight Savings: https://bugs.php.net/fix.php?id=80131&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=80131&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=80131&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=80131&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=80131&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=80131&r=mysqlcfg