cURL / Mailing Lists / curl-library / Single Mail

curl-library

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

From: 黄志军 <hzhijun_at_huawei.com>
Date: Mon, 25 Oct 2004 10:31:51 +0800

Thanks Dan and Daniel, i link curl statically with my program again

and it works fine. Thanks again!

----- Original Message -----
From: "Dan Fandrich" <dan_at_coneharvesters.com>
To: "libcurl development" <curl-library_at_cool.haxx.se>
Sent: Saturday, October 23, 2004 1:16 AM
Subject: Re: Segmentation fault in SCO Unixware with libcurl,why?

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