I was running Asterisk 18.11.3 on RHEL 8.
And noticed that asterisk crashed during Dialing call from ARI in moment when request from prometheus received.
How it can be reprodused
- Send request to create channel through ARI
- Send Dial request to this channel through ARI
- Send request from prometheus to http://asterisk:8088/metrics or simply from browser.
And asterisk immediatly crashes
dmesg -T show this message
[Tue Sep 13 12:36:05 2022] asterisk: segfault at 8 ip 00007efbc5581cd7 sp 00007efbc0696140 error 4 in res_prometheus.so[7efbc557b000+d000]
Can you help solve the problem? Maybe it’s some kind of bug in this version? I couldn’t find information about it.