Attached is a reasonably minimal test file. You also need to have the Document.php file in the same directory:
svn export http://solr-php-client.googlecode.com/svn/trunk/Apache/Solr/Document.php@22
running test.php is sufficient to cause a segfault.
# php --version PHP 5.2.4-2ubuntu5.15 with Suhosin-Patch 0.9.6.2 (cli) (built: Apr 28 2011 14:41:00) Copyright (c) 1997-2007 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
# php test.php Segmentation fault
# tail /var/log/syslog:
2011-05-03T19:43:55+00:00 kern.info web-50 kernel: [49000.621496] php[13034]: segfault at 29c200e1 rip 675326 rsp 7fff0ad7c9a0 error 4
Attached is a reasonably minimal test file. You also need to have the Document.php file in the same directory:
svn export http:// solr-php- client. googlecode. com/svn/ trunk/Apache/ Solr/Document. php@22
running test.php is sufficient to cause a segfault.
# php --version
PHP 5.2.4-2ubuntu5.15 with Suhosin-Patch 0.9.6.2 (cli) (built: Apr 28 2011 14:41:00)
Copyright (c) 1997-2007 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
# php test.php
Segmentation fault
# tail /var/log/syslog:
2011-05- 03T19:43: 55+00:00 kern.info web-50 kernel: [49000.621496] php[13034]: segfault at 29c200e1 rip 675326 rsp 7fff0ad7c9a0 error 4