Skip to content

Instantly share code, notes, and snippets.

@mszabo-wikia
Created November 2, 2022 16:29
Show Gist options
  • Select an option

  • Save mszabo-wikia/90f304633928eb096d1cf6171f52f0c3 to your computer and use it in GitHub Desktop.

Select an option

Save mszabo-wikia/90f304633928eb096d1cf6171f52f0c3 to your computer and use it in GitHub Desktop.
(gdb) bt
#0 zend_mm_alloc_small (bin_num=3, heap=0x7f8213800040) at /usr/src/php/Zend/zend_alloc.c:1255
#1 zend_mm_alloc_heap (size=<optimized out>, heap=0x7f8213800040) at /usr/src/php/Zend/zend_alloc.c:1326
#2 _emalloc (size=<optimized out>) at /usr/src/php/Zend/zend_alloc.c:2540
#3 0x000056315a2b0188 in zend_string_alloc (persistent=false, len=6) at /usr/src/php/Zend/zend_string.h:144
#4 zend_string_init (persistent=false, len=6, str=0x7f81e1ff1fb7 "Jeroen\\") at /usr/src/php/Zend/zend_string.h:166
#5 php_trim_int (mode=2, what_len=<optimized out>, what=<optimized out>, str=<optimized out>)
at /usr/src/php/ext/standard/string.c:824
#6 php_do_trim (mode=2, return_value=0x7f8213814bf0, execute_data=<optimized out>) at /usr/src/php/ext/standard/string.c:855
#7 zif_rtrim (execute_data=<optimized out>, return_value=0x7f8213814bf0) at /usr/src/php/ext/standard/string.c:869
#8 0x000000006160ff0b in ?? ()
#9 0x00007f8213800040 in ?? ()
#10 0x00007f821663dea7 in __libc_send (flags=<optimized out>, len=<optimized out>, buf=<optimized out>, fd=<optimized out>)
at ../sysdeps/unix/sysv/linux/send.c:28
#11 __libc_send (fd=<optimized out>, buf=<optimized out>, len=<optimized out>, flags=<optimized out>)
at ../sysdeps/unix/sysv/linux/send.c:23
#12 0x5508b0b5d9668e00 in ?? ()
#13 0x000000000000001e in ?? ()
#14 0x00000000457c7de8 in ?? ()
#15 0x0000000000000000 in ?? ()
---
(gdb) bt
#0 zend_mm_alloc_small (bin_num=7, heap=0x7fdf7f200040) at /usr/src/php/Zend/zend_alloc.c:1255
#1 zend_mm_realloc_heap (copy_size=<optimized out>, use_copy_size=false, size=<optimized out>, ptr=0x7fdf7f255930,
heap=0x7fdf7f200040) at /usr/src/php/Zend/zend_alloc.c:1567
#2 _erealloc (ptr=0x7fdf7f255930, size=<optimized out>) at /usr/src/php/Zend/zend_alloc.c:2561
#3 0x00005624dade6227 in zend_string_extend (persistent=false, len=39, s=0x7fdf7f255930)
at /usr/src/php/Zend/zend_string.h:241
#4 ZEND_CONCAT_SPEC_TMPVAR_TMPVAR_HANDLER () at /usr/src/php/Zend/zend_vm_execute.h:16071
#5 0x00005624dae1853b in execute_ex (ex=0x7fdf7f255930) at /usr/src/php/Zend/zend_vm_execute.h:56799
#6 0x00005624dadaa294 in zend_call_function (fci=<optimized out>, fci_cache=0x7ffe0e8ebc30)
at /usr/src/php/Zend/zend_execute_API.c:895
#7 0x00005624dadaa6b5 in zend_call_known_function (fn=0x45c592b8, object=<optimized out>, called_scope=<optimized out>,
retval_ptr=retval_ptr@entry=0x0, param_count=param_count@entry=1, params=params@entry=0x7ffe0e8ebce0, named_params=0x0)
at /usr/src/php/Zend/zend_execute_API.c:985
#8 0x00005624dac8a0c0 in spl_perform_autoload (class_name=0x42c1a040, lc_name=0x7fdf7f2675ff)
at /usr/src/php/ext/spl/php_spl.c:440
#9 0x00005624dada9450 in zend_lookup_class_ex (name=<optimized out>, key=key@entry=0x0, flags=flags@entry=0)
at /usr/src/php/Zend/zend_execute_API.c:1110
#10 0x00005624dada95f9 in zend_lookup_class (name=<optimized out>) at /usr/src/php/Zend/zend_execute_API.c:1125
#11 0x00005624dadcdd11 in class_exists_impl (execute_data=0x7fdf7f213f80, return_value=0x7fdf7f213f70, flags=8, skip_flags=3)
at /usr/src/php/Zend/zend_builtin_functions.c:1038
#12 0x00005624dae1b155 in ZEND_DO_ICALL_SPEC_RETVAL_USED_HANDLER () at /usr/src/php/Zend/zend_vm_execute.h:1295
#13 execute_ex (ex=0x7fdf7f255930) at /usr/src/php/Zend/zend_vm_execute.h:55162
#14 0x00005624dae20a9f in zend_execute (op_array=0x7fdf7f26f000, return_value=0x0)
at /usr/src/php/Zend/zend_vm_execute.h:59522
--Type <RET> for more, q to quit, c to continue without paging--exit
#15 0x00005624dadb7d35 in zend_execute_scripts (type=2132885216, type@entry=8, retval=retval@entry=0x0,
file_count=file_count@entry=3) at /usr/src/php/Zend/zend.c:1694
#16 0x00005624dad53d50 in php_execute_script (primary_file=primary_file@entry=0x7ffe0e8ee420)
at /usr/src/php/main/main.c:2545
#17 0x00005624daadda6d in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/php/sapi/fpm/fpm/fpm_main.c:1914
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment