Bug #77358 [NEW]: random Segmentation fault (core dumped)
| From: | kinoute at gmail dot com | Date: | Thu, 27 Dec 2018 13:31:06 +0000 |
| Subject: | Bug #77358 [NEW]: random Segmentation fault (core dumped) | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-218641@lists.php.net to get a copy of this message | ||
From: kinoute at gmail dot com
Operating system: Ubuntu 16.04.5
PHP version: 7.3.0
Package: PDO MySQL
Bug Type: Bug
Bug description:random Segmentation fault (core dumped)
Description:
------------
It happens on a VPN running Ubuntu 16.04.5 & PHP 7.3.0 (upgraded from
7.2.13). I'm getting at random intervals Segfault errors on some
scripts. I was able to catch a segfault running my script through gdb.
Here is the output backtrace:
(gdb) run checkwin.php
Starting program: /usr/bin/php checkwin.php
[Thread debugging using libthread_db enabled]
Using host libthread_db library
"/lib/x86_64-linux-gnu/libthread_db.so.1".
Program received signal SIGSEGV, Segmentation fault.
0x00005555557c2d3a in _efree ()
(gdb) bt
#0 0x00005555557c2d3a in _efree ()
#1 0x00007ffff2d4fea7 in ?? () from /usr/lib/php/20180731/mysqlnd.so
#2 0x00007ffff2d4af4f in ?? () from /usr/lib/php/20180731/mysqlnd.so
#3 0x00007ffff2d4f641 in ?? () from /usr/lib/php/20180731/mysqlnd.so
#4 0x00007ffff2d4e0b9 in ?? () from /usr/lib/php/20180731/mysqlnd.so
#5 0x00007ffff2d4be04 in ?? () from /usr/lib/php/20180731/mysqlnd.so
#6 0x00007ffff2d4bf4e in ?? () from /usr/lib/php/20180731/mysqlnd.so
#7 0x00007fffed601ee4 in ?? () from /usr/lib/php/20180731/pdo_mysql.so
#8 0x00007ffff2b28d0c in ?? () from /usr/lib/php/20180731/pdo.so
#9 0x00007ffff2b2cbaa in ?? () from /usr/lib/php/20180731/pdo.so
#10 0x00005555557fc60e in ?? ()
#11 0x00005555557f92b1 in zend_hash_graceful_reverse_destroy ()
#12 0x00005555557e879e in ?? ()
#13 0x00005555557875e2 in php_module_shutdown ()
#14 0x00005555556427fa in ?? ()
#15 0x00007ffff5cf0830 in __libc_start_main (main=0x555555642370,
argc=2, argv=0x7fffffffe5b8, init=<optimized out>, fini=<optimized out>,
rtld_fini=<optimized out>, stack_end=0x7fffffffe5a8)
at ../csu/libc-start.c:291
#16 0x0000555555642909 in _start ()
(gdb)
I can also see segfaults in /var/log/syslog:
Dec 27 12:05:15 vps12833 kernel: [ 1122.000275] php[1975]: segfault at
7f4d49000000 ip 000055a75bf88d3a sp 00007fff1fb200f0 error 4 in
php7.3[55a75bd1a000+3eb000]
--
Edit bug report at https://bugs.php.net/bug.php?id=77358&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=77358&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=77358&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=77358&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=77358&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=77358&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=77358&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=77358&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=77358&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=77358&r=support
Expected behavior: https://bugs.php.net/fix.php?id=77358&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=77358&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=77358&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=77358&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=77358&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=77358&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=77358&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=77358&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=77358&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=77358&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=77358&r=mysqlcfg