[sr-dev] [kamailio/kamailio] Kamailio 5.2.2 - Segmentation fault in libcrypto.so.1.1 (#1860)
shaunjstokes
notifications at github.com
Wed Apr 17 20:32:58 CEST 2019
Here's another core dump, mostly we're seeing the last line on: aesni_ecb_encrypt () at crypto/aes/aesni-x86_64.s:624
```
#0 aesni_ecb_encrypt () at crypto/aes/aesni-x86_64.s:624
No locals.
#1 0x00007f2f5b39e240 in aesni_ecb_cipher (ctx=0x7f2f0fa1d050, out=0x7f2f0fa1cf68 "\006\017\340\205\065\005|?\371\301 at M\375\fC\237Jv", <incomplete sequence \355>, in=0x7f2f0fa1cf68 "\006\017\340\205\065\005|?\371\301 at M\375\fC\237Jv", <incomplete sequence \355>, len=16) at crypto/evp/e_aes.c:319
bl = 16
#2 0x00007f2f5b3b3526 in evp_EncryptDecryptUpdate (ctx=0x7f2f0fa1d050, out=0x7f2f0fa1cf68 "\006\017\340\205\065\005|?\371\301 at M\375\fC\237Jv", <incomplete sequence \355>, outl=0x7ffd614afd74, in=0x7f2f0fa1cf68 "\006\017\340\205\065\005|?\371\301 at M\375\fC\237Jv", <incomplete sequence \355>, inl=16)
at crypto/evp/evp_enc.c:333
i = 32559
j = 262262632
bl = 16
cmpl = 16
#3 0x00007f2f5b3b3771 in EVP_EncryptUpdate (ctx=0x7f2f0fa1d050, out=0x7f2f0fa1cf68 "\006\017\340\205\065\005|?\371\301 at M\375\fC\237Jv", <incomplete sequence \355>, outl=0x7ffd614afd74, in=0x7f2f0fa1cf68 "\006\017\340\205\065\005|?\371\301 at M\375\fC\237Jv", <incomplete sequence \355>, inl=16)
at crypto/evp/evp_enc.c:385
No locals.
#4 0x00007f2f5b3b315f in EVP_CipherUpdate (ctx=0x7f2f0fa1d050, out=0x7f2f0fa1cf68 "\006\017\340\205\065\005|?\371\301 at M\375\fC\237Jv", <incomplete sequence \355>, outl=0x7ffd614afd74, in=0x7f2f0fa1cf68 "\006\017\340\205\065\005|?\371\301 at M\375\fC\237Jv", <incomplete sequence \355>, inl=16)
at crypto/evp/evp_enc.c:213
No locals.
#5 0x00007f2f5b3f5c8c in ctr_update (drbg=0x7f2f0fa1ce80, in1=0x0, in1len=0, in2=0x0, in2len=0, nonce=0x0, noncelen=0) at crypto/rand/drbg_ctr.c:251
ctr = 0x7f2f0fa1cf28
outlen = 16
#6 0x00007f2f5b3f60d2 in drbg_ctr_generate (drbg=0x7f2f0fa1ce80, out=0x7f2f10b910b8 "", outlen=0, adin=0x0, adinlen=0) at crypto/rand/drbg_ctr.c:349
ctr = 0x7f2f0fa1cf28
#7 0x00007f2f5b3f7591 in RAND_DRBG_generate (drbg=0x7f2f0fa1ce80, out=0x7f2f10b91098 "\256\277\364\322\r\271.\247˗{\325i\030\376\251\212$MM\330R\354\244>kPM\224%T1", outlen=32, prediction_resistance=0, adin=0x0, adinlen=0) at crypto/rand/drbg_lib.c:638
reseed_required = 0
#8 0x00007f2f5b3f76bf in RAND_DRBG_bytes (drbg=0x7f2f0fa1ce80, out=0x7f2f10b91098 "\256\277\364\322\r\271.\247˗{\325i\030\376\251\212$MM\330R\354\244>kPM\224%T1", outlen=32) at crypto/rand/drbg_lib.c:679
additional = 0x0
additional_len = 0
chunk = 32
ret = 0
#9 0x00007f2f5b3f9168 in RAND_priv_bytes (buf=0x7f2f10b91098 "\256\277\364\322\r\271.\247˗{\325i\030\376\251\212$MM\330R\354\244>kPM\224%T1", num=32) at crypto/rand/rand_lib.c:827
meth = 0x7f2f5b740920 <rand_meth>
drbg = 0x7f2f0fa1ce80
ret = 32559
#10 0x00007f2f5b7909d0 in SSL_CTX_new (meth=0x7f2f5b9f3a40 <TLS_method_data.22387>) at ssl/ssl_lib.c:2998
ret = 0x7f2f10b8f498
#11 0x00007f2f5be68cac in ?? () from /usr/lib/x86_64-linux-gnu/libpq.so.5
No symbol table info available.
#12 0x00007f2f5be6a4f5 in ?? () from /usr/lib/x86_64-linux-gnu/libpq.so.5
No symbol table info available.
#13 0x00007f2f5be52258 in PQconnectPoll () from /usr/lib/x86_64-linux-gnu/libpq.so.5
No symbol table info available.
#14 0x00007f2f5be5304c in ?? () from /usr/lib/x86_64-linux-gnu/libpq.so.5
No symbol table info available.
#15 0x00007f2f5be55d67 in PQconnectdbParams () from /usr/lib/x86_64-linux-gnu/libpq.so.5
No symbol table info available.
#16 0x00007f2f5c0ac514 in db_postgres_new_connection (id=0x7f2f5c4c4a10) at km_pg_con.c:112
ptr = 0x7f2f5c4f8ff0
ports = 0x0
i = 4
keywords = {0x7f2f5c0d2dcc "host", 0x7f2f5c0d2dd1 "dbname", 0x7f2f5c0d2dd8 "user", 0x7f2f5c0d2ddd "password", 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}
values = {0x7f2f5c4c8cf8 "localhost", 0x7f2f5c4c93d8 "kamailio", 0x7f2f5c4c8800 "kamailio", 0x7f2f5c4dbe28 "CXsX8MIsC8Dy1Ui7qdyP4nbcmCAl", 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}
to = '\000' <repeats 15 times>
res = 0x0
__func__ = "db_postgres_new_connection"
#17 0x00007f2f5ba04590 in db_do_init2 (url=0x7f2f5467e530 <pres_db_url>, new_connection=0x7f2f5c0aad33 <db_postgres_new_connection>, pooling=DB_POOLING_PERMITTED) at db.c:317
id = 0x7f2f5c4c4a10
con = 0x0
res = 0x7f2f5c4dbd30
con_size = 32
__func__ = "db_do_init2"
#18 0x00007f2f5ba03516 in db_do_init (url=0x7f2f5467e530 <pres_db_url>, new_connection=0x7f2f5c0aad33 <db_postgres_new_connection>) at db.c:270
No locals.
#19 0x00007f2f5c09a099 in db_postgres_init (_url=0x7f2f5467e530 <pres_db_url>) at km_dbase.c:113
No locals.
#20 0x00007f2f543b7d71 in child_init (rank=33) at presence.c:536
__func__ = "child_init"
#21 0x000055e257f89b44 in init_mod_child (m=0x7f2f5c39d668, rank=33) at core/sr_module.c:859
__func__ = "init_mod_child"
#22 0x000055e257f897c7 in init_mod_child (m=0x7f2f5c39dd98, rank=33) at core/sr_module.c:855
__func__ = "init_mod_child"
#23 0x000055e257f897c7 in init_mod_child (m=0x7f2f5c39e118, rank=33) at core/sr_module.c:855
__func__ = "init_mod_child"
#24 0x000055e257f897c7 in init_mod_child (m=0x7f2f5c39e498, rank=33) at core/sr_module.c:855
__func__ = "init_mod_child"
#25 0x000055e257f897c7 in init_mod_child (m=0x7f2f5c39e8b8, rank=33) at core/sr_module.c:855
__func__ = "init_mod_child"
#26 0x000055e257f897c7 in init_mod_child (m=0x7f2f5c39ec60, rank=33) at core/sr_module.c:855
__func__ = "init_mod_child"
#27 0x000055e257f897c7 in init_mod_child (m=0x7f2f5c39f2a8, rank=33) at core/sr_module.c:855
__func__ = "init_mod_child"
#28 0x000055e257f897c7 in init_mod_child (m=0x7f2f5c39f7e0, rank=33) at core/sr_module.c:855
__func__ = "init_mod_child"
#29 0x000055e257f897c7 in init_mod_child (m=0x7f2f5c39ff70, rank=33) at core/sr_module.c:855
__func__ = "init_mod_child"
#30 0x000055e257f897c7 in init_mod_child (m=0x7f2f5c3a03f8, rank=33) at core/sr_module.c:855
__func__ = "init_mod_child"
#31 0x000055e257f897c7 in init_mod_child (m=0x7f2f5c3a1170, rank=33) at core/sr_module.c:855
__func__ = "init_mod_child"
#32 0x000055e257f897c7 in init_mod_child (m=0x7f2f5c3a3cd0, rank=33) at core/sr_module.c:855
__func__ = "init_mod_child"
#33 0x000055e257f89f19 in init_child (rank=33) at core/sr_module.c:887
ret = 32559
#34 0x000055e257f966b4 in fork_tcp_process (child_id=33, desc=0x7ffd614b3670 "tcp receiver (generic)", r=0, reader_fd_1=0x7ffd614b36f0) at core/pt.c:4
pid = 0
child_process_no = 47
sockfd = {62, 63}
reader_fd = {64, 65}
ret = -1
i = 0
new_seed1 = 1031182733
new_seed2 = 766258607
__func__ = "fork_tcp_process"
#35 0x000055e257f3ec38 in tcp_init_children () at core/tcp_main.c:5076
r = 0
i = 15
reader_fd_1 = 65
pid = 0
si_desc = "tcp receiver (generic)\000\000\006\000\000\000\000\000\000\000\020\067Ka\375\177\000\000Ǘ\370W\342U\000\000 at 7Ka\375\177\000\000mR\371W\001", '\000' <repeats 11 times>, "\004\230\004X\000\000\000\000\321\v%X\000\000\000\000\320<:\\/\177\000\000\357*\037X\271A\000\000\000\000\000\000\000\000\000\000\061\000\000\000\062\000\000\000\000r^l/\177\000"
si = 0x0
__func__ = "tcp_init_children"
#36 0x000055e257e731a9 in main_loop () at main.c:1750
i = 16
pid = 16824
si = 0x0
si_desc = "udp receiver child=15 sock=127.0.0.20:5088 (77.77.77.77:5070)\000\067\060)\000\000\000\000\000\000\000\020\000\000\000\000\006\000\000\000\000\000\000\000\217r^l/\177\000\000\320\067Ka\375\177\000\000\060\000\000\000\060\000\000\000\260\070Ka\375\177\000\000h\240E\\/\177\000"
nrprocs = 16
woneinit = 1
__func__ = "main_loop"
#37 0x000055e257e7a430 in main (argc=13, argv=0x7ffd614b3b58) at main.c:2737
cfg_stream = 0x55e258a1d010
c = -1
r = 0
tmp = 0x7ffd614b4e06 ""
tmp_len = 32765
port = 1632319888
proto = 32559
options = 0x55e2581f3600 ":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 = 308684642
rfd = 4
debug_save = 0
debug_flag = 0
dont_fork_cnt = 0
n_lst = 0xffffffff
p = 0xd <error: Cannot access memory at address 0xd>
st = {st_dev = 18, st_ino = 179431, st_nlink = 2, st_mode = 16872, st_uid = 0, st_gid = 1, __pad0 = 0, st_rdev = 0, st_size = 40, st_blksize = 4096, st_blocks = 0, st_atim = {tv_sec = 1555436224, tv_nsec = 507938051}, st_mtim = {tv_sec = 1555436224, tv_nsec = 507938051}, st_ctim = {tv_sec = 1555436224,
tv_nsec = 507938051}, __glibc_reserved = {0, 0, 0}}
option_index = 0
long_options = {{name = 0x55e2581f5aea "help", has_arg = 0, flag = 0x0, val = 104}, {name = 0x55e2581eff29 "version", has_arg = 0, flag = 0x0, val = 118}, {name = 0x55e2581f5aef "alias", has_arg = 1, flag = 0x0, val = 1024}, {name = 0x0, has_arg = 0, flag = 0x0, val = 0}}
__func__ = "main"
```
```
(gdb) disas aesni_ecb_encrypt
Dump of assembler code for function aesni_ecb_encrypt:
0x00007f2f5b2969e0 <+0>: and $0xfffffffffffffff0,%rdx
0x00007f2f5b2969e4 <+4>: je 0x7f2f5b296f34 <aesni_ecb_encrypt+1364>
0x00007f2f5b2969ea <+10>: mov 0xf0(%rcx),%eax
0x00007f2f5b2969f0 <+16>: movups (%rcx),%xmm0
0x00007f2f5b2969f3 <+19>: mov %rcx,%r11
0x00007f2f5b2969f6 <+22>: mov %eax,%r10d
0x00007f2f5b2969f9 <+25>: test %r8d,%r8d
0x00007f2f5b2969fc <+28>: je 0x7f2f5b296c50 <aesni_ecb_encrypt+624>
0x00007f2f5b296a02 <+34>: cmp $0x80,%rdx
0x00007f2f5b296a09 <+41>: jb 0x7f2f5b296af7 <aesni_ecb_encrypt+279>
0x00007f2f5b296a0f <+47>: movdqu (%rdi),%xmm2
0x00007f2f5b296a13 <+51>: movdqu 0x10(%rdi),%xmm3
0x00007f2f5b296a18 <+56>: movdqu 0x20(%rdi),%xmm4
0x00007f2f5b296a1d <+61>: movdqu 0x30(%rdi),%xmm5
0x00007f2f5b296a22 <+66>: movdqu 0x40(%rdi),%xmm6
0x00007f2f5b296a27 <+71>: movdqu 0x50(%rdi),%xmm7
0x00007f2f5b296a2c <+76>: movdqu 0x60(%rdi),%xmm8
0x00007f2f5b296a32 <+82>: movdqu 0x70(%rdi),%xmm9
0x00007f2f5b296a38 <+88>: lea 0x80(%rdi),%rdi
0x00007f2f5b296a3f <+95>: sub $0x80,%rdx
0x00007f2f5b296a46 <+102>: jmp 0x7f2f5b296aae <aesni_ecb_encrypt+206>
0x00007f2f5b296a48 <+104>: nopl 0x0(%rax,%rax,1)
0x00007f2f5b296a50 <+112>: movups %xmm2,(%rsi)
0x00007f2f5b296a53 <+115>: mov %r11,%rcx
0x00007f2f5b296a56 <+118>: movdqu (%rdi),%xmm2
0x00007f2f5b296a5a <+122>: mov %r10d,%eax
0x00007f2f5b296a5d <+125>: movups %xmm3,0x10(%rsi)
0x00007f2f5b296a61 <+129>: movdqu 0x10(%rdi),%xmm3
0x00007f2f5b296a66 <+134>: movups %xmm4,0x20(%rsi)
0x00007f2f5b296a6a <+138>: movdqu 0x20(%rdi),%xmm4
0x00007f2f5b296a6f <+143>: movups %xmm5,0x30(%rsi)
0x00007f2f5b296a73 <+147>: movdqu 0x30(%rdi),%xmm5
0x00007f2f5b296a78 <+152>: movups %xmm6,0x40(%rsi)
0x00007f2f5b296a7c <+156>: movdqu 0x40(%rdi),%xmm6
0x00007f2f5b296a81 <+161>: movups %xmm7,0x50(%rsi)
0x00007f2f5b296a85 <+165>: movdqu 0x50(%rdi),%xmm7
0x00007f2f5b296a8a <+170>: movups %xmm8,0x60(%rsi)
0x00007f2f5b296a8f <+175>: movdqu 0x60(%rdi),%xmm8
0x00007f2f5b296a95 <+181>: movups %xmm9,0x70(%rsi)
0x00007f2f5b296a9a <+186>: lea 0x80(%rsi),%rsi
0x00007f2f5b296aa1 <+193>: movdqu 0x70(%rdi),%xmm9
0x00007f2f5b296aa7 <+199>: lea 0x80(%rdi),%rdi
0x00007f2f5b296aae <+206>: callq 0x7f2f5b2967c0 <_aesni_encrypt8>
0x00007f2f5b296ab3 <+211>: sub $0x80,%rdx
0x00007f2f5b296aba <+218>: jae 0x7f2f5b296a50 <aesni_ecb_encrypt+112>
0x00007f2f5b296abc <+220>: movups %xmm2,(%rsi)
0x00007f2f5b296abf <+223>: mov %r11,%rcx
0x00007f2f5b296ac2 <+226>: movups %xmm3,0x10(%rsi)
0x00007f2f5b296ac6 <+230>: mov %r10d,%eax
0x00007f2f5b296ac9 <+233>: movups %xmm4,0x20(%rsi)
0x00007f2f5b296acd <+237>: movups %xmm5,0x30(%rsi)
0x00007f2f5b296ad1 <+241>: movups %xmm6,0x40(%rsi)
0x00007f2f5b296ad5 <+245>: movups %xmm7,0x50(%rsi)
0x00007f2f5b296ad9 <+249>: movups %xmm8,0x60(%rsi)
0x00007f2f5b296ade <+254>: movups %xmm9,0x70(%rsi)
0x00007f2f5b296ae3 <+259>: lea 0x80(%rsi),%rsi
0x00007f2f5b296aea <+266>: add $0x80,%rdx
0x00007f2f5b296af1 <+273>: je 0x7f2f5b296f34 <aesni_ecb_encrypt+1364>
0x00007f2f5b296af7 <+279>: movups (%rdi),%xmm2
0x00007f2f5b296afa <+282>: cmp $0x20,%rdx
0x00007f2f5b296afe <+286>: jb 0x7f2f5b296b70 <aesni_ecb_encrypt+400>
0x00007f2f5b296b00 <+288>: movups 0x10(%rdi),%xmm3
0x00007f2f5b296b04 <+292>: je 0x7f2f5b296ba0 <aesni_ecb_encrypt+448>
0x00007f2f5b296b0a <+298>: movups 0x20(%rdi),%xmm4
0x00007f2f5b296b0e <+302>: cmp $0x40,%rdx
0x00007f2f5b296b12 <+306>: jb 0x7f2f5b296bc0 <aesni_ecb_encrypt+480>
0x00007f2f5b296b18 <+312>: movups 0x30(%rdi),%xmm5
0x00007f2f5b296b1c <+316>: je 0x7f2f5b296be0 <aesni_ecb_encrypt+512>
0x00007f2f5b296b22 <+322>: movups 0x40(%rdi),%xmm6
0x00007f2f5b296b26 <+326>: cmp $0x60,%rdx
0x00007f2f5b296b2a <+330>: jb 0x7f2f5b296c00 <aesni_ecb_encrypt+544>
0x00007f2f5b296b30 <+336>: movups 0x50(%rdi),%xmm7
0x00007f2f5b296b34 <+340>: je 0x7f2f5b296c20 <aesni_ecb_encrypt+576>
0x00007f2f5b296b3a <+346>: movdqu 0x60(%rdi),%xmm8
0x00007f2f5b296b40 <+352>: xorps %xmm9,%xmm9
0x00007f2f5b296b44 <+356>: callq 0x7f2f5b2967c0 <_aesni_encrypt8>
0x00007f2f5b296b49 <+361>: movups %xmm2,(%rsi)
0x00007f2f5b296b4c <+364>: movups %xmm3,0x10(%rsi)
0x00007f2f5b296b50 <+368>: movups %xmm4,0x20(%rsi)
0x00007f2f5b296b54 <+372>: movups %xmm5,0x30(%rsi)
0x00007f2f5b296b58 <+376>: movups %xmm6,0x40(%rsi)
0x00007f2f5b296b5c <+380>: movups %xmm7,0x50(%rsi)
0x00007f2f5b296b60 <+384>: movups %xmm8,0x60(%rsi)
0x00007f2f5b296b65 <+389>: jmpq 0x7f2f5b296f34 <aesni_ecb_encrypt+1364>
0x00007f2f5b296b6a <+394>: nopw 0x0(%rax,%rax,1)
0x00007f2f5b296b70 <+400>: movups (%rcx),%xmm0
0x00007f2f5b296b73 <+403>: movups 0x10(%rcx),%xmm1
0x00007f2f5b296b77 <+407>: lea 0x20(%rcx),%rcx
0x00007f2f5b296b7b <+411>: xorps %xmm0,%xmm2
0x00007f2f5b296b7e <+414>: aesenc %xmm1,%xmm2
0x00007f2f5b296b83 <+419>: dec %eax
=> 0x00007f2f5b296b85 <+421>: movups (%rcx),%xmm1
0x00007f2f5b296b88 <+424>: lea 0x10(%rcx),%rcx
0x00007f2f5b296b8c <+428>: jne 0x7f2f5b296b7e <aesni_ecb_encrypt+414>
0x00007f2f5b296b8e <+430>: aesenclast %xmm1,%xmm2
0x00007f2f5b296b93 <+435>: movups %xmm2,(%rsi)
0x00007f2f5b296b96 <+438>: jmpq 0x7f2f5b296f34 <aesni_ecb_encrypt+1364>
0x00007f2f5b296b9b <+443>: nopl 0x0(%rax,%rax,1)
0x00007f2f5b296ba0 <+448>: callq 0x7f2f5b296340 <_aesni_encrypt2>
0x00007f2f5b296ba5 <+453>: movups %xmm2,(%rsi)
0x00007f2f5b296ba8 <+456>: movups %xmm3,0x10(%rsi)
0x00007f2f5b296bac <+460>: jmpq 0x7f2f5b296f34 <aesni_ecb_encrypt+1364>
0x00007f2f5b296bb1 <+465>: nopl 0x0(%rax,%rax,1)
0x00007f2f5b296bb6 <+470>: nopw %cs:0x0(%rax,%rax,1)
0x00007f2f5b296bc0 <+480>: callq 0x7f2f5b296400 <_aesni_encrypt3>
0x00007f2f5b296bc5 <+485>: movups %xmm2,(%rsi)
0x00007f2f5b296bc8 <+488>: movups %xmm3,0x10(%rsi)
0x00007f2f5b296bcc <+492>: movups %xmm4,0x20(%rsi)
0x00007f2f5b296bd0 <+496>: jmpq 0x7f2f5b296f34 <aesni_ecb_encrypt+1364>
0x00007f2f5b296bd5 <+501>: nop
0x00007f2f5b296bd6 <+502>: nopw %cs:0x0(%rax,%rax,1)
0x00007f2f5b296be0 <+512>: callq 0x7f2f5b2964e0 <_aesni_encrypt4>
0x00007f2f5b296be5 <+517>: movups %xmm2,(%rsi)
0x00007f2f5b296be8 <+520>: movups %xmm3,0x10(%rsi)
0x00007f2f5b296bec <+524>: movups %xmm4,0x20(%rsi)
0x00007f2f5b296bf0 <+528>: movups %xmm5,0x30(%rsi)
0x00007f2f5b296bf4 <+532>: jmpq 0x7f2f5b296f34 <aesni_ecb_encrypt+1364>
0x00007f2f5b296bf9 <+537>: nopl 0x0(%rax)
0x00007f2f5b296c00 <+544>: xorps %xmm7,%xmm7
0x00007f2f5b296c03 <+547>: callq 0x7f2f5b296600 <_aesni_encrypt6>
0x00007f2f5b296c08 <+552>: movups %xmm2,(%rsi)
0x00007f2f5b296c0b <+555>: movups %xmm3,0x10(%rsi)
0x00007f2f5b296c0f <+559>: movups %xmm4,0x20(%rsi)
0x00007f2f5b296c13 <+563>: movups %xmm5,0x30(%rsi)
0x00007f2f5b296c17 <+567>: movups %xmm6,0x40(%rsi)
0x00007f2f5b296c1b <+571>: jmpq 0x7f2f5b296f34 <aesni_ecb_encrypt+1364>
0x00007f2f5b296c20 <+576>: callq 0x7f2f5b296600 <_aesni_encrypt6>
0x00007f2f5b296c25 <+581>: movups %xmm2,(%rsi)
0x00007f2f5b296c28 <+584>: movups %xmm3,0x10(%rsi)
0x00007f2f5b296c2c <+588>: movups %xmm4,0x20(%rsi)
0x00007f2f5b296c30 <+592>: movups %xmm5,0x30(%rsi)
0x00007f2f5b296c34 <+596>: movups %xmm6,0x40(%rsi)
0x00007f2f5b296c38 <+600>: movups %xmm7,0x50(%rsi)
0x00007f2f5b296c3c <+604>: jmpq 0x7f2f5b296f34 <aesni_ecb_encrypt+1364>
0x00007f2f5b296c41 <+609>: nopl 0x0(%rax,%rax,1)
0x00007f2f5b296c46 <+614>: nopw %cs:0x0(%rax,%rax,1)
0x00007f2f5b296c50 <+624>: cmp $0x80,%rdx
0x00007f2f5b296c57 <+631>: jb 0x7f2f5b296d6d <aesni_ecb_encrypt+909>
0x00007f2f5b296c5d <+637>: movdqu (%rdi),%xmm2
0x00007f2f5b296c61 <+641>: movdqu 0x10(%rdi),%xmm3
0x00007f2f5b296c66 <+646>: movdqu 0x20(%rdi),%xmm4
0x00007f2f5b296c6b <+651>: movdqu 0x30(%rdi),%xmm5
0x00007f2f5b296c70 <+656>: movdqu 0x40(%rdi),%xmm6
0x00007f2f5b296c75 <+661>: movdqu 0x50(%rdi),%xmm7
0x00007f2f5b296c7a <+666>: movdqu 0x60(%rdi),%xmm8
0x00007f2f5b296c80 <+672>: movdqu 0x70(%rdi),%xmm9
0x00007f2f5b296c86 <+678>: lea 0x80(%rdi),%rdi
0x00007f2f5b296c8d <+685>: sub $0x80,%rdx
0x00007f2f5b296c94 <+692>: jmp 0x7f2f5b296cfe <aesni_ecb_encrypt+798>
0x00007f2f5b296c96 <+694>: nopw %cs:0x0(%rax,%rax,1)
0x00007f2f5b296ca0 <+704>: movups %xmm2,(%rsi)
0x00007f2f5b296ca3 <+707>: mov %r11,%rcx
0x00007f2f5b296ca6 <+710>: movdqu (%rdi),%xmm2
0x00007f2f5b296caa <+714>: mov %r10d,%eax
0x00007f2f5b296cad <+717>: movups %xmm3,0x10(%rsi)
0x00007f2f5b296cb1 <+721>: movdqu 0x10(%rdi),%xmm3
0x00007f2f5b296cb6 <+726>: movups %xmm4,0x20(%rsi)
0x00007f2f5b296cba <+730>: movdqu 0x20(%rdi),%xmm4
0x00007f2f5b296cbf <+735>: movups %xmm5,0x30(%rsi)
0x00007f2f5b296cc3 <+739>: movdqu 0x30(%rdi),%xmm5
0x00007f2f5b296cc8 <+744>: movups %xmm6,0x40(%rsi)
0x00007f2f5b296ccc <+748>: movdqu 0x40(%rdi),%xmm6
0x00007f2f5b296cd1 <+753>: movups %xmm7,0x50(%rsi)
0x00007f2f5b296cd5 <+757>: movdqu 0x50(%rdi),%xmm7
0x00007f2f5b296cda <+762>: movups %xmm8,0x60(%rsi)
0x00007f2f5b296cdf <+767>: movdqu 0x60(%rdi),%xmm8
0x00007f2f5b296ce5 <+773>: movups %xmm9,0x70(%rsi)
0x00007f2f5b296cea <+778>: lea 0x80(%rsi),%rsi
0x00007f2f5b296cf1 <+785>: movdqu 0x70(%rdi),%xmm9
0x00007f2f5b296cf7 <+791>: lea 0x80(%rdi),%rdi
0x00007f2f5b296cfe <+798>: callq 0x7f2f5b2968d0 <_aesni_decrypt8>
0x00007f2f5b296d03 <+803>: movups (%r11),%xmm0
0x00007f2f5b296d07 <+807>: sub $0x80,%rdx
0x00007f2f5b296d0e <+814>: jae 0x7f2f5b296ca0 <aesni_ecb_encrypt+704>
0x00007f2f5b296d10 <+816>: movups %xmm2,(%rsi)
0x00007f2f5b296d13 <+819>: pxor %xmm2,%xmm2
0x00007f2f5b296d17 <+823>: mov %r11,%rcx
0x00007f2f5b296d1a <+826>: movups %xmm3,0x10(%rsi)
0x00007f2f5b296d1e <+830>: pxor %xmm3,%xmm3
0x00007f2f5b296d22 <+834>: mov %r10d,%eax
0x00007f2f5b296d25 <+837>: movups %xmm4,0x20(%rsi)
0x00007f2f5b296d29 <+841>: pxor %xmm4,%xmm4
0x00007f2f5b296d2d <+845>: movups %xmm5,0x30(%rsi)
0x00007f2f5b296d31 <+849>: pxor %xmm5,%xmm5
0x00007f2f5b296d35 <+853>: movups %xmm6,0x40(%rsi)
0x00007f2f5b296d39 <+857>: pxor %xmm6,%xmm6
0x00007f2f5b296d3d <+861>: movups %xmm7,0x50(%rsi)
0x00007f2f5b296d41 <+865>: pxor %xmm7,%xmm7
0x00007f2f5b296d45 <+869>: movups %xmm8,0x60(%rsi)
0x00007f2f5b296d4a <+874>: pxor %xmm8,%xmm8
0x00007f2f5b296d4f <+879>: movups %xmm9,0x70(%rsi)
0x00007f2f5b296d54 <+884>: pxor %xmm9,%xmm9
0x00007f2f5b296d59 <+889>: lea 0x80(%rsi),%rsi
0x00007f2f5b296d60 <+896>: add $0x80,%rdx
0x00007f2f5b296d67 <+903>: je 0x7f2f5b296f34 <aesni_ecb_encrypt+1364>
0x00007f2f5b296d6d <+909>: movups (%rdi),%xmm2
0x00007f2f5b296d70 <+912>: cmp $0x20,%rdx
0x00007f2f5b296d74 <+916>: jb 0x7f2f5b296e10 <aesni_ecb_encrypt+1072>
0x00007f2f5b296d7a <+922>: movups 0x10(%rdi),%xmm3
0x00007f2f5b296d7e <+926>: je 0x7f2f5b296e40 <aesni_ecb_encrypt+1120>
0x00007f2f5b296d84 <+932>: movups 0x20(%rdi),%xmm4
0x00007f2f5b296d88 <+936>: cmp $0x40,%rdx
0x00007f2f5b296d8c <+940>: jb 0x7f2f5b296e60 <aesni_ecb_encrypt+1152>
0x00007f2f5b296d92 <+946>: movups 0x30(%rdi),%xmm5
0x00007f2f5b296d96 <+950>: je 0x7f2f5b296e90 <aesni_ecb_encrypt+1200>
0x00007f2f5b296d9c <+956>: movups 0x40(%rdi),%xmm6
0x00007f2f5b296da0 <+960>: cmp $0x60,%rdx
0x00007f2f5b296da4 <+964>: jb 0x7f2f5b296ec0 <aesni_ecb_encrypt+1248>
0x00007f2f5b296daa <+970>: movups 0x50(%rdi),%xmm7
0x00007f2f5b296dae <+974>: je 0x7f2f5b296f00 <aesni_ecb_encrypt+1312>
0x00007f2f5b296db4 <+980>: movups 0x60(%rdi),%xmm8
0x00007f2f5b296db9 <+985>: movups (%rcx),%xmm0
0x00007f2f5b296dbc <+988>: xorps %xmm9,%xmm9
0x00007f2f5b296dc0 <+992>: callq 0x7f2f5b2968d0 <_aesni_decrypt8>
0x00007f2f5b296dc5 <+997>: movups %xmm2,(%rsi)
0x00007f2f5b296dc8 <+1000>: pxor %xmm2,%xmm2
0x00007f2f5b296dcc <+1004>: movups %xmm3,0x10(%rsi)
0x00007f2f5b296dd0 <+1008>: pxor %xmm3,%xmm3
0x00007f2f5b296dd4 <+1012>: movups %xmm4,0x20(%rsi)
0x00007f2f5b296dd8 <+1016>: pxor %xmm4,%xmm4
0x00007f2f5b296ddc <+1020>: movups %xmm5,0x30(%rsi)
0x00007f2f5b296de0 <+1024>: pxor %xmm5,%xmm5
0x00007f2f5b296de4 <+1028>: movups %xmm6,0x40(%rsi)
0x00007f2f5b296de8 <+1032>: pxor %xmm6,%xmm6
0x00007f2f5b296dec <+1036>: movups %xmm7,0x50(%rsi)
0x00007f2f5b296df0 <+1040>: pxor %xmm7,%xmm7
0x00007f2f5b296df4 <+1044>: movups %xmm8,0x60(%rsi)
0x00007f2f5b296df9 <+1049>: pxor %xmm8,%xmm8
0x00007f2f5b296dfe <+1054>: pxor %xmm9,%xmm9
0x00007f2f5b296e03 <+1059>: jmpq 0x7f2f5b296f34 <aesni_ecb_encrypt+1364>
0x00007f2f5b296e08 <+1064>: nopl 0x0(%rax,%rax,1)
0x00007f2f5b296e10 <+1072>: movups (%rcx),%xmm0
0x00007f2f5b296e13 <+1075>: movups 0x10(%rcx),%xmm1
0x00007f2f5b296e17 <+1079>: lea 0x20(%rcx),%rcx
0x00007f2f5b296e1b <+1083>: xorps %xmm0,%xmm2
0x00007f2f5b296e1e <+1086>: aesdec %xmm1,%xmm2
0x00007f2f5b296e23 <+1091>: dec %eax
0x00007f2f5b296e25 <+1093>: movups (%rcx),%xmm1
0x00007f2f5b296e28 <+1096>: lea 0x10(%rcx),%rcx
0x00007f2f5b296e2c <+1100>: jne 0x7f2f5b296e1e <aesni_ecb_encrypt+1086>
0x00007f2f5b296e2e <+1102>: aesdeclast %xmm1,%xmm2
0x00007f2f5b296e33 <+1107>: movups %xmm2,(%rsi)
0x00007f2f5b296e36 <+1110>: pxor %xmm2,%xmm2
0x00007f2f5b296e3a <+1114>: jmpq 0x7f2f5b296f34 <aesni_ecb_encrypt+1364>
0x00007f2f5b296e3f <+1119>: nop
0x00007f2f5b296e40 <+1120>: callq 0x7f2f5b2963a0 <_aesni_decrypt2>
0x00007f2f5b296e45 <+1125>: movups %xmm2,(%rsi)
0x00007f2f5b296e48 <+1128>: pxor %xmm2,%xmm2
0x00007f2f5b296e4c <+1132>: movups %xmm3,0x10(%rsi)
0x00007f2f5b296e50 <+1136>: pxor %xmm3,%xmm3
0x00007f2f5b296e54 <+1140>: jmpq 0x7f2f5b296f34 <aesni_ecb_encrypt+1364>
0x00007f2f5b296e59 <+1145>: nopl 0x0(%rax)
0x00007f2f5b296e60 <+1152>: callq 0x7f2f5b296470 <_aesni_decrypt3>
0x00007f2f5b296e65 <+1157>: movups %xmm2,(%rsi)
0x00007f2f5b296e68 <+1160>: pxor %xmm2,%xmm2
0x00007f2f5b296e6c <+1164>: movups %xmm3,0x10(%rsi)
0x00007f2f5b296e70 <+1168>: pxor %xmm3,%xmm3
0x00007f2f5b296e74 <+1172>: movups %xmm4,0x20(%rsi)
0x00007f2f5b296e78 <+1176>: pxor %xmm4,%xmm4
0x00007f2f5b296e7c <+1180>: jmpq 0x7f2f5b296f34 <aesni_ecb_encrypt+1364>
0x00007f2f5b296e81 <+1185>: nopl 0x0(%rax,%rax,1)
0x00007f2f5b296e86 <+1190>: nopw %cs:0x0(%rax,%rax,1)
0x00007f2f5b296e90 <+1200>: callq 0x7f2f5b296570 <_aesni_decrypt4>
0x00007f2f5b296e95 <+1205>: movups %xmm2,(%rsi)
0x00007f2f5b296e98 <+1208>: pxor %xmm2,%xmm2
0x00007f2f5b296e9c <+1212>: movups %xmm3,0x10(%rsi)
0x00007f2f5b296ea0 <+1216>: pxor %xmm3,%xmm3
0x00007f2f5b296ea4 <+1220>: movups %xmm4,0x20(%rsi)
0x00007f2f5b296ea8 <+1224>: pxor %xmm4,%xmm4
0x00007f2f5b296eac <+1228>: movups %xmm5,0x30(%rsi)
0x00007f2f5b296eb0 <+1232>: pxor %xmm5,%xmm5
0x00007f2f5b296eb4 <+1236>: jmp 0x7f2f5b296f34 <aesni_ecb_encrypt+1364>
0x00007f2f5b296eb6 <+1238>: nopw %cs:0x0(%rax,%rax,1)
0x00007f2f5b296ec0 <+1248>: xorps %xmm7,%xmm7
0x00007f2f5b296ec3 <+1251>: callq 0x7f2f5b2966e0 <_aesni_decrypt6>
0x00007f2f5b296ec8 <+1256>: movups %xmm2,(%rsi)
0x00007f2f5b296ecb <+1259>: pxor %xmm2,%xmm2
0x00007f2f5b296ecf <+1263>: movups %xmm3,0x10(%rsi)
0x00007f2f5b296ed3 <+1267>: pxor %xmm3,%xmm3
0x00007f2f5b296ed7 <+1271>: movups %xmm4,0x20(%rsi)
0x00007f2f5b296edb <+1275>: pxor %xmm4,%xmm4
0x00007f2f5b296edf <+1279>: movups %xmm5,0x30(%rsi)
0x00007f2f5b296ee3 <+1283>: pxor %xmm5,%xmm5
0x00007f2f5b296ee7 <+1287>: movups %xmm6,0x40(%rsi)
0x00007f2f5b296eeb <+1291>: pxor %xmm6,%xmm6
0x00007f2f5b296eef <+1295>: pxor %xmm7,%xmm7
0x00007f2f5b296ef3 <+1299>: jmp 0x7f2f5b296f34 <aesni_ecb_encrypt+1364>
0x00007f2f5b296ef5 <+1301>: nop
0x00007f2f5b296ef6 <+1302>: nopw %cs:0x0(%rax,%rax,1)
0x00007f2f5b296f00 <+1312>: callq 0x7f2f5b2966e0 <_aesni_decrypt6>
0x00007f2f5b296f05 <+1317>: movups %xmm2,(%rsi)
0x00007f2f5b296f08 <+1320>: pxor %xmm2,%xmm2
0x00007f2f5b296f0c <+1324>: movups %xmm3,0x10(%rsi)
0x00007f2f5b296f10 <+1328>: pxor %xmm3,%xmm3
0x00007f2f5b296f14 <+1332>: movups %xmm4,0x20(%rsi)
0x00007f2f5b296f18 <+1336>: pxor %xmm4,%xmm4
0x00007f2f5b296f1c <+1340>: movups %xmm5,0x30(%rsi)
0x00007f2f5b296f20 <+1344>: pxor %xmm5,%xmm5
0x00007f2f5b296f24 <+1348>: movups %xmm6,0x40(%rsi)
0x00007f2f5b296f28 <+1352>: pxor %xmm6,%xmm6
0x00007f2f5b296f2c <+1356>: movups %xmm7,0x50(%rsi)
0x00007f2f5b296f30 <+1360>: pxor %xmm7,%xmm7
0x00007f2f5b296f34 <+1364>: xorps %xmm0,%xmm0
0x00007f2f5b296f37 <+1367>: pxor %xmm1,%xmm1
0x00007f2f5b296f3b <+1371>: repz retq
End of assembler dump.
```
```
(gdb) i r
rax 0xfc0307d2 4228057042
rbx 0x1 1
rcx 0x7f2f4f715000 139841173016576
rdx 0x10 16
rsi 0x7f2f0fa1cf68 139840102453096
rdi 0x7f2f0fa1cf68 139840102453096
rbp 0x7ffd614afc60 0x7ffd614afc60
rsp 0x7ffd614afc18 0x7ffd614afc18
r8 0x1 1
r9 0x0 0
r10 0x0 0
r11 0x7f2f0fa1cd10 139840102452496
r12 0x0 0
r13 0x1 1
r14 0x7f2f5be6c98c 139841382041996
r15 0x7ffd614b0a88 140726235761288
rip 0x7f2f5b296b85 0x7f2f5b296b85 <aesni_ecb_encrypt+421>
eflags 0x10287 [ CF PF SF IF RF ]
cs 0x33 51
ss 0x2b 43
ds 0x0 0
es 0x0 0
fs 0x0 0
gs 0x0 0
```
--
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/1860#issuecomment-484209705
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20190417/4dc3a92d/attachment-0001.html>
More information about the sr-dev
mailing list