Re: [GD-DEVEL] gd-png error: setjmp returns error condition 2
| From: | Takeshi Abe | Date: | Mon, 30 Mar 2009 02:21:35 +0000 |
| Subject: | Re: [GD-DEVEL] gd-png error: setjmp returns error condition 2 | ||
| References: | 1 2 3 | Groups: | php.gd.devel |
| Request: | Send a blank email to php-gd-devel+get-555@lists.php.net to get a copy of this message | ||
Hi,
On Fri, 27 Mar 2009 08:40:58 +0100, Per Jessen <per@computer.org> wrote:
> I have about 20 core dumps, most of them with a clobbered stack. One of
> them revealed this though:
>
> http://jessen.ch/files/libgd-bt-core2475.txt
>
> Not sure if that helps, but ...
>
> The corrupt PNG was caused by poor decoding of base64 data, which I've
> managed to fix so my immediate problem is gone.
variable gdPngJmpbufStruct in gd_png.c seems to be shared with threads,
which may cause a longjmp call to reach some unintended stack with another setjmp.
I'm not sure if it results in your core dumps though.
Cheers,
-- Takeshi Abe