Re: [PHP] gd extension crashed on mandrake

2006-02-16 Thread Richard Lynch
On Thu, February 16, 2006 4:40 am, Roman Rumisek wrote:
> Hi. I attempt the antispam.php from jpgraph library but
> both cli and mod php crashed with SIGINT 11 in imagecreatefromstring
> function. String is correct (I saved it into the file and view it in
> Firefox - OK).
> PHP version: 4.3.8, gd version: both 2.0.27 and 2.0.33. - original
> Mandrake rpm(libgd2-2.0.33-3mdk, libgd2-2.0.27-3mdk,
> mod_php-4.3.8-1mdk,
> php-gd-4.3.8-2mdk, libphp_common432-4.3.8-3mdk, php-cgi-4.3.8-3mdk).
>
> Can you help me ?

Check for your bug here:
http://bugs.php.net
and also on the GD site.

If it's not there, post the raw text string somewhere on the 'net,
file a bug report, and link to it.

One Issue:
Browsers are notoriously forgiving and capable of rendering botched
images, as well as image formats that GD doesn't know about (EG, AOL's
image "format"), so the browser test is not really conclusive.

Try opening that image up in graphics programs like GIMP, PhotoShop,
GraphicConverter, etc and see what happens in each.  One of those
programs may be able to clue you in to what's going wrong.

-- 
Like Music?
http://l-i-e.com/artists.htm

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] gd extension crashed on mandrake

2006-02-16 Thread Jochem Maas

Roman Rumisek wrote:
Hi. I attempt the antispam.php from jpgraph library but 
both cli and mod php crashed with SIGINT 11 in imagecreatefromstring


your sure it was the CLI and not the CGI binary? not that that should
make much difference in theory.

function. String is correct (I saved it into the file and view it in 
Firefox - OK).

PHP version: 4.3.8, gd version: both 2.0.27 and 2.0.33. - original


the fact that there are 2 versions of gd could suggest a problem with
mixed-up dependencies which, as I was reminded today, is usually a segfault
waiting to happen. you might consider compiling your php gd extension against
the gb lib bundled with php (you might need to install same php-dev type RPM,
but I wouldn't know for sure) to fix the problem.

here is a bug report that hints at your kind of problem ... it might help you
to undertstand and fix what going wrong for you:

http://bugs.php.net/bug.php?id=29349

another thing to consider is upgrading php to a 4.4.x version - which
has some serious fixes in it (which may have no baring on your problem).
at any rate 4.3.x is (IIRC) consider [fairly?] unsafe due to known/exploitable
security issues.


Mandrake rpm(libgd2-2.0.33-3mdk, libgd2-2.0.27-3mdk, mod_php-4.3.8-1mdk,
php-gd-4.3.8-2mdk, libphp_common432-4.3.8-3mdk, php-cgi-4.3.8-3mdk).


me I suffer from permanent arpiemitis (say it aloud ;-) and perfer to
build php and its extensions 'by hand'  - might be worth a shot to
try to roll you your?



Can you help me ?

Cheers,

Rumisek



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] gd extension crashed on mandrake

2006-02-16 Thread Roman Rumisek
Hi. I attempt the antispam.php from jpgraph library but 
both cli and mod php crashed with SIGINT 11 in imagecreatefromstring
function. String is correct (I saved it into the file and view it in 
Firefox - OK).
PHP version: 4.3.8, gd version: both 2.0.27 and 2.0.33. - original
Mandrake rpm(libgd2-2.0.33-3mdk, libgd2-2.0.27-3mdk, mod_php-4.3.8-1mdk,
php-gd-4.3.8-2mdk, libphp_common432-4.3.8-3mdk, php-cgi-4.3.8-3mdk).

Can you help me ?

Cheers,

Rumisek

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php