cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Segmentation fault in SCO Unixware with libcurl,why?

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Fri, 22 Oct 2004 10:16:40 -0700

On Fri, Oct 22, 2004 at 02:41:16PM +0200, Daniel Stenberg wrote:
> On Fri, 22 Oct 2004, [utf-8] ??? wrote:
> >i only keep one copy of libcurl libray, so i am sure both my program the
> >the test program will load the same library in run-time.
>
> I think he meant _other_ libraries than libcurl. I'm sure you link with
> numerous shared libraries, as most unix systems do.

Right. The bizarre symptoms sound like the library linked at run time is
expecting different arguments or calling stack somehow, like perhaps a
mismatch in Pascal-vs-C argument convention, or different stack frame
or passing arguments in registers vs on the stack, or a ordinal-based
shared library scheme with the wrong ordinals. As someone
(you?) suggested recently, it would be valuable to try linking everything
statically to try to eliminate a run-time library mismatch as the source
of the problem.

>>> Dan

-- 
http://www.MoveAnnouncer.com              The web change of address service
          Let webmasters know that your web site has moved
Received on 2004-10-22