I upgraded my kamailio version from 4.0.6 to 4.1.6 and now
when i try start kamailio it breaks down on htable module
initialization, as you can see on logs bellow:
0(1273) DEBUG: <core> [sr_module.c:966]:
init_mod(): DEBUG: init_mod: presence_profile
0(1273) DEBUG: <core> [sr_module.c:701]:
find_mod_export_record(): find_export_record: found
<bind_presence> in module presence
[/usr/local/lib64/kamailio/modules/presence.so]
0(1273) DEBUG: presence [event_list.c:351]:
search_event(): start event= [ua-profile/7]
0(1273) DEBUG: presence [event_list.c:351]:
search_event(): start event= [ua-profile.winfo/0]
0(1273) DEBUG: presence [event_list.c:259]: add_event():
successfully added event: ua-profile - len= 10
0(1273) DEBUG: <core> [sr_module.c:966]:
init_mod(): DEBUG: init_mod: htable
0(1273) ERROR: htable [ht_api.c:282]: ht_init_tables():
no more shm for [dlg]
0(1273) ERROR: <core> [sr_module.c:970]:
init_mod(): init_mod(): Error while initializing module
htable (/usr/local/lib64/kamailio/modules/htable.so)
ERROR: error while initializing modules
0(1273) : <core> [mem/q_malloc.c:468]: qm_free():
BUG: qm_free: freeing already freed pointer
(0x7fae605547c0), called from htable: ht_api.c:
ht_destroy(343), first free htable: ht_api.c:
ht_destroy(343) - aborting
0(1271) ERROR: <core> [daemonize.c:307]:
daemonize(): Main process exited before writing to pipe
The shared memory allocated for kamailio is 256MB and is
the same that i had for version 4.0.1, can this be a bug?
Thank you for your support
--
Cumprimentos
José Seabra