ports/79617: lang/php4: curl + https with sysv* extension segfaults

Vasil Dimov vd at datamax.bg
Fri Apr 8 05:54:20 UTC 2005


On Thu, Apr 07, 2005 at 07:54:21PM +0300, Toni Viemero wrote:
> Vasil Dimov wrote:
> 
> > Can you try the following command and send the output:
> > 
> > $ gdb /usr/local/bin/php php.core
> > (gdb) bt
> 
> GDB backtrace can be found here:
> http://selfdestruct.net/misc/gdb-pr-79617.txt
> 

Looks like an openssl issue or curl incorrectly calling openssl.

Can you try to install openssl-0.9.7f from security/openssl in the
ports and link libcurl and php against it? It whoud be a matter of

/usr/ports/ftp/curl# make WITH_OPENSSL_PORT=yes install clean

(this sould install openssl from ports if it is not already installed
and link libcurl with it)

Also it would be great if you add debugging symbols to all those
progs and libs (for example add CFLAGS=-g to /etc/make.conf).
It will help to get more detailed backtrace in case the crash
occurs again.

Sorry, but I cannot do much without being able to reproduce the problem.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 155 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-ports-bugs/attachments/20050408/cb1d7877/attachment.sig>


More information about the freebsd-ports-bugs mailing list