{"action":"created","issue":{"url":"https://api.github.com/repos/CESNET/netopeer/issues/168","repository_url":"https://api.github.com/repos/CESNET/netopeer","labels_url":"https://api.github.com/repos/CESNET/netopeer/issues/168/labels{/name}","comments_url":"https://api.github.com/repos/CESNET/netopeer/issues/168/comments","events_url":"https://api.github.com/repos/CESNET/netopeer/issues/168/events","html_url":"https://github.com/CESNET/netopeer/issues/168","id":308934494,"number":168,"title":"Netopeer2-server crashing while making connection with cli","user":{"login":"Ravi-t","id":27767393,"avatar_url":"https://avatars3.githubusercontent.com/u/27767393?v=4","gravatar_id":"","url":"https://api.github.com/users/Ravi-t","html_url":"https://github.com/Ravi-t","followers_url":"https://api.github.com/users/Ravi-t/followers","following_url":"https://api.github.com/users/Ravi-t/following{/other_user}","gists_url":"https://api.github.com/users/Ravi-t/gists{/gist_id}","starred_url":"https://api.github.com/users/Ravi-t/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ravi-t/subscriptions","organizations_url":"https://api.github.com/users/Ravi-t/orgs","repos_url":"https://api.github.com/users/Ravi-t/repos","events_url":"https://api.github.com/users/Ravi-t/events{/privacy}","received_events_url":"https://api.github.com/users/Ravi-t/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-03-27T11:46:42Z","updated_at":"2018-03-27T12:09:26Z","closed_at":null,"author_association":"NONE","body":"As soon as I trigger connect from CLI, the server crashes in function pki_import_pubkey_buffer.\r\nI have pasted the backtrace below, please help in resolving the issue.\r\n\r\n[root@localhost build]# gdb /usr/local/bin/netopeer2-server \r\nReading symbols from /usr/local/bin/netopeer2-server...done.\r\n(gdb) r -d\r\nStarting program: /usr/local/bin/netopeer2-server -d\r\n[Thread debugging using libthread_db enabled]\r\nUsing host libthread_db library \"/lib64/libthread_db.so.1\".\r\n[New Thread 0x7ffff3bbf700 (LWP 27500)]\r\n[New Thread 0x7ffff2fb9700 (LWP 27501)]\r\n[New Thread 0x7ffff27b8700 (LWP 27502)]\r\n[New Thread 0x7ffff1fb7700 (LWP 27503)]\r\n[New Thread 0x7ffff17b6700 (LWP 27504)]\r\n\r\nProgram received signal SIGSEGV, Segmentation fault.\r\n[Switching to Thread 0x7ffff17b6700 (LWP 27504)]\r\n0x00007ffff5e25ca8 in pki_import_pubkey_buffer () from /usr/local/lib/libssh.so.4\r\nMissing separate debuginfos, use: debuginfo-install libev-4.15-7.el7.x86_64\r\n(gdb) bt\r\n#0  0x00007ffff5e25ca8 in pki_import_pubkey_buffer () from /usr/local/lib/libssh.so.4\r\n#1  0x00007ffff5e2602e in ssh_pki_import_pubkey_blob () from /usr/local/lib/libssh.so.4\r\n#2  0x00007ffff5e128bc in ssh_dh_import_pubkey_blob () from /usr/local/lib/libssh.so.4\r\n#3  0x00007ffff5e46d43 in ssh_get_key_params () from /usr/local/lib/libssh.so.4\r\n#4  0x00007ffff5e120f6 in ssh_server_curve25519_init () from /usr/local/lib/libssh.so.4\r\n#5  0x00007ffff5e46bb9 in ssh_packet_kexdh_init () from /usr/local/lib/libssh.so.4\r\n#6  0x00007ffff5e22acd in ssh_packet_process () from /usr/local/lib/libssh.so.4\r\n#7  0x00007ffff5e22602 in ssh_packet_socket_callback () from /usr/local/lib/libssh.so.4\r\n#8  0x00007ffff5e2e608 in ssh_socket_pollcallback () from /usr/local/lib/libssh.so.4\r\n#9  0x00007ffff5e2a3db in ssh_poll_ctx_dopoll () from /usr/local/lib/libssh.so.4\r\n#10 0x00007ffff5e2bb77 in ssh_handle_packets () from /usr/local/lib/libssh.so.4\r\n#11 0x00007ffff5e2bc4a in ssh_handle_packets_termination () from /usr/local/lib/libssh.so.4\r\n#12 0x00007ffff5e47a1b in ssh_handle_key_exchange () from /usr/local/lib/libssh.so.4\r\n#13 0x00007ffff76901f9 in nc_accept_ssh_session (session=0x7fffe00008e0, sock=13, timeout=10000)\r\n    at /root/NETCONF/libnetconf2/src/session_server_ssh.c:1406\r\n#14 0x00007ffff7685dc0 in nc_accept (timeout=0, session=0x7ffff17b5138)\r\n    at /root/NETCONF/libnetconf2/src/session_server.c:1916\r\n#15 0x00000000\r\n"},"comment":{"url":"https://api.github.com/repos/CESNET/netopeer/issues/comments/376501396","html_url":"https://github.com/CESNET/netopeer/issues/168#issuecomment-376501396","issue_url":"https://api.github.com/repos/CESNET/netopeer/issues/168","id":376501396,"user":{"login":"michalvasko","id":12510224,"avatar_url":"https://avatars3.githubusercontent.com/u/12510224?v=4","gravatar_id":"","url":"https://api.github.com/users/michalvasko","html_url":"https://github.com/michalvasko","followers_url":"https://api.github.com/users/michalvasko/followers","following_url":"https://api.github.com/users/michalvasko/following{/other_user}","gists_url":"https://api.github.com/users/michalvasko/gists{/gist_id}","starred_url":"https://api.github.com/users/michalvasko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michalvasko/subscriptions","organizations_url":"https://api.github.com/users/michalvasko/orgs","repos_url":"https://api.github.com/users/michalvasko/repos","events_url":"https://api.github.com/users/michalvasko/events{/privacy}","received_events_url":"https://api.github.com/users/michalvasko/received_events","type":"User","site_admin":false},"created_at":"2018-03-27T12:09:26Z","updated_at":"2018-03-27T12:09:26Z","author_association":"CONTRIBUTOR","body":"Hi Ravi,\r\nthose are fairly old but I do not think this can be caused by something else. I would suggest updating *libssh* to `0.7.5` if you can.\r\n\r\nRegards,\r\nMichal"}}
{"actor":{"display_login":"michalvasko"}}