curl / Mailing Lists / curl-library / Single Mail

curl-library

Re: crash issue: while invoking easy perform.

From: surya chandrika <contactsuryac_at_gmail.com>
Date: Mon, 5 Mar 2018 17:59:31 +0530

Hi all,

This issue is resolved now, Thanks for your quick response.

I was getting Curl 35 error code in log followed by a crash.

there were multiple threads running at parallel, and each thread at start
invoked global_init and global_cleanup at its exit.

when i removed global cleanup from all these threads, issue is resolved.

I did for each thread as its a long running application and thread wakes up
only when some event occurs. so wanted to clean up memory when all are
asleep.

It seems global init and clean need not be done for each thread, need to be
called only once for an application.

along with that also updated ssl_certificate
and ssl_certificate_key and update-ca-trust as i saw curl 35 error code.

On Mon, Mar 5, 2018 at 3:38 PM, Daniel Stenberg <daniel_at_haxx.se> wrote:

> On Mon, 5 Mar 2018, surya chandrika wrote:
>
> (gdb) bt
>> #0 0x00007f0ca183d4ab in raise (sig=11)
>> at ../nptl/sysdeps/unix/sysv/linux/pt-raise.c:37
>> #1 0x00007f0ca64bd582 in skgesigOSCrash ()
>> from /usr/lib/oracle/12.2/client64/lib/libclntsh.so.12.1
>> #2 0x00007f0ca6add8a5 in kpeDbgSignalHandler ()
>> from /usr/lib/oracle/12.2/client64/lib/libclntsh.so.12.1
>> #3 0x00007f0ca64bd8c0 in skgesig_sigactionHandler ()
>> from /usr/lib/oracle/12.2/client64/lib/libclntsh.so.12.1
>> #4 <signal handler called>
>> #5 0x00007f0c9f5ae01e in NSSRWLock_LockWrite_Util () from
>> /lib64/libnssutil3.so
>> #6 0x00007f0c9f82486f in secmod_AddModuleToList () from /lib64/libnss3.so
>> #7 0x00007f0c9f8184b1 in SECMOD_LoadModule () from /lib64/libnss3.so
>> #8 0x00007f0c9f8185e9 in SECMOD_LoadUserModule () from /lib64/libnss3.so
>> #9 0x00007f0ca855cd2e in nss_load_module.part.10 () from
>> /lib64/libcurl.so.4
>> #10 0x00007f0ca855e216 in nss_setup_connect () from /lib64/libcurl.so.4
>>
>
> So this is the NSS function SECMOD_LoadUserModule() that crashes.
>
> I have no means to reproduce this so I can't really tell what's going on
> here. Could it be a NSS issue? Is the "pcks11 module" this loads correctly
> built/installed/used?
>
>
> --
>
> / daniel.haxx.se
> -------------------------------------------------------------------
> Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
> Etiquette: https://curl.haxx.se/mail/etiquette.html
>

-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2018-03-05