[sr-dev] [kamailio/kamailio] TLS crashes Kamailio 5.4 branch on Ubuntu 20.04 and Debian Buster (#2560)

Dylan notifications at github.com
Tue Dec 1 22:35:38 CET 2020


>From Ubuntu 20 server, truncated logs (hopefully enough) and then `bt full` at the bottom:
```
 0(46158) DEBUG: <core> [core/re.c:504]: subst_str(): no match
 0(46158) DEBUG: <core> [core/re.c:436]: subst_run(): running. r=1
 0(46158) DEBUG: <core> [core/re.c:504]: subst_str(): no match
 0(46158) DEBUG: <core> [core/re.c:436]: subst_run(): running. r=1
 0(46158) DEBUG: <core> [core/re.c:504]: subst_str(): no match
 0(46158) DEBUG: <core> [core/re.c:436]: subst_run(): running. r=1
 0(46158) DEBUG: <core> [core/re.c:504]: subst_str(): no match
 0(46158) DEBUG: <core> [core/re.c:436]: subst_run(): running. r=1
 0(46158) DEBUG: <core> [core/re.c:504]: subst_str(): no match
 0(46158) DEBUG: <core> [core/sr_module.c:632]: find_mod_export_record(): found export of <xhttp_reply> in module xhttp [/usr/local/lib64/kamailio/modules/xhttp.so]
 0(46158) DEBUG: <core> [core/route_struct.c:128]: mk_action(): ACTION type2, i/count 0/2: type 3(3)/ data 0x1
 0(46158) DEBUG: <core> [core/route_struct.c:128]: mk_action(): ACTION type2, i/count 1/2: type 3(3)/ data 0x1
 0(46158) DEBUG: <core> [core/route.c:129]: route_add(): mapping routing block (0x555555b65e60)[xhttp:request] to 3
 0(46158) DEBUG: <core> [core/ppcfg.c:224]: pp_ifdef_level_check(): same number of pairing preprocessor directives #!IF[N]DEF - #!ENDIF
 0(46158) DEBUG: <core> [core/route.c:129]: route_add(): mapping routing block (0x555555b65e60)[core:receive-parse-error] to 4
 0(46158) INFO: <core> [core/sctp_core.c:74]: sctp_core_check_support(): SCTP API not enabled - if you want to use it, load sctp module
 0(46158) DEBUG: <core> [core/socket_info.c:1400]: add_interfaces(): If:     eth0 Fam:        2 Flg:            11043 Adr: 172.31.70.61
 0(46158) DEBUG: <core> [core/socket_info.c:1400]: add_interfaces(): If:     eth0 Fam:        2 Flg:            11043 Adr: 172.31.70.61
 0(46158) DEBUG: <core> [core/socket_info.c:1400]: add_interfaces(): If:     eth0 Fam:        2 Flg:            11043 Adr: 172.31.70.61
Listening on 
             udp: 172.31.70.61 [172.31.70.61]:5060 advertise 3.91.14.101:5060
             tcp: 172.31.70.61 [172.31.70.61]:5060 advertise 3.91.14.101:5060
             tcp: 127.0.0.1 [127.0.0.1]:80
             tls: 172.31.70.61 [172.31.70.61]:5061 advertise 3.91.14.101:5061
Aliases: 
             *: sip.rraccess.com:*

 0(46158) DEBUG: <core> [core/mem/pkg.c:108]: pkg_print_manager(): pkg - using memory manager: q_malloc
 0(46158) DEBUG: <core> [core/mem/shm.c:300]: shm_print_manager(): shm - using memory manager: q_malloc
 0(46158) DEBUG: <core> [core/cfg/cfg.c:173]: cfg_declare(): new config group has been registered: 'core' (num=56, size=224)
 0(46158) DEBUG: <core> [core/cfg/cfg.c:173]: cfg_declare(): new config group has been registered: 'tcp' (num=27, size=108)
 0(46158) DEBUG: <core> [core/timer.c:239]: init_timer(): starting with *ticks=2089369456
 0(46158) DEBUG: <core> [core/timer.c:280]: init_timer(): timer_list between 0x7ffff30d07f0 and 0x7ffff31147f0
 0(46158) DEBUG: <core> [core/pt.c:139]: register_procs(): registering new processes: 0 (old) + 1 (new) = 1 (total)
 0(46158) INFO: <core> [core/tcp_main.c:4983]: init_tcp(): using epoll_lt as the io watch method (auto detected)
[Detaching after fork from child process 46162]
 0(46163) DEBUG: <core> [core/daemonize.c:207]: enable_dumpable(): trying enable core dumping...
 0(46163) DEBUG: <core> [core/daemonize.c:224]: enable_dumpable(): core dumping is enabled now (1)...
 0(46163) DEBUG: <core> [core/daemonize.c:583]: set_core_dump(): core dump limits set to 18446744073709551615
 0(46163) DEBUG: tls [tls_init.c:629]: tls_h_mod_pre_init_f(): preparing tls env for modules initialization
 0(46163) DEBUG: tls [tls_init.c:631]: tls_h_mod_pre_init_f(): preparing tls env for modules initialization (libssl >=1.1)
 0(46163) DEBUG: <core> [core/async_task.c:123]: async_task_init(): start initializing asynk task framework
 0(46163) DEBUG: <core> [core/sr_module.c:847]: init_mod(): tls
 0(46163) DEBUG: <core> [core/cfg/cfg.c:173]: cfg_declare(): new config group has been registered: 'tls' (num=31, size=272)
 0(46163) INFO: tls [tls_mod.c:389]: mod_init(): With ECDH-Support!
 0(46163) INFO: tls [tls_mod.c:392]: mod_init(): With Diffie Hellman
 0(46163) DEBUG: <core> [core/sr_module.c:847]: init_mod(): auth
 0(46163) DEBUG: auth [auth_mod.c:274]: mod_init(): auth module - initializing
 0(46163) DEBUG: <core> [core/sr_module.c:632]: find_mod_export_record(): found export of <bind_sl> in module sl [/usr/local/lib64/kamailio/modules/sl.so]
 0(46163) DEBUG: <core> [core/usr_avp.c:887]: parse_avp_ident(): Parsing 'digest_challenge'
 0(46163) INFO: auth [auth_mod.c:345]: mod_init(): qop set, but nonce-count (nonce_count) support disabled
 0(46163) DEBUG: <core> [core/sr_module.c:847]: init_mod(): jsonrpcs
 0(46163) DEBUG: <core> [core/sr_module.c:632]: find_mod_export_record(): found export of <bind_xhttp> in module xhttp [/usr/local/lib64/kamailio/modules/xhttp.so]
 0(46163) DEBUG: <core> [core/sr_module.c:847]: init_mod(): kex
 0(46163) DEBUG: <core> [core/utils/sruid.c:105]: sruid_init(): root for sruid is [srid-5fc6b661-b453-] (0 / 19)
 0(46163) DEBUG: <core> [core/sr_module.c:847]: init_mod(): corex
 0(46163) DEBUG: <core> [core/sr_module.c:847]: init_mod(): tm
 0(46163) DEBUG: tm [tm.c:711]: mod_init(): TM - (sizeof cell=624, sip_msg=2008) initializing...
 0(46163) DEBUG: tm [callid.c:105]: init_callid(): Call-ID initialization: '0ee1f7516248a6d2'
 0(46163) DEBUG: tm [lock.c:66]: lock_initialize(): lock initialization started
 0(46163) DEBUG: tm [timer.c:195]: tm_init_timers(): tm init timers - fr=48 fr_inv=1440 wait=80 t1=500 t2=4000 max_inv_lifetime=2880 max_noninv_lifetime=512
 0(46163) DEBUG: <core> [core/cfg/cfg.c:173]: cfg_declare(): new config group has been registered: 'tm' (num=36, size=168)
 0(46163) DEBUG: <core> [core/crypto/md5utils.c:67]: MD5StringArray(): MD5 calculated: 07d7259915666eca6ddb2a39fe2cf7e5
 0(46163) DEBUG: <core> [core/crypto/md5utils.c:67]: MD5StringArray(): MD5 calculated: 97693c4a35fd2f31d46cf848a755e076
 0(46163) DEBUG: <core> [core/sr_module.c:847]: init_mod(): tmx
 0(46163) DEBUG: <core> [core/sr_module.c:632]: find_mod_export_record(): found export of <load_tm> in module tm [/usr/local/lib64/kamailio/modules/tm.so]
 0(46163) DEBUG: <core> [core/sr_module.c:632]: find_mod_export_record(): found export of <t_newtran> in module tm [/usr/local/lib64/kamailio/modules/tm.so]
 0(46163) DEBUG: <core> [core/sr_module.c:632]: find_mod_export_record(): found export of <t_relay_to_tcp> in module tm [/usr/local/lib64/kamailio/modules/tm.so]
 0(46163) DEBUG: <core> [core/sr_module.c:632]: find_mod_export_record(): found export of <t_relay_to_udp> in module tm [/usr/local/lib64/kamailio/modules/tm.so]
 0(46163) DEBUG: <core> [core/sr_module.c:632]: find_mod_export_record(): found export of <t_relay> in module tm [/usr/local/lib64/kamailio/modules/tm.so]
 0(46163) DEBUG: <core> [core/sr_module.c:632]: find_mod_export_record(): found export of <t_forward_nonack> in module tm [/usr/local/lib64/kamailio/modules/tm.so]
 0(46163) DEBUG: <core> [core/sr_module.c:632]: find_mod_export_record(): found export of <t_release> in module tm [/usr/local/lib64/kamailio/modules/tm.so]
 0(46163) DEBUG: <core> [core/sr_module.c:847]: init_mod(): sl
 0(46163) DEBUG: <core> [core/crypto/md5utils.c:67]: MD5StringArray(): MD5 calculated: 3f99dd4a61db77a8012dbbcb5df8674f
 0(46163) DEBUG: <core> [core/sr_module.c:632]: find_mod_export_record(): found export of <load_tm> in module tm [/usr/local/lib64/kamailio/modules/tm.so]
 0(46163) DEBUG: <core> [core/sr_module.c:632]: find_mod_export_record(): found export of <t_newtran> in module tm [/usr/local/lib64/kamailio/modules/tm.so]
 0(46163) DEBUG: <core> [core/sr_module.c:632]: find_mod_export_record(): found export of <t_relay_to_tcp> in module tm [/usr/local/lib64/kamailio/modules/tm.so]
 0(46163) DEBUG: <core> [core/sr_module.c:632]: find_mod_export_record(): found export of <t_relay_to_udp> in module tm [/usr/local/lib64/kamailio/modules/tm.so]
 0(46163) DEBUG: <core> [core/sr_module.c:632]: find_mod_export_record(): found export of <t_relay> in module tm [/usr/local/lib64/kamailio/modules/tm.so]
 0(46163) DEBUG: <core> [core/sr_module.c:632]: find_mod_export_record(): found export of <t_forward_nonack> in module tm [/usr/local/lib64/kamailio/modules/tm.so]
 0(46163) DEBUG: <core> [core/sr_module.c:632]: find_mod_export_record(): found export of <t_release> in module tm [/usr/local/lib64/kamailio/modules/tm.so]
 0(46163) DEBUG: <core> [core/sr_module.c:847]: init_mod(): rr
 0(46163) DEBUG: <core> [core/sr_module.c:638]: find_mod_export_record(): export of <bind_ob> not found (flags 0)
 0(46163) INFO: rr [../outbound/api.h:52]: ob_load_api(): unable to import bind_ob - maybe module is not loaded
 0(46163) INFO: rr [rr_mod.c:185]: mod_init(): outbound module not available
 0(46163) DEBUG: <core> [core/sr_module.c:847]: init_mod(): pv
 0(46163) DEBUG: <core> [core/sr_module.c:847]: init_mod(): maxfwd
 0(46163) DEBUG: <core> [core/cfg/cfg.c:173]: cfg_declare(): new config group has been registered: 'maxfwd' (num=1, size=4)
 0(46163) DEBUG: <core> [core/sr_module.c:847]: init_mod(): textops
 0(46163) DEBUG: <core> [core/sr_module.c:847]: init_mod(): siputils
 0(46163) DEBUG: <core> [core/sr_module.c:632]: find_mod_export_record(): found export of <bind_sl> in module sl [/usr/local/lib64/kamailio/modules/sl.so]
 0(46163) DEBUG: <core> [core/usr_avp.c:887]: parse_avp_ident(): Parsing 's:rpid'
 0(46163) DEBUG: <core> [core/cfg/cfg.c:173]: cfg_declare(): new config group has been registered: 'siputils' (num=1, size=4)
 0(46163) DEBUG: <core> [core/sr_module.c:847]: init_mod(): xlog
 0(46163) DEBUG: <core> [core/cfg/cfg.c:173]: cfg_declare(): new config group has been registered: 'xlog' (num=1, size=4)
 0(46163) DEBUG: <core> [core/sr_module.c:847]: init_mod(): sanity
 0(46163) DEBUG: sanity [sanity_mod.c:103]: mod_init(): sanity initializing
 0(46163) DEBUG: <core> [core/sr_module.c:632]: find_mod_export_record(): found export of <bind_sl> in module sl [/usr/local/lib64/kamailio/modules/sl.so]
 0(46163) DEBUG: sanity [sanity_mod.c:113]: mod_init(): parsing proxy requires string:
 0(46163) DEBUG: sanity [sanity.c:178]: parse_str_list(): list is empty
 0(46163) DEBUG: <core> [core/sr_module.c:847]: init_mod(): ctl
 0(46163) DEBUG: ctl [ctl.c:250]: mod_init(): listening on:
 0(46163) DEBUG: ctl [ctl.c:259]: mod_init():         [binrpc:unix stream] /var/run/kamailio//kamailio_ctl
 0(46163) DEBUG: <core> [core/pt.c:139]: register_procs(): registering new processes: 1 (old) + 1 (new) = 2 (total)
 0(46163) DEBUG: <core> [core/sr_module.c:847]: init_mod(): cfg_rpc
 0(46163) DEBUG: <core> [core/sr_module.c:847]: init_mod(): uuid
 0(46163) DEBUG: uuid [uuid_mod.c:87]: mod_init(): uuid initialized - probing value [24d718c8-9bc8-477e-81e2-0ee6a6d99f91]
 0(46163) DEBUG: <core> [core/sr_module.c:847]: init_mod(): dispatcher
 0(46163) DEBUG: <core> [core/cfg/cfg.c:173]: cfg_declare(): new config group has been registered: 'dispatcher' (num=3, size=24)
 0(46163) DEBUG: <core> [core/sr_module.c:632]: find_mod_export_record(): found export of <db_bind_api> in module db_mongodb [/usr/local/lib64/kamailio/modules/db_mongodb.so]
 0(46163) DEBUG: <core> [db.c:210]: db_bind_mod(): using db bind api for db_mongodb
 0(46163) DEBUG: <core> [db.c:315]: db_do_init2(): connection 0x7ffff75d4c90 not found in pool
 0(46163) DEBUG: db_mongodb [mongodb_connection.c:55]: db_mongodb_new_connection(): connection open to: mongodb://metrics-user:c2b16f0b3b34e52fb32cafdca1008759fe60679aa6305a56842757b2809adb2357281d63e8b19db1ea735e1cba1743df@sandbox-shard-00-00.ru1pe.mongodb.net,sandbox-shard-00-01.ru1pe.mongodb.net,sandbox-shard-00-02.ru1pe.mongodb.net/kamailio?ssl=true&replicaSet=atlas-f1lj9f-shard-0&authSource=admin&retryWrites=true&w=majority
 0(46163) DEBUG: db_mongodb [mongodb_dbase.c:973]: db_mongodb_query(): query to collection [version]
 0(46163) DEBUG: db_mongodb [mongodb_dbase.c:1007]: db_mongodb_query(): query filter: { "table_name" : "dispatcher" }
 0(46163) DEBUG: db_mongodb [mongodb_dbase.c:1043]: db_mongodb_query(): columns filter: { "projection" : { "table_version" : 1 } }
 0(46163) DEBUG: <core> [db_res.c:119]: db_new_result(): allocate 56 bytes for result set at 0x7ffff75d5248
/build/mongo-c-driver-RRvvb_/mongo-c-driver-1.16.1/src/libmongoc/src/mongoc/mongoc-openssl.c:476 _mongoc_openssl_ctx_new(): precondition failed: ctx
 0(46158) ERROR: <core> [core/daemonize.c:303]: daemonize(): Main process exited before writing to pipe
 0(46158) CRITICAL: <core> [core/mem/q_malloc.c:519]: qm_free(): BUG: freeing already freed pointer (0x7ffff30679f8), called from tls: tls_init.c: ser_free(323), first free tls: tls_init.c: ser_free(323) - ignoring
 0(46158) CRITICAL: <core> [core/mem/q_malloc.c:519]: qm_free(): BUG: freeing already freed pointer (0x7ffff3067ca8), called from tls: tls_init.c: ser_free(323), first free tls: tls_init.c: ser_malloc(293) - ignoring
 0(46158) CRITICAL: <core> [core/mem/q_malloc.c:519]: qm_free(): BUG: freeing already freed pointer (0x7ffff30b7fc0), called from tls: tls_init.c: ser_free(323), first free tls: tls_init.c: ser_free(323) - ignoring
 0(46158) CRITICAL: <core> [core/mem/q_malloc.c:519]: qm_free(): BUG: freeing already freed pointer (0x7ffff30654a0), called from tls: tls_init.c: ser_free(323), first free tls: tls_init.c: ser_free(323) - ignoring
 0(46158) CRITICAL: <core> [core/mem/q_malloc.c:519]: qm_free(): BUG: freeing already freed pointer (0x7ffff30585a8), called from tls: tls_init.c: ser_free(323), first free tls: tls_init.c: ser_free(323) - ignoring
 0(46158) CRITICAL: <core> [core/mem/q_malloc.c:519]: qm_free(): BUG: freeing already freed pointer (0x7ffff30577b8), called from tls: tls_init.c: ser_free(323), first free tls: tls_init.c: ser_free(323) - ignoring
 0(46158) CRITICAL: <core> [core/mem/q_malloc.c:519]: qm_free(): BUG: freeing already freed pointer (0x7ffff3057858), called from tls: tls_init.c: ser_free(323), first free tls: tls_init.c: ser_malloc(293) - ignoring
 0(46158) CRITICAL: <core> [core/mem/q_malloc.c:519]: qm_free(): BUG: freeing already freed pointer (0x7ffff30578f8), called from tls: tls_init.c: ser_free(323), first free tls: tls_init.c: ser_malloc(293) - ignoring
 0(46158) CRITICAL: <core> [core/mem/q_malloc.c:519]: qm_free(): BUG: freeing already freed pointer (0x7ffff3067600), called from tls: tls_init.c: ser_free(323), first free tls: tls_init.c: ser_realloc(299) - ignoring
 0(46158) CRITICAL: <core> [core/mem/q_malloc.c:519]: qm_free(): BUG: freeing already freed pointer (0x7ffff3067020), called from tls: tls_init.c: ser_free(323), first free tls: tls_init.c: ser_free(323) - ignoring
 0(46158) CRITICAL: <core> [core/mem/q_malloc.c:519]: qm_free(): BUG: freeing already freed pointer (0x7ffff3067738), called from tls: tls_init.c: ser_free(323), first free tls: tls_init.c: ser_free(323) - ignoring
 0(46158) CRITICAL: <core> [core/mem/q_malloc.c:519]: qm_free(): BUG: freeing already freed pointer (0x7ffff30b7e18), called from tls: tls_init.c: ser_free(323), first free tls: tls_init.c: ser_free(323) - ignoring
 0(46158) CRITICAL: <core> [core/mem/q_malloc.c:519]: qm_free(): BUG: freeing already freed pointer (0x7ffff3067900), called from tls: tls_init.c: ser_free(323), first free tls: tls_init.c: ser_free(323) - ignoring
 0(46158) CRITICAL: <core> [core/mem/q_malloc.c:519]: qm_free(): BUG: freeing already freed pointer (0x7ffff3067970), called from tls: tls_init.c: ser_free(323), first free tls: tls_init.c: ser_malloc(293) - ignoring
 0(46158) CRITICAL: <core> [core/mem/q_malloc.c:519]: qm_free(): BUG: freeing already freed pointer (0x7ffff3067140), called from tls: tls_init.c: ser_free(323), first free tls: tls_init.c: ser_malloc(293) - ignoring
 0(46158) CRITICAL: <core> [core/mem/q_malloc.c:519]: qm_free(): BUG: freeing already freed pointer (0x7ffff3067698), called from tls: tls_init.c: ser_free(323), first free tls: tls_init.c: ser_malloc(293) - ignoring
 0(46158) CRITICAL: <core> [core/mem/q_malloc.c:519]: qm_free(): BUG: freeing already freed pointer (0x7ffff30cf3d8), called from tls: tls_init.c: ser_free(323), first free tls: tls_init.c: ser_free(323) - ignoring
 0(46158) CRITICAL: <core> [core/mem/q_malloc.c:519]: qm_free(): BUG: freeing already freed pointer (0x7ffff30cf350), called from tls: tls_init.c: ser_free(323), first free tls: tls_init.c: ser_free(323) - ignoring
 0(46158) CRITICAL: <core> [core/mem/q_malloc.c:519]: qm_free(): BUG: freeing already freed pointer (0x7ffff30cf2c8), called from tls: tls_init.c: ser_free(323), first free tls: tls_init.c: ser_free(323) - ignoring
 0(46158) CRITICAL: <core> [core/mem/q_malloc.c:519]: qm_free(): BUG: freeing already freed pointer (0x7ffff3067860), called from tls: tls_init.c: ser_free(323), first free tls: tls_init.c: ser_malloc(293) - ignoring
 0(46158) CRITICAL: <core> [core/mem/q_malloc.c:519]: qm_free(): BUG: freeing already freed pointer (0x7ffff30609b8), called from tls: tls_init.c: ser_free(323), first free tls: tls_init.c: ser_realloc(299) - ignoring
 0(46158) CRITICAL: <core> [core/mem/q_malloc.c:519]: qm_free(): BUG: freeing already freed pointer (0x7ffff3058648), called from tls: tls_init.c: ser_free(323), first free tls: tls_init.c: ser_malloc(293) - ignoring
 0(46158) CRITICAL: <core> [core/mem/q_malloc.c:519]: qm_free(): BUG: freeing already freed pointer (0x7ffff3058848), called from tls: tls_init.c: ser_free(323), first free tls: tls_init.c: ser_malloc(293) - ignoring
 0(46158) CRITICAL: <core> [core/mem/q_malloc.c:519]: qm_free(): BUG: freeing already freed pointer (0x7ffff3067d20), called from tls: tls_init.c: ser_free(323), first free tls: tls_init.c: ser_malloc(293) - ignoring
 0(46158) CRITICAL: <core> [core/mem/q_malloc.c:519]: qm_free(): BUG: freeing already freed pointer (0x7ffff306b990), called from tls: tls_init.c: ser_free(323), first free tls: tls_init.c: ser_free(323) - ignoring
 0(46158) CRITICAL: <core> [core/mem/q_malloc.c:519]: qm_free(): BUG: freeing already freed pointer (0x7ffff3076460), called from tls: tls_init.c: ser_free(323), first free tls: tls_init.c: ser_free(323) - ignoring
 0(46158) CRITICAL: <core> [core/mem/q_malloc.c:519]: qm_free(): BUG: freeing already freed pointer (0x7ffff307fb48), called from tls: tls_init.c: ser_free(323), first free tls: tls_init.c: ser_free(323) - ignoring
 0(46158) CRITICAL: <core> [core/mem/q_malloc.c:519]: qm_free(): BUG: freeing already freed pointer (0x7ffff30839c8), called from tls: tls_init.c: ser_free(323), first free tls: tls_init.c: ser_free(323) - ignoring
 0(46158) CRITICAL: <core> [core/mem/q_malloc.c:519]: qm_free(): BUG: freeing already freed pointer (0x7ffff3085c48), called from tls: tls_init.c: ser_free(323), first free tls: tls_init.c: ser_free(323) - ignoring
 0(46158) CRITICAL: <core> [core/mem/q_malloc.c:123]: qm_debug_check_frag(): BUG: qm: fragm. 0x7ffff308bff8 (address 0x7ffff308c030) beginning overwritten (0)! Memory allocator was called from tls: tls_init.c:323. Fragment marked by (null):0. Exec from core/mem/q_malloc.c:511.

Program received signal SIGABRT, Aborted.
__GI_raise (sig=sig at entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
50	../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) bt full
#0  __GI_raise (sig=sig at entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
        set = {__val = {0, 140737350214984, 140737352245490, 1508362478, 23568163, 140737488345860, 0, 140737488346064, 140737352234024, 140737488346048, 0, 140737353886272, 7, 93823560581120, 4294967295, 0}}
        pid = <optimized out>
        tid = <optimized out>
        ret = <optimized out>
#1  0x00007ffff7c60859 in __GI_abort () at abort.c:79
        save_stage = 1
        act = {__sigaction_handler = {sa_handler = 0x7ffff73fdb14, sa_sigaction = 0x7ffff73fdb14}, sa_mask = {__val = {12187122887200642304, 140737270609440, 140737270374400, 140737341545236, 12187122887200642304, 
              299, 93824995563840, 93824997234282, 93824997234096, 93824997234048, 93824997234456, 140737270824952, 12187122887200642304, 0, 93824997234282, 0}}, sa_flags = 0, sa_restorer = 0x0}
        sigs = {__val = {32, 0 <repeats 15 times>}}
#2  0x0000555555881ad1 in qm_debug_check_frag (qm=0x7ffff301e000, f=0x7ffff308bff8, file=0x7ffff73fdb14 "tls: tls_init.c", line=323, efile=0x555555a19599 "core/mem/q_malloc.c", eline=511) at core/mem/q_malloc.c:129
        p = 0x7ffff73fdb14
        __func__ = "qm_debug_check_frag"
#3  0x00005555558862ba in qm_free (qmp=0x7ffff301e000, p=0x7ffff308c030, file=0x7ffff73fdb14 "tls: tls_init.c", func=0x7ffff73ff0a0 <__func__.23420> "ser_free", line=323, mname=0x7ffff73fdb10 "tls")
    at core/mem/q_malloc.c:511
        qm = 0x7ffff301e000
        f = 0x7ffff308bff8
        size = 18446744064901936792
        next = 0x7ffff301e000
        prev = 0xfffffffdf30b7ec0
        __func__ = "qm_free"
#4  0x0000555555891d89 in qm_shm_free (qmp=0x7ffff301e000, p=0x7ffff308c030, file=0x7ffff73fdb14 "tls: tls_init.c", func=0x7ffff73ff0a0 <__func__.23420> "ser_free", line=323, mname=0x7ffff73fdb10 "tls")
    at core/mem/q_malloc.c:1275
No locals.
#5  0x00007ffff73a9078 in ser_free (ptr=0x7ffff308c030, fname=0x7ffff725e24b "../crypto/lhash/lhash.c", fline=88) at tls_init.c:323
        __func__ = "ser_free"
#6  0x00007ffff71979c4 in OPENSSL_LH_free () from /lib/x86_64-linux-gnu/libcrypto.so.1.1
No symbol table info available.
#7  0x00007ffff71750c5 in ?? () from /lib/x86_64-linux-gnu/libcrypto.so.1.1
No symbol table info available.
#8  0x00007ffff7195480 in OPENSSL_cleanup () from /lib/x86_64-linux-gnu/libcrypto.so.1.1
No symbol table info available.
#9  0x00007ffff7c84a27 in __run_exit_handlers (status=-1, listp=0x7ffff7e26718 <__exit_funcs>, run_list_atexit=run_list_atexit at entry=true, run_dtors=run_dtors at entry=true) at exit.c:108
        atfct = <optimized out>
        onfct = <optimized out>
        cxafct = <optimized out>
        f = <optimized out>
--Type <RET> for more, q to quit, c to continue without paging--
        new_exitfn_called = 10
        cur = 0x7ffff7e28980 <initial>
#10 0x00007ffff7c84be0 in __GI_exit (status=<optimized out>) at exit.c:139
No locals.
#11 0x00005555557e97ae in daemonize (name=0x7fffffffe897 "/usr/local/sbin/kamailio", status_wait=1) at core/daemonize.c:304
        pid_stream = 0x0
        pid = 46162
        r = 1436369193
        p = -1
        pipe_status = 85 'U'
        pid_uid = 4294967295
        pid_gid = 4294967295
        __func__ = "daemonize"
#12 0x000055555559652e in main (argc=1, argv=0x7fffffffe688) at main.c:2763
        cfg_stream = 0x555555b672a0
        c = -1
        r = -134414416
        tmp = 0x0
        tmp_len = 32767
        port = 8064
        proto = 65535
        ahost = 0x0
        aport = 0
        options = 0x5555559b3d48 ":f:cm:M:dVIhEeb:l:L:n:vKrRDTN:W:w:t:u:g:P:G:SQ:O:a:A:x:X:Y:"
        ret = -1
        seed = 3286661736
        rfd = 4
        debug_save = 0
        debug_flag = 0
        dont_fork_cnt = 0
        n_lst = 0x0
        p = 0x0
        st = {st_dev = 25, st_ino = 461, st_nlink = 2, st_mode = 16893, st_uid = 115, st_gid = 0, __pad0 = 0, st_rdev = 0, st_size = 40, st_blksize = 4096, st_blocks = 0, st_atim = {tv_sec = 1606858266, 
            tv_nsec = 984701676}, st_mtim = {tv_sec = 1606858266, tv_nsec = 984701676}, st_ctim = {tv_sec = 1606858315, tv_nsec = 714658382}, __glibc_reserved = {0, 0, 0}}
        tbuf = '\000' <repeats 32 times>, "Լ\252\252\252\252\377\377\000\000\000\000\000\000\000\000\002", '\000' <repeats 351 times>...
        option_index = 0
        long_options = {{name = 0x5555559b5f76 "help", has_arg = 0, flag = 0x0, val = 104}, {name = 0x5555559b1514 "version", has_arg = 0, flag = 0x0, val = 118}, {name = 0x5555559b5f7b "alias", has_arg = 1, 
--Type <RET> for more, q to quit, c to continue without paging--
            flag = 0x0, val = 1024}, {name = 0x5555559b5f81 "subst", has_arg = 1, flag = 0x0, val = 1025}, {name = 0x5555559b5f87 "substdef", has_arg = 1, flag = 0x0, val = 1026}, {
            name = 0x5555559b5f90 "substdefs", has_arg = 1, flag = 0x0, val = 1027}, {name = 0x5555559b5f9a "server-id", has_arg = 1, flag = 0x0, val = 1028}, {name = 0x5555559b5fa4 "loadmodule", has_arg = 1, 
            flag = 0x0, val = 1029}, {name = 0x5555559b5faf "modparam", has_arg = 1, flag = 0x0, val = 1030}, {name = 0x5555559b5fb8 "log-engine", has_arg = 1, flag = 0x0, val = 1031}, {
            name = 0x5555559b5fc3 "debug", has_arg = 1, flag = 0x0, val = 1032}, {name = 0x0, has_arg = 0, flag = 0x0, val = 0}}
        __func__ = "main"
```

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/2560#issuecomment-736835130
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20201201/4a72bb05/attachment-0001.htm>


More information about the sr-dev mailing list