Bug #77213 [NEW]: crash zend_shutdown

From: Date: Wed, 28 Nov 2018 14:35:33 +0000
Subject: Bug #77213 [NEW]: crash zend_shutdown
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-218179@lists.php.net to get a copy of this message
From:             mate at sla dot hu
Operating system: ubuntu 16
PHP version:      7.2.12
Package:          *General Issues
Bug Type:         Bug
Bug description:crash zend_shutdown

Description:
------------
This happens ~5 per day, after an upgrade from 7.2.6->7.2.11

(gdb) bt full
#0  zend_string_release (s=0x7f7d00d64d38) at
/home/php/php-7.2.11/Zend/zend_string.h:289
No locals.
#1  zend_hash_destroy (ht=0xee23a0 <pcre_globals>) at
/home/php/php-7.2.11/Zend/zend_hash.c:1257
        p = 0x1e90d90
        end = 0x1e92590
#2  0x00000000004e1c69 in zm_globals_dtor_pcre (pcre_globals=<optimized
out>) at /home/php/php-7.2.11/ext/pcre/php_pcre.c:146
No locals.
#3  0x000000000081f2ed in module_destructor
(module=module@entry=0x1c5e520) at
/home/php/php-7.2.11/Zend/zend_API.c:2575
No locals.
#4  0x0000000000816f7c in module_destructor_zval (zv=<optimized out>) at
/home/php/php-7.2.11/Zend/zend.c:690
        module = 0x1c5e520
#5  0x000000000082bd0a in _zend_hash_del_el_ex (prev=<optimized out>,
p=<optimized out>, idx=<optimized out>, ht=<optimized out>) at
/home/php/php-7.2.11/Zend/zend_hash.c:998
        tmp = {value = {lval = 29746464, dval = 1.469670594765339e-316,
counted = 0x1c5e520, str = 0x1c5e520, arr = 0x1c5e520, obj = 0x1c5e520,
res = 0x1c5e520, ref = 0x1c5e520, ast = 0x1c5e520,
            zv = 0x1c5e520, ptr = 0x1c5e520, ce = 0x1c5e520, func =
0x1c5e520, ww = {w1 = 29746464, w2 = 0}}, u1 = {v = {type = 17 '\021',
type_flags = 0 '\000', const_flags = 0 '\000',
              reserved = 0 '\000'}, type_info = 17}, u2 = {next = 0,
cache_slot = 0, lineno = 0, num_args = 0, fe_pos = 0, fe_iter_idx = 0,
access_flags = 0, property_guard = 0, extra = 0}}
#6  _zend_hash_del_el (p=0x1ca83b0, idx=4, ht=0xee8640
<module_registry>) at /home/php/php-7.2.11/Zend/zend_hash.c:1021
        prev = <optimized out>
#7  zend_hash_graceful_reverse_destroy (ht=ht@entry=0xee8640
<module_registry>) at /home/php/php-7.2.11/Zend/zend_hash.c:1477
        idx = 4
        p = 0x1ca83b0
#8  0x000000000081d5cc in zend_destroy_modules () at
/home/php/php-7.2.11/Zend/zend_API.c:2008
No locals.
#9  0x000000000081820e in zend_shutdown () at
/home/php/php-7.2.11/Zend/zend.c:905
No locals.
#10 0x00000000007a9dc3 in php_module_shutdown () at
/home/php/php-7.2.11/main/main.c:2453
No locals.
#11 0x0000000000444bd3 in main (argc=<optimized out>, argv=<optimized
out>) at /home/php/php-7.2.11/sapi/fpm/fpm/fpm_main.c:2020
        exit_status = 0
        c = <optimized out>
        use_extended_info = 0
        file_handle = {handle = {fd = -1530091936, fp = 0x7ffea4cca660,
stream = {handle = 0x7ffea4cca660, isatty = 893, mmap = {len =
140175124645096, pos = 140175064780160, map = 0x7f7d0cf21ff8,
                buf = 0x7f7d1062064b <do_lookup_x+2475>
"\376\377\377M\205\366\017\205Q\001", old_handle = 0x37d, old_closer =
0x7f7d0cf21ff8}, reader = 0x7f7d1082c4e8, fsizer = 0x7ffea4cca5f8,
              closer = 0x7ffea4cca5f4}}, filename = 0x7f7d06802000 "(
\200\006}\177", opened_path = 0x0, type = ZEND_HANDLE_FILENAME,
free_filename = 0 '\000'}
        orig_optind = 1
        orig_optarg = 0x0
        ini_entries_len = <optimized out>
        max_requests = 100
        requests = <optimized out>
        fcgi_fd = <optimized out>
        request = <optimized out>
        fpm_config = 0x7ffea4ccc8ba ""
        fpm_prefix = 0x0
        fpm_pid = 0x0
        test_conf = 0
        force_daemon = -1
        force_stderr = 0
        php_information = 0
        php_allow_to_run_as_root = 0
        __func__ = "main"



-- 
Edit bug report at https://bugs.php.net/bug.php?id=77213&edit=1
-- 
Try a snapshot (PHP 5.4):   https://bugs.php.net/fix.php?id=77213&r=trysnapshot54
Try a snapshot (PHP 5.5):   https://bugs.php.net/fix.php?id=77213&r=trysnapshot55
Try a snapshot (trunk):     https://bugs.php.net/fix.php?id=77213&r=trysnapshottrunk
Fixed in SVN:               https://bugs.php.net/fix.php?id=77213&r=fixed
Fixed in release:           https://bugs.php.net/fix.php?id=77213&r=alreadyfixed
Need backtrace:             https://bugs.php.net/fix.php?id=77213&r=needtrace
Need Reproduce Script:      https://bugs.php.net/fix.php?id=77213&r=needscript
Try newer version:          https://bugs.php.net/fix.php?id=77213&r=oldversion
Not developer issue:        https://bugs.php.net/fix.php?id=77213&r=support
Expected behavior:          https://bugs.php.net/fix.php?id=77213&r=notwrong
Not enough info:            https://bugs.php.net/fix.php?id=77213&r=notenoughinfo
Submitted twice:            https://bugs.php.net/fix.php?id=77213&r=submittedtwice
register_globals:           https://bugs.php.net/fix.php?id=77213&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=77213&r=php4
Daylight Savings:           https://bugs.php.net/fix.php?id=77213&r=dst
IIS Stability:              https://bugs.php.net/fix.php?id=77213&r=isapi
Install GNU Sed:            https://bugs.php.net/fix.php?id=77213&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=77213&r=float
No Zend Extensions:         https://bugs.php.net/fix.php?id=77213&r=nozend
MySQL Configuration Error:  https://bugs.php.net/fix.php?id=77213&r=mysqlcfg



Thread (6 messages)

« previous php.bugs (#218179) next »