PHP junk pointer error with imagick.so

2006-01-20 Thread Justin Meyer
Hi All,

I recently noticed running a phpinfo() page that the page would not
completely render. When I looked in /var/log/httpd-errors.log, I found
the following error every time I hit that page:

[Fri Jan 20 10:53:08 2006] [notice] child pid 88217 exit signal Abort
trap (6)
httpd in free(): error: junk pointer, too high to make sense

After successively commenting and uncommenting each extension I have for
php, I finally found the culprit extension to be imagick.so. I found the
commit message for ImageMagick 6.2.5.5 at
http://www.freshports.org/graphics/ImageMagick/ suggesting that there
were segfaults with earlier versions, and so on a hunch I did a
portupgrade -rf ImageMagick.

No dice; I still can't load the imagick.so extension to php without
running into these junk pointer errors.

FYI, here's the (I think) relevant ports I have installed:

apache+mod_ssl-1.3.34+2.8.25_2 ImageMagick-6.2.5.5 php4-4.4.2
php4-extensions-1.0 pecl-imagick-0.9.11_3

Has anyone else encountered this issue? Does anyone have any suggestions
as to how I might resolve it?

Thanks!

-- 
Justin
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: PHP junk pointer error with imagick.so

2006-01-20 Thread Uwe Laverenz
On Fri, Jan 20, 2006 at 11:11:22AM -0800, Justin Meyer wrote:

 Has anyone else encountered this issue? Does anyone have any
 suggestions as to how I might resolve it?

I have similar problems with imagick and also with xslt. These two
modules make php segfault e.g. when installing pear-ports. The problem
seems to exist only on machines with ldap-setup (nss_ldap, pam_ldap). Do
you run your machine with nss_ldap?

I know of two other users who reported similar problems, both with
nss_ldap.

Solutions? I have mailed the php-maintainer about the problem but got no
response. I don't think it would help to additionally make a PR, so for
me there are 2 possible ways to solve this:

1) don't use imagick or xslt
2) don't use FreeBSD for PHP-development

Uwe

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: PHP junk pointer error with imagick.so

2006-01-20 Thread Justin Meyer
Hi Uwe!

On Fri, 20 Jan 2006, Uwe Laverenz wrote:

 On Fri, Jan 20, 2006 at 11:11:22AM -0800, Justin Meyer wrote:
 
  Has anyone else encountered this issue? Does anyone have any
  suggestions as to how I might resolve it?
 
 I have similar problems with imagick and also with xslt. These two
 modules make php segfault e.g. when installing pear-ports. The problem
 seems to exist only on machines with ldap-setup (nss_ldap, pam_ldap). Do
 you run your machine with nss_ldap?

Oh hell no; I'm not into that kind of pain :) Just plain ol' /etc/passwd
here, thanks!

 Solutions? I have mailed the php-maintainer about the problem but got
 no response. I don't think it would help to additionally make a PR, so
 for me there are 2 possible ways to solve this:
 
 1) don't use imagick or xslt

Well, in truth I don't *need* this module, just thought it'd be useful,
but still, this bugs the shit out of me...

 2) don't use FreeBSD for PHP-development

.. b-b-but I *like* FreeBSD! Nope, not gonna abandon this platform. If I
don't hear from anyone else anytime soon, I'll take this to -ports and
see what they say.

Thanks, Uwe; at least I know I'm not alone :)

-- 
Justin
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]