[sr-dev] [kamailio/kamailio] http_async_client crash in 5.0.5 (does not crash in 5.0.4) (#1400)

Alexandru Pirvulescu notifications at github.com
Mon Jan 15 01:17:10 CET 2018


### Description

Kamailio started to crash in 5.0.5 in http_async_client module. Works in 5.0.4

### Troubleshooting

#### Reproduction

Use http_async_client.

#### Debugging Data

Not yet extracted. Need to figure out how to access the core because it is a container.

#### Log Messages

```
4(30) : <core> [core/mem/q_malloc.c:483]: qm_free(): BUG: qm_free: freeing already freed pointer (0x7fccc205d368), called from http_async_client: async_http.c: set_query_params(599), first free http_async_client: async_http.c: set_query_params(599) - aborting
51(77) CRITICAL: <core> [core/pass_fd.c:277]: receive_fd(): EOF on 35
 0(1) ALERT: <core> [main.c:742]: handle_sigs(): child process 30 exited by a signal 6
 0(1) ALERT: <core> [main.c:745]: handle_sigs(): core was generated
 0(1) INFO: <core> [main.c:768]: handle_sigs(): terminating due to SIGCHLD
```

#### SIP Traffic


### Possible Solutions

### Additional Information

  * **Kamailio Version** - output of `kamailio -v`

```
version: kamailio 5.0.5 (x86_64/linux)
flags: STATS: Off, USE_TCP, USE_TLS, USE_SCTP, TLS_HOOKS, DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MEM, SHM_MMAP, PKG_MALLOC, Q_MALLOC, F_MALLOC, TLSF_MALLOC, DBG_SR_MEMORY, USE_FUTEX, FAST_LOCK-ADAPTIVE_WAIT, USE_DNS_CACHE, USE_DNS_FAILOVER, USE_NAPTR, USE_DST_BLACKLIST, HAVE_RESOLV_RES
ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535, DEFAULT PKG_SIZE 8MB
poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.
id: unknown
compiled with gcc 5.3.1
```

* **Operating System**:

```
Ubuntu 16.04 (Xenial)
```


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/1400
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20180115/781964fe/attachment.html>


More information about the sr-dev mailing list