[prev in list] [next in list] [prev in thread] [next in thread] 

List:       serusers
Subject:    [SR-Users] Restarts Kamailio after general protection fault
From:       Daian Conrad via sr-users <sr-users () lists ! kamailio ! org>
Date:       2023-10-17 0:43:35
Message-ID: CACCzU-nJ5J4u1ccosqhqhpNNKrvHRsO+YY+AWtN15utfrh9Gcw () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hi all,

I have started using kamailio as a proxy register for asterisk's and works
fine, but in some moment kamailio show WARNINGs, ALERTS and CRITICAL logs
and restart.

I don't no how debug correctly, but the crash show this log lines


*Oct 16 21:34:26 proxy /usr/sbin/kamailio[2148]: CRITICAL: <core>
[core/mem/q_malloc.c:123]: qm_debug_check_frag(): BUG: qm: fragm.
0x7f14a27a5ab8 (address 0x7f14a27a5af0) beginning overwritten
(7f14a27a8e58)! Memory allocator was called from uac: uac_send.c:860.
Fragment marked by UH��AWAVAUATSH��:139726602009368. Exec from
core/mem/q_malloc.c:511.*

-------------------------------------------------------------










*Oct 16 21:39:46 proxy /usr/sbin/kamailio[2556]: CRITICAL: <core>
[core/mem/q_malloc.c:123]: qm_debug_check_frag(): BUG: qm: fragm.
0x7ff7ad456330 (address 0x7ff7ad456368) beginning overwritten (0)! Memory
allocator was called from uac: uac_send.c:860. Fragment marked by (null):0.
Exec from core/mem/q_malloc.c:511.Oct 16 21:39:46 proxy
/usr/sbin/kamailio[2578]: CRITICAL: <core> [core/pass_fd.c:277]:
receive_fd(): EOF on 19Oct 16 21:39:46 proxy /usr/sbin/kamailio[2539]:
ALERT: <core> [main.c:774]: handle_sigs(): child process 2556 exited by a
signal 6Oct 16 21:39:46 proxy /usr/sbin/kamailio[2539]: ALERT: <core>
[main.c:777]: handle_sigs(): core was not generatedOct 16 21:39:46 proxy
systemd[1]: kamailio.service: Main process exited, code=exited,
status=1/FAILUREOct 16 21:39:46 proxy systemd[1]: kamailio.service: Failed
with result 'exit-code'.Oct 16 21:39:46 proxy systemd[1]: kamailio.service:
Service RestartSec=100ms expired, scheduling restart.Oct 16 21:39:46 proxy
systemd[1]: kamailio.service: Scheduled restart job, restart counter is at
9.Oct 16 21:39:46 proxy systemd[1]: Stopped Kamailio - the Open Source SIP
Server.*


any advice is apreciated

-- 
================
**Daian Conrad**

E-mail: daian.conrad@gmail.com
OpenS Team (DaCoD)
Linux user: #248912

[Attachment #5 (text/html)]

<div dir="ltr">Hi all,<div><br></div><div>I have started using kamailio as a proxy \
register for asterisk&#39;s and works fine, but in some moment kamailio show \
WARNINGs, ALERTS and CRITICAL logs and restart.</div><div><br></div><div>I don&#39;t \
no how debug correctly, but the crash show this log \
lines</div><div><br></div><div><i>Oct 16 21:34:26 proxy /usr/sbin/kamailio[2148]: \
CRITICAL: &lt;core&gt; [core/mem/q_malloc.c:123]: qm_debug_check_frag(): BUG: qm: \
fragm. 0x7f14a27a5ab8 (address 0x7f14a27a5af0) beginning overwritten (7f14a27a8e58)! \
Memory allocator was called from uac: uac_send.c:860. Fragment marked by \
UH��AWAVAUATSH��:139726602009368. Exec from \
core/mem/q_malloc.c:511.<br></i></div><div><br></div><div>-------------------------------------------------------------</div><div><i><br></i></div><div><i>Oct \
16 21:39:46 proxy /usr/sbin/kamailio[2556]: CRITICAL: &lt;core&gt; \
[core/mem/q_malloc.c:123]: qm_debug_check_frag(): BUG: qm: fragm. 0x7ff7ad456330 \
(address 0x7ff7ad456368) beginning overwritten (0)! Memory allocator was called from \
uac: uac_send.c:860. Fragment marked by (null):0. Exec from \
core/mem/q_malloc.c:511.<br>Oct 16 21:39:46 proxy /usr/sbin/kamailio[2578]: CRITICAL: \
&lt;core&gt; [core/pass_fd.c:277]: receive_fd(): EOF on 19<br>Oct 16 21:39:46 proxy \
/usr/sbin/kamailio[2539]: ALERT: &lt;core&gt; [main.c:774]: handle_sigs(): child \
process 2556 exited by a signal 6<br>Oct 16 21:39:46 proxy /usr/sbin/kamailio[2539]: \
ALERT: &lt;core&gt; [main.c:777]: handle_sigs(): core was not generated<br>Oct 16 \
21:39:46 proxy systemd[1]: kamailio.service: Main process exited, code=exited, \
status=1/FAILURE<br>Oct 16 21:39:46 proxy systemd[1]: kamailio.service: Failed with \
result &#39;exit-code&#39;.<br>Oct 16 21:39:46 proxy systemd[1]: kamailio.service: \
Service RestartSec=100ms expired, scheduling restart.<br>Oct 16 21:39:46 proxy \
systemd[1]: kamailio.service: Scheduled restart job, restart counter is at 9.<br>Oct \
16 21:39:46 proxy systemd[1]: Stopped Kamailio - the Open Source SIP \
Server.<br></i></div><div><br></div><div><br></div><div>any advice is \
apreciated</div><div><div><br></div><span class="gmail_signature_prefix">-- \
</span><br><div dir="ltr" class="gmail_signature" \
data-smartmail="gmail_signature"><div>================</div><div>**Daian \
Conrad**</div><div><br></div><div>E-mail: <a href="mailto:daian.conrad@gmail.com" \
target="_blank">daian.conrad@gmail.com</a></div><div>OpenS Team \
(DaCoD)</div><div>Linux user: #248912  \
</div><div><br></div><div><br></div></div></div></div>



__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
To unsubscribe send an email to sr-users-leave@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the sender!
Edit mailing list options or unsubscribe:


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic