Hi Vladimir,

On Friday, 31. July 2009, Vladimir Stavrinov wrote:
> On Thu, Jul 30, 2009 at 07:32:05PM +0400, Vladimir Stavrinov wrote:
> > Simulation may eliminate error, but script itself output image, that
> > breaking by invalid output. suhosin.disable.display_errors don't help

where did you find this option? The documentation[1] doesn't refer to this 
option.

> I have tried the similar (almost the same) script with php5-cli and here
> is result:
> 
> *** glibc detected *** php: double free or corruption (!prev): 0x08be6980
> *** ======= Backtrace: =========
> /lib/libc.so.6[0xf792eaf5]
> /lib/libc.so.6(cfree+0x9c)[0xf79303ac]
> /usr/lib/libt1.so.5(T1_DeleteFont+0x1c2)[0xf763ef42]
> /usr/lib/php5/20060613+lfs/gd.so[0xf76c6846]
> php(list_entry_destructor+0xa4)[0x82de7d4]
> php(zend_hash_del_key_or_index+0x117)[0x82db617]
> php(_zend_list_delete+0x8c)[0x82dea5c]
> /usr/lib/php5/20060613+lfs/gd.so(zif_imagepsfreefont+0x8a)[0xf76bc99a]
> php(execute_internal+0x51)[0x82f1121]
> /usr/lib/php5/20060613+lfs/suhosin.so[0xf72e1373]
> php[0x830a790]
> php(execute+0x160)[0x82f5570]
> /usr/lib/php5/20060613+lfs/suhosin.so[0xf72e184e]
> php(zend_execute_scripts+0x180)[0x82d00d0]
> php(php_execute_script+0x1a3)[0x82861d3]
> php(main+0x1077)[0x8353037]
> /lib/libc.so.6(__libc_start_main+0xe5)[0xf78da7a5]
> php[0x8097891]

Anyways ... indicating from your backtrace, your crashing function seems 
imagepsfreefont() and not imagepstext(), as you mentioned ealier.

Could you please provide a example script, which causes the problem?

Thanks and with kind regards, Jan.
[1] http://www.hardened-php.net/suhosin/configuration.html
-- 
Never write mail to <w...@spamfalle.info>, you have been warned!
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GIT d-- s+: a C+++ UL++++ P+ L+++ E--- W+++ N+++ o++ K++ w--- O M V- PS PE Y++
PGP++ t-- 5 X R tv- b+ DI D+ G++ e++ h---- r+++ y++++ 
------END GEEK CODE BLOCK------

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to