Z
Z
zeleniy872015-01-10 18:50:17
linux
zeleniy87, 2015-01-10 18:50:17

Why is apache crashing?

Hello, Apache crashes periodically. The server is running ubuntu 14.04, Apache/2.4.10, PHP 5.5.12-2ubuntu4.1 (cli) (built: Oct 29 2014 11:59:49)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.5.0 , Copyright (c) 1998-2014 Zend Technologies
with Zend OPcache v7.0.4-dev, Copyright (c) 1999-2014, by Zend
Technologies

[email protected]:/# gdb /usr/sbin/apache2 /tmp/apache-coredumps/core 
GNU gdb (Ubuntu 7.8-1ubuntu4) 7.8.0.20141001-cvs
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/apache2...Reading symbols from /usr/lib/debug//usr/sbin/apache2...done.
done.
[New LWP 4294]
[New LWP 4300]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `/usr/sbin/apache2 -k start'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00007f254a2027f6 in i_create_execute_data_from_op_array (nested=<optimized out>, op_array=<optimized out>) at /build/buildd/php5-5.5.12+dfsg/Zend/zend_execute.c:1631
1631	/build/buildd/php5-5.5.12+dfsg/Zend/zend_execute.c: No such file or directory.
(gdb)

dmesg fails like this:
traps: apache2[7886] general protection ip:7feb364a67f6 sp:7fffafe896b0 error:0 in libphp5.so[7feb3602f000+8c6000]

On the web server there is only a php script that displays data from the firebird database. Tell me which way to dig? Thanks

Answer the question

In order to leave comments, you need to log in

3 answer(s)
V
Vladimir, 2015-01-10
@rostel

need more info

gdb /usr/sbin/apache2 -c /tmp/apache-coredumps/core \                                                                                                                                                                          
--eval-command='set pagination off' \                                                                                                                                                                                            
--eval-command='bt full' \                                                                                                                                                                                                       
--eval-command='quit' >> /tmp/apache-coredumps/gdb-bt.log

X
xmoonlight, 2015-01-10
@xmoonlight

TP zend?

Z
zeleniy87, 2015-01-10
@zeleniy87

what is TP? Installed everything from standard repositories

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question