Drupal 5.22
PHP 5.2.6-1+lenny
nginx/0.7.67 php (fcgi)

Problem: fcgi child craches and dies due to segmentation fault error while opening a node with comment contains quote approx 5000 letters or more.

Nginx error log:
32515 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 95.79.163.106, server: xxx.com, request: "GET /blogs/1000413/1000207 HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000"

php-cgi core dump:

Core was generated by `/usr/bin/php-cgi -q -b localhost:9000'.
Program terminated with signal 11, Segmentation fault.
[New process 15577]
#0 0xb7d697fc in ?? () from /lib/libpcre.so.3
(gdb) bt
#0 0xb7d697fc in ?? () from /lib/libpcre.so.3
Cannot access memory at address 0xbf0f8d20
(gdb)

Same system, running Apache2 with mod_php instead of nginx+php-fcgi

Apache logs:

[Mon Jul 19 05:50:06 2010] [notice] child pid 2800 exit signal Segmentation fault (11)

Comments

Zen’s picture

Status: Active » Closed (duplicate)