[SR-Users] BUG: qm_free: freeing already freed pointer

Rene Montilva renemontilva at gmail.com
Fri Feb 19 17:37:13 CET 2016


Hi Daniel

i made the  version change to 4.3.4 , but now i got this error and then the
kamailio froze

Feb 19 10:18:22 server6-2 /usr/sbin/kamailio[3403]: WARNING: tm
[h_table.c:130]: free_cell_helper(): removed cell 0x7ff2dd63d548 is still
linked in hash table (t_lookup.c:1486)
Feb 19 10:18:22 server6-2 kernel: [5743376.041415] kamailio[3430]: segfault
at 0 ip 00007ff3602a8fb2 sp 00007fff2b1c22f0 error 6 in
tm.so[7ff360250000+eb000]
Feb 19 10:18:22 server6-2 /usr/sbin/kamailio[3324]: ALERT: <core>
[main.c:728]: handle_sigs(): child process 3430 exited by a signal 11
Feb 19 10:18:22 server6-2 /usr/sbin/kamailio[3324]: ALERT: <core>
[main.c:731]: handle_sigs(): core was not generated
Feb 19 10:18:22 server6-2 /usr/sbin/kamailio[3324]: INFO: <core>
[main.c:743]: handle_sigs(): terminating due to SIGCHLD
Feb 19 10:18:22 server6-2 /usr/sbin/kamailio[3437]: INFO: <core>
[main.c:798]: sig_usr(): signal 15 received
Feb 19 10:18:22 server6-2 /usr/sbin/kamailio[3431]: INFO: <core>
[main.c:798]: sig_usr(): signal 15 received
Feb 19 10:18:22 server6-2 /usr/sbin/kamailio[3438]: INFO: <core>
[main.c:798]: sig_usr(): signal 15 received
Feb 19 10:18:22 server6-2 /usr/sbin/kamailio[3434]: INFO: <core>
[main.c:798]: sig_usr(): signal 15 received
Feb 19 10:18:22 server6-2 /usr/sbin/kamailio[3432]: INFO: <core>
[main.c:798]: sig_usr(): signal 15 received
Feb 19 10:18:22 server6-2 /usr/sbin/kamailio[3428]: INFO: <core>
[main.c:798]: sig_usr(): signal 15 received




Feb 19 10:18:22 server6-2 /usr/sbin/kamailio[3324]: WARNING: tm
[h_table.c:130]: free_cell_helper(): removed cell 0x7ff2dd649438 is still
linked in hash table (h_table.c:440)
Feb 19 10:18:22 server6-2 /usr/sbin/kamailio[3324]: WARNING: tm
[h_table.c:130]: free_cell_helper(): removed cell 0x7ff2dd622fb8 is still
linked in hash table (h_table.c:440)
Feb 19 10:18:22 server6-2 /usr/sbin/kamailio[3324]: INFO: <core>
[sctp_core.c:53]: sctp_core_destroy(): SCTP API not initialized


On Tue, Feb 16, 2016 at 11:26 AM, Rene Montilva <renemontilva at gmail.com>
wrote:

> Yes, i'll do it
>
> thanks Daniel, for you support
>
> On Tue, Feb 16, 2016 at 11:12 AM, Daniel-Constantin Mierla <
> miconda at gmail.com> wrote:
>
>> Hello,
>>
>> can you upgrade to latest version in  branch 4.3? Or at least the release
>> of 4.4.
>>
>> Cheers,
>> Daniel
>>
>>
>> On 16/02/16 14:30, Rene Montilva wrote:
>>
>> Hi Daniel
>>
>> it is:
>>
>> version: kamailio 4.3.3 (x86_64/linux)
>> flags: STATS: Off, USE_TCP, USE_TLS, USE_SCTP, TLS_HOOKS, USE_RAW_SOCKS,
>> DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MEM, SHM_MMAP, PKG_MALLOC,
>> DBG_QM_MALLOC, 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 4.7.2
>>
>>
>> On Tue, Feb 16, 2016 at 2:38 AM, Daniel-Constantin Mierla <
>> <miconda at gmail.com>miconda at gmail.com> wrote:
>>
>>> Hello,
>>>
>>> what is the exact version you are running (kamailio -v)?
>>>
>>> This issue should handled nicer by the latest branch 4.3.
>>>
>>> Cheers,
>>> Daniel
>>>
>>>
>>> On 16/02/16 02:31, Rene Montilva wrote:
>>>
>>> Hi list
>>>
>>> i've got this bug report in kamailio 4.3 at syslog, then it frozen, i
>>> checked my config file looking for htable parameter, and i notice i have
>>> htable param without autexpire
>>>
>>> is this reason why kamailio crash?
>>>
>>> "/usr/sbin/kamailio[24113]: : <core> [mem/q_malloc.c:453]: qm_free():
>>> BUG: qm_free: freeing already freed pointer (0x7f673dead5d8), called from
>>>  tm: h_table.c: free_cell(133), first free tm: h_table.c: free_cell(133)
>>> - aborting "
>>>
>>>
>>> --
>>> Ing. Rene Montilva
>>> *FOSS Developer and VoIP Engineer.*
>>>
>>>
>>>
>>> _______________________________________________
>>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing listsr-users at lists.sip-router.orghttp://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>>>
>>>
>>> --
>>> Daniel-Constantin Mierlahttp://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
>>> Book: SIP Routing With Kamailio - http://www.asipto.comhttp://miconda.eu
>>>
>>>
>>> _______________________________________________
>>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
>>> sr-users at lists.sip-router.org
>>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>>>
>>>
>>
>>
>> --
>> Ing. Rene Montilva
>> *FOSS Developer and VoIP Engineer.*
>>
>>
>> --
>> Daniel-Constantin Mierlahttp://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
>> Book: SIP Routing With Kamailio - http://www.asipto.comhttp://miconda.eu
>>
>>
>
>
> --
> Ing. Rene Montilva
> *FOSS Developer and VoIP Engineer.*
>
>


-- 
Ing. Rene Montilva
*FOSS Developer and VoIP Engineer.*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20160219/5fc46711/attachment.html>


More information about the sr-users mailing list