Php agi causes segfaults in php -> /var/lib/asterisk/agi-bin/fixlocalprefix

Problem with php agi?!

On a debian Lenny Asterisk 1.4.23.1 with Freepbx 2.5.2.1 the php agi scrips crashes round about twice a day:

fixlocalprefix
dialparties.agi
dialparties.agi
fixlocalprefix
fixlocalprefix
fixlocalprefix
fixlocalprefix
fixlocalprefix

crashes on several similar installed machins.
php5* modules are version PHP 5.2.6-1+lenny4 with Suhosin-Patch 0.9.6.2 or
PHP 5.2.6-1+lenny3 with Suhosin-Patch 0.9.6.2.

Any idea?

###########################################################################
Details:

php agi causes segfaults in php -> /var/lib/asterisk/agi-bin/fixlocalprefix

PHP 5.2.6-1+lenny4 with Suhosin-Patch 0.9.6.2 (cli) (built: Nov 22 2009 02:38:03)
Copyright © 1997-2008 The PHP Group
Zend Engine v2.2.0, Copyright © 1998-2008 Zend Technologies
pbx:/var/lib/asterisk/agi-bin#

GDB analyse of coredump:

This GDB was configured as “i486-linux-gnu”…
asteriks: No such file or directory.
(no debugging symbols found)
Core was generated by `/usr/bin/php -q /var/lib/asterisk/agi-bin/fixlocalprefix’.
Program terminated with signal 11, Segmentation fault.
[New process 17167]
[New process 17166]
#0 0xb685f3cf in ?? ()

dmesg:
[62996.068300] fixlocalprefix[14776]: segfault at b70c0eae ip b68283cf sp b702f0b8 error 4 in libgcc_s.so.1[b6821000+c000]
[80278.568827] dialparties.agi[19682]: segfault at b70a2e90 ip b70a2e90 sp b70113ac error 4 in libXdmcp.so.6.0.0[b724a000+4000]
[190639.244685] dialparties.agi[11210]: segfault at b7138e90 ip b7138e90 sp b70a73ac error 4 in librt-2.7.so[b76ea000+7000]
[298429.318649] fixlocalprefix[31291]: segfault at b711ae90 ip b711ae90 sp b70893ac error 4 in librt-2.7.so[b76cc000+7000]
[584085.353177] fixlocalprefix[4643]: segfault at b7111e90 ip b7111e90 sp b70803ac error 4 in librt-2.7.so[b76c3000+7000]
[608597.330429] fixlocalprefix[12852]: segfault at b707be90 ip b707be90 sp b6fea3ac error 4 in librt-2.7.so[b762d000+7000]
[792610.197434] fixlocalprefix[17167]: segfault at b70f6eae ip b685f3cf sp b70650b8 error 4 in libgcc_s.so.1[b6858000+c000]
[794010.719588] fixlocalprefix[17563]: segfault at b70e4e90 ip b70e4e90 sp b70533ac error 4 in librt-2.7.so[b7696000+7000]
pbx1:

###########################################################################