[asterisk-bugs] [JIRA] (ASTERISK-30237) Asterisk Crashed due to prometheus requests

Igor Yeroshev (JIRA) noreply at issues.asterisk.org
Mon Sep 19 03:59:08 CDT 2022


     [ https://issues.asterisk.org/jira/browse/ASTERISK-30237?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Igor Yeroshev updated ASTERISK-30237:
-------------------------------------

    Description: 
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

1. Send request to create channel through ARI
2. Send Dial request to this channel through ARI
3. 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[13513]: 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.

  was:
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[13513]: 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.


>  Asterisk Crashed due to prometheus requests
> --------------------------------------------
>
>                 Key: ASTERISK-30237
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-30237
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_ari
>    Affects Versions: 18.11.3
>            Reporter: Igor Yeroshev
>            Severity: Critical
>         Attachments: core-asterisk-2022-09-13T08-07-08Z-brief.txt, core-asterisk-2022-09-13T08-07-08Z-full.txt, core-asterisk-2022-09-13T08-07-08Z-info.txt, core-asterisk-2022-09-13T08-07-08Z-locks.txt, core-asterisk-2022-09-13T08-07-08Z-thread1.txt
>
>
> 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
> 1. Send request to create channel through ARI
> 2. Send Dial request to this channel through ARI
> 3. 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[13513]: 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.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list