I'm seeing the following error in apache's error_log. It's completely random but when it happens, it prints 10-20 lines in error_log.
Apache: [core:notice] [pid ***] AH00052: child pid *** exit signal Segmentation fault (11)
I'm running Apache 2.4.12 and PHP 5.4.36.
I tried to use gdb 7.8 to gather more information. After attaching to an apache's process, I waited and finally got a segmentation fault:
(gdb) attach 205907
Attaching to process 205907
Reading symbols from /usr/local/apache2/bin/httpd...done.
Reading symbols from /lib64/libpcre.so.0...(no debugging symbols found)...done.
... lots of reading symbols ...
(gdb) c
Continuing.
Program received signal SIGSEGV, Segmentation fault.
0x00007f7508acc4fe in __longjmp () from /lib64/libc.so.6
(gdb) backtrace
#0 0x00007f7508acc4fe in __longjmp () from /lib64/libc.so.6
#1 0xb7e28fbf1b781194 in ?? ()
Backtrace stopped: Cannot access memory at address 0xdf5a8fbf24c295cc
(gdb) backtrace full
#0 0x00007f7508acc4fe in __longjmp () from /lib64/libc.so.6
No symbol table info available.
#1 0xb7e28fbf1b781194 in ?? ()
No symbol table info available.
Backtrace stopped: Cannot access memory at address 0xdf5a8fbf24c295cc
Unfortunately the output is not what I expected. What should I do in order to get more information from the segmentation fault?