Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

incompatible with PHP8.1 on debian #595

Closed
ryancinsight opened this issue Feb 22, 2023 · 12 comments
Closed

incompatible with PHP8.1 on debian #595

ryancinsight opened this issue Feb 22, 2023 · 12 comments

Comments

@ryancinsight
Copy link
Contributor

Using Docker debian bullseye with php8.1 receive a free: invalid pointer error:

root@7ead17e03ea3:/home/snmalloc/out/release# export LD_PRELOAD=/home/snmalloc/out/release/libsnmallocshim.so
root@7ead17e03ea3:/home/snmalloc/out/release# php
free(): invalid pointer
Aborted

@mjp41
Copy link
Member

mjp41 commented Feb 22, 2023

free(): invalid pointer

Is not an error message generated by snmalloc. I am guessing that php has statically linked part of the C runtime, or partially overridden the allocator, so that it is not possible to LD_PRELOAD a new allocator.

Could you get a stack trace of the failure? Do other systems like jemalloc or mimalloc work with PHP?

@mjp41
Copy link
Member

mjp41 commented Feb 22, 2023

So I got a stack trace:

* thread #1, name = 'php8.1', stop reason = signal SIGABRT
  * frame #0: 0x00007ffff764300b libc.so.6`raise + 203
    frame #1: 0x00007ffff7622859 libc.so.6`abort + 299
    frame #2: 0x00007ffff768d26e libc.so.6`___lldb_unnamed_symbol329$$libc.so.6 + 670
    frame #3: 0x00007ffff76952fc libc.so.6`___lldb_unnamed_symbol397$$libc.so.6 + 28
    frame #4: 0x00007ffff7696b2c libc.so.6`___lldb_unnamed_symbol410$$libc.so.6 + 748
    frame #5: 0x00007ebff46a4318 pdo.so`___lldb_unnamed_symbol64$$pdo.so + 440
    frame #6: 0x00007ebff46a4390 pdo.so`___lldb_unnamed_symbol65$$pdo.so + 80
    frame #7: 0x000055555583f8b8 php8.1`zend_startup_module_ex + 296
    frame #8: 0x000055555583f950 php8.1`___lldb_unnamed_symbol5971$$php8.1 + 16
    frame #9: 0x000055555584d61b php8.1`zend_hash_apply + 91
    frame #10: 0x00005555557d7976 php8.1`php_module_startup + 2102
    frame #11: 0x0000555555922dd1 php8.1`___lldb_unnamed_symbol7339$$php8.1 + 17
    frame #12: 0x0000555555679db3 php8.1`___lldb_unnamed_symbol2809$$php8.1 + 419
    frame #13: 0x00007ffff7624083 libc.so.6`__libc_start_main + 243
    frame #14: 0x000055555567a7ee php8.1`_start + 46

So it is not freeing using snmalloc.

I get a similar crash with mimalloc.

@ryancinsight
Copy link
Contributor Author

jemalloc seems to be working fine and I did find a mimalloc issue on this now: microsoft/mimalloc#377

@mjp41
Copy link
Member

mjp41 commented Feb 22, 2023

So Scudo also crashes. I confirm works. The mimalloc crash is a bit different as it seems to be freeing 0x8.

#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
#1  0x00007ffff71c7859 in __GI_abort () at abort.c:79
#2  0x00007ffff723226e in __libc_message (action=action@entry=do_abort, fmt=fmt@entry=0x7ffff735c298 "%s\n")
    at ../sysdeps/posix/libc_fatal.c:155
#3  0x00007ffff723a2fc in malloc_printerr (str=str@entry=0x7ffff735a4c1 "free(): invalid pointer") at malloc.c:5347
#4  0x00007ffff723bb2c in _int_free (av=<optimized out>, p=<optimized out>, have_lock=0) at malloc.c:4173
#5  0x00007fd2f501f318 in ?? () from /usr/lib/php/20210902/pdo.so
#6  0x00007fd2f501f390 in ?? () from /usr/lib/php/20210902/pdo.so
#7  0x000055555583f8b8 in zend_startup_module_ex ()
#8  0x000055555583f950 in ?? ()
#9  0x000055555584d61b in zend_hash_apply ()
#10 0x00005555557d7976 in php_module_startup ()
#11 0x0000555555922dd1 in ?? ()
#12 0x0000555555679db3 in ?? ()
#13 0x00007ffff71c9083 in __libc_start_main (main=0x555555679c10, argc=1, argv=0x7fffffffe118,
    init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffe108)
    at ../csu/libc-start.c:308
#14 0x000055555567a7ee in _start ()

I got a slightly better stack trace from gdb. I wonder if there is something in libc tail calling _int_free that should be overridden that isn't covered by snmalloc and scudo, but is by jemalloc.

@ryancinsight
Copy link
Contributor Author

ryancinsight commented Feb 22, 2023

here is a valgrind trace:

root@7ead17e03ea3:/var/www/html# LD_PRELOAD=/home/snmalloc/out/release/libsnmallocshim.so valgrind --leak-check=full --show-leak-kinds=all --track-origins=yes --verbose php cron.php
==3626== Memcheck, a memory error detector
==3626== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==3626== Using Valgrind-3.16.1-36d6727e1d-20200622X and LibVEX; rerun with -h for copyright info
==3626== Command: php cron.php
==3626== 
--3626-- Valgrind options:
--3626--    --leak-check=full
--3626--    --show-leak-kinds=all
--3626--    --track-origins=yes
--3626--    --verbose
--3626-- Contents of /proc/version:
--3626--   Linux version 5.15.79.1-microsoft-standard-WSL2 (oe-user@oe-host) (x86_64-msft-linux-gcc (GCC) 9.3.0, GNU ld (GNU Binutils) 2.34.0.20200220) #1 SMP Wed Nov 23 01:01:46 UTC 2022
--3626-- 
--3626-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-ssse3-avx-avx2-bmi-f16c-rdrand
--3626-- Page sizes: currently 4096, max supported 4096
--3626-- Valgrind library directory: /usr/lib/x86_64-linux-gnu/valgrind
--3626-- Reading syms from /usr/local/bin/php
--3626--    object doesn't have a symbol table
--3626-- Reading syms from /lib/x86_64-linux-gnu/ld-2.31.so
--3626--   Considering /usr/lib/debug/.build-id/e2/5570740d590e5cb7b1a20d86332a8d1bb3b65f.debug ..
--3626--   .. build-id is valid
--3626-- Reading syms from /usr/lib/x86_64-linux-gnu/valgrind/memcheck-amd64-linux
--3626--   Considering /usr/lib/debug/.build-id/54/299c4aec0e5e5f3d7b8135341351d0e1dbfc64.debug ..
--3626--   .. build-id is valid
--3626--    object doesn't have a dynamic symbol table
--3626-- Scheduler: using generic scheduler lock implementation.
--3626-- Reading suppressions file: /usr/lib/x86_64-linux-gnu/valgrind/default.supp
==3626== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-3626-by-???-on-7ead17e03ea3
==3626== embedded gdbserver: writing to   /tmp/vgdb-pipe-to-vgdb-from-3626-by-???-on-7ead17e03ea3
==3626== embedded gdbserver: shared mem   /tmp/vgdb-pipe-shared-mem-vgdb-3626-by-???-on-7ead17e03ea3
==3626== 
==3626== TO CONTROL THIS PROCESS USING vgdb (which you probably
==3626== don't want to do, unless you know exactly what you're doing,
==3626== or are doing some strange experiment):
==3626==   /usr/bin/vgdb --pid=3626 ...command...
==3626== 
==3626== TO DEBUG THIS PROCESS USING GDB: start GDB like this
==3626==   /path/to/gdb php
==3626== and then give GDB the following command
==3626==   target remote | /usr/bin/vgdb --pid=3626
==3626== --pid is optional if only one valgrind process is running
==3626== 
--3626-- REDIR: 0x401fa70 (ld-linux-x86-64.so.2:strlen) redirected to 0x580ca5f2 (vgPlain_amd64_linux_REDIR_FOR_strlen)
--3626-- REDIR: 0x401f850 (ld-linux-x86-64.so.2:index) redirected to 0x580ca60c (vgPlain_amd64_linux_REDIR_FOR_index)
--3626-- Reading syms from /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_core-amd64-linux.so
--3626--   Considering /usr/lib/debug/.build-id/f2/7641e081d3c37b410d7f31da4e2bf21040f356.debug ..
--3626--   .. build-id is valid
--3626-- Reading syms from /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so
--3626--   Considering /usr/lib/debug/.build-id/25/7cdcdf80e04f91ca9e3b185ee3b52995e89946.debug ..
--3626--   .. build-id is valid
==3626== WARNING: new redirection conflicts with existing -- ignoring it
--3626--     old: 0x0401fa70 (strlen              ) R-> (0000.0) 0x580ca5f2 vgPlain_amd64_linux_REDIR_FOR_strlen
--3626--     new: 0x0401fa70 (strlen              ) R-> (2007.0) 0x0483bda0 strlen
--3626-- REDIR: 0x401c290 (ld-linux-x86-64.so.2:strcmp) redirected to 0x483cc90 (strcmp)
--3626-- REDIR: 0x401ffb0 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x4840740 (mempcpy)
--3626-- Reading syms from /home/snmalloc/out/release/libsnmallocshim.so
--3626-- Reading syms from /lib/x86_64-linux-gnu/libresolv-2.31.so
--3626--   Considering /usr/lib/debug/.build-id/82/845af78df2c2866f440f3cae5a8103bd3b5acb.debug ..
--3626--   .. build-id is valid
--3626-- Reading syms from /lib/x86_64-linux-gnu/libreadline.so.8.1
--3626--    object doesn't have a symbol table
--3626-- Reading syms from /lib/x86_64-linux-gnu/libutil-2.31.so
--3626--   Considering /usr/lib/debug/.build-id/16/1124b8378f9e197f17726e406f5437fd5a33dd.debug ..
--3626--   .. build-id is valid
--3626-- Reading syms from /lib/x86_64-linux-gnu/libm-2.31.so
--3626--   Considering /usr/lib/debug/.build-id/1d/6ff6c4c69f3572486bc27b8290ee932b0b9f39.debug ..
--3626--   .. build-id is valid
--3626-- Reading syms from /lib/x86_64-linux-gnu/libdl-2.31.so
--3626--   Considering /usr/lib/debug/.build-id/46/b3bf3f9b9eb092a5c0cf5575e89092f768054c.debug ..
--3626--   .. build-id is valid
--3626-- Reading syms from /usr/lib/x86_64-linux-gnu/libxml2.so.2.9.10
--3626--    object doesn't have a symbol table
--3626-- Reading syms from /usr/lib/x86_64-linux-gnu/libssl.so.1.1
--3626--    object doesn't have a symbol table
--3626-- Reading syms from /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1
--3626--    object doesn't have a symbol table
--3626-- Reading syms from /usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6
--3626--    object doesn't have a symbol table
--3626-- Reading syms from /lib/x86_64-linux-gnu/libz.so.1.2.11
--3626--    object doesn't have a symbol table
--3626-- Reading syms from /usr/lib/x86_64-linux-gnu/libcurl.so.4.7.0
--3626--    object doesn't have a symbol table
--3626-- Reading syms from /usr/lib/x86_64-linux-gnu/libonig.so.5.1.0
--3626--    object doesn't have a symbol table
--3626-- Reading syms from /usr/lib/x86_64-linux-gnu/libargon2.so.1
--3626--    object doesn't have a symbol table
--3626-- Reading syms from /lib/x86_64-linux-gnu/libc-2.31.so
--3626--   Considering /usr/lib/debug/.build-id/b5/03275bf9fee51581fdceef97533b194035b4f7.debug ..
--3626--   .. build-id is valid
--3626-- Reading syms from /lib/x86_64-linux-gnu/libpthread-2.31.so
--3626--   Considering /usr/lib/debug/.build-id/25/5e355c207aba91a59ae1f808e3b4da443abf0c.debug ..
--3626--   .. build-id is valid
--3626-- Reading syms from /usr/lib/x86_64-linux-gnu/libatomic.so.1.2.0
--3626--    object doesn't have a symbol table
--3626-- Reading syms from /lib/x86_64-linux-gnu/libtinfo.so.6.2
--3626--    object doesn't have a symbol table
--3626-- Reading syms from /usr/lib/x86_64-linux-gnu/libicuuc.so.67.1
--3626--    object doesn't have a symbol table
--3626-- Reading syms from /lib/x86_64-linux-gnu/liblzma.so.5.2.5
--3626--    object doesn't have a symbol table
--3626-- Reading syms from /usr/lib/x86_64-linux-gnu/libnghttp2.so.14.20.1
--3626--    object doesn't have a symbol table
--3626-- Reading syms from /usr/lib/x86_64-linux-gnu/libidn2.so.0.3.7
--3626--    object doesn't have a symbol table
--3626-- Reading syms from /usr/lib/x86_64-linux-gnu/librtmp.so.1
--3626--    object doesn't have a symbol table
--3626-- Reading syms from /usr/lib/x86_64-linux-gnu/libssh2.so.1.0.1
--3626--    object doesn't have a symbol table
--3626-- Reading syms from /usr/lib/x86_64-linux-gnu/libpsl.so.5.3.2
--3626--    object doesn't have a symbol table
--3626-- Reading syms from /usr/lib/x86_64-linux-gnu/libgssapi_krb5.so.2.2
--3626--    object doesn't have a symbol table
--3626-- Reading syms from /usr/lib/x86_64-linux-gnu/libldap_r-2.4.so.2.11.5
--3626--    object doesn't have a symbol table
--3626-- Reading syms from /usr/lib/x86_64-linux-gnu/liblber-2.4.so.2.11.5
--3626--    object doesn't have a symbol table
--3626-- Reading syms from /usr/lib/x86_64-linux-gnu/libbrotlidec.so.1.0.9
--3626--    object doesn't have a symbol table
--3626-- Reading syms from /usr/lib/x86_64-linux-gnu/libicudata.so.67.1
--3626--    object doesn't have a symbol table
--3626-- Reading syms from /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.28
--3626--    object doesn't have a symbol table
--3626-- Reading syms from /lib/x86_64-linux-gnu/libgcc_s.so.1
--3626--    object doesn't have a symbol table
--3626-- Reading syms from /usr/lib/x86_64-linux-gnu/libunistring.so.2.1.0
--3626--    object doesn't have a symbol table
--3626-- Reading syms from /usr/lib/x86_64-linux-gnu/libgnutls.so.30.29.1
--3626--    object doesn't have a symbol table
--3626-- Reading syms from /usr/lib/x86_64-linux-gnu/libhogweed.so.6.4
--3626--    object doesn't have a symbol table
--3626-- Reading syms from /usr/lib/x86_64-linux-gnu/libnettle.so.8.4
--3626--    object doesn't have a symbol table
--3626-- Reading syms from /usr/lib/x86_64-linux-gnu/libgmp.so.10.4.1
--3626--    object doesn't have a symbol table
--3626-- Reading syms from /usr/lib/x86_64-linux-gnu/libgcrypt.so.20.2.8
--3626--    object doesn't have a symbol table
--3626-- Reading syms from /usr/lib/x86_64-linux-gnu/libkrb5.so.3.3
--3626--    object doesn't have a symbol table
--3626-- Reading syms from /usr/lib/x86_64-linux-gnu/libk5crypto.so.3.1
--3626--    object doesn't have a symbol table
--3626-- Reading syms from /lib/x86_64-linux-gnu/libcom_err.so.2.1
--3626--    object doesn't have a symbol table
--3626-- Reading syms from /usr/lib/x86_64-linux-gnu/libkrb5support.so.0.1
--3626--    object doesn't have a symbol table
--3626-- Reading syms from /usr/lib/x86_64-linux-gnu/libsasl2.so.2.0.25
--3626--    object doesn't have a symbol table
--3626-- Reading syms from /usr/lib/x86_64-linux-gnu/libbrotlicommon.so.1.0.9
--3626--    object doesn't have a symbol table
--3626-- Reading syms from /usr/lib/x86_64-linux-gnu/libp11-kit.so.0.3.0
--3626--    object doesn't have a symbol table
--3626-- Reading syms from /usr/lib/x86_64-linux-gnu/libtasn1.so.6.6.0
--3626--    object doesn't have a symbol table
--3626-- Reading syms from /lib/x86_64-linux-gnu/libgpg-error.so.0.29.0
--3626--    object doesn't have a symbol table
--3626-- Reading syms from /lib/x86_64-linux-gnu/libkeyutils.so.1.9
--3626--    object doesn't have a symbol table
--3626-- Reading syms from /usr/lib/x86_64-linux-gnu/libffi.so.7.1.0
--3626--    object doesn't have a symbol table
--3626-- REDIR: 0x5284120 (libc.so.6:memmove) redirected to 0x482e1b0 (_vgnU_ifunc_wrapper)
--3626-- REDIR: 0x5283420 (libc.so.6:strncpy) redirected to 0x482e1b0 (_vgnU_ifunc_wrapper)
--3626-- REDIR: 0x52845f0 (libc.so.6:strcasecmp) redirected to 0x482e1b0 (_vgnU_ifunc_wrapper)
--3626-- REDIR: 0x5282b70 (libc.so.6:strcat) redirected to 0x482e1b0 (_vgnU_ifunc_wrapper)
--3626-- REDIR: 0x52834b0 (libc.so.6:rindex) redirected to 0x482e1b0 (_vgnU_ifunc_wrapper)
--3626-- REDIR: 0x52859f0 (libc.so.6:rawmemchr) redirected to 0x482e1b0 (_vgnU_ifunc_wrapper)
--3626-- REDIR: 0x529dd40 (libc.so.6:wmemchr) redirected to 0x482e1b0 (_vgnU_ifunc_wrapper)
--3626-- REDIR: 0x529d810 (libc.so.6:wcscmp) redirected to 0x482e1b0 (_vgnU_ifunc_wrapper)
--3626-- REDIR: 0x5284360 (libc.so.6:mempcpy) redirected to 0x482e1b0 (_vgnU_ifunc_wrapper)
--3626-- REDIR: 0x5284090 (libc.so.6:bcmp) redirected to 0x482e1b0 (_vgnU_ifunc_wrapper)
--3626-- REDIR: 0x5283370 (libc.so.6:strncmp) redirected to 0x482e1b0 (_vgnU_ifunc_wrapper)
--3626-- REDIR: 0x5282c90 (libc.so.6:strcmp) redirected to 0x482e1b0 (_vgnU_ifunc_wrapper)
--3626-- REDIR: 0x5284250 (libc.so.6:memset) redirected to 0x482e1b0 (_vgnU_ifunc_wrapper)
--3626-- REDIR: 0x529d7a0 (libc.so.6:wcschr) redirected to 0x482e1b0 (_vgnU_ifunc_wrapper)
--3626-- REDIR: 0x5283270 (libc.so.6:strnlen) redirected to 0x482e1b0 (_vgnU_ifunc_wrapper)
--3626-- REDIR: 0x5282de0 (libc.so.6:strcspn) redirected to 0x482e1b0 (_vgnU_ifunc_wrapper)
--3626-- REDIR: 0x5284640 (libc.so.6:strncasecmp) redirected to 0x482e1b0 (_vgnU_ifunc_wrapper)
--3626-- REDIR: 0x5282d50 (libc.so.6:strcpy) redirected to 0x482e1b0 (_vgnU_ifunc_wrapper)
--3626-- REDIR: 0x5284790 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x482e1b0 (_vgnU_ifunc_wrapper)
--3626-- REDIR: 0x529efb0 (libc.so.6:wcsnlen) redirected to 0x482e1b0 (_vgnU_ifunc_wrapper)
--3626-- REDIR: 0x529d880 (libc.so.6:wcscpy) redirected to 0x482e1b0 (_vgnU_ifunc_wrapper)
--3626-- REDIR: 0x5283520 (libc.so.6:strpbrk) redirected to 0x482e1b0 (_vgnU_ifunc_wrapper)
--3626-- REDIR: 0x5282c00 (libc.so.6:index) redirected to 0x482e1b0 (_vgnU_ifunc_wrapper)
--3626-- REDIR: 0x5283200 (libc.so.6:strlen) redirected to 0x482e1b0 (_vgnU_ifunc_wrapper)
--3626-- REDIR: 0x5289db0 (libc.so.6:memrchr) redirected to 0x482e1b0 (_vgnU_ifunc_wrapper)
--3626-- REDIR: 0x5284690 (libc.so.6:strcasecmp_l) redirected to 0x482e1b0 (_vgnU_ifunc_wrapper)
--3626-- REDIR: 0x5284020 (libc.so.6:memchr) redirected to 0x482e1b0 (_vgnU_ifunc_wrapper)
--3626-- REDIR: 0x529d920 (libc.so.6:wcslen) redirected to 0x482e1b0 (_vgnU_ifunc_wrapper)
--3626-- REDIR: 0x52837c0 (libc.so.6:strspn) redirected to 0x482e1b0 (_vgnU_ifunc_wrapper)
--3626-- REDIR: 0x5284560 (libc.so.6:stpncpy) redirected to 0x482e1b0 (_vgnU_ifunc_wrapper)
--3626-- REDIR: 0x52844d0 (libc.so.6:stpcpy) redirected to 0x482e1b0 (_vgnU_ifunc_wrapper)
--3626-- REDIR: 0x5285a60 (libc.so.6:strchrnul) redirected to 0x482e1b0 (_vgnU_ifunc_wrapper)
--3626-- REDIR: 0x52846e0 (libc.so.6:strncasecmp_l) redirected to 0x482e1b0 (_vgnU_ifunc_wrapper)
--3626-- REDIR: 0x5302280 (libc.so.6:__memcpy_chk) redirected to 0x482e1b0 (_vgnU_ifunc_wrapper)
--3626-- REDIR: 0x52832e0 (libc.so.6:strncat) redirected to 0x482e1b0 (_vgnU_ifunc_wrapper)
--3626-- REDIR: 0x5283f50 (libc.so.6:strstr) redirected to 0x482e1b0 (_vgnU_ifunc_wrapper)
--3626-- REDIR: 0x53023b0 (libc.so.6:__memmove_chk) redirected to 0x482e1b0 (_vgnU_ifunc_wrapper)
==3626== WARNING: new redirection conflicts with existing -- ignoring it
--3626--     old: 0x05359280 (__memcpy_chk_avx_una) R-> (2030.0) 0x04840820 __memcpy_chk
--3626--     new: 0x05359280 (__memcpy_chk_avx_una) R-> (2024.0) 0x04840240 __memmove_chk
==3626== WARNING: new redirection conflicts with existing -- ignoring it
--3626--     old: 0x05359280 (__memcpy_chk_avx_una) R-> (2030.0) 0x04840820 __memcpy_chk
--3626--     new: 0x05359280 (__memcpy_chk_avx_una) R-> (2024.0) 0x04840240 __memmove_chk
==3626== WARNING: new redirection conflicts with existing -- ignoring it
--3626--     old: 0x05359280 (__memcpy_chk_avx_una) R-> (2030.0) 0x04840820 __memcpy_chk
--3626--     new: 0x05359280 (__memcpy_chk_avx_una) R-> (2024.0) 0x04840240 __memmove_chk
==3626== WARNING: new redirection conflicts with existing -- ignoring it
--3626--     old: 0x05359280 (__memcpy_chk_avx_una) R-> (2030.0) 0x04840820 __memcpy_chk
--3626--     new: 0x05359280 (__memcpy_chk_avx_una) R-> (2024.0) 0x04840240 __memmove_chk
--3626-- REDIR: 0x5356130 (libc.so.6:__strrchr_avx2) redirected to 0x483b7b0 (rindex)
--3626-- REDIR: 0x5356300 (libc.so.6:__strlen_avx2) redirected to 0x483bc80 (strlen)
--3626-- REDIR: 0x48551b0 (libsnmallocshim.so:malloc) redirected to 0x4838710 (malloc)
--3626-- REDIR: 0x5359290 (libc.so.6:__memcpy_avx_unaligned_erms) redirected to 0x483f760 (memmove)
--3626-- REDIR: 0x5351820 (libc.so.6:__strcmp_avx2) redirected to 0x483cb90 (strcmp)
--3626-- REDIR: 0x5355d10 (libc.so.6:__strchr_avx2) redirected to 0x483b930 (index)
--3626-- REDIR: 0x5351c60 (libc.so.6:__strncmp_avx2) redirected to 0x483c370 (strncmp)
--3626-- REDIR: 0x5352910 (libc.so.6:__memcmp_avx2_movbe) redirected to 0x483ee80 (bcmp)
--3626-- REDIR: 0x4856640 (libsnmallocshim.so:calloc) redirected to 0x483aab0 (calloc)
--3626-- REDIR: 0x5359280 (libc.so.6:__memcpy_chk_avx_unaligned_erms) redirected to 0x4840820 (__memcpy_chk)
--3626-- REDIR: 0x4853740 (libsnmallocshim.so:free) redirected to 0x4839940 (free)
--3626-- REDIR: 0x5352180 (libc.so.6:__memchr_avx2) redirected to 0x483cd10 (memchr)
--3626-- REDIR: 0x5355f40 (libc.so.6:__strchrnul_avx2) redirected to 0x48402b0 (strchrnul)
--3626-- REDIR: 0x5359270 (libc.so.6:__mempcpy_avx_unaligned_erms) redirected to 0x48403c0 (mempcpy)
--3626-- REDIR: 0x53584c0 (libc.so.6:__stpcpy_avx2) redirected to 0x483efa0 (stpcpy)
--3626-- REDIR: 0x5359720 (libc.so.6:__memset_avx2_unaligned_erms) redirected to 0x483f650 (memset)
--3626-- REDIR: 0x5356480 (libc.so.6:__strnlen_avx2) redirected to 0x483bc20 (strnlen)
--3626-- REDIR: 0x5283c60 (libc.so.6:__GI_strstr) redirected to 0x4840990 (__strstr_sse2)
--3626-- REDIR: 0x53516f0 (libc.so.6:__strspn_sse42) redirected to 0x4840bb0 (strspn)
--3626-- REDIR: 0x5351490 (libc.so.6:__strcspn_sse42) redirected to 0x4840ad0 (strcspn)
--3626-- REDIR: 0x48556b0 (libsnmallocshim.so:realloc) redirected to 0x483ad00 (realloc)
--3626-- REDIR: 0x5354360 (libc.so.6:__strncasecmp_avx) redirected to 0x483c5f0 (strncasecmp)
--3626-- REDIR: 0x6b3850 (NONE:zend_string_equal_val) redirected to 0x6b3830 (zend_string_equal_val)
--3626-- REDIR: 0x53515c0 (libc.so.6:__strpbrk_sse42) redirected to 0x4840a70 (strpbrk)
--3626-- REDIR: 0x5352cf0 (libc.so.6:__strcasecmp_avx) redirected to 0x483c530 (strcasecmp)
--3626-- Reading syms from /usr/local/lib/php/extensions/no-debug-non-zts-20210902/opcache.so
--3626--    object doesn't have a symbol table
--3626-- Reading syms from /lib/x86_64-linux-gnu/librt-2.31.so
--3626--   Considering /usr/lib/debug/.build-id/02/fef90b340c553239e4bf4b2213cc4cb49787eb.debug ..
--3626--   .. build-id is valid
--3626-- Reading syms from /usr/local/lib/php/extensions/no-debug-non-zts-20210902/apcu.so
--3626-- Reading syms from /usr/local/lib/php/extensions/no-debug-non-zts-20210902/bcmath.so
--3626--    object doesn't have a symbol table
--3626-- Reading syms from /usr/local/lib/php/extensions/no-debug-non-zts-20210902/exif.so
--3626--    object doesn't have a symbol table
--3626-- Reading syms from /usr/local/lib/php/extensions/no-debug-non-zts-20210902/gd.so
--3626--    object doesn't have a symbol table
--3626-- Reading syms from /usr/lib/x86_64-linux-gnu/libpng16.so.16.37.0
--3626--    object doesn't have a symbol table
--3626-- Reading syms from /usr/lib/x86_64-linux-gnu/libwebp.so.6.0.2
--3626--    object doesn't have a symbol table
--3626-- Reading syms from /usr/lib/x86_64-linux-gnu/libjpeg.so.62.3.0
--3626--    object doesn't have a symbol table
--3626-- Reading syms from /usr/lib/x86_64-linux-gnu/libfreetype.so.6.17.4
--3626--    object doesn't have a symbol table
--3626-- Reading syms from /usr/local/lib/php/extensions/no-debug-non-zts-20210902/gmp.so
--3626--    object doesn't have a symbol table
--3626-- Reading syms from /usr/local/lib/php/extensions/no-debug-non-zts-20210902/imagick.so
--3626-- Reading syms from /usr/lib/x86_64-linux-gnu/libgomp.so.1.0.0
--3626--    object doesn't have a symbol table
--3626-- Reading syms from /usr/lib/x86_64-linux-gnu/libMagickWand-6.Q16.so.6.0.0
--3626--    object doesn't have a symbol table
--3626-- Reading syms from /usr/lib/x86_64-linux-gnu/libMagickCore-6.Q16.so.6.0.0
--3626--    object doesn't have a symbol table
--3626-- Reading syms from /usr/lib/x86_64-linux-gnu/libX11.so.6.4.0
--3626--    object doesn't have a symbol table
--3626-- Reading syms from /usr/lib/x86_64-linux-gnu/liblcms2.so.2.0.12
--3626--    object doesn't have a symbol table
--3626-- Reading syms from /usr/lib/x86_64-linux-gnu/liblqr-1.so.0.3.2
--3626--    object doesn't have a symbol table
--3626-- Reading syms from /usr/lib/x86_64-linux-gnu/libfftw3.so.3.5.8
--3626--    object doesn't have a symbol table
--3626-- Reading syms from /usr/lib/x86_64-linux-gnu/libfontconfig.so.1.12.0
--3626--    object doesn't have a symbol table
--3626-- Reading syms from /usr/lib/x86_64-linux-gnu/libXext.so.6.4.0
--3626--   Considering /usr/lib/x86_64-linux-gnu/libXext.so.6.4.0 ..
--3626--   .. CRC mismatch (computed fee28fcb wanted ccf52917)
--3626--    object doesn't have a symbol table
--3626-- Reading syms from /lib/x86_64-linux-gnu/libbz2.so.1.0.4
--3626--    object doesn't have a symbol table
--3626-- Reading syms from /usr/lib/x86_64-linux-gnu/libltdl.so.7.3.1
--3626--    object doesn't have a symbol table
--3626-- Reading syms from /usr/lib/x86_64-linux-gnu/libxcb.so.1.1.0
--3626--    object doesn't have a symbol table
--3626-- Reading syms from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0.6600.8
--3626--    object doesn't have a symbol table
--3626-- Reading syms from /lib/x86_64-linux-gnu/libexpat.so.1.6.12
--3626--    object doesn't have a symbol table
--3626-- Reading syms from /usr/lib/x86_64-linux-gnu/libuuid.so.1.3.0
--3626--    object doesn't have a symbol table
--3626-- Reading syms from /usr/lib/x86_64-linux-gnu/libXau.so.6.0.0
--3626--    object doesn't have a symbol table
--3626-- Reading syms from /usr/lib/x86_64-linux-gnu/libXdmcp.so.6.0.0
--3626--    object doesn't have a symbol table
--3626-- Reading syms from /lib/x86_64-linux-gnu/libpcre.so.3.13.3
--3626--    object doesn't have a symbol table
--3626-- Reading syms from /usr/lib/x86_64-linux-gnu/libbsd.so.0.11.3
--3626--    object doesn't have a symbol table
--3626-- Reading syms from /usr/lib/x86_64-linux-gnu/libmd.so.0.0.4
--3626--    object doesn't have a symbol table
==3626== WARNING: new redirection conflicts with existing -- ignoring it
--3626--     old: 0x05359280 (__memcpy_chk_avx_una) R-> (2030.0) 0x04840820 __memcpy_chk
--3626--     new: 0x05359280 (__memcpy_chk_avx_una) R-> (2024.0) 0x04840240 __memmove_chk
--3626-- REDIR: 0x527f0f0 (libc.so.6:malloc) redirected to 0x4838710 (malloc)
--3626-- REDIR: 0x527f720 (libc.so.6:free) redirected to 0x4839940 (free)
--3626-- REDIR: 0x527fe50 (libc.so.6:calloc) redirected to 0x483aab0 (calloc)
--3626-- REDIR: 0x527f980 (libc.so.6:realloc) redirected to 0x483ad00 (realloc)
--3626-- Reading syms from /usr/local/lib/php/extensions/no-debug-non-zts-20210902/intl.so
--3626--    object doesn't have a symbol table
--3626-- Reading syms from /usr/lib/x86_64-linux-gnu/libicuio.so.67.1
--3626--    object doesn't have a symbol table
--3626-- Reading syms from /usr/lib/x86_64-linux-gnu/libicui18n.so.67.1
--3626--    object doesn't have a symbol table
==3626== WARNING: new redirection conflicts with existing -- ignoring it
--3626--     old: 0x05359280 (__memcpy_chk_avx_una) R-> (2030.0) 0x04840820 __memcpy_chk
--3626--     new: 0x05359280 (__memcpy_chk_avx_una) R-> (2024.0) 0x04840240 __memmove_chk
==3626== WARNING: new redirection conflicts with existing -- ignoring it
--3626--     old: 0x05359280 (__memcpy_chk_avx_una) R-> (2030.0) 0x04840820 __memcpy_chk
--3626--     new: 0x05359280 (__memcpy_chk_avx_una) R-> (2024.0) 0x04840240 __memmove_chk
--3626-- Reading syms from /usr/local/lib/php/extensions/no-debug-non-zts-20210902/ldap.so
--3626--    object doesn't have a symbol table
--3626-- Reading syms from /usr/local/lib/php/extensions/no-debug-non-zts-20210902/memcached.so
--3626-- Reading syms from /usr/lib/x86_64-linux-gnu/libmemcached.so.11.0.0
--3626--    object doesn't have a symbol table
--3626-- Reading syms from /usr/local/lib/php/extensions/no-debug-non-zts-20210902/pcntl.so
--3626--    object doesn't have a symbol table
--3626-- Reading syms from /usr/local/lib/php/extensions/no-debug-non-zts-20210902/pdo_mysql.so
--3626--    object doesn't have a symbol table
--3626-- Reading syms from /usr/local/lib/php/extensions/no-debug-non-zts-20210902/pdo_pgsql.so
--3626--    object doesn't have a symbol table
--3626-- Reading syms from /usr/lib/x86_64-linux-gnu/libpq.so.5.13
--3626--    object doesn't have a symbol table
--3626-- Reading syms from /usr/local/lib/php/extensions/no-debug-non-zts-20210902/redis.so
--3626-- Reading syms from /usr/local/lib/php/extensions/no-debug-non-zts-20210902/sodium.so
--3626--    object doesn't have a symbol table
--3626-- Reading syms from /usr/lib/x86_64-linux-gnu/libsodium.so.23.3.0
--3626--    object doesn't have a symbol table
--3626-- Reading syms from /usr/local/lib/php/extensions/no-debug-non-zts-20210902/zip.so
--3626--    object doesn't have a symbol table
--3626-- Reading syms from /usr/lib/x86_64-linux-gnu/libzip.so.4.0
--3626--    object doesn't have a symbol table
--3626-- REDIR: 0x53577d0 (libc.so.6:__strcpy_avx2) redirected to 0x483bdd0 (strcpy)
--3626-- REDIR: 0x5280b10 (libc.so.6:posix_memalign) redirected to 0x483afa0 (posix_memalign)
--3626-- REDIR: 0x5354370 (libc.so.6:__strncasecmp_l_avx) redirected to 0x483c8c0 (strncasecmp_l)
--3626-- REDIR: 0x5356dc0 (libc.so.6:__strncat_avx2) redirected to 0x483bb20 (strncat)
--3626-- REDIR: 0x529c4e0 (libc.so.6:__strstr_sse2_unaligned) redirected to 0x4840920 (strstr)
--3626-- REDIR: 0x5359ba0 (libc.so.6:__wmemchr_avx2) redirected to 0x4840f70 (wmemchr)
--3626-- Reading syms from /lib/x86_64-linux-gnu/libnss_files-2.31.so
--3626--   Considering /usr/lib/debug/.build-id/ba/b4b71665bcc7f3f9b142804534c6de15b6e824.debug ..
--3626--   .. build-id is valid
--3626-- Reading syms from /lib/x86_64-linux-gnu/libnss_dns-2.31.so
--3626--   Considering /usr/lib/debug/.build-id/89/7901ffceb83e3b4a9cc4a5ad5120f7e2204bf4.debug ..
--3626--   .. build-id is valid
--3626-- REDIR: 0x5357b60 (libc.so.6:__strncpy_avx2) redirected to 0x483bf70 (strncpy)
--3626-- REDIR: 0x5352430 (libc.so.6:__rawmemchr_avx2) redirected to 0x48402e0 (rawmemchr)
--3626-- memcheck GC: 1000 nodes, 998 survivors (99.8%)
--3626-- memcheck GC: 1414 new table size (stepup)
--3626-- memcheck GC: 1414 nodes, 1414 survivors (100.0%)
--3626-- memcheck GC: 1999 new table size (stepup)
--3626-- memcheck GC: 1999 nodes, 1972 survivors (98.6%)
--3626-- memcheck GC: 2827 new table size (stepup)
--3626-- Discarding syms at 0x9e0f950-0x9e16df3 in /usr/local/lib/php/extensions/no-debug-non-zts-20210902/zip.so (have_dinfo 1)
--3626-- Discarding syms at 0x9e22790-0x9e3322d in /usr/lib/x86_64-linux-gnu/libzip.so.4.0 (have_dinfo 1)
--3626-- Discarding syms at 0x9d9a8f0-0x9da391c in /usr/local/lib/php/extensions/no-debug-non-zts-20210902/sodium.so (have_dinfo 1)
--3626-- Discarding syms at 0x9dbbc20-0x9df31f1 in /usr/lib/x86_64-linux-gnu/libsodium.so.23.3.0 (have_dinfo 1)
--3626-- Discarding syms at 0x9d12aa0-0x9d6b17c in /usr/local/lib/php/extensions/no-debug-non-zts-20210902/redis.so (have_dinfo 1)
--3626-- Discarding syms at 0x9c97860-0x9c9c3be in /usr/local/lib/php/extensions/no-debug-non-zts-20210902/pdo_pgsql.so (have_dinfo 1)
--3626-- Discarding syms at 0x9cae100-0x9cd0005 in /usr/lib/x86_64-linux-gnu/libpq.so.5.13 (have_dinfo 1)
--3626-- Discarding syms at 0x9c8b3d0-0x9c8e475 in /usr/local/lib/php/extensions/no-debug-non-zts-20210902/pdo_mysql.so (have_dinfo 1)
--3626-- Discarding syms at 0x9c80490-0x9c83837 in /usr/local/lib/php/extensions/no-debug-non-zts-20210902/pcntl.so (have_dinfo 1)
--3626-- Discarding syms at 0x9a36c40-0x9a42ac4 in /usr/local/lib/php/extensions/no-debug-non-zts-20210902/memcached.so (have_dinfo 1)
--3626-- Discarding syms at 0x9a50fd0-0x9a6ba79 in /usr/lib/x86_64-linux-gnu/libmemcached.so.11.0.0 (have_dinfo 1)
--3626-- Discarding syms at 0x9a1b970-0x9a25438 in /usr/local/lib/php/extensions/no-debug-non-zts-20210902/ldap.so (have_dinfo 1)
--3626-- Discarding syms at 0x96a8570-0x96d7b00 in /usr/local/lib/php/extensions/no-debug-non-zts-20210902/intl.so (have_dinfo 1)
--3626-- Discarding syms at 0x9703500-0x9709f3a in /usr/lib/x86_64-linux-gnu/libicuio.so.67.1 (have_dinfo 1)
--3626-- Discarding syms at 0x97ff590-0x9976433 in /usr/lib/x86_64-linux-gnu/libicui18n.so.67.1 (have_dinfo 1)
--3626-- Discarding syms at 0x879abf0-0x87b9804 in /usr/local/lib/php/extensions/no-debug-non-zts-20210902/imagick.so (have_dinfo 1)
--3626-- Discarding syms at 0x8835830-0x8913d83 in /usr/lib/x86_64-linux-gnu/libMagickWand-6.Q16.so.6.0.0 (have_dinfo 1)
--3626-- Discarding syms at 0x8979070-0x8b4bdf2 in /usr/lib/x86_64-linux-gnu/libMagickCore-6.Q16.so.6.0.0 (have_dinfo 1)
--3626-- Discarding syms at 0x87e96c0-0x8811ace in /usr/lib/x86_64-linux-gnu/libgomp.so.1.0.0 (have_dinfo 1)
--3626-- Discarding syms at 0x8d6b2c0-0x8da420f in /usr/lib/x86_64-linux-gnu/liblcms2.so.2.0.12 (have_dinfo 1)
--3626-- Discarding syms at 0x8dc3f90-0x8dcc954 in /usr/lib/x86_64-linux-gnu/liblqr-1.so.0.3.2 (have_dinfo 1)
--3626-- Discarding syms at 0x8ff4f60-0x9197282 in /usr/lib/x86_64-linux-gnu/libfftw3.so.3.5.8 (have_dinfo 1)
--3626-- Discarding syms at 0x91de820-0x920145a in /usr/lib/x86_64-linux-gnu/libfontconfig.so.1.12.0 (have_dinfo 1)
--3626-- Discarding syms at 0x92213d0-0x922b4ff in /usr/lib/x86_64-linux-gnu/libXext.so.6.4.0 (have_dinfo 1)
--3626-- Discarding syms at 0x8c3a950-0x8cc366a in /usr/lib/x86_64-linux-gnu/libX11.so.6.4.0 (have_dinfo 1)
--3626-- Discarding syms at 0x92342b0-0x9240e72 in /lib/x86_64-linux-gnu/libbz2.so.1.0.4 (have_dinfo 1)
--3626-- Discarding syms at 0x9247480-0x924b5a6 in /usr/lib/x86_64-linux-gnu/libltdl.so.7.3.1 (have_dinfo 1)
--3626-- Discarding syms at 0x925c720-0x926f205 in /usr/lib/x86_64-linux-gnu/libxcb.so.1.1.0 (have_dinfo 1)
--3626-- Discarding syms at 0x93ae130-0x93ca713 in /lib/x86_64-linux-gnu/libexpat.so.1.6.12 (have_dinfo 1)
--3626-- Discarding syms at 0x93db320-0x93dec59 in /usr/lib/x86_64-linux-gnu/libuuid.so.1.3.0 (have_dinfo 1)
--3626-- Discarding syms at 0x93e3200-0x93e3eae in /usr/lib/x86_64-linux-gnu/libXau.so.6.0.0 (have_dinfo 1)
--3626-- Discarding syms at 0x93e8340-0x93e9c48 in /usr/lib/x86_64-linux-gnu/libXdmcp.so.6.0.0 (have_dinfo 1)
--3626-- Discarding syms at 0x96648c0-0x966fd45 in /usr/lib/x86_64-linux-gnu/libbsd.so.0.11.3 (have_dinfo 1)
--3626-- Discarding syms at 0x9679430-0x967fbf5 in /usr/lib/x86_64-linux-gnu/libmd.so.0.0.4 (have_dinfo 1)
--3626-- Discarding syms at 0x81f0730-0x81f6fe2 in /usr/local/lib/php/extensions/no-debug-non-zts-20210902/gmp.so (have_dinfo 1)
--3626-- Discarding syms at 0x852e7c0-0x8556d56 in /usr/local/lib/php/extensions/no-debug-non-zts-20210902/gd.so (have_dinfo 1)
--3626-- Discarding syms at 0x85c6390-0x8614e50 in /usr/lib/x86_64-linux-gnu/libwebp.so.6.0.2 (have_dinfo 1)
--3626-- Discarding syms at 0x8630520-0x8672ca5 in /usr/lib/x86_64-linux-gnu/libjpeg.so.62.3.0 (have_dinfo 1)
--3626-- Discarding syms at 0x86bd9e0-0x873fa42 in /usr/lib/x86_64-linux-gnu/libfreetype.so.6.17.4 (have_dinfo 1)
--3626-- Discarding syms at 0x858f950-0x85b4425 in /usr/lib/x86_64-linux-gnu/libpng16.so.16.37.0 (have_dinfo 1)
--3626-- Discarding syms at 0x850d4c0-0x8513df8 in /usr/local/lib/php/extensions/no-debug-non-zts-20210902/exif.so (have_dinfo 1)
--3626-- Discarding syms at 0x81e1410-0x81e5e33 in /usr/local/lib/php/extensions/no-debug-non-zts-20210902/bcmath.so (have_dinfo 1)
--3626-- Discarding syms at 0x81cfbe0-0x81d7cd9 in /usr/local/lib/php/extensions/no-debug-non-zts-20210902/apcu.so (have_dinfo 1)
--3626-- Discarding syms at 0x841ab50-0x84ce91e in /usr/local/lib/php/extensions/no-debug-non-zts-20210902/opcache.so (have_dinfo 1)
--3626-- Discarding syms at 0xc27f300-0xc285338 in /lib/x86_64-linux-gnu/libnss_files-2.31.so (have_dinfo 1)
--3626-- Discarding syms at 0xc2911b0-0xc294172 in /lib/x86_64-linux-gnu/libnss_dns-2.31.so (have_dinfo 1)
==3626== 
==3626== HEAP SUMMARY:
==3626==     in use at exit: 28,887 bytes in 57 blocks
==3626==   total heap usage: 191,625 allocs, 191,568 frees, 21,269,111 bytes allocated
==3626== 
==3626== Searching for pointers to 57 not-freed blocks
==3626== Checked 869,728 bytes
==3626== 
==3626== 4 bytes in 1 blocks are still reachable in loss record 1 of 39
==3626==    at 0x483877F: malloc (vg_replace_malloc.c:307)
==3626==    by 0x931D5B3: ??? (in /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0.6600.8)
==3626==    by 0x931DBF9: g_private_get (in /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0.6600.8)
==3626==    by 0x92EAD5C: g_slice_alloc (in /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0.6600.8)
==3626==    by 0x92B990D: g_hash_table_new_full (in /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0.6600.8)
==3626==    by 0x92DCADA: ??? (in /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0.6600.8)
==3626==    by 0x400FFE1: call_init.part.0 (dl-init.c:72)
==3626==    by 0x40100E8: call_init (dl-init.c:30)
==3626==    by 0x40100E8: _dl_init (dl-init.c:119)
==3626==    by 0x532EAEC: _dl_catch_exception (dl-error-skeleton.c:182)
==3626==    by 0x4014363: dl_open_worker (dl-open.c:758)
==3626==    by 0x532EA8F: _dl_catch_exception (dl-error-skeleton.c:208)
==3626==    by 0x40138F9: _dl_open (dl-open.c:837)
==3626== 
==3626== 6 bytes in 1 blocks are still reachable in loss record 2 of 39
==3626==    at 0x483877F: malloc (vg_replace_malloc.c:307)
==3626==    by 0x5519D64: icu_67::Normalizer2::getInstance(char const*, char const*, UNormalization2Mode, UErrorCode&) (in /usr/lib/x86_64-linux-gnu/libicuuc.so.67.1)
==3626==    by 0x5563E69: icu_67::UTS46::UTS46(unsigned int, UErrorCode&) (in /usr/lib/x86_64-linux-gnu/libicuuc.so.67.1)
==3626==    by 0x5563EAD: icu_67::IDNA::createUTS46Instance(unsigned int, UErrorCode&) (in /usr/lib/x86_64-linux-gnu/libicuuc.so.67.1)
==3626==    by 0x96C7EF5: ???
==3626==    by 0x69D719: execute_ex (in /usr/local/bin/php)
==3626==    by 0x6A06AE: zend_execute (in /usr/local/bin/php)
==3626==    by 0x6334BC: zend_execute_scripts (in /usr/local/bin/php)
==3626==    by 0x5CF530: php_execute_script (in /usr/local/bin/php)
==3626==    by 0x7148F0: ??? (in /usr/local/bin/php)
==3626==    by 0x34CD10: ??? (in /usr/local/bin/php)
==3626==    by 0x521BD09: (below main) (libc-start.c:308)
==3626== 
==3626== 7 bytes in 1 blocks are indirectly lost in loss record 3 of 39
==3626==    at 0x483877F: malloc (vg_replace_malloc.c:307)
==3626==    by 0x9247A28: ???
==3626==    by 0x9249877: ???
==3626==    by 0x924A502: ???
==3626==    by 0x924797A: ???
==3626==    by 0x8A770A5: ???
==3626==    by 0x8A77DFD: ???
==3626==    by 0x8A71CBD: ???
==3626==    by 0x87B85CF: ???
==3626==    by 0x637686: zend_startup_module_ex (in /usr/local/bin/php)
==3626==    by 0x63771B: ??? (in /usr/local/bin/php)
==3626==    by 0x645171: zend_hash_apply (in /usr/local/bin/php)
==3626== 
==3626== 8 bytes in 1 blocks are still reachable in loss record 4 of 39
==3626==    at 0x483877F: malloc (vg_replace_malloc.c:307)
==3626==    by 0x57177B9: ??? (in /usr/lib/x86_64-linux-gnu/libgssapi_krb5.so.2.2)
==3626==    by 0x57178A4: ??? (in /usr/lib/x86_64-linux-gnu/libgssapi_krb5.so.2.2)
==3626==    by 0x57179F2: ??? (in /usr/lib/x86_64-linux-gnu/libgssapi_krb5.so.2.2)
==3626==    by 0x5716111: ??? (in /usr/lib/x86_64-linux-gnu/libgssapi_krb5.so.2.2)
==3626==    by 0x5716F67: ??? (in /usr/lib/x86_64-linux-gnu/libgssapi_krb5.so.2.2)
==3626==    by 0x5703763: gss_add_cred_from (in /usr/lib/x86_64-linux-gnu/libgssapi_krb5.so.2.2)
==3626==    by 0x5703D86: gss_acquire_cred_from (in /usr/lib/x86_64-linux-gnu/libgssapi_krb5.so.2.2)
==3626==    by 0x5703FC5: gss_acquire_cred (in /usr/lib/x86_64-linux-gnu/libgssapi_krb5.so.2.2)
==3626==    by 0x9CC869F: ???
==3626==    by 0x9CB2F06: ???
==3626==    by 0x9CB38F6: ???
==3626== 
==3626== 8 bytes in 1 blocks are definitely lost in loss record 5 of 39
==3626==    at 0x483877F: malloc (vg_replace_malloc.c:307)
==3626==    by 0x87EC0F8: ???
==3626==    by 0x87FC076: ???
==3626==    by 0x87EA599: ???
==3626==    by 0x400FFE1: call_init.part.0 (dl-init.c:72)
==3626==    by 0x40100E8: call_init (dl-init.c:30)
==3626==    by 0x40100E8: _dl_init (dl-init.c:119)
==3626==    by 0x532EAEC: _dl_catch_exception (dl-error-skeleton.c:182)
==3626==    by 0x4014363: dl_open_worker (dl-open.c:758)
==3626==    by 0x532EA8F: _dl_catch_exception (dl-error-skeleton.c:208)
==3626==    by 0x40138F9: _dl_open (dl-open.c:837)
==3626==    by 0x4A22257: dlopen_doit (dlopen.c:66)
==3626==    by 0x532EA8F: _dl_catch_exception (dl-error-skeleton.c:208)
==3626== 
==3626== 9 bytes in 1 blocks are indirectly lost in loss record 6 of 39
==3626==    at 0x483877F: malloc (vg_replace_malloc.c:307)
==3626==    by 0x9247A28: ???
==3626==    by 0x9247AC4: ???
==3626==    by 0x92480F4: ???
==3626==    by 0x924A1E4: ???
==3626==    by 0x924A502: ???
==3626==    by 0x924797A: ???
==3626==    by 0x8A770A5: ???
==3626==    by 0x8A77DFD: ???
==3626==    by 0x8A71CBD: ???
==3626==    by 0x87B85CF: ???
==3626==    by 0x637686: zend_startup_module_ex (in /usr/local/bin/php)
==3626== 
==3626== 16 bytes in 1 blocks are indirectly lost in loss record 7 of 39
==3626==    at 0x483877F: malloc (vg_replace_malloc.c:307)
==3626==    by 0x924B25D: ???
==3626==    by 0x9247BA4: ???
==3626==    by 0x9248FE1: ???
==3626==    by 0x92490B6: ???
==3626==    by 0x8A770A5: ???
==3626==    by 0x8A77DFD: ???
==3626==    by 0x8A71CBD: ???
==3626==    by 0x87B85CF: ???
==3626==    by 0x637686: zend_startup_module_ex (in /usr/local/bin/php)
==3626==    by 0x63771B: ??? (in /usr/local/bin/php)
==3626==    by 0x645171: zend_hash_apply (in /usr/local/bin/php)
==3626== 
==3626== 16 bytes in 1 blocks are definitely lost in loss record 8 of 39
==3626==    at 0x483877F: malloc (vg_replace_malloc.c:307)
==3626==    by 0x9247A28: ???
==3626==    by 0x9247A59: ???
==3626==    by 0x92477F8: ???
==3626==    by 0x92490DB: ???
==3626==    by 0x8A770A5: ???
==3626==    by 0x8A77DFD: ???
==3626==    by 0x8A71CBD: ???
==3626==    by 0x87B85CF: ???
==3626==    by 0x637686: zend_startup_module_ex (in /usr/local/bin/php)
==3626==    by 0x63771B: ??? (in /usr/local/bin/php)
==3626==    by 0x645171: zend_hash_apply (in /usr/local/bin/php)
==3626== 
==3626== 24 bytes in 1 blocks are still reachable in loss record 9 of 39
==3626==    at 0x483877F: malloc (vg_replace_malloc.c:307)
==3626==    by 0x5717763: ??? (in /usr/lib/x86_64-linux-gnu/libgssapi_krb5.so.2.2)
==3626==    by 0x57178A4: ??? (in /usr/lib/x86_64-linux-gnu/libgssapi_krb5.so.2.2)
==3626==    by 0x57179F2: ??? (in /usr/lib/x86_64-linux-gnu/libgssapi_krb5.so.2.2)
==3626==    by 0x5716111: ??? (in /usr/lib/x86_64-linux-gnu/libgssapi_krb5.so.2.2)
==3626==    by 0x5716F67: ??? (in /usr/lib/x86_64-linux-gnu/libgssapi_krb5.so.2.2)
==3626==    by 0x5703763: gss_add_cred_from (in /usr/lib/x86_64-linux-gnu/libgssapi_krb5.so.2.2)
==3626==    by 0x5703D86: gss_acquire_cred_from (in /usr/lib/x86_64-linux-gnu/libgssapi_krb5.so.2.2)
==3626==    by 0x5703FC5: gss_acquire_cred (in /usr/lib/x86_64-linux-gnu/libgssapi_krb5.so.2.2)
==3626==    by 0x9CC869F: ???
==3626==    by 0x9CB2F06: ???
==3626==    by 0x9CB38F6: ???
==3626== 
==3626== 32 bytes in 1 blocks are still reachable in loss record 10 of 39
==3626==    at 0x483AB65: calloc (vg_replace_malloc.c:760)
==3626==    by 0x92D2DA0: g_malloc0 (in /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0.6600.8)
==3626==    by 0x92B89BF: ??? (in /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0.6600.8)
==3626==    by 0x92B994C: g_hash_table_new_full (in /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0.6600.8)
==3626==    by 0x92DCADA: ??? (in /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0.6600.8)
==3626==    by 0x400FFE1: call_init.part.0 (dl-init.c:72)
==3626==    by 0x40100E8: call_init (dl-init.c:30)
==3626==    by 0x40100E8: _dl_init (dl-init.c:119)
==3626==    by 0x532EAEC: _dl_catch_exception (dl-error-skeleton.c:182)
==3626==    by 0x4014363: dl_open_worker (dl-open.c:758)
==3626==    by 0x532EA8F: _dl_catch_exception (dl-error-skeleton.c:208)
==3626==    by 0x40138F9: _dl_open (dl-open.c:837)
==3626==    by 0x4A22257: dlopen_doit (dlopen.c:66)
==3626== 
==3626== 32 bytes in 1 blocks are still reachable in loss record 11 of 39
==3626==    at 0x483877F: malloc (vg_replace_malloc.c:307)
==3626==    by 0x4014FE5: _dl_close_worker (dl-close.c:403)
==3626==    by 0x401597D: _dl_close (dl-close.c:859)
==3626==    by 0x532EA8F: _dl_catch_exception (dl-error-skeleton.c:208)
==3626==    by 0x532EB4E: _dl_catch_error (dl-error-skeleton.c:227)
==3626==    by 0x4A22A64: _dlerror_run (dlerror.c:170)
==3626==    by 0x4A22373: dlclose (dlclose.c:46)
==3626==    by 0x62635A: zend_llist_destroy (in /usr/local/bin/php)
==3626==    by 0x632E7C: ??? (in /usr/local/bin/php)
==3626==    by 0x5CF319: php_module_shutdown (in /usr/local/bin/php)
==3626==    by 0x34CD32: ??? (in /usr/local/bin/php)
==3626==    by 0x521BD09: (below main) (libc-start.c:308)
==3626== 
==3626== 48 bytes in 1 blocks are still reachable in loss record 12 of 39
==3626==    at 0x483877F: malloc (vg_replace_malloc.c:307)
==3626==    by 0x7B88F1C: krb5int_setspecific (in /usr/lib/x86_64-linux-gnu/libkrb5support.so.0.1)
==3626==    by 0x57177D5: ??? (in /usr/lib/x86_64-linux-gnu/libgssapi_krb5.so.2.2)
==3626==    by 0x57178A4: ??? (in /usr/lib/x86_64-linux-gnu/libgssapi_krb5.so.2.2)
==3626==    by 0x57179F2: ??? (in /usr/lib/x86_64-linux-gnu/libgssapi_krb5.so.2.2)
==3626==    by 0x5716111: ??? (in /usr/lib/x86_64-linux-gnu/libgssapi_krb5.so.2.2)
==3626==    by 0x5716F67: ??? (in /usr/lib/x86_64-linux-gnu/libgssapi_krb5.so.2.2)
==3626==    by 0x5703763: gss_add_cred_from (in /usr/lib/x86_64-linux-gnu/libgssapi_krb5.so.2.2)
==3626==    by 0x5703D86: gss_acquire_cred_from (in /usr/lib/x86_64-linux-gnu/libgssapi_krb5.so.2.2)
==3626==    by 0x5703FC5: gss_acquire_cred (in /usr/lib/x86_64-linux-gnu/libgssapi_krb5.so.2.2)
==3626==    by 0x9CC869F: ???
==3626==    by 0x9CB2F06: ???
==3626== 
==3626== 48 bytes in 1 blocks are still reachable in loss record 13 of 39
==3626==    at 0x483877F: malloc (vg_replace_malloc.c:307)
==3626==    by 0x55369BF: ucptrie_openFromBinary_67 (in /usr/lib/x86_64-linux-gnu/libicuuc.so.67.1)
==3626==    by 0x5519802: icu_67::LoadedNormalizer2Impl::load(char const*, char const*, UErrorCode&) (in /usr/lib/x86_64-linux-gnu/libicuuc.so.67.1)
==3626==    by 0x55198B7: icu_67::Norm2AllModes::createInstance(char const*, char const*, UErrorCode&) (in /usr/lib/x86_64-linux-gnu/libicuuc.so.67.1)
==3626==    by 0x5519C95: icu_67::Normalizer2::getInstance(char const*, char const*, UNormalization2Mode, UErrorCode&) (in /usr/lib/x86_64-linux-gnu/libicuuc.so.67.1)
==3626==    by 0x5563E69: icu_67::UTS46::UTS46(unsigned int, UErrorCode&) (in /usr/lib/x86_64-linux-gnu/libicuuc.so.67.1)
==3626==    by 0x5563EAD: icu_67::IDNA::createUTS46Instance(unsigned int, UErrorCode&) (in /usr/lib/x86_64-linux-gnu/libicuuc.so.67.1)
==3626==    by 0x96C7EF5: ???
==3626==    by 0x69D719: execute_ex (in /usr/local/bin/php)
==3626==    by 0x6A06AE: zend_execute (in /usr/local/bin/php)
==3626==    by 0x6334BC: zend_execute_scripts (in /usr/local/bin/php)
==3626==    by 0x5CF530: php_execute_script (in /usr/local/bin/php)
==3626== 
==3626== 48 bytes in 6 blocks are still reachable in loss record 14 of 39
==3626==    at 0x483877F: malloc (vg_replace_malloc.c:307)
==3626==    by 0x7962A4D: ??? (in /usr/lib/x86_64-linux-gnu/libgcrypt.so.20.2.8)
==3626==    by 0x796422B: ??? (in /usr/lib/x86_64-linux-gnu/libgcrypt.so.20.2.8)
==3626==    by 0x7A2981F: ??? (in /usr/lib/x86_64-linux-gnu/libgcrypt.so.20.2.8)
==3626==    by 0x7962999: ??? (in /usr/lib/x86_64-linux-gnu/libgcrypt.so.20.2.8)
==3626==    by 0x7963BE0: ??? (in /usr/lib/x86_64-linux-gnu/libgcrypt.so.20.2.8)
==3626==    by 0x795F788: gcry_control (in /usr/lib/x86_64-linux-gnu/libgcrypt.so.20.2.8)
==3626==    by 0x56CEF73: libssh2_init (in /usr/lib/x86_64-linux-gnu/libssh2.so.1.0.1)
==3626==    by 0x5135D1A: ??? (in /usr/lib/x86_64-linux-gnu/libcurl.so.4.7.0)
==3626==    by 0x50DC694: ??? (in /usr/lib/x86_64-linux-gnu/libcurl.so.4.7.0)
==3626==    by 0x419038: ??? (in /usr/local/bin/php)
==3626==    by 0x637686: zend_startup_module_ex (in /usr/local/bin/php)
==3626== 
==3626== 56 bytes in 1 blocks are still reachable in loss record 15 of 39
==3626==    at 0x483877F: malloc (vg_replace_malloc.c:307)
==3626==    by 0x549A45C: UDataMemory_createNewInstance_67 (in /usr/lib/x86_64-linux-gnu/libicuuc.so.67.1)
==3626==    by 0x549828A: ??? (in /usr/lib/x86_64-linux-gnu/libicuuc.so.67.1)
==3626==    by 0x5498EF6: ??? (in /usr/lib/x86_64-linux-gnu/libicuuc.so.67.1)
==3626==    by 0x549909C: ??? (in /usr/lib/x86_64-linux-gnu/libicuuc.so.67.1)
==3626==    by 0x5499B24: ??? (in /usr/lib/x86_64-linux-gnu/libicuuc.so.67.1)
==3626==    by 0x55197AB: icu_67::LoadedNormalizer2Impl::load(char const*, char const*, UErrorCode&) (in /usr/lib/x86_64-linux-gnu/libicuuc.so.67.1)
==3626==    by 0x55198B7: icu_67::Norm2AllModes::createInstance(char const*, char const*, UErrorCode&) (in /usr/lib/x86_64-linux-gnu/libicuuc.so.67.1)
==3626==    by 0x5519C95: icu_67::Normalizer2::getInstance(char const*, char const*, UNormalization2Mode, UErrorCode&) (in /usr/lib/x86_64-linux-gnu/libicuuc.so.67.1)
==3626==    by 0x5563E69: icu_67::UTS46::UTS46(unsigned int, UErrorCode&) (in /usr/lib/x86_64-linux-gnu/libicuuc.so.67.1)
==3626==    by 0x5563EAD: icu_67::IDNA::createUTS46Instance(unsigned int, UErrorCode&) (in /usr/lib/x86_64-linux-gnu/libicuuc.so.67.1)
==3626==    by 0x96C7EF5: ???
==3626== 
==3626== 56 bytes in 1 blocks are still reachable in loss record 16 of 39
==3626==    at 0x483877F: malloc (vg_replace_malloc.c:307)
==3626==    by 0x549A45C: UDataMemory_createNewInstance_67 (in /usr/lib/x86_64-linux-gnu/libicuuc.so.67.1)
==3626==    by 0x5499151: ??? (in /usr/lib/x86_64-linux-gnu/libicuuc.so.67.1)
==3626==    by 0x5499B24: ??? (in /usr/lib/x86_64-linux-gnu/libicuuc.so.67.1)
==3626==    by 0x55197AB: icu_67::LoadedNormalizer2Impl::load(char const*, char const*, UErrorCode&) (in /usr/lib/x86_64-linux-gnu/libicuuc.so.67.1)
==3626==    by 0x55198B7: icu_67::Norm2AllModes::createInstance(char const*, char const*, UErrorCode&) (in /usr/lib/x86_64-linux-gnu/libicuuc.so.67.1)
==3626==    by 0x5519C95: icu_67::Normalizer2::getInstance(char const*, char const*, UNormalization2Mode, UErrorCode&) (in /usr/lib/x86_64-linux-gnu/libicuuc.so.67.1)
==3626==    by 0x5563E69: icu_67::UTS46::UTS46(unsigned int, UErrorCode&) (in /usr/lib/x86_64-linux-gnu/libicuuc.so.67.1)
==3626==    by 0x5563EAD: icu_67::IDNA::createUTS46Instance(unsigned int, UErrorCode&) (in /usr/lib/x86_64-linux-gnu/libicuuc.so.67.1)
==3626==    by 0x96C7EF5: ???
==3626==    by 0x69D719: execute_ex (in /usr/local/bin/php)
==3626==    by 0x6A06AE: zend_execute (in /usr/local/bin/php)
==3626== 
==3626== 64 bytes in 1 blocks are still reachable in loss record 17 of 39
==3626==    at 0x48386AF: malloc (vg_replace_malloc.c:306)
==3626==    by 0x483ADE7: realloc (vg_replace_malloc.c:834)
==3626==    by 0x92D2DE7: g_realloc (in /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0.6600.8)
==3626==    by 0x92B89AA: ??? (in /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0.6600.8)
==3626==    by 0x92B994C: g_hash_table_new_full (in /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0.6600.8)
==3626==    by 0x92DCADA: ??? (in /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0.6600.8)
==3626==    by 0x400FFE1: call_init.part.0 (dl-init.c:72)
==3626==    by 0x40100E8: call_init (dl-init.c:30)
==3626==    by 0x40100E8: _dl_init (dl-init.c:119)
==3626==    by 0x532EAEC: _dl_catch_exception (dl-error-skeleton.c:182)
==3626==    by 0x4014363: dl_open_worker (dl-open.c:758)
==3626==    by 0x532EA8F: _dl_catch_exception (dl-error-skeleton.c:208)
==3626==    by 0x40138F9: _dl_open (dl-open.c:837)
==3626== 
==3626== 64 bytes in 2 blocks are still reachable in loss record 18 of 39
==3626==    at 0x483877F: malloc (vg_replace_malloc.c:307)
==3626==    by 0x4014FE5: _dl_close_worker (dl-close.c:403)
==3626==    by 0x401597D: _dl_close (dl-close.c:859)
==3626==    by 0x532EA8F: _dl_catch_exception (dl-error-skeleton.c:208)
==3626==    by 0x532EB4E: _dl_catch_error (dl-error-skeleton.c:227)
==3626==    by 0x4A22A64: _dlerror_run (dlerror.c:170)
==3626==    by 0x4A22373: dlclose (dlclose.c:46)
==3626==    by 0x631ACB: ??? (in /usr/local/bin/php)
==3626==    by 0x644FC9: zend_hash_graceful_reverse_destroy (in /usr/local/bin/php)
==3626==    by 0x632E42: ??? (in /usr/local/bin/php)
==3626==    by 0x5CF319: php_module_shutdown (in /usr/local/bin/php)
==3626==    by 0x34CD32: ??? (in /usr/local/bin/php)
==3626== 
==3626== 70 bytes in 1 blocks are still reachable in loss record 19 of 39
==3626==    at 0x483877F: malloc (vg_replace_malloc.c:307)
==3626==    by 0x5282F3A: strdup (strdup.c:42)
==3626==    by 0x5717891: ??? (in /usr/lib/x86_64-linux-gnu/libgssapi_krb5.so.2.2)
==3626==    by 0x57179F2: ??? (in /usr/lib/x86_64-linux-gnu/libgssapi_krb5.so.2.2)
==3626==    by 0x5716111: ??? (in /usr/lib/x86_64-linux-gnu/libgssapi_krb5.so.2.2)
==3626==    by 0x5716F67: ??? (in /usr/lib/x86_64-linux-gnu/libgssapi_krb5.so.2.2)
==3626==    by 0x5703763: gss_add_cred_from (in /usr/lib/x86_64-linux-gnu/libgssapi_krb5.so.2.2)
==3626==    by 0x5703D86: gss_acquire_cred_from (in /usr/lib/x86_64-linux-gnu/libgssapi_krb5.so.2.2)
==3626==    by 0x572B801: ??? (in /usr/lib/x86_64-linux-gnu/libgssapi_krb5.so.2.2)
==3626==    by 0x5730545: ??? (in /usr/lib/x86_64-linux-gnu/libgssapi_krb5.so.2.2)
==3626==    by 0x5703763: gss_add_cred_from (in /usr/lib/x86_64-linux-gnu/libgssapi_krb5.so.2.2)
==3626==    by 0x5703D86: gss_acquire_cred_from (in /usr/lib/x86_64-linux-gnu/libgssapi_krb5.so.2.2)
==3626== 
==3626== 72 bytes in 1 blocks are indirectly lost in loss record 20 of 39
==3626==    at 0x483877F: malloc (vg_replace_malloc.c:307)
==3626==    by 0x9247A28: ???
==3626==    by 0x9247A59: ???
==3626==    by 0x9247769: ???
==3626==    by 0x9248FCF: ???
==3626==    by 0x92490B6: ???
==3626==    by 0x8A770A5: ???
==3626==    by 0x8A77DFD: ???
==3626==    by 0x8A71CBD: ???
==3626==    by 0x87B85CF: ???
==3626==    by 0x637686: zend_startup_module_ex (in /usr/local/bin/php)
==3626==    by 0x63771B: ??? (in /usr/local/bin/php)
==3626== 
==3626== 72 bytes in 1 blocks are indirectly lost in loss record 21 of 39
==3626==    at 0x483877F: malloc (vg_replace_malloc.c:307)
==3626==    by 0x9247A28: ???
==3626==    by 0x9247A59: ???
==3626==    by 0x924B581: ???
==3626==    by 0x9248FCF: ???
==3626==    by 0x9247989: ???
==3626==    by 0x8A770A5: ???
==3626==    by 0x8A77DFD: ???
==3626==    by 0x8A71CBD: ???
==3626==    by 0x87B85CF: ???
==3626==    by 0x637686: zend_startup_module_ex (in /usr/local/bin/php)
==3626==    by 0x63771B: ??? (in /usr/local/bin/php)
==3626== 
==3626== 80 bytes in 1 blocks are still reachable in loss record 22 of 39
==3626==    at 0x483877F: malloc (vg_replace_malloc.c:307)
==3626==    by 0x5497628: icu_67::UMemory::operator new(unsigned long) (in /usr/lib/x86_64-linux-gnu/libicuuc.so.67.1)
==3626==    by 0x5513B89: icu_67::Norm2AllModes::createNFCInstance(UErrorCode&) (in /usr/lib/x86_64-linux-gnu/libicuuc.so.67.1)
==3626==    by 0x5513C5F: icu_67::Norm2AllModes::getNFCInstance(UErrorCode&) (in /usr/lib/x86_64-linux-gnu/libicuuc.so.67.1)
==3626==    by 0x5513C98: icu_67::Normalizer2::getNFCInstance(UErrorCode&) (in /usr/lib/x86_64-linux-gnu/libicuuc.so.67.1)
==3626==    by 0x96B5020: ???
==3626==    by 0x6A0317: execute_ex (in /usr/local/bin/php)
==3626==    by 0x624E36: zend_call_function (in /usr/local/bin/php)
==3626==    by 0x53FAEE: ??? (in /usr/local/bin/php)
==3626==    by 0x69D719: execute_ex (in /usr/local/bin/php)
==3626==    by 0x6B5911: zend_generator_resume (in /usr/local/bin/php)
==3626==    by 0x6B64B8: ??? (in /usr/local/bin/php)
==3626== 
==3626== 80 bytes in 1 blocks are still reachable in loss record 23 of 39
==3626==    at 0x483877F: malloc (vg_replace_malloc.c:307)
==3626==    by 0x549D8A8: uhash_open_67 (in /usr/lib/x86_64-linux-gnu/libicuuc.so.67.1)
==3626==    by 0x5519D11: icu_67::Normalizer2::getInstance(char const*, char const*, UNormalization2Mode, UErrorCode&) (in /usr/lib/x86_64-linux-gnu/libicuuc.so.67.1)
==3626==    by 0x5563E69: icu_67::UTS46::UTS46(unsigned int, UErrorCode&) (in /usr/lib/x86_64-linux-gnu/libicuuc.so.67.1)
==3626==    by 0x5563EAD: icu_67::IDNA::createUTS46Instance(unsigned int, UErrorCode&) (in /usr/lib/x86_64-linux-gnu/libicuuc.so.67.1)
==3626==    by 0x96C7EF5: ???
==3626==    by 0x69D719: execute_ex (in /usr/local/bin/php)
==3626==    by 0x6A06AE: zend_execute (in /usr/local/bin/php)
==3626==    by 0x6334BC: zend_execute_scripts (in /usr/local/bin/php)
==3626==    by 0x5CF530: php_execute_script (in /usr/local/bin/php)
==3626==    by 0x7148F0: ??? (in /usr/local/bin/php)
==3626==    by 0x34CD10: ??? (in /usr/local/bin/php)
==3626== 
==3626== 88 bytes in 1 blocks are still reachable in loss record 24 of 39
==3626==    at 0x483877F: malloc (vg_replace_malloc.c:307)
==3626==    by 0x5497628: icu_67::UMemory::operator new(unsigned long) (in /usr/lib/x86_64-linux-gnu/libicuuc.so.67.1)
==3626==    by 0x5513ADB: icu_67::Norm2AllModes::createInstance(icu_67::Normalizer2Impl*, UErrorCode&) (in /usr/lib/x86_64-linux-gnu/libicuuc.so.67.1)
==3626==    by 0x5513C5F: icu_67::Norm2AllModes::getNFCInstance(UErrorCode&) (in /usr/lib/x86_64-linux-gnu/libicuuc.so.67.1)
==3626==    by 0x5513C98: icu_67::Normalizer2::getNFCInstance(UErrorCode&) (in /usr/lib/x86_64-linux-gnu/libicuuc.so.67.1)
==3626==    by 0x96B5020: ???
==3626==    by 0x6A0317: execute_ex (in /usr/local/bin/php)
==3626==    by 0x624E36: zend_call_function (in /usr/local/bin/php)
==3626==    by 0x53FAEE: ??? (in /usr/local/bin/php)
==3626==    by 0x69D719: execute_ex (in /usr/local/bin/php)
==3626==    by 0x6B5911: zend_generator_resume (in /usr/local/bin/php)
==3626==    by 0x6B64B8: ??? (in /usr/local/bin/php)
==3626== 
==3626== 88 bytes in 1 blocks are still reachable in loss record 25 of 39
==3626==    at 0x483877F: malloc (vg_replace_malloc.c:307)
==3626==    by 0x5497628: icu_67::UMemory::operator new(unsigned long) (in /usr/lib/x86_64-linux-gnu/libicuuc.so.67.1)
==3626==    by 0x5513ADB: icu_67::Norm2AllModes::createInstance(icu_67::Normalizer2Impl*, UErrorCode&) (in /usr/lib/x86_64-linux-gnu/libicuuc.so.67.1)
==3626==    by 0x5519C95: icu_67::Normalizer2::getInstance(char const*, char const*, UNormalization2Mode, UErrorCode&) (in /usr/lib/x86_64-linux-gnu/libicuuc.so.67.1)
==3626==    by 0x5563E69: icu_67::UTS46::UTS46(unsigned int, UErrorCode&) (in /usr/lib/x86_64-linux-gnu/libicuuc.so.67.1)
==3626==    by 0x5563EAD: icu_67::IDNA::createUTS46Instance(unsigned int, UErrorCode&) (in /usr/lib/x86_64-linux-gnu/libicuuc.so.67.1)
==3626==    by 0x96C7EF5: ???
==3626==    by 0x69D719: execute_ex (in /usr/local/bin/php)
==3626==    by 0x6A06AE: zend_execute (in /usr/local/bin/php)
==3626==    by 0x6334BC: zend_execute_scripts (in /usr/local/bin/php)
==3626==    by 0x5CF530: php_execute_script (in /usr/local/bin/php)
==3626==    by 0x7148F0: ??? (in /usr/local/bin/php)
==3626== 
==3626== 96 bytes in 1 blocks are still reachable in loss record 26 of 39
==3626==    at 0x483877F: malloc (vg_replace_malloc.c:307)
==3626==    by 0x92D2D48: g_malloc (in /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0.6600.8)
==3626==    by 0x92EAD7D: g_slice_alloc (in /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0.6600.8)
==3626==    by 0x92B990D: g_hash_table_new_full (in /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0.6600.8)
==3626==    by 0x92DCADA: ??? (in /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0.6600.8)
==3626==    by 0x400FFE1: call_init.part.0 (dl-init.c:72)
==3626==    by 0x40100E8: call_init (dl-init.c:30)
==3626==    by 0x40100E8: _dl_init (dl-init.c:119)
==3626==    by 0x532EAEC: _dl_catch_exception (dl-error-skeleton.c:182)
==3626==    by 0x4014363: dl_open_worker (dl-open.c:758)
==3626==    by 0x532EA8F: _dl_catch_exception (dl-error-skeleton.c:208)
==3626==    by 0x40138F9: _dl_open (dl-open.c:837)
==3626==    by 0x4A22257: dlopen_doit (dlopen.c:66)
==3626== 
==3626== 96 bytes in 1 blocks are still reachable in loss record 27 of 39
==3626==    at 0x483877F: malloc (vg_replace_malloc.c:307)
==3626==    by 0x5497628: icu_67::UMemory::operator new(unsigned long) (in /usr/lib/x86_64-linux-gnu/libicuuc.so.67.1)
==3626==    by 0x5519867: icu_67::Norm2AllModes::createInstance(char const*, char const*, UErrorCode&) (in /usr/lib/x86_64-linux-gnu/libicuuc.so.67.1)
==3626==    by 0x5519C95: icu_67::Normalizer2::getInstance(char const*, char const*, UNormalization2Mode, UErrorCode&) (in /usr/lib/x86_64-linux-gnu/libicuuc.so.67.1)
==3626==    by 0x5563E69: icu_67::UTS46::UTS46(unsigned int, UErrorCode&) (in /usr/lib/x86_64-linux-gnu/libicuuc.so.67.1)
==3626==    by 0x5563EAD: icu_67::IDNA::createUTS46Instance(unsigned int, UErrorCode&) (in /usr/lib/x86_64-linux-gnu/libicuuc.so.67.1)
==3626==    by 0x96C7EF5: ???
==3626==    by 0x69D719: execute_ex (in /usr/local/bin/php)
==3626==    by 0x6A06AE: zend_execute (in /usr/local/bin/php)
==3626==    by 0x6334BC: zend_execute_scripts (in /usr/local/bin/php)
==3626==    by 0x5CF530: php_execute_script (in /usr/local/bin/php)
==3626==    by 0x7148F0: ??? (in /usr/local/bin/php)
==3626== 
==3626== 104 (88 direct, 16 indirect) bytes in 1 blocks are definitely lost in loss record 28 of 39
==3626==    at 0x483877F: malloc (vg_replace_malloc.c:307)
==3626==    by 0x9247A28: ???
==3626==    by 0x9247A59: ???
==3626==    by 0x924A152: ???
==3626==    by 0x924A502: ???
==3626==    by 0x924797A: ???
==3626==    by 0x8A770A5: ???
==3626==    by 0x8A77DFD: ???
==3626==    by 0x8A71CBD: ???
==3626==    by 0x87B85CF: ???
==3626==    by 0x637686: zend_startup_module_ex (in /usr/local/bin/php)
==3626==    by 0x63771B: ??? (in /usr/local/bin/php)
==3626== 
==3626== 111 bytes in 3 blocks are still reachable in loss record 29 of 39
==3626==    at 0x483877F: malloc (vg_replace_malloc.c:307)
==3626==    by 0x401C26A: strdup (strdup.c:42)
==3626==    by 0x40172FB: _dl_load_cache_lookup (dl-cache.c:338)
==3626==    by 0x4009776: _dl_map_object (dl-load.c:2102)
==3626==    by 0x400DDC0: openaux (dl-deps.c:64)
==3626==    by 0x532EA8F: _dl_catch_exception (dl-error-skeleton.c:208)
==3626==    by 0x400E138: _dl_map_object_deps (dl-deps.c:248)
==3626==    by 0x4013DAA: dl_open_worker (dl-open.c:571)
==3626==    by 0x532EA8F: _dl_catch_exception (dl-error-skeleton.c:208)
==3626==    by 0x40138F9: _dl_open (dl-open.c:837)
==3626==    by 0x4A22257: dlopen_doit (dlopen.c:66)
==3626==    by 0x532EA8F: _dl_catch_exception (dl-error-skeleton.c:208)
==3626== 
==3626== 111 bytes in 3 blocks are still reachable in loss record 30 of 39
==3626==    at 0x483877F: malloc (vg_replace_malloc.c:307)
==3626==    by 0x400BFB7: _dl_new_object (dl-object.c:196)
==3626==    by 0x4007255: _dl_map_object_from_fd (dl-load.c:997)
==3626==    by 0x4009274: _dl_map_object (dl-load.c:2236)
==3626==    by 0x400DDC0: openaux (dl-deps.c:64)
==3626==    by 0x532EA8F: _dl_catch_exception (dl-error-skeleton.c:208)
==3626==    by 0x400E138: _dl_map_object_deps (dl-deps.c:248)
==3626==    by 0x4013DAA: dl_open_worker (dl-open.c:571)
==3626==    by 0x532EA8F: _dl_catch_exception (dl-error-skeleton.c:208)
==3626==    by 0x40138F9: _dl_open (dl-open.c:837)
==3626==    by 0x4A22257: dlopen_doit (dlopen.c:66)
==3626==    by 0x532EA8F: _dl_catch_exception (dl-error-skeleton.c:208)
==3626== 
==3626== 144 bytes in 6 blocks are still reachable in loss record 31 of 39
==3626==    at 0x483877F: malloc (vg_replace_malloc.c:307)
==3626==    by 0x7962A4D: ??? (in /usr/lib/x86_64-linux-gnu/libgcrypt.so.20.2.8)
==3626==    by 0x796422B: ??? (in /usr/lib/x86_64-linux-gnu/libgcrypt.so.20.2.8)
==3626==    by 0x7A29812: ??? (in /usr/lib/x86_64-linux-gnu/libgcrypt.so.20.2.8)
==3626==    by 0x7962999: ??? (in /usr/lib/x86_64-linux-gnu/libgcrypt.so.20.2.8)
==3626==    by 0x7963BE0: ??? (in /usr/lib/x86_64-linux-gnu/libgcrypt.so.20.2.8)
==3626==    by 0x795F788: gcry_control (in /usr/lib/x86_64-linux-gnu/libgcrypt.so.20.2.8)
==3626==    by 0x56CEF73: libssh2_init (in /usr/lib/x86_64-linux-gnu/libssh2.so.1.0.1)
==3626==    by 0x5135D1A: ??? (in /usr/lib/x86_64-linux-gnu/libcurl.so.4.7.0)
==3626==    by 0x50DC694: ??? (in /usr/lib/x86_64-linux-gnu/libcurl.so.4.7.0)
==3626==    by 0x419038: ??? (in /usr/local/bin/php)
==3626==    by 0x637686: zend_startup_module_ex (in /usr/local/bin/php)
==3626== 
==3626== 176 (16 direct, 160 indirect) bytes in 1 blocks are definitely lost in loss record 32 of 39
==3626==    at 0x483877F: malloc (vg_replace_malloc.c:307)
==3626==    by 0x924B25D: ???
==3626==    by 0x9247BA4: ???
==3626==    by 0x9248FE1: ???
==3626==    by 0x9247989: ???
==3626==    by 0x8A770A5: ???
==3626==    by 0x8A77DFD: ???
==3626==    by 0x8A71CBD: ???
==3626==    by 0x87B85CF: ???
==3626==    by 0x637686: zend_startup_module_ex (in /usr/local/bin/php)
==3626==    by 0x63771B: ??? (in /usr/local/bin/php)
==3626==    by 0x645171: zend_hash_apply (in /usr/local/bin/php)
==3626== 
==3626== 360 bytes in 1 blocks are still reachable in loss record 33 of 39
==3626==    at 0x483AB65: calloc (vg_replace_malloc.c:760)
==3626==    by 0x40116B6: _dl_check_map_versions (dl-version.c:274)
==3626==    by 0x4013DF5: dl_open_worker (dl-open.c:577)
==3626==    by 0x532EA8F: _dl_catch_exception (dl-error-skeleton.c:208)
==3626==    by 0x40138F9: _dl_open (dl-open.c:837)
==3626==    by 0x4A22257: dlopen_doit (dlopen.c:66)
==3626==    by 0x532EA8F: _dl_catch_exception (dl-error-skeleton.c:208)
==3626==    by 0x532EB4E: _dl_catch_error (dl-error-skeleton.c:227)
==3626==    by 0x4A22A64: _dlerror_run (dlerror.c:170)
==3626==    by 0x4A222E3: dlopen@@GLIBC_2.2.5 (dlopen.c:87)
==3626==    by 0x547E73: php_load_shlib (in /usr/local/bin/php)
==3626==    by 0x5D4F6C: ??? (in /usr/local/bin/php)
==3626== 
==3626== 624 bytes in 2 blocks are still reachable in loss record 34 of 39
==3626==    at 0x483AB65: calloc (vg_replace_malloc.c:760)
==3626==    by 0x40116B6: _dl_check_map_versions (dl-version.c:274)
==3626==    by 0x4013DF5: dl_open_worker (dl-open.c:577)
==3626==    by 0x532EA8F: _dl_catch_exception (dl-error-skeleton.c:208)
==3626==    by 0x40138F9: _dl_open (dl-open.c:837)
==3626==    by 0x4A22257: dlopen_doit (dlopen.c:66)
==3626==    by 0x532EA8F: _dl_catch_exception (dl-error-skeleton.c:208)
==3626==    by 0x532EB4E: _dl_catch_error (dl-error-skeleton.c:227)
==3626==    by 0x4A22A64: _dlerror_run (dlerror.c:170)
==3626==    by 0x4A222E3: dlopen@@GLIBC_2.2.5 (dlopen.c:87)
==3626==    by 0x547E73: php_load_shlib (in /usr/local/bin/php)
==3626==    by 0x5480DA: php_load_extension (in /usr/local/bin/php)
==3626== 
==3626== 1,088 bytes in 1 blocks are still reachable in loss record 35 of 39
==3626==    at 0x483877F: malloc (vg_replace_malloc.c:307)
==3626==    by 0x401371A: add_to_global_resize (dl-open.c:139)
==3626==    by 0x4014337: dl_open_worker (dl-open.c:745)
==3626==    by 0x532EA8F: _dl_catch_exception (dl-error-skeleton.c:208)
==3626==    by 0x40138F9: _dl_open (dl-open.c:837)
==3626==    by 0x4A22257: dlopen_doit (dlopen.c:66)
==3626==    by 0x532EA8F: _dl_catch_exception (dl-error-skeleton.c:208)
==3626==    by 0x532EB4E: _dl_catch_error (dl-error-skeleton.c:227)
==3626==    by 0x4A22A64: _dlerror_run (dlerror.c:170)
==3626==    by 0x4A222E3: dlopen@@GLIBC_2.2.5 (dlopen.c:87)
==3626==    by 0x547E73: php_load_shlib (in /usr/local/bin/php)
==3626==    by 0x548075: php_load_extension (in /usr/local/bin/php)
==3626== 
==3626== 2,032 bytes in 1 blocks are still reachable in loss record 36 of 39
==3626==    at 0x483AB65: calloc (vg_replace_malloc.c:760)
==3626==    by 0x92D2DA0: g_malloc0 (in /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0.6600.8)
==3626==    by 0x92F6131: ??? (in /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0.6600.8)
==3626==    by 0x92EAFDF: g_slice_alloc (in /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0.6600.8)
==3626==    by 0x92B990D: g_hash_table_new_full (in /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0.6600.8)
==3626==    by 0x92DCADA: ??? (in /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0.6600.8)
==3626==    by 0x400FFE1: call_init.part.0 (dl-init.c:72)
==3626==    by 0x40100E8: call_init (dl-init.c:30)
==3626==    by 0x40100E8: _dl_init (dl-init.c:119)
==3626==    by 0x532EAEC: _dl_catch_exception (dl-error-skeleton.c:182)
==3626==    by 0x4014363: dl_open_worker (dl-open.c:758)
==3626==    by 0x532EA8F: _dl_catch_exception (dl-error-skeleton.c:208)
==3626==    by 0x40138F9: _dl_open (dl-open.c:837)
==3626== 
==3626== 3,048 bytes in 1 blocks are still reachable in loss record 37 of 39
==3626==    at 0x483877F: malloc (vg_replace_malloc.c:307)
==3626==    by 0x549D43D: ??? (in /usr/lib/x86_64-linux-gnu/libicuuc.so.67.1)
==3626==    by 0x549D8EE: uhash_open_67 (in /usr/lib/x86_64-linux-gnu/libicuuc.so.67.1)
==3626==    by 0x5519D11: icu_67::Normalizer2::getInstance(char const*, char const*, UNormalization2Mode, UErrorCode&) (in /usr/lib/x86_64-linux-gnu/libicuuc.so.67.1)
==3626==    by 0x5563E69: icu_67::UTS46::UTS46(unsigned int, UErrorCode&) (in /usr/lib/x86_64-linux-gnu/libicuuc.so.67.1)
==3626==    by 0x5563EAD: icu_67::IDNA::createUTS46Instance(unsigned int, UErrorCode&) (in /usr/lib/x86_64-linux-gnu/libicuuc.so.67.1)
==3626==    by 0x96C7EF5: ???
==3626==    by 0x69D719: execute_ex (in /usr/local/bin/php)
==3626==    by 0x6A06AE: zend_execute (in /usr/local/bin/php)
==3626==    by 0x6334BC: zend_execute_scripts (in /usr/local/bin/php)
==3626==    by 0x5CF530: php_execute_script (in /usr/local/bin/php)
==3626==    by 0x7148F0: ??? (in /usr/local/bin/php)
==3626== 
==3626== 3,593 bytes in 3 blocks are still reachable in loss record 38 of 39
==3626==    at 0x483AB65: calloc (vg_replace_malloc.c:760)
==3626==    by 0x400BCDF: _dl_new_object (dl-object.c:89)
==3626==    by 0x4007255: _dl_map_object_from_fd (dl-load.c:997)
==3626==    by 0x4009274: _dl_map_object (dl-load.c:2236)
==3626==    by 0x400DDC0: openaux (dl-deps.c:64)
==3626==    by 0x532EA8F: _dl_catch_exception (dl-error-skeleton.c:208)
==3626==    by 0x400E138: _dl_map_object_deps (dl-deps.c:248)
==3626==    by 0x4013DAA: dl_open_worker (dl-open.c:571)
==3626==    by 0x532EA8F: _dl_catch_exception (dl-error-skeleton.c:208)
==3626==    by 0x40138F9: _dl_open (dl-open.c:837)
==3626==    by 0x4A22257: dlopen_doit (dlopen.c:66)
==3626==    by 0x532EA8F: _dl_catch_exception (dl-error-skeleton.c:208)
==3626== 
==3626== 16,384 bytes in 1 blocks are still reachable in loss record 39 of 39
==3626==    at 0x483877F: malloc (vg_replace_malloc.c:307)
==3626==    by 0x92D2D48: g_malloc (in /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0.6600.8)
==3626==    by 0x92DCAEB: ??? (in /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0.6600.8)
==3626==    by 0x400FFE1: call_init.part.0 (dl-init.c:72)
==3626==    by 0x40100E8: call_init (dl-init.c:30)
==3626==    by 0x40100E8: _dl_init (dl-init.c:119)
==3626==    by 0x532EAEC: _dl_catch_exception (dl-error-skeleton.c:182)
==3626==    by 0x4014363: dl_open_worker (dl-open.c:758)
==3626==    by 0x532EA8F: _dl_catch_exception (dl-error-skeleton.c:208)
==3626==    by 0x40138F9: _dl_open (dl-open.c:837)
==3626==    by 0x4A22257: dlopen_doit (dlopen.c:66)
==3626==    by 0x532EA8F: _dl_catch_exception (dl-error-skeleton.c:208)
==3626==    by 0x532EB4E: _dl_catch_error (dl-error-skeleton.c:227)
==3626== 
==3626== LEAK SUMMARY:
==3626==    definitely lost: 128 bytes in 4 blocks
==3626==    indirectly lost: 176 bytes in 5 blocks
==3626==      possibly lost: 0 bytes in 0 blocks
==3626==    still reachable: 28,583 bytes in 48 blocks
==3626==         suppressed: 0 bytes in 0 blocks
==3626== 
==3626== ERROR SUMMARY: 4 errors from 4 contexts (suppressed: 0 from 0)`

@mjp41
Copy link
Member

mjp41 commented Feb 22, 2023

I believe based on the mimalloc issue you link, and skimming the php source, something is being freed with a different kind of allocator to it is being allocated with.

Without building php, so I have the symbols, I am not sure how to proceed. Your valgrind trace shows calls to both libc.so:malloc and libsnmallocshim.so:malloc.

E.g.

--3626-- REDIR: 0x48551b0 (libsnmallocshim.so:malloc) redirected to 0x4838710 (malloc)

and

--3626-- REDIR: 0x527f0f0 (libc.so.6:malloc) redirected to 0x4838710 (malloc)

Given so many allocators are failing, I would suggest it is a PHP problem. That one succeeds is potentially just look that the corruption is not detected.

@mjp41
Copy link
Member

mjp41 commented Feb 22, 2023

@ryancinsight apologies for editing your comment, but I couldn't read it with the original formatting.

@ryancinsight
Copy link
Contributor Author

ryancinsight commented Feb 22, 2023

I believe based on the mimalloc issue you link, and skimming the php source, something is being freed with a different kind of allocator to it is being allocated with.

Without building php, so I have the symbols, I am not sure how to proceed. Your valgrind trace shows calls to both libc.so:malloc and libsnmallocshim.so:malloc.

E.g.

--3626-- REDIR: 0x48551b0 (libsnmallocshim.so:malloc) redirected to 0x4838710 (malloc)

and

--3626-- REDIR: 0x527f0f0 (libc.so.6:malloc) redirected to 0x4838710 (malloc)

Given so many allocators are failing, I would suggest it is a PHP problem. That one succeeds is potentially just look that the corruption is not detected.

Indeed, I just tested with jemalloc and had the same errors so it seems they are going undetected with it.

@mjp41
Copy link
Member

mjp41 commented Feb 22, 2023

I believe based on the mimalloc issue you link, and skimming the php source, something is being freed with a different kind of allocator to it is being allocated with.
Without building php, so I have the symbols, I am not sure how to proceed. Your valgrind trace shows calls to both libc.so:malloc and libsnmallocshim.so:malloc.
E.g.

--3626-- REDIR: 0x48551b0 (libsnmallocshim.so:malloc) redirected to 0x4838710 (malloc)

and

--3626-- REDIR: 0x527f0f0 (libc.so.6:malloc) redirected to 0x4838710 (malloc)

Given so many allocators are failing, I would suggest it is a PHP problem. That one succeeds is potentially just look that the corruption is not detected.

Indeed, I just tested with jemalloc and had the same errors so it seems they are going undetected with it.

Those are memory leaks rather than heap corruption. I think Valgrind is replacing both the libc.so:malloc and libsnmalloc.so:malloc with its own implementation. So it would mask what I suspect is the underlying bug.

@mjp41
Copy link
Member

mjp41 commented Feb 26, 2023

I wonder if using
https://www.gnu.org/software/libc/manual/html_node/Hooks-for-Malloc.html

Could provide a fix for this. It seems RTLDEEPBIND is the problem in PHP and that doesn't look like it will go away.

This is how jemalloc deals with the problem:
https://github.com/jemalloc/jemalloc/blob/e8f9f13811c16acb1ab8771fd2ffe4437e1b8620/src/jemalloc.c#L3123

@mjp41
Copy link
Member

mjp41 commented Feb 27, 2023

@ryancinsight does this now work for you? #598 I believe should fix this.

@ryancinsight
Copy link
Contributor Author

@ryancinsight does this now work for you? #598 I believe should fix this.

It's fixed and working well! I can now share an allocator between containers and images are loading much faster, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants