Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save sgrossberndt/de0e93ca7524894088ab84216b6e7f79 to your computer and use it in GitHub Desktop.
Save sgrossberndt/de0e93ca7524894088ab84216b6e7f79 to your computer and use it in GitHub Desktop.
SIGABRT / SIGSEGV using libpcre3 8.35-3.3+deb8u4 with PHP 7.0.19-1~dotdeb+8.1
root@gaffel:/tmp# aptitude versions libpcre3
Paket libpcre3:
i A 2:8.35-3.3+deb8u4 stable 500
p A 2:8.39-1~dotdeb+8.1 jessie 500
root@gaffel:/tmp# php7.0 -v
PHP 7.0.19-1~dotdeb+8.1 (cli) ( NTS )
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2017 Zend Technologies
root@gaffel:/tmp# php7.0 -i | grep PCRE
PCRE (Perl Compatible Regular Expressions) Support => enabled
PCRE Library Version => 8.35 2014-04-04
PCRE JIT Support => enabled
root@gaffel:/tmp# tail /var/log/php7.0-fpm.log
[30-May-2017 14:04:53] WARNING: [pool sevas.lan] child 2388 exited on signal 6 (SIGABRT - core dumped) after 79.648550 seconds from start
[30-May-2017 14:04:53] NOTICE: [pool sevas.lan] child 2430 started
[30-May-2017 14:05:41] WARNING: [pool sevas.lan] child 2390 exited on signal 6 (SIGABRT - core dumped) after 127.275601 seconds from start
[30-May-2017 14:05:41] NOTICE: [pool sevas.lan] child 2533 started
[30-May-2017 14:24:46] WARNING: [pool sevas.lan] child 2530 exited on signal 11 (SIGSEGV - core dumped) after 1145.614484 seconds from start
root@gaffel:/tmp# gdb /usr/sbin/php-fpm7.0 coredump-php-fpm7.0.2388
GNU gdb (Debian 7.7.1+dfsg-5) 7.7.1
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/sbin/php-fpm7.0...Reading symbols from /usr/lib/debug/.build-id/2a/cd8c0a7be84b92d5b3787d1a0ce552ade6e405.debug...done.
done.
[New LWP 2388]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `php-fpm: pool sevas.lan '.
Program terminated with signal SIGABRT, Aborted.
#0 0x00007f20280bb067 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
56 ../nptl/sysdeps/unix/sysv/linux/raise.c: Datei oder Verzeichnis nicht gefunden.
(gdb) quit
root@gaffel:/tmp# gdb /usr/sbin/php-fpm7.0 coredump-php-fpm7.0.2390
GNU gdb (Debian 7.7.1+dfsg-5) 7.7.1
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/sbin/php-fpm7.0...Reading symbols from /usr/lib/debug/.build-id/2a/cd8c0a7be84b92d5b3787d1a0ce552ade6e405.debug...done.
done.
[New LWP 2390]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `php-fpm: pool sevas.lan '.
Program terminated with signal SIGABRT, Aborted.
#0 0x00007f20280bb067 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
56 ../nptl/sysdeps/unix/sysv/linux/raise.c: Datei oder Verzeichnis nicht gefunden.
(gdb) quit
root@gaffel:/tmp# gdb /usr/sbin/php-fpm7.0 coredump-php-fpm7.0.2530
GNU gdb (Debian 7.7.1+dfsg-5) 7.7.1
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/sbin/php-fpm7.0...Reading symbols from /usr/lib/debug/.build-id/2a/cd8c0a7be84b92d5b3787d1a0ce552ade6e405.debug...done.
done.
[New LWP 2530]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `php-fpm: pool sevas.lan '.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x00007f202a99602e in ?? ()
(gdb) quit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment