[sr-dev] [kamailio/kamailio] http_async_client module crashing kamailio v5.5 on startup (Issue #2999)

Joey Golan notifications at github.com
Sun Jan 9 09:31:02 CET 2022


### Description

Hello,
Loading http_async_client module causes kamailio to crash on startup with the following errors:

 0(60541) INFO: http_async_client [async_http.c:85]: async_http_init_worker(): started worker process: 1
[warn] kevent: Bad file descriptor
16(60557) CRITICAL: <core> [core/pt.c:405]: fork_tcp_process(): called from a non "main" process
16(60557) ERROR: <core> [core/tcp_main.c:5121]: tcp_init_children(): fork failed: Bad file descriptor
 0(60541) ALERT: <core> [main.c:786]: handle_sigs(): child process 60557 exited normally, status=255
 0(60541) INFO: <core> [main.c:813]: handle_sigs(): terminating due to SIGCHLD
 1(60542) INFO: <core> [main.c:868]: sig_usr(): signal 15 received
 5(60546) INFO: <core> [main.c:868]: sig_usr(): signal 15 received

Issue reproduced with kamailio sample configuration + loadmodule "http_async_client.so"

### Additional Information

  * **Kamailio Version** *
```
kamailio -v
version: kamailio 5.5.3 (x86_64/darwin) b42dfd
flags: USE_TCP, USE_TLS, USE_SCTP, TLS_HOOKS, DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MMAP, PKG_MALLOC, Q_MALLOC, F_MALLOC, TLSF_MALLOC, DBG_SR_MEMORY, FAST_LOCK-ADAPTIVE_WAIT, USE_DNS_CACHE, USE_DNS_FAILOVER, USE_NAPTR, USE_DST_BLOCKLIST, HAVE_RESOLV_RES, TLS_PTHREAD_MUTEX_SHARED
ADAPTIVE_WAIT_LOOPS 1024, MAX_RECV_BUFFER_SIZE 262144, MAX_URI_SIZE 1024, BUF_SIZE 65535, DEFAULT PKG_SIZE 8MB
poll method support: poll, select, kqueue.
id: b42dfd 
compiled on 22:25:21 Jan  6 2022 with gcc Apple clang version 13.0.0 (clang-1300.0.29.30)
```

* **Operating System**:

```
MacOS
```


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

Message ID: <kamailio/kamailio/issues/2999 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20220109/ecacae56/attachment.htm>


More information about the sr-dev mailing list