1

我的服务器上的 httpd error_log 中有很多分段错误 (11)。

[Tue Nov 20 16:14:41 2012] [notice] child pid 30017 exit signal Segmentation fault (11)

它是带有 PHP 5.4.8、Httpd 和 APC 3.1.13 的 CentOS 6.3。

我注意到当我使用 Zend 框架的 Google Calendar API 和停用 APC 时会发生这种情况,这个问题就停止了。

有任何想法吗 ?

我的 gdb BT :

#0  0x00007f0ad0e95da9 in ?? () from /etc/httpd/modules/libphp5.so
#1  0x00007f0ad0e95f83 in ?? () from /etc/httpd/modules/libphp5.so
#2  0x00007f0ad0ec88c1 in zend_hash_destroy () from /etc/httpd/modules/libphp5.so
#3  0x00007f0ad0ebac87 in _zval_dtor_func () from /etc/httpd/modules/libphp5.so
#4  0x00007f0ad0eadeaa in _zval_ptr_dtor () from /etc/httpd/modules/libphp5.so
#5  0x00007f0ace4a889f in apc_free_class_entry_after_execution (src=0x7f0adda6bb08) at /var/tmp/APC/apc_compile.c:2003
#6  0x00007f0ace4abdcc in apc_deactivate () at /var/tmp/APC/apc_main.c:948
#7  apc_request_shutdown () at /var/tmp/APC/apc_main.c:1042
#8  0x00007f0ace4a1d25 in zm_deactivate_apc (type=<value optimized out>, module_number=<value optimized out>) at /var/tmp/APC/php_apc.c:407
#9  0x00007f0ad0ec1c44 in ?? () from /etc/httpd/modules/libphp5.so
#10 0x00007f0ad0e5e085 in php_request_shutdown () from /etc/httpd/modules/libphp5.so
#11 0x00007f0ad0f654a7 in ?? () from /etc/httpd/modules/libphp5.so
#12 0x00007f0adb5e9b00 in ap_run_handler ()
#13 0x00007f0adb5ed3be in ap_invoke_handler ()
#14 0x00007f0adb5f8a30 in ap_process_request ()
#15 0x00007f0adb5f58f8 in ?? ()
#16 0x00007f0adb5f1608 in ap_run_process_connection ()
#17 0x00007f0adb5fd807 in ?? ()
#18 0x00007f0adb5fdb1a in ?? ()
#19 0x00007f0adb5fe79c in ap_mpm_run ()
#20 0x00007f0adb5d5900 in main ()
4

1 回答 1

2

我已经从主干编译了 APC,我再也没有问题了!

于 2012-12-10T17:54:49.230 回答