curl / Mailing Lists / curl-users / Single Mail
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: Memory allocation issues with libcurl on solaris

From: Jitta, Machender via curl-users <curl-users_at_cool.haxx.se>
Date: Thu, 30 Jan 2020 13:57:27 +0000

This is the list of libraries we are using with version numbers

Reading ld.so.1
Reading libjansson.so.4.11.1
Reading libxml2.so.2
Reading libz.so.1
Reading libm.so.2
Reading libsocket.so.1
Reading libnsl.so.1
Reading libcurl.so.4.6.0
Reading libc.so.1
Reading libpthread.so.1
Reading libssl.so.1.0.0
Reading libcrypto.so.1.0.0
Reading librt.so.1
Reading libdl.so.1
Reading libaio.so.1
Reading libmd.so.1

Steps to reproduce

- Call first API with headers after curl initialization
- Reset curl
- Prepare second API with headers. It fails while appending a header.

Appreciate your help

Thanks
-Mac

On 1/30/20, 12:05 AM, "Daniel Stenberg" <daniel_at_haxx.se> wrote:

    CAUTION: External email. Do not click links or open attachments unless you recognize the sender and know the content is safe.

    On Thu, 30 Jan 2020, Jitta, Machender via curl-users wrote:

> We are trying to call two REST apis from a C module. The first call succeeds
> but the second call terminates with a SIGV … digging deeper we realized that
> the issue is with memory allocation. Did anyone face this issue and how did
> you resolve it?

    1. Note that we have the mailing list curl-library
    (https://urldefense.proofpoint.com/v2/url?u=https-3A__cool.haxx.se_mailman_listinfo_curl-2Dlibrary&d=DwIDaQ&c=HhgxO5mnlCoNHjwVH-wED6Mwc4Z-psO9z_38k9ow5oI&r=aKh9QCNQ8OtZc4DT1WWdDtTf-ZLlP34_mbJvsqfurQ8&m=B-TZ8TQpciUlMdedudv-TjFVzrPTp0mJNx9jrdTDkkY&s=YyOMIHRfwwaHPIjKNh-rfan9VFw3gOj5Xhfgt6hgRKA&e= ) for libcurl users,
    development, debugging and discussions. This list is more for the curl tool.

    2. You need to give us more details such as curl version and how to reproduce
    this. We have had occasional crashes at points in the past but for very basic
    use cases it was a very long time ago.

    --

      / daniel.haxx.se | Commercial curl support up to 24x7 is available!
                       | Private help, bug fixes, support, ports, new features
                       | https://urldefense.proofpoint.com/v2/url?u=https-3A__www.wolfssl.com_contact_&d=DwIDaQ&c=HhgxO5mnlCoNHjwVH-wED6Mwc4Z-psO9z_38k9ow5oI&r=aKh9QCNQ8OtZc4DT1WWdDtTf-ZLlP34_mbJvsqfurQ8&m=B-TZ8TQpciUlMdedudv-TjFVzrPTp0mJNx9jrdTDkkY&s=6VB6wF8kiH9XgPowXGnU9AudvAbPMzSqexDg4uon4WY&e=

________________________________

The information contained in this message and any accompanying attachments may contain privileged, private and/or confidential information protected by state and federal law. Penalties may be assessed for unauthorized use and/or disclosure. This message and any attachments are intended for the designated recipient only. If you have received this information in error, please notify the sender immediately and return or destroy the information.

This e-mail transmission and any attachments are believed to have been sent free of any virus or other defect that might affect any computer system into which it is received and opened. It is, however, the recipient's responsibility to ensure that the e-mail transmission and any attachments are virus free, and the sender accepts no responsibility for any damage that may in any way arise from their use.

-----------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-users
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2020-01-30