Ok, i have pulled the latest commits from master and rebuilt.
Here is the backtrace, it appears that latest master no longer emits lock tracing
information when debug is set to level 3. No errors or alerts are logged either.
Im starting kamailio as root with the following command:
`kamailio -f /etc/kamailio/kamailio.cfg -DDddEe`
Then waiting 20 seconds after it freezes during the TLS info part of boot and atempting to
stop kamailio by pressing `Ctrl + C` which emits a bunch of signal 2 received info
messages and hangs until i run `pkill -3 -e kamailio` in annother terminal. 2 Core files
are being created, one with the time stamp of when the process crashes, with a PID of the
process marked as Defunct when i issues an `ps aux`, with the second created with the PID
of main kamailio process and timestamp of when i pkill kamailio.
This is BT of the process marked as Defunct
```
GNU gdb (Debian 7.7.1+dfsg-5) 7.7.1
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from kamailio...done.
[New LWP 14214]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `kamailio -f /etc/kamailio/kamailio.cfg -DDddEe -w
/root/kamcore/16032016/'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x0000000000000040 in ?? ()
(gdb) set pagination off
(gdb) bt full
#0 0x0000000000000040 in ?? ()
No symbol table info available.
#1 0x00007fbc5741135d in ?? () from /usr/lib/x86_64-linux-gnu/libcrypto.so.1.0.0
No symbol table info available.
#2 0x00007fbc574119da in lh_retrieve () from
/usr/lib/x86_64-linux-gnu/libcrypto.so.1.0.0
No symbol table info available.
#3 0x00007fbc57413f01 in ?? () from /usr/lib/x86_64-linux-gnu/libcrypto.so.1.0.0
No symbol table info available.
#4 0x00007fbc57414840 in ERR_get_state () from
/usr/lib/x86_64-linux-gnu/libcrypto.so.1.0.0
No symbol table info available.
#5 0x00007fbc574150e9 in ERR_set_mark () from
/usr/lib/x86_64-linux-gnu/libcrypto.so.1.0.0
No symbol table info available.
#6 0x00007fbc5740354c in ?? () from /usr/lib/x86_64-linux-gnu/libcrypto.so.1.0.0
No symbol table info available.
#7 0x00007fbc573f3685 in RSA_new_method () from
/usr/lib/x86_64-linux-gnu/libcrypto.so.1.0.0
No symbol table info available.
#8 0x00007fbc573f673d in ?? () from /usr/lib/x86_64-linux-gnu/libcrypto.so.1.0.0
No symbol table info available.
#9 0x00007fbc574327ca in ?? () from /usr/lib/x86_64-linux-gnu/libcrypto.so.1.0.0
No symbol table info available.
#10 0x00007fbc574353d1 in ASN1_item_ex_d2i () from
/usr/lib/x86_64-linux-gnu/libcrypto.so.1.0.0
No symbol table info available.
#11 0x00007fbc57435a0b in ASN1_item_d2i () from
/usr/lib/x86_64-linux-gnu/libcrypto.so.1.0.0
No symbol table info available.
#12 0x00007fbc573f7bcf in ?? () from /usr/lib/x86_64-linux-gnu/libcrypto.so.1.0.0
No symbol table info available.
#13 0x00007fbc5742d4e7 in X509_PUBKEY_get () from
/usr/lib/x86_64-linux-gnu/libcrypto.so.1.0.0
No symbol table info available.
#14 0x00007fbc57449dba in X509_get_pubkey_parameters () from
/usr/lib/x86_64-linux-gnu/libcrypto.so.1.0.0
No symbol table info available.
#15 0x00007fbc57449fde in X509_verify_cert () from
/usr/lib/x86_64-linux-gnu/libcrypto.so.1.0.0
No symbol table info available.
#16 0x00007fbc5774d368 in ?? () from /usr/lib/x86_64-linux-gnu/libssl.so.1.0.0
No symbol table info available.
#17 0x00007fbc5772a423 in ?? () from /usr/lib/x86_64-linux-gnu/libssl.so.1.0.0
No symbol table info available.
#18 0x00007fbc5772eba4 in ?? () from /usr/lib/x86_64-linux-gnu/libssl.so.1.0.0
No symbol table info available.
#19 0x00007fbc57737bd0 in ?? () from /usr/lib/x86_64-linux-gnu/libssl.so.1.0.0
No symbol table info available.
#20 0x00007fbc4ecc8282 in ?? () from
/opt/microsoft/msodbcsql/lib64/libmsodbcsql-13.0.so.0.0
No symbol table info available.
#21 0x00007fbc4ecc94cc in ?? () from
/opt/microsoft/msodbcsql/lib64/libmsodbcsql-13.0.so.0.0
No symbol table info available.
#22 0x00007fbc4ecbe5b8 in ?? () from
/opt/microsoft/msodbcsql/lib64/libmsodbcsql-13.0.so.0.0
No symbol table info available.
#23 0x00007fbc4ecbec9f in ?? () from
/opt/microsoft/msodbcsql/lib64/libmsodbcsql-13.0.so.0.0
No symbol table info available.
#24 0x00007fbc4ec9c11f in ?? () from
/opt/microsoft/msodbcsql/lib64/libmsodbcsql-13.0.so.0.0
No symbol table info available.
#25 0x00007fbc4ec9a02f in ?? () from
/opt/microsoft/msodbcsql/lib64/libmsodbcsql-13.0.so.0.0
No symbol table info available.
#26 0x00007fbc4ec9a9a2 in ?? () from
/opt/microsoft/msodbcsql/lib64/libmsodbcsql-13.0.so.0.0
No symbol table info available.
#27 0x00007fbc4ec14ea1 in ?? () from
/opt/microsoft/msodbcsql/lib64/libmsodbcsql-13.0.so.0.0
No symbol table info available.
#28 0x00007fbc4ec48de6 in ?? () from
/opt/microsoft/msodbcsql/lib64/libmsodbcsql-13.0.so.0.0
No symbol table info available.
#29 0x00007fbc4ec17c66 in SQLDriverConnectW () from
/opt/microsoft/msodbcsql/lib64/libmsodbcsql-13.0.so.0.0
No symbol table info available.
#30 0x00007fbc565deabd in SQLDriverConnect (hdbc=0x1121920, hwnd=0x7ffd06240460,
conn_str_in=0x1142cb0 "D", len_conn_str_in=25892, conn_str_out=0x7ffd0624bf60
"\001\200\255\373\274\177", conn_str_out_max=0, ptr_conn_str_out=0x7ffd0624bf5e,
driver_completion=1) at SQLDriverConnect.c:1490
uc_conn_str_in = 0x1142cb0
s2 = '\000' <repeats 127 times>
con_struct = {count = 0, list = 0x111f110}
driver = 0x1132cc0 "\001"
dsn = 0x1132cc0 "\001"
filedsn = 0xfffffffd <error: Cannot access memory at address 0xfffffffd>
savefile =
"\000S\021\001\000\000\000\000\320\357\016\001\000\000\000\000\260S$\006\375\177\000\000\254S$\006\375\177\000\000\003\000\000\000\000\000\000\000\376\334`V\274\177\000\000\000\004\000\000\000\000\000\000\254S$\006\375\177\000\000\300S$\006\375\177\000\000@\247\024\001\000\000\000\000\250S$\006\375\177\000\000\300W$\006\375\177\000\000\001\000\000\000\000\000\000\000x\000\000\000\000\000\000\000\200\351\026\001\000\000\000\000HZ\021\001\000\000\000\000PZ\021\001\000\000\000\000P[\021\001",
'\000' <repeats 12 times>,
"G\026\000\000\000\000\000\000\060\000\061\000\060\000\060\000\060\000\000\000\000\000\000\000[\000M\000i\000c\000r\000o\000s\000o\000f\000t\000]\000[\000"...
lib_name =
"/opt/microsoft/msodbcsql/lib64/libmsodbcsql-13.0.so.0.0\000\000\000\000\000\000\000\000\000\314\351\016\001\000\000\000\000\320\357\016\001\000\000\000\000\360\357\016\001",
'\000' <repeats 20 times>, "
\240\025\001\000\000\000\000\300\351\016\001\000\000\000\000\021\273`V\274\177\000\000\020\232\025\001\000\000\000\000\300\351\016\001\000\000\000\000\310Y\021\001\000\000\000\000y\274`V\274\177\000\000\306\\$\006\375\177\000\000\310Y\021\001\000\000\000\000X\241\025\001",
'\000' <repeats 12 times>, "[\000M\000i\000c\000"...
driver_name = "ODBC Driver 13 for SQL Server", '\000'
<repeats 11 times>, "PY\366N\274\177\000\000
\\$\006\375\177\000\000v\216\025\001\000\000\000\000\260\215\025\001\000\000\000\000\310[$\006\375\177\000\000\300\307\021\001\000\000\000\000\212\216\231_\274\177",
'\000' <repeats 26 times>,
"\320\307\021\001\000\000\000\000(\\$\006\375\177\000\000\001", '\000'
<repeats 15 times>, "(\\$\006\375\177\000\000
\\$\006\375\177\000\000\020\\$\006\375\177\000\000\260\215\025\001\000\000\000\000\030\\$\006\375\177\000\000@\311$\006\375\177\000\000"...
s1 = '\000' <repeats 128 times>,
"/opt/microsoft/msodbcsql/lib64/libmsodbcsql-13.0.so.0.0", '\000'
<repeats 329 times>...
local_conn_str_in = '\000' <repeats 2047 times>
local_out_conection = '\000' <repeats 2047 times>
warnings = 0
#31 0x00007fbc56836060 in db_unixodbc_new_connection (id=0x7fbc5f457488) at
connection.c:155
outstr =
"\001\200\255\373\274\177\000\000\005C\027_\274\177\000\000\005C\027_\274\177\000\000\005C\027_\274\177\000\000\005C\027_\274\177\000\000\023C\027_\274\177\000\000\037C\027_\274\177\000\000\005C\027_\274\177\000\000\037C\027_\274\177",
'\000' <repeats 42 times>,
"\300\202\350Z\000\000\000\000\240\336nW\274\177\000\000\000\000nW\274\177\000\000\000\000\000\000\000\000\000\000\300\202\350Z\274\177\000\000\376\335BW\274\177\000\000\377\377\377\061\064\062\061\064P\300$\006\375\177\000\000P\333AZ\274\177\000\000P\300$\006\375\177\000\000\226\201\037Z\274\177\000\000"...
outstrlen = 0
ret = 0
ptr = 0x7fbc5f1c12a8
conn_str =
"DSN=db.domain.tld;UID=username;PWD=password;\000\000\000\000\000\000\000\000v\237\370E\000\000\000\000\063\nv\000\000\000\000\000
\332$\006\375\177", '\000' <repeats 18 times>,
"\340\270$\006\375\177\000\000B\004C\000\000\000\000\000p\270$\006\375\177\000\000H\271$\006\375\177\000\000L\271$\006\375\177\000\000P\271$\006\375\177\000\000h\247A_\001\000\000\000ЮA_\274\177\000\000\314Cq\000\000\000\000\000\000\000\000\000\375\177\000\000ܸ$\006\375\177\000\000v\237"...
__FUNCTION__ = "db_unixodbc_new_connection"
#32 0x00007fbc5960f2ef in db_do_init2 (url=0x7fbc59a77e10 <db_url>,
new_connection=0x7fbc56834881 <db_unixodbc_new_connection>,
pooling=DB_POOLING_PERMITTED) at db.c:316
id = 0x7fbc5f457488
con = 0x0
res = 0x7fbc5f45fdb0
con_size = 32
__FUNCTION__ = "db_do_init2"
#33 0x00007fbc5960e298 in db_do_init (url=0x7fbc59a77e10 <db_url>,
new_connection=0x7fbc56834881 <db_unixodbc_new_connection>) at db.c:269
No locals.
#34 0x00007fbc5683aef6 in db_unixodbc_init (_url=0x7fbc59a77e10 <db_url>) at
dbase.c:175
No locals.
#35 0x00007fbc5984f387 in child_init (_rank=-1) at ul_mod.c:441
ptr = 0x7ffd0624c560
i = 32765
__FUNCTION__ = "child_init"
#36 0x000000000051da2d in init_mod_child (m=0x7fbc5f1a0dc0, rank=-1) at sr_module.c:921
__FUNCTION__ = "init_mod_child"
#37 0x000000000051d74b in init_mod_child (m=0x7fbc5f1a1750, rank=-1) at sr_module.c:918
__FUNCTION__ = "init_mod_child"
#38 0x000000000051d74b in init_mod_child (m=0x7fbc5f1a2510, rank=-1) at sr_module.c:918
__FUNCTION__ = "init_mod_child"
#39 0x000000000051d74b in init_mod_child (m=0x7fbc5f1a4948, rank=-1) at sr_module.c:918
__FUNCTION__ = "init_mod_child"
#40 0x000000000051d74b in init_mod_child (m=0x7fbc5f1a5c08, rank=-1) at sr_module.c:918
__FUNCTION__ = "init_mod_child"
#41 0x000000000051d74b in init_mod_child (m=0x7fbc5f1a63e8, rank=-1) at sr_module.c:918
__FUNCTION__ = "init_mod_child"
#42 0x000000000051d74b in init_mod_child (m=0x7fbc5f1a6e98, rank=-1) at sr_module.c:918
__FUNCTION__ = "init_mod_child"
#43 0x000000000051d74b in init_mod_child (m=0x7fbc5f1a7848, rank=-1) at sr_module.c:918
__FUNCTION__ = "init_mod_child"
#44 0x000000000051d74b in init_mod_child (m=0x7fbc5f1a8148, rank=-1) at sr_module.c:918
__FUNCTION__ = "init_mod_child"
#45 0x000000000051d74b in init_mod_child (m=0x7fbc5f1a9420, rank=-1) at sr_module.c:918
__FUNCTION__ = "init_mod_child"
#46 0x000000000051d74b in init_mod_child (m=0x7fbc5f1ab9d8, rank=-1) at sr_module.c:918
__FUNCTION__ = "init_mod_child"
#47 0x000000000051d74b in init_mod_child (m=0x7fbc5f1ac1b0, rank=-1) at sr_module.c:918
__FUNCTION__ = "init_mod_child"
#48 0x000000000051d74b in init_mod_child (m=0x7fbc5f1ad020, rank=-1) at sr_module.c:918
__FUNCTION__ = "init_mod_child"
#49 0x000000000051d74b in init_mod_child (m=0x7fbc5f1ad630, rank=-1) at sr_module.c:918
__FUNCTION__ = "init_mod_child"
#50 0x000000000051d74b in init_mod_child (m=0x7fbc5f1afde8, rank=-1) at sr_module.c:918
__FUNCTION__ = "init_mod_child"
#51 0x000000000051d74b in init_mod_child (m=0x7fbc5f1b05c8, rank=-1) at sr_module.c:918
__FUNCTION__ = "init_mod_child"
#52 0x000000000051d74b in init_mod_child (m=0x7fbc5f1b0d60, rank=-1) at sr_module.c:918
__FUNCTION__ = "init_mod_child"
#53 0x000000000051d74b in init_mod_child (m=0x7fbc5f1b16a8, rank=-1) at sr_module.c:918
__FUNCTION__ = "init_mod_child"
#54 0x000000000051d74b in init_mod_child (m=0x7fbc5f1b25b8, rank=-1) at sr_module.c:918
__FUNCTION__ = "init_mod_child"
#55 0x000000000051d74b in init_mod_child (m=0x7fbc5f1b2db0, rank=-1) at sr_module.c:918
__FUNCTION__ = "init_mod_child"
#56 0x000000000051d74b in init_mod_child (m=0x7fbc5f1b8a00, rank=-1) at sr_module.c:918
__FUNCTION__ = "init_mod_child"
#57 0x000000000051d74b in init_mod_child (m=0x7fbc5f1b8ee8, rank=-1) at sr_module.c:918
__FUNCTION__ = "init_mod_child"
#58 0x000000000051d74b in init_mod_child (m=0x7fbc5f1b9c90, rank=-1) at sr_module.c:918
__FUNCTION__ = "init_mod_child"
#59 0x000000000051d74b in init_mod_child (m=0x7fbc5f1ba6e8, rank=-1) at sr_module.c:918
__FUNCTION__ = "init_mod_child"
#60 0x000000000051d74b in init_mod_child (m=0x7fbc5f1badf8, rank=-1) at sr_module.c:918
__FUNCTION__ = "init_mod_child"
#61 0x000000000051d74b in init_mod_child (m=0x7fbc5f1bb1c8, rank=-1) at sr_module.c:918
__FUNCTION__ = "init_mod_child"
#62 0x000000000051d74b in init_mod_child (m=0x7fbc5f1bb9d0, rank=-1) at sr_module.c:918
__FUNCTION__ = "init_mod_child"
#63 0x000000000051d74b in init_mod_child (m=0x7fbc5f1bd0a0, rank=-1) at sr_module.c:918
__FUNCTION__ = "init_mod_child"
#64 0x000000000051d74b in init_mod_child (m=0x7fbc5f1bd628, rank=-1) at sr_module.c:918
__FUNCTION__ = "init_mod_child"
#65 0x000000000051d74b in init_mod_child (m=0x7fbc5f1bd950, rank=-1) at sr_module.c:918
__FUNCTION__ = "init_mod_child"
#66 0x000000000051d74b in init_mod_child (m=0x7fbc5f1bdd20, rank=-1) at sr_module.c:918
__FUNCTION__ = "init_mod_child"
#67 0x000000000051d74b in init_mod_child (m=0x7fbc5f1be2e8, rank=-1) at sr_module.c:918
__FUNCTION__ = "init_mod_child"
#68 0x000000000051d74b in init_mod_child (m=0x7fbc5f1be8f8, rank=-1) at sr_module.c:918
__FUNCTION__ = "init_mod_child"
#69 0x000000000051d74b in init_mod_child (m=0x7fbc5f1bed00, rank=-1) at sr_module.c:918
__FUNCTION__ = "init_mod_child"
#70 0x000000000051d74b in init_mod_child (m=0x7fbc5f1bf0d8, rank=-1) at sr_module.c:918
__FUNCTION__ = "init_mod_child"
#71 0x000000000051d74b in init_mod_child (m=0x7fbc5f1bf778, rank=-1) at sr_module.c:918
__FUNCTION__ = "init_mod_child"
#72 0x000000000051d74b in init_mod_child (m=0x7fbc5f1bfe20, rank=-1) at sr_module.c:918
__FUNCTION__ = "init_mod_child"
#73 0x000000000051dd5b in init_child (rank=-1) at sr_module.c:947
No locals.
#74 0x0000000000495abd in fork_process (child_id=-1, desc=0x74ca8d "slow timer",
make_sock=1) at pt.c:327
pid = 0
child_process_no = 29
ret = -1
new_seed1 = 1228121956
new_seed2 = 471266841
sockfd = {54, 55}
__FUNCTION__ = "fork_process"
#75 0x000000000050dd99 in main_loop () at main.c:1647
i = 4
pid = 14213
si = 0x0
si_desc = "udp receiver child=3
sock=192.168.1.150:5060\000(185.29.208.21:5060)\000AZ\274\177\000\000\232\246d\000\001\000\000\000\270\332tZ\001\000\000\000\300dBZ\274\177\000\000\300\326$\006\375\177\000\000()uZ\274\177\000\000P\t\235W\274\177\000\000P\257,_\274\177\000"
nrprocs = 4
woneinit = 1
__FUNCTION__ = "main_loop"
#76 0x0000000000514e9d in main (argc=6, argv=0x7ffd0624da28) at main.c:2616
cfg_stream = 0x1047010
c = -1
r = 0
tmp = 0x7fbc6014573d <_dl_lookup_symbol_x+349> "\203",
<incomplete sequence \370>
tmp_len = 0
port = 1
proto = 32700
options = 0x74d640
":f:cm:M:dVIhEeb:l:L:n:vKrRDTN:W:w:t:u:g:P:G:SQ:O:a:A:x:X:"
ret = -1
seed = 2268810091
rfd = 4
debug_save = 2
debug_flag = 1
dont_fork_cnt = 2
n_lst = 0x7ffd0624d8e0
p = 0x7ffd0624da60 "q\356$\006\375\177"
st = {st_dev = 15, st_ino = 12804, st_nlink = 2, st_mode = 16895, st_uid = 109,
st_gid = 114, __pad0 = 0, st_rdev = 0, st_size = 100, st_blksize = 4096, st_blocks = 0,
st_atim = {tv_sec = 1458128144, tv_nsec = 692000000}, st_mtim = {tv_sec = 1458138912,
tv_nsec = 180254641}, st_ctim = {tv_sec = 1458138912, tv_nsec = 180254641},
__glibc_reserved = {0, 0, 0}}
__FUNCTION__ = "main"
```
This is the BT from main kamailio process created by pkilling it
```
root@vs-kam-uat01:/# gdb kamailio core.kamailio.14214.vs-kam-uat01.1458139004
GNU gdb (Debian 7.7.1+dfsg-5) 7.7.1
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from kamailio...done.
[New LWP 14185]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `kamailio -f /etc/kamailio/kamailio.cfg -DDddEe -w
/root/kamcore/16032016/'.
Program terminated with signal SIGQUIT, Quit.
#0 syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
38 ../sysdeps/unix/sysv/linux/x86_64/syscall.S: No such file or directory.
(gdb) set pagination off
(gdb) bt full
#0 syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
No locals.
#1 0x00007fbc5798f5e9 in futex_get (lock=0x7fbc5a426524) at ../../futexlock.h:108
v = 2
i = 1024
#2 0x00007fbc57990c7e in locking_f (mode=9, n=1, file=0x7fbc57499c9b "err.c",
line=446) at tls_locking.c:110
__FUNCTION__ = "locking_f"
#3 0x00007fbc574139c3 in ?? () from /usr/lib/x86_64-linux-gnu/libcrypto.so.1.0.0
No symbol table info available.
#4 0x00007fbc57413ecd in ?? () from /usr/lib/x86_64-linux-gnu/libcrypto.so.1.0.0
No symbol table info available.
#5 0x00007fbc57414840 in ERR_get_state () from
/usr/lib/x86_64-linux-gnu/libcrypto.so.1.0.0
No symbol table info available.
#6 0x00007fbc57414a7f in ERR_clear_error () from
/usr/lib/x86_64-linux-gnu/libcrypto.so.1.0.0
No symbol table info available.
#7 0x00007fbc577374b5 in ?? () from /usr/lib/x86_64-linux-gnu/libssl.so.1.0.0
No symbol table info available.
#8 0x00007fbc4ecc8282 in ?? () from
/opt/microsoft/msodbcsql/lib64/libmsodbcsql-13.0.so.0.0
No symbol table info available.
#9 0x00007fbc4ecc94cc in ?? () from
/opt/microsoft/msodbcsql/lib64/libmsodbcsql-13.0.so.0.0
No symbol table info available.
#10 0x00007fbc4ecbe5b8 in ?? () from
/opt/microsoft/msodbcsql/lib64/libmsodbcsql-13.0.so.0.0
No symbol table info available.
#11 0x00007fbc4ecbec9f in ?? () from
/opt/microsoft/msodbcsql/lib64/libmsodbcsql-13.0.so.0.0
No symbol table info available.
#12 0x00007fbc4ec9c11f in ?? () from
/opt/microsoft/msodbcsql/lib64/libmsodbcsql-13.0.so.0.0
No symbol table info available.
#13 0x00007fbc4ec9a02f in ?? () from
/opt/microsoft/msodbcsql/lib64/libmsodbcsql-13.0.so.0.0
No symbol table info available.
#14 0x00007fbc4ec9a9a2 in ?? () from
/opt/microsoft/msodbcsql/lib64/libmsodbcsql-13.0.so.0.0
No symbol table info available.
#15 0x00007fbc4ec14ea1 in ?? () from
/opt/microsoft/msodbcsql/lib64/libmsodbcsql-13.0.so.0.0
No symbol table info available.
#16 0x00007fbc4ec48de6 in ?? () from
/opt/microsoft/msodbcsql/lib64/libmsodbcsql-13.0.so.0.0
No symbol table info available.
#17 0x00007fbc4ec17c66 in SQLDriverConnectW () from
/opt/microsoft/msodbcsql/lib64/libmsodbcsql-13.0.so.0.0
No symbol table info available.
#18 0x00007fbc565deabd in SQLDriverConnect (hdbc=0x1121920, hwnd=0x0,
conn_str_in=0x1142cb0 "D", len_conn_str_in=-1, conn_str_out=0x7ffd0624c000
"\001\200\255\373\274\177", conn_str_out_max=0, ptr_conn_str_out=0x7ffd0624bffe,
driver_completion=1) at SQLDriverConnect.c:1490
uc_conn_str_in = 0x1142cb0
s2 = '\000' <repeats 127 times>
con_struct = {count = 0, list = 0x111f110}
driver = 0x1132cc0 "\001"
dsn = 0x1132cc0 "\001"
filedsn = 0xfffffffd <error: Cannot access memory at address 0xfffffffd>
savefile =
"\000\000\061\000\060\000\060\000\060\000\000\000\000\000\000\000[\000M\000i\000c\000r\000o\000s\000o\000f\000t\000]\000[\000O\000D\000B\000C\000
\000D\000r\000i\000v\000e\000r\000 \000\061\000\063\000 \000f\000o\000r\000
\000S\000Q\000L\000 \000S\000e\000r\000v\000e\000r\000]\000[\000S\000Q\000L\000
\000S\000e\000r\000v\000e\000r\000]\000C\000h\000a\000n\000g\000e\000d\000
\000l\000a\000n\000g\000u\000a\000g\000e\000 \000s\000e\000t\000t\000i\000n\000g\000
\000t\000o\000 \000u\000s\000_\000e\000n\000g\000l\000i\000s\000h\000"...
lib_name =
"/opt/microsoft/msodbcsql/lib64/libmsodbcsql-13.0.so.0.0\000O\000D\000B\000C\000
\000D\000r\000i\000v\000e\000r\000 \000\061\000\063\000 \000f\000o\000r\000
\000S\000Q\000L\000 \000S\000e\000r\000v\000e\000r\000]\000[\000S\000Q\000L\000
\000S\000e\000r\000v\000e\000r\000]\000C\000h\000a\000n\000g\000e\000d\000
\000l\000a\000n\000g\000u\000a\000g\000e\000 \000s\000e\000t\000t\000i\000n\000g\000
\000t\000o\000 \000u\000s\000"...
driver_name = "ODBC Driver 13 for SQL
Server\000\000\000@\311$\006\375\177\000\000)\204\231_\274\177", '\000'
<repeats 26 times>,
"@\311$\006\375\177\000\000c\000\000\000\000\000\000\000\260\215\025\001\000\000\000\000\000\000\000\000\001\000\000\000\360S\021\001\000\000\000\000\260\215\025\001\000\000\000\000\001\000\000\000\000\000\000\000\360S\021\001\000\000\000\000\002\000\000\000\000\000\000\000@\311$\006\375\177\000\000\300\200$\006\375\177\000\000\260\215\025\001\000\000\000\000\261\353`V\274\177\000\000\360S\021\001\000\000\000\000\314\\$\006\375\177\000\000\320\\$\006\375\177\000\000"...
s1 = "ibmsodbcsql-13.0.so.0.0", '\000' <repeats 329
times>...
local_conn_str_in = '\000' <repeats 2047 times>
local_out_conection = '\000' <repeats 2047 times>
warnings = 0
#19 0x00007fbc56836060 in db_unixodbc_new_connection (id=0x7fbc5f457488) at
connection.c:155
outstr =
"\001\200\255\373\274\177\000\000\005C\027_\274\177\000\000\005C\027_\274\177\000\000\005C\027_\274\177\000\000\005C\027_\274\177\000\000\023C\027_\274\177\000\000\037C\027_\274\177\000\000\005C\027_\274\177\000\000\037C\027_\274\177",
'\000' <repeats 42 times>,
"\300\202\350Z\000\000\000\000\022JCW\274\177\000\000\000\000$\006\375\177\000\000\000\000\000\000\000\000\000\000h\200\350Z\274\177\000\000\000\340AZ\274\177\000\000\377\377\377\061\064\061\070\065\360\300$\006\375\177\000\000P\333AZ\274\177\000\000\360\300$\006\375\177\000\000\226\201\037Z\274\177\000\000"...
outstrlen = 0
ret = 0
ptr = 0x7fbc5f1c12a8
conn_str = "DSN=db.domain.tld;UID=username;PWD=password;",
'\000' <repeats 16 times>,
"\340\270$\006\375\177\000\000R\231A\000\000\000\000\000\063\nv\000\000\000\000\000
\332$\006\375\177\000\000\000\000\000\000\000\000\000\000\b\023>_\274\177\000\000p\300$\006\375\177\000\000H\271$\006\375\177\000\000L\271$\006\031\000\000\000\220\222B_\274\177",
'\000' <repeats 18 times>,
"\220\237A_\274\177\000\000h\247A_\274\177\000\000\340\270$\006\375\177\000\000"...
__FUNCTION__ = "db_unixodbc_new_connection"
#20 0x00007fbc5960f2ef in db_do_init2 (url=0x7fbc59a77e10 <db_url>,
new_connection=0x7fbc56834881 <db_unixodbc_new_connection>,
pooling=DB_POOLING_PERMITTED) at db.c:316
id = 0x7fbc5f457488
con = 0x0
res = 0x7fbc5f45fdb0
con_size = 32
__FUNCTION__ = "db_do_init2"
#21 0x00007fbc5960e298 in db_do_init (url=0x7fbc59a77e10 <db_url>,
new_connection=0x7fbc56834881 <db_unixodbc_new_connection>) at db.c:269
No locals.
#22 0x00007fbc5683aef6 in db_unixodbc_init (_url=0x7fbc59a77e10 <db_url>) at
dbase.c:175
No locals.
#23 0x00007fbc5984f387 in child_init (_rank=0) at ul_mod.c:441
ptr = 0x7fbc57435ca2
i = 32765
__FUNCTION__ = "child_init"
#24 0x000000000051da2d in init_mod_child (m=0x7fbc5f1a0dc0, rank=0) at sr_module.c:921
__FUNCTION__ = "init_mod_child"
#25 0x000000000051d74b in init_mod_child (m=0x7fbc5f1a1750, rank=0) at sr_module.c:918
__FUNCTION__ = "init_mod_child"
#26 0x000000000051d74b in init_mod_child (m=0x7fbc5f1a2510, rank=0) at sr_module.c:918
__FUNCTION__ = "init_mod_child"
#27 0x000000000051d74b in init_mod_child (m=0x7fbc5f1a4948, rank=0) at sr_module.c:918
__FUNCTION__ = "init_mod_child"
#28 0x000000000051d74b in init_mod_child (m=0x7fbc5f1a5c08, rank=0) at sr_module.c:918
__FUNCTION__ = "init_mod_child"
#29 0x000000000051d74b in init_mod_child (m=0x7fbc5f1a63e8, rank=0) at sr_module.c:918
__FUNCTION__ = "init_mod_child"
#30 0x000000000051d74b in init_mod_child (m=0x7fbc5f1a6e98, rank=0) at sr_module.c:918
__FUNCTION__ = "init_mod_child"
#31 0x000000000051d74b in init_mod_child (m=0x7fbc5f1a7848, rank=0) at sr_module.c:918
__FUNCTION__ = "init_mod_child"
#32 0x000000000051d74b in init_mod_child (m=0x7fbc5f1a8148, rank=0) at sr_module.c:918
__FUNCTION__ = "init_mod_child"
#33 0x000000000051d74b in init_mod_child (m=0x7fbc5f1a9420, rank=0) at sr_module.c:918
__FUNCTION__ = "init_mod_child"
#34 0x000000000051d74b in init_mod_child (m=0x7fbc5f1ab9d8, rank=0) at sr_module.c:918
__FUNCTION__ = "init_mod_child"
#35 0x000000000051d74b in init_mod_child (m=0x7fbc5f1ac1b0, rank=0) at sr_module.c:918
__FUNCTION__ = "init_mod_child"
#36 0x000000000051d74b in init_mod_child (m=0x7fbc5f1ad020, rank=0) at sr_module.c:918
__FUNCTION__ = "init_mod_child"
#37 0x000000000051d74b in init_mod_child (m=0x7fbc5f1ad630, rank=0) at sr_module.c:918
__FUNCTION__ = "init_mod_child"
#38 0x000000000051d74b in init_mod_child (m=0x7fbc5f1afde8, rank=0) at sr_module.c:918
__FUNCTION__ = "init_mod_child"
#39 0x000000000051d74b in init_mod_child (m=0x7fbc5f1b05c8, rank=0) at sr_module.c:918
__FUNCTION__ = "init_mod_child"
#40 0x000000000051d74b in init_mod_child (m=0x7fbc5f1b0d60, rank=0) at sr_module.c:918
__FUNCTION__ = "init_mod_child"
#41 0x000000000051d74b in init_mod_child (m=0x7fbc5f1b16a8, rank=0) at sr_module.c:918
__FUNCTION__ = "init_mod_child"
#42 0x000000000051d74b in init_mod_child (m=0x7fbc5f1b25b8, rank=0) at sr_module.c:918
__FUNCTION__ = "init_mod_child"
#43 0x000000000051d74b in init_mod_child (m=0x7fbc5f1b2db0, rank=0) at sr_module.c:918
__FUNCTION__ = "init_mod_child"
#44 0x000000000051d74b in init_mod_child (m=0x7fbc5f1b8a00, rank=0) at sr_module.c:918
__FUNCTION__ = "init_mod_child"
#45 0x000000000051d74b in init_mod_child (m=0x7fbc5f1b8ee8, rank=0) at sr_module.c:918
__FUNCTION__ = "init_mod_child"
#46 0x000000000051d74b in init_mod_child (m=0x7fbc5f1b9c90, rank=0) at sr_module.c:918
__FUNCTION__ = "init_mod_child"
#47 0x000000000051d74b in init_mod_child (m=0x7fbc5f1ba6e8, rank=0) at sr_module.c:918
__FUNCTION__ = "init_mod_child"
#48 0x000000000051d74b in init_mod_child (m=0x7fbc5f1badf8, rank=0) at sr_module.c:918
__FUNCTION__ = "init_mod_child"
#49 0x000000000051d74b in init_mod_child (m=0x7fbc5f1bb1c8, rank=0) at sr_module.c:918
__FUNCTION__ = "init_mod_child"
#50 0x000000000051d74b in init_mod_child (m=0x7fbc5f1bb9d0, rank=0) at sr_module.c:918
__FUNCTION__ = "init_mod_child"
#51 0x000000000051d74b in init_mod_child (m=0x7fbc5f1bd0a0, rank=0) at sr_module.c:918
__FUNCTION__ = "init_mod_child"
#52 0x000000000051d74b in init_mod_child (m=0x7fbc5f1bd628, rank=0) at sr_module.c:918
__FUNCTION__ = "init_mod_child"
#53 0x000000000051d74b in init_mod_child (m=0x7fbc5f1bd950, rank=0) at sr_module.c:918
__FUNCTION__ = "init_mod_child"
#54 0x000000000051d74b in init_mod_child (m=0x7fbc5f1bdd20, rank=0) at sr_module.c:918
__FUNCTION__ = "init_mod_child"
#55 0x000000000051d74b in init_mod_child (m=0x7fbc5f1be2e8, rank=0) at sr_module.c:918
__FUNCTION__ = "init_mod_child"
#56 0x000000000051d74b in init_mod_child (m=0x7fbc5f1be8f8, rank=0) at sr_module.c:918
__FUNCTION__ = "init_mod_child"
#57 0x000000000051d74b in init_mod_child (m=0x7fbc5f1bed00, rank=0) at sr_module.c:918
__FUNCTION__ = "init_mod_child"
#58 0x000000000051d74b in init_mod_child (m=0x7fbc5f1bf0d8, rank=0) at sr_module.c:918
__FUNCTION__ = "init_mod_child"
#59 0x000000000051d74b in init_mod_child (m=0x7fbc5f1bf778, rank=0) at sr_module.c:918
__FUNCTION__ = "init_mod_child"
#60 0x000000000051d74b in init_mod_child (m=0x7fbc5f1bfe20, rank=0) at sr_module.c:918
__FUNCTION__ = "init_mod_child"
#61 0x000000000051dd5b in init_child (rank=0) at sr_module.c:947
No locals.
#62 0x000000000050e60f in main_loop () at main.c:1682
i = 4
pid = 14215
si = 0x0
si_desc = "udp receiver child=3
sock=192.168.1.150:5060\000(185.29.208.21:5060)\000AZ\274\177\000\000\232\246d\000\001\000\000\000\270\332tZ\001\000\000\000\300dBZ\274\177\000\000\300\326$\006\375\177\000\000()uZ\274\177\000\000P\t\235W\274\177\000\000P\257,_\274\177\000"
nrprocs = 4
woneinit = 1
__FUNCTION__ = "main_loop"
#63 0x0000000000514e9d in main (argc=6, argv=0x7ffd0624da28) at main.c:2616
cfg_stream = 0x1047010
c = -1
r = 0
tmp = 0x7fbc6014573d <_dl_lookup_symbol_x+349> "\203",
<incomplete sequence \370>
tmp_len = 0
port = 1
proto = 32700
options = 0x74d640
":f:cm:M:dVIhEeb:l:L:n:vKrRDTN:W:w:t:u:g:P:G:SQ:O:a:A:x:X:"
ret = -1
seed = 2268810091
rfd = 4
debug_save = 2
debug_flag = 1
dont_fork_cnt = 2
n_lst = 0x7ffd0624d8e0
p = 0x7ffd0624da60 "q\356$\006\375\177"
st = {st_dev = 15, st_ino = 12804, st_nlink = 2, st_mode = 16895, st_uid = 109,
st_gid = 114, __pad0 = 0, st_rdev = 0, st_size = 100, st_blksize = 4096, st_blocks = 0,
st_atim = {tv_sec = 1458128144, tv_nsec = 692000000}, st_mtim = {tv_sec = 1458138912,
tv_nsec = 180254641}, st_ctim = {tv_sec = 1458138912, tv_nsec = 180254641},
__glibc_reserved = {0, 0, 0}}
__FUNCTION__ = "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/501#issuecomment-197362180