{"action":"created","issue":{"url":"https://api.github.com/repos/Vector35/binaryninja-api/issues/897","repository_url":"https://api.github.com/repos/Vector35/binaryninja-api","labels_url":"https://api.github.com/repos/Vector35/binaryninja-api/issues/897/labels{/name}","comments_url":"https://api.github.com/repos/Vector35/binaryninja-api/issues/897/comments","events_url":"https://api.github.com/repos/Vector35/binaryninja-api/issues/897/events","html_url":"https://github.com/Vector35/binaryninja-api/issues/897","id":287493933,"node_id":"MDU6SXNzdWUyODc0OTM5MzM=","number":897,"title":"Crash due to libssl ABI mismatch with system Python","user":{"login":"whitequark","id":54771,"node_id":"MDQ6VXNlcjU0Nzcx","avatar_url":"https://avatars1.githubusercontent.com/u/54771?v=4","gravatar_id":"","url":"https://api.github.com/users/whitequark","html_url":"https://github.com/whitequark","followers_url":"https://api.github.com/users/whitequark/followers","following_url":"https://api.github.com/users/whitequark/following{/other_user}","gists_url":"https://api.github.com/users/whitequark/gists{/gist_id}","starred_url":"https://api.github.com/users/whitequark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whitequark/subscriptions","organizations_url":"https://api.github.com/users/whitequark/orgs","repos_url":"https://api.github.com/users/whitequark/repos","events_url":"https://api.github.com/users/whitequark/events{/privacy}","received_events_url":"https://api.github.com/users/whitequark/received_events","type":"User","site_admin":false},"labels":[{"id":280277926,"node_id":"MDU6TGFiZWwyODAyNzc5MjY=","url":"https://api.github.com/repos/Vector35/binaryninja-api/labels/bug","name":"bug","color":"fc2929","default":true},{"id":802287711,"node_id":"MDU6TGFiZWw4MDIyODc3MTE=","url":"https://api.github.com/repos/Vector35/binaryninja-api/labels/crash","name":"crash","color":"b60205","default":false}],"state":"closed","locked":false,"assignee":{"login":"bpotchik","id":29309548,"node_id":"MDQ6VXNlcjI5MzA5NTQ4","avatar_url":"https://avatars2.githubusercontent.com/u/29309548?v=4","gravatar_id":"","url":"https://api.github.com/users/bpotchik","html_url":"https://github.com/bpotchik","followers_url":"https://api.github.com/users/bpotchik/followers","following_url":"https://api.github.com/users/bpotchik/following{/other_user}","gists_url":"https://api.github.com/users/bpotchik/gists{/gist_id}","starred_url":"https://api.github.com/users/bpotchik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bpotchik/subscriptions","organizations_url":"https://api.github.com/users/bpotchik/orgs","repos_url":"https://api.github.com/users/bpotchik/repos","events_url":"https://api.github.com/users/bpotchik/events{/privacy}","received_events_url":"https://api.github.com/users/bpotchik/received_events","type":"User","site_admin":false},"assignees":[{"login":"bpotchik","id":29309548,"node_id":"MDQ6VXNlcjI5MzA5NTQ4","avatar_url":"https://avatars2.githubusercontent.com/u/29309548?v=4","gravatar_id":"","url":"https://api.github.com/users/bpotchik","html_url":"https://github.com/bpotchik","followers_url":"https://api.github.com/users/bpotchik/followers","following_url":"https://api.github.com/users/bpotchik/following{/other_user}","gists_url":"https://api.github.com/users/bpotchik/gists{/gist_id}","starred_url":"https://api.github.com/users/bpotchik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bpotchik/subscriptions","organizations_url":"https://api.github.com/users/bpotchik/orgs","repos_url":"https://api.github.com/users/bpotchik/repos","events_url":"https://api.github.com/users/bpotchik/events{/privacy}","received_events_url":"https://api.github.com/users/bpotchik/received_events","type":"User","site_admin":false},{"login":"rssor","id":34997787,"node_id":"MDQ6VXNlcjM0OTk3Nzg3","avatar_url":"https://avatars1.githubusercontent.com/u/34997787?v=4","gravatar_id":"","url":"https://api.github.com/users/rssor","html_url":"https://github.com/rssor","followers_url":"https://api.github.com/users/rssor/followers","following_url":"https://api.github.com/users/rssor/following{/other_user}","gists_url":"https://api.github.com/users/rssor/gists{/gist_id}","starred_url":"https://api.github.com/users/rssor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rssor/subscriptions","organizations_url":"https://api.github.com/users/rssor/orgs","repos_url":"https://api.github.com/users/rssor/repos","events_url":"https://api.github.com/users/rssor/events{/privacy}","received_events_url":"https://api.github.com/users/rssor/received_events","type":"User","site_admin":false}],"milestone":null,"comments":6,"created_at":"2018-01-10T16:23:07Z","updated_at":"2018-06-24T21:46:35Z","closed_at":"2018-06-24T21:46:35Z","author_association":"NONE","body":"Binary Ninja Version: 1.1.1036 Personal, f4d633bc\r\nPlatform: Debian GNU/Linux 9 (stretch)\r\n\r\nTo reproduce, e.g. `import cgi` in a plugin. This results in a crash:\r\n```\r\n#1  0x00007fffef3fb195 in lh_insert () from /home/whitequark/Applications/binaryninja/libcrypto.so.1.0.2\r\n#2  0x00007fffef3471f1 in OBJ_NAME_add () from /home/whitequark/Applications/binaryninja/libcrypto.so.1.0.2\r\n#3  0x00007fffe0626a3c in ?? () from /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1\r\n#4  0x00007fffe063e0d9 in ?? () from /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1\r\n#5  0x00007ffff403c1d7 in __pthread_once_slow (once_control=0x7fffe096731c, init_routine=0x7fffe063e0d0) at pthread_once.c:116\r\n#6  0x00007fffe0693f59 in CRYPTO_THREAD_run_once () from /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1\r\n#7  0x00007fffe063e533 in OPENSSL_init_crypto () from /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1\r\n#8  0x00007fffe0995bd4 in OPENSSL_init_ssl () from /usr/lib/x86_64-linux-gnu/libssl.so.1.1\r\n#9  0x00007fffe0bdeead in init_ssl () from /usr/lib/python2.7/lib-dynload/_ssl.x86_64-linux-gnu.so\r\n#10 0x00007fffe19eef7c in _PyImport_LoadDynamicModule () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1\r\n[snip]\r\n#112 0x00007fffe19f1d0a in PyImport_ImportModule () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1\r\n#113 0x00007fffe47e1760 in CorePluginInit () from /home/whitequark/Applications/binaryninja/plugins/libpythonplugin.so\r\n#114 0x00007ffff622c0f5 in ?? () from /home/whitequark/Applications/binaryninja/libbinaryninjacore.so.1\r\n#115 0x00007ffff622e36a in BNInitCorePlugins () from /home/whitequark/Applications/binaryninja/libbinaryninjacore.so.1\r\n#116 0x0000000000439835 in main ()\r\n```\r\nThe workaround is to simply `rm libssl.so.1.0.2 libcrypto.1.0.2`, which results in the system version being used:\r\n```\r\n$ ldd ./binaryninja\r\n[...]\r\n        libssl.so.1.0.2 => /usr/lib/x86_64-linux-gnu/libssl.so.1.0.2 (0x00007fbabd9bf000)\r\n        libcrypto.so.1.0.2 => /usr/lib/x86_64-linux-gnu/libcrypto.so.1.0.2 (0x00007fbabd55b000)\r\n[...]\r\n```"},"comment":{"url":"https://api.github.com/repos/Vector35/binaryninja-api/issues/comments/399789998","html_url":"https://github.com/Vector35/binaryninja-api/issues/897#issuecomment-399789998","issue_url":"https://api.github.com/repos/Vector35/binaryninja-api/issues/897","id":399789998,"node_id":"MDEyOklzc3VlQ29tbWVudDM5OTc4OTk5OA==","user":{"login":"whitequark","id":54771,"node_id":"MDQ6VXNlcjU0Nzcx","avatar_url":"https://avatars1.githubusercontent.com/u/54771?v=4","gravatar_id":"","url":"https://api.github.com/users/whitequark","html_url":"https://github.com/whitequark","followers_url":"https://api.github.com/users/whitequark/followers","following_url":"https://api.github.com/users/whitequark/following{/other_user}","gists_url":"https://api.github.com/users/whitequark/gists{/gist_id}","starred_url":"https://api.github.com/users/whitequark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whitequark/subscriptions","organizations_url":"https://api.github.com/users/whitequark/orgs","repos_url":"https://api.github.com/users/whitequark/repos","events_url":"https://api.github.com/users/whitequark/events{/privacy}","received_events_url":"https://api.github.com/users/whitequark/received_events","type":"User","site_admin":false},"created_at":"2018-06-24T21:46:35Z","updated_at":"2018-06-24T21:46:35Z","author_association":"NONE","body":"Ayup, that worked! Thanks for the tip."}}
{"actor":{"display_login":"whitequark"}}