我的服务器上有一些php-fpm coredump。
我用gdb来调试核心文件,输出如下:
#0 0x00000000007a026b in format_converter (odp=odp@entry=0x7ffd392828c0, fmt=fmt@entry=0x7fcc9774c905 "load::%s", ap=ap@entry=0x7ffd392828e8)
at /root/soft/php-7.0.11/main/snprintf.c:588
#1 0x00000000007a14ac in strx_printv (ccp=ccp@entry=0x7ffd392828e4, buf=buf@entry=0x7fcc8f6b0438 "public/index.php", len=len@entry=23,
format=format@entry=0x7fcc9774c905 "load::%s", ap=ap@entry=0x7ffd392828e8) at /root/soft/php-7.0.11/main/snprintf.c:1248
#2 0x000000000079feb3 in ap_php_snprintf (buf=buf@entry=0x7fcc8f6b0438 "public/index.php", len=len@entry=23,
format=format@entry=0x7fcc9774c905 "load::%s") at /root/soft/php-7.0.11/main/snprintf.c:1293
#3 0x00007fcc9774c3e1 in hp_compile_file (file_handle=0x7ffd3f680ff0, type=8) at /root/soft/xhprof-php7/extension/xhprof.c:1575
#4 0x00007fcc9774c4ca in hp_compile_file (file_handle=0x7ffd3f680ff0, type=8) at /root/soft/xhprof-php7/extension/xhprof.c:1578
#5 0x00007fcc9774c4ca in hp_compile_file (file_handle=0x7ffd3f680ff0, type=8) at /root/soft/xhprof-php7/extension/xhprof.c:1578
#6 0x00007fcc9774c4ca in hp_compile_file (file_handle=0x7ffd3f680ff0, type=8) at /root/soft/xhprof-php7/extension/xhprof.c:1578
所有保留日志与#6;
相同我想知道哪个函数会造成这些错误。
谢谢!