Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Netopeer2-server crash with 2.2.28 with TLS configuration #1686

Open
srikanthsubbaramu opened this issue Dec 24, 2024 · 0 comments
Open

Netopeer2-server crash with 2.2.28 with TLS configuration #1686

srikanthsubbaramu opened this issue Dec 24, 2024 · 0 comments

Comments

@srikanthsubbaramu
Copy link

Hi Michal,
we have observed a netopeer2-server crash during tls call home, we wanted to know if this issue is ever seen or encountered, the backtrace points to strcmp_avx on certificate verification in libnetconf tls calls, Attached netopeer2 core and tls_certs used to configure the server.

BT:
warning: Unexpected size of section .reg-xstate/379' in core file. [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". Core was generated by netopeer2-server -d -v 2 -t 20 -x /usr/local/bin/scripts/mount-schema.xml'.
Program terminated with signal SIGSEGV, Segmentation fault.

warning: Unexpected size of section `.reg-xstate/379' in core file.
#0 0x00007febfda0080b in __strcmp_avx2 () from /lib64/libc.so.6
[Current thread is 1 (Thread 0x7febf67a1700 (LWP 379))]
Missing separate debuginfos, use: yum debuginfo-install netopeer2-gcc-x86-64-rocky8.10-release-prod-0.0.4_main-2.2.28.x86_64
(gdb) bt
#0 0x00007febfda0080b in __strcmp_avx2 () from /lib64/libc.so.6
#1 0x00007febfe860112 in nc_server_tls_ks_ref_get_cert_key () from /usr/local/lib64/libnetconf2.so.4
#2 0x00007febfe861cdc in nc_server_tls_load_server_cert_key () from /usr/local/lib64/libnetconf2.so.4
#3 0x00007febfe86274c in nc_accept_tls_session () from /usr/local/lib64/libnetconf2.so.4
#4 0x00007febfe841359 in nc_connect_ch_endpt () from /usr/local/lib64/libnetconf2.so.4
#5 0x00007febfe841af2 in nc_ch_client_thread () from /usr/local/lib64/libnetconf2.so.4
#6 0x00007febfe3721ca in start_thread () from /lib64/libpthread.so.0
#7 0x00007febfd98f8d3 in clone () from /lib64/libc.so.6
(gdb) quit
tls_certs.zip
core.netopeer2-serve.0.be4dc4a67cf843b685cb16e6f59b8d15.944209.zip

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant