Buy commercial curl support from WolfSSL. We help you work
out your issues, debug your libcurl applications, use the API, port to new
platforms, add new features and more. With a team lead by the curl founder
himself.
Re: core dump on curl function call
- Contemporary messages sorted: [ by date ] [ by thread ] [ by subject ] [ by author ] [ by messages with attachments ]
From: Henrik Holst via curl-library <curl-library_at_lists.haxx.se>
Date: Mon, 18 Oct 2021 13:23:37 +0200
And if you are running on Linux/BSD/Unix then run your application under
valgrind to see if that catches anything suspicious (it usually does).
/HH
Den mån 18 okt. 2021 kl 10:20 skrev treesa fairy joseph via curl-library <
curl-library_at_lists.haxx.se>:
> Thanks, I will do that.
>
> On Mon, Oct 18, 2021 at 1:20 PM Daniel Stenberg <daniel_at_haxx.se> wrote:
>
>> On Mon, 18 Oct 2021, treesa fairy joseph wrote:
>>
>> > My issue still there. I could not proceed much.
>>
>> I would propose three different things that can help you go forward.
>>
>> 1. build with debug enabled and debug-symbols present so that when you
>> get a
>> crash, you can view arguments and local variables. It helps diagnosing.
>> And
>> when you show us stack traces, we can tell a lot more about what was
>> going on.
>>
>> 2. switch back to a simpler logic and code (that works) as a test and
>> then
>> work yourself forward again as then when/if you get a crash again you
>> know
>> what introduced the crash. You should be able to get a working libcurl
>> using
>> function for simple things almost based entirely on provided examples.
>>
>> 3. if these two steps fail, or perhaps in parallel, create a separate
>> application that is not tied to your real application that works similar
>> as
>> your real application but is a separate thing that you write to work with
>> a
>> public URL and that once it reproduces the problem, you can share with us
>> and
>> we can help assist in the debugging.
>>
>> Also: make sure you're not working with an ancient libcurl version.
>>
>> --
>>
>> / daniel.haxx.se
>> | Commercial curl support up to 24x7 is available!
>> | Private help, bug fixes, support, ports, new features
>> | https://curl.se/support.html
>>
> --
> Unsubscribe: https://lists.haxx.se/listinfo/curl-library
> Etiquette: https://curl.haxx.se/mail/etiquette.html
>
Date: Mon, 18 Oct 2021 13:23:37 +0200
And if you are running on Linux/BSD/Unix then run your application under
valgrind to see if that catches anything suspicious (it usually does).
/HH
Den mån 18 okt. 2021 kl 10:20 skrev treesa fairy joseph via curl-library <
curl-library_at_lists.haxx.se>:
> Thanks, I will do that.
>
> On Mon, Oct 18, 2021 at 1:20 PM Daniel Stenberg <daniel_at_haxx.se> wrote:
>
>> On Mon, 18 Oct 2021, treesa fairy joseph wrote:
>>
>> > My issue still there. I could not proceed much.
>>
>> I would propose three different things that can help you go forward.
>>
>> 1. build with debug enabled and debug-symbols present so that when you
>> get a
>> crash, you can view arguments and local variables. It helps diagnosing.
>> And
>> when you show us stack traces, we can tell a lot more about what was
>> going on.
>>
>> 2. switch back to a simpler logic and code (that works) as a test and
>> then
>> work yourself forward again as then when/if you get a crash again you
>> know
>> what introduced the crash. You should be able to get a working libcurl
>> using
>> function for simple things almost based entirely on provided examples.
>>
>> 3. if these two steps fail, or perhaps in parallel, create a separate
>> application that is not tied to your real application that works similar
>> as
>> your real application but is a separate thing that you write to work with
>> a
>> public URL and that once it reproduces the problem, you can share with us
>> and
>> we can help assist in the debugging.
>>
>> Also: make sure you're not working with an ancient libcurl version.
>>
>> --
>>
>> / daniel.haxx.se
>> | Commercial curl support up to 24x7 is available!
>> | Private help, bug fixes, support, ports, new features
>> | https://curl.se/support.html
>>
> --
> Unsubscribe: https://lists.haxx.se/listinfo/curl-library
> Etiquette: https://curl.haxx.se/mail/etiquette.html
>
-- Unsubscribe: https://lists.haxx.se/listinfo/curl-library Etiquette: https://curl.haxx.se/mail/etiquette.htmlReceived on 2021-10-18