Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Apr 2005 12:48:28 +0300
From:      Toni Viemero <toni.viemero@iki.fi>
To:        Vasil Dimov <vd@datamax.bg>
Cc:        FreeBSD-gnats-submit@freebsd.org
Subject:   Re: ports/79617: lang/php4: curl + https with sysv* extension segfaults
Message-ID:  <20050408094828.GF88440@shaolin.selfdestruct.net>
In-Reply-To: <20050408055418.GA45420@sinanica.bg.datamax>
References:  <20050407072955.61716139AD2@shaolin.selfdestruct.net> <20050407164608.GA42084@sinanica.bg.datamax> <20050407165421.GD88440@shaolin.selfdestruct.net> <20050408055418.GA45420@sinanica.bg.datamax>

next in thread | previous in thread | raw e-mail | index | archive | help
Vasil Dimov wrote:

> 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.

Moving "extension=curl.so" into end of extensions.ini fixed the problem.
If curl.so is before snmp.so, it segfaults. If there's only curl.so and
snmp.so in extensions.ini, it works both ways.
Very strange :)

I did build/installworld with CFLAGS=-g and rebuilt curl/php4-curl using
base openssl.

Here's a backtrace
http://selfdestruct.net/misc/gdb-pr-79617-2.txt

-- 
Toni Viemerö  |  http://selfdestruct.net/
"Don't do anything by half. If you love someone, love them. If you
 hate someone, hate them until it hurts."



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