Obviously PHP 4.2.3RC2 segfaults when using wordwrap() with the following configure options:
'./configure' \ '--with-config-file-path=/etc' \ '--with-exec-dir=/var/www/php-bin' \ '--enable-safe-mode' \ '--enable-calendar' \ '--with-mysql=/usr/local/mysql/current' \ '--with-pgsql=/usr/local/pgsql/current' \ '--with-mm' \ '--with-zlib' \ '--with-bz2' \ '--enable-memory-limit' \ '--disable-debug' \ '--enable-sysvsem' \ '--enable-sysvshm' \ '--enable-trans-sid' \ '--with-regex=system' \ '--enable-track-vars' \ '--with-recode' \ '--enable-xslt' \ '--with-xslt-sablot=/usr' \ '--with-expat-dir=/usr' (I know that the configure options aren't that nice possibly, but they should give you the clue how the system is set up.) The script to reproduce the segfault can be found at http://www.martinjansen.com/php/segfault-4.2.3RC2.txt. If you need more information (backtrace etc.), just ask. -- - Martin Martin Jansen http://martinjansen.com/ -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php