i can (quite) reliably reproduce this bug on today's HEAD (commit 
1ded1730c7fe81596d874fdc314dab64a7dab25b) on Ubuntu 22.04.3, compiled with 
OpenSSL 3.0.2, with `--atexit=0`, the tls module loaded first, and init mode 1.

In my case it happens when using the http_client module to make many concurrent 
requests to an external https server.

Using the tlsa module, i cannot reproduce the problem.

the logs show

``` 6(30) CRITICAL: {1Po7xZGepmYkCTNNsCw_ 1 1 SUBSCRIBE} <core> 
[core/mem/q_malloc.c:679]: qm_realloc(): BUG: trying to realloc an already 
freed pointer 0x7fa97ace8c00 , fragment 0x7fa97ace8bc0 -- aborting
123(154) CRITICAL: <core> [core/pass_fd.c:281]: receive_fd(): EOF on 27
 0(1) ALERT: <core> [main.c:801]: handle_sigs(): child process 30 exited by a 
signal 6
 0(1) ALERT: <core> [main.c:805]: handle_sigs(): core was generated
 0(1) INFO: <core> [main.c:828]: handle_sigs(): terminating due to SIGCHLD
```

I have a backtrace to share if needed.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/3635#issuecomment-1821113592
You are receiving this because you are subscribed to this thread.

Message ID: <kamailio/kamailio/issues/3635/1821113...@github.com>
_______________________________________________
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org

Reply via email to