libpthread general protection fault with php-cgi / sqlite / pdo
Attempting to install wolfcms (http://wolfcms.org) on lightthtpd with php-fastcgi + php-pdo + php-pdo_sqlite
http://blackbox.local.net/install fails with a 500 Server Error
/var/log/lighttpd/error.log:
009-10-11 01:38:59: (mod_fastcgi.c.2481) unexpected end-of-file
(perhaps the fastcgi process died): pid: 1202 socket:
unix:/var/run/lighttpd/lighttpd-fas
tcgi-php-1193.socket-3
2009-10-11 01:38:59: (mod_fastcgi.c.3299) response not received,
request sent: 958 on socket:
unix:/var/run/lighttpd/lighttpd-fastcgi-php-1193.socket-3 fo
r /index.php , closing connection
/var/log/messages:
Oct 11 01:38:59 blackbox user.info kernel: php-cgi[1206] general
protection ip:53835882 sp:5dc0c790 error:0 in
libpthread-0.9.30.1.so[5382e000+d000]
Oct 11 01:38:59 blackbox user.alert kernel: grsec: From 10.252.6.134:
signal 11 sent to /usr/bin/php-cgi[php-cgi:1206] uid/euid:1002/1002
gid/egid:1002/1002, parent /usr/bin/php-cgi[php-cgi:1202]
uid/euid:1002/1002 gid/egid:1002/1002
Oct 11 01:38:59 blackbox user.alert kernel: grsec: From 10.252.6.134:
denied resource overstep by requesting 4096 for RLIMIT_CORE against
limit 0 for /usr/bin/php-cgi[php-cgi:1206] uid/euid:1002/1002
gid/egid:1002/1002, parent /usr/bin/php-cgi[php-cgi:1202]
uid/euid:1002/
Looks like some fun in libpthread somewhere.
(from redmine: issue id 183, created on 2009-10-11, closed on 2009-12-23)
- Changesets:
- Revision 9881efaf on 2009-10-12T13:29:37Z:
main/php: explicit link to pthread
fixes #183
- Revision 23d4c7c3 on 2009-10-12T14:24:48Z:
main/php: explicit link to pthread
fixes #183
(cherry picked from commit 9881efaf35fb10a9145a18d71f9af6f019ccab81)