[SR-Users] Kamailio 4.2.6 crash

Igor Potjevlesch igor.potjevlesch at gmail.com
Thu Feb 11 17:15:05 CET 2016


Hello Daniel,

 

There were 6 coredumps with the 6 errors messages:

 

Feb  3 17:58:30 /usr/local/sbin/kamailio[18360]: : <core>
[mem/q_malloc.c:149]: qm_debug_frag(): BUG: qm_*: fragm. 0x7fad9de32df0
(address 0x7fad9de32e20) end overwritten(676f6c6169443d6f,
32205044535f6369)!

Feb  3 17:58:31 /usr/local/sbin/kamailio[18329]: : <core>
[mem/q_malloc.c:140]: qm_debug_frag(): BUG: qm_*: fragm. 0x7fad9de19b90
(address 0x7fad9de19bc0) beginning overwritten(a0d3020303d740a)!

Feb  3 17:58:50 /usr/local/sbin/kamailio[29527]: : <core>
[mem/q_malloc.c:140]: qm_debug_frag(): BUG: qm_*: fragm. 0x7ffcfd5cf3d8
(address 0x7ffcfd5cf408) beginning overwritten(b02030a01201001)!

Feb  3 17:58:51 /usr/local/sbin/kamailio[29514]: : <core>
[mem/q_malloc.c:149]: qm_debug_frag(): BUG: qm_*: fragm. 0x7ffcfd5cee30
(address 0x7ffcfd5cee60) end overwritten(6c707061203a6570,
2f6e6f6974616369)!

Feb  3 17:59:18 /usr/local/sbin/kamailio[29689]: : <core>
[mem/q_malloc.c:140]: qm_debug_frag(): BUG: qm_*: fragm. 0x7f51b7689920
(address 0x7f51b7689950) beginning overwritten(b02030a01201001)!

Feb  3 17:59:20 /usr/local/sbin/kamailio[29666]: : <core>
[mem/q_malloc.c:149]: qm_debug_frag(): BUG: qm_*: fragm. 0x7f51b7689378
(address 0x7f51b76893a8) end overwritten(6c707061203a6570,
2f6e6f6974616369)!

 

Regards,

 

Igor.

 

De : Daniel-Constantin Mierla [mailto:miconda at gmail.com] 
Envoyé : jeudi 4 février 2016 12:10
À : Igor Potjevlesch <igor.potjevlesch at gmail.com>; 'Kamailio (SER) - Users
Mailing List' <sr-users at lists.sip-router.org>
Objet : Re: [SR-Users] Kamailio 4.2.6 crash

 

Hello,

did you get the same error message with 'fragment end overwritten'?

How many core files did you get?

Cheers,
Daniel

On 03/02/16 18:06, Igor Potjevlesch wrote:

Hello Daniel,

 

Just to let you know that I got three successive crashs and they look
similar to the previous.

 

Program terminated with signal 11, Segmentation fault.

#0  0x000000000062245e in qm_status (qm=0x7fad9daef000) at
mem/q_malloc.c:788

788                                     f!=&(qm->free_hash[h].head);
f=f->u.nxt_free, i++, j++){

 

Please let me know if you need additional information from the different
coredumps.

Regards,

 

Igor. 

 

 

De : Igor Potjevlesch [ <mailto:igor.potjevlesch at gmail.com>
mailto:igor.potjevlesch at gmail.com] 
Envoyé : mercredi 20 janvier 2016 13:10
À :  <mailto:miconda at gmail.com> miconda at gmail.com; 'Kamailio (SER) - Users
Mailing List'  <mailto:sr-users at lists.sip-router.org>
<sr-users at lists.sip-router.org>
Objet : RE: [SR-Users] Kamailio 4.2.6 crash

 

Hello Daniel,

 

Unfortunately not. Especially because I don't know how to reproduce the
issue.

 

Regards,

 

Igor.

 

De : Daniel-Constantin Mierla [ <mailto:miconda at gmail.com>
mailto:miconda at gmail.com] 
Envoyé : mardi 19 janvier 2016 19:03
À : Igor Potjevlesch < <mailto:igor.potjevlesch at gmail.com>
igor.potjevlesch at gmail.com>; 'Kamailio (SER) - Users Mailing List' <
<mailto:sr-users at lists.sip-router.org> sr-users at lists.sip-router.org>
Objet : Re: [SR-Users] Kamailio 4.2.6 crash

 

Hello,

the runtime issue is happening inside the free cell of tm, which I
refactored for catching unnecessary refs, as I got leads could happen on
some async handling. But that code is only in master and branch 4.3. Would
you be able to test with those branches? If not, I can try to see if the
code can be backported without big impact.

Cheers,
Daniel

On 19/01/16 10:07, Igor Potjevlesch wrote:

Hello Daniel,

 

I don't think so. Looking at my config, I don't see any t_suspend and tsilo
module is not loaded.

I'm just using dialog module for snmpstats.

 

Regards,

 

Igor.

 

De : Daniel-Constantin Mierla [ <mailto:miconda at gmail.com>
mailto:miconda at gmail.com] 
Envoyé : lundi 18 janvier 2016 08:56
À : Igor Potjevlesch  <mailto:igor.potjevlesch at gmail.com>
<igor.potjevlesch at gmail.com>; 'Kamailio (SER) - Users Mailing List'
<mailto:sr-users at lists.sip-router.org> <sr-users at lists.sip-router.org>
Objet : Re: [SR-Users] Kamailio 4.2.6 crash

 

Hello,

are you using async transactions (e.g., t_suspend() or tsilo module)?

Cheers,
Daniel

On 15/01/16 10:51, Igor Potjevlesch wrote:

I also seen this in /var/log/messages during the crash:

 

Jan 15 10:37:41 tanus /usr/local/sbin/kamailio[24021]: : <core>
[mem/q_malloc.c:149]: qm_debug_frag(): BUG: qm_*: fragm. 0x7f9abd767300
(address 0x7f9abd767330) end overwritten(d33762d69737465, 746e65746e6f430a)!

Jan 15 10:37:41 tanus kernel: kamailio[24021] general protection ip:62245e
sp:7fff39bc7900 error:0 in kamailio[400000+3c8000]

Jan 15 10:37:42 tanus abrtd: Directory 'ccpp-2016-01-15-10:37:41-24021'
creation detected

 

 

-- 
Daniel-Constantin Mierla
 <http://twitter.com/#%21/miconda> http://twitter.com/#!/miconda -
<http://www.linkedin.com/in/miconda> http://www.linkedin.com/in/miconda
Book: SIP Routing With Kamailio -  <http://www.asipto.com>
http://www.asipto.com
http://miconda.eu





-- 
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Book: SIP Routing With Kamailio -  <http://www.asipto.com>
http://www.asipto.com
http://miconda.eu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20160211/e8b1bf72/attachment.html>


More information about the sr-users mailing list