Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Nov 2006 19:26:31 +0200
From:      Dominik Zalewski <dzalewski@open-craft.com>
To:        freebsd-stable@freebsd.org
Subject:   Re: php in free(): error: junk pointer, too high to make sense - SOLVED
Message-ID:  <200611231926.31329.dzalewski@open-craft.com>
In-Reply-To: <ek4cj3$lft$1@sea.gmane.org>
References:  <200611231335.55379.dzalewski@open-craft.com> <ek4cj3$lft$1@sea.gmane.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday 23 November 2006 16:52, Ivan Voras wrote:
> Dominik Zalewski wrote:
> > Hi All,
> >
> > I'm using FreeBSD 6.1 release on i386. I have a problem with pear and
> > apache. Here is what I'm getting:
> >
> > [root@silicon ~]# pear list
> > Installed packages, channel pear.php.net:
> > =========================================
> > Package        Version State
> > Archive_Tar    1.3.1   stable
> > Console_Getopt 1.2     stable
> > DB             1.7.6   stable
> > Date           1.4.7   stable
> > Log            1.9.9   stable
> > PEAR           1.4.11  stable
> > XML_RPC        1.5.0   stable
> > php in free(): error: junk pointer, too high to make sense
> > Abort trap: 6 (core dumped)
> >
> > apache 2.2.3 and php-4.4.4_1 is working fine but everytime I restart it
> > throws core dump.
> >
> > Any ideas?
>
> See a recent thread in freebsd-ports mailing list. It may be related to
> a known problem with PHP which is exposed by certain ordering of
> extensions in extensions.ini. Try reversing the order of extensions, put
> session extension on the top, just before mysql or something else -
> there doesn't seem to be a rule about it.
>
> _______________________________________________
> freebsd-stable@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"

I deinstall php4-recode packge , restarted apache and the problem gone ! No 
more core dumps from pear and apache :)

I found solution here: http://www.takizo.com/blog/category/php/
Looks like with php5 it cause problems too but I didnt test it.

Thank you,

       Dominik









Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200611231926.31329.dzalewski>