{"action":"closed","issue":{"url":"https://api.github.com/repos/tox-rs/tox/issues/76","repository_url":"https://api.github.com/repos/tox-rs/tox","labels_url":"https://api.github.com/repos/tox-rs/tox/issues/76/labels{/name}","comments_url":"https://api.github.com/repos/tox-rs/tox/issues/76/comments","events_url":"https://api.github.com/repos/tox-rs/tox/issues/76/events","html_url":"https://github.com/tox-rs/tox/issues/76","id":310235151,"number":76,"title":"Lan Discovery segfault","user":{"login":"kpp","id":467709,"avatar_url":"https://avatars1.githubusercontent.com/u/467709?v=4","gravatar_id":"","url":"https://api.github.com/users/kpp","html_url":"https://github.com/kpp","followers_url":"https://api.github.com/users/kpp/followers","following_url":"https://api.github.com/users/kpp/following{/other_user}","gists_url":"https://api.github.com/users/kpp/gists{/gist_id}","starred_url":"https://api.github.com/users/kpp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kpp/subscriptions","organizations_url":"https://api.github.com/users/kpp/orgs","repos_url":"https://api.github.com/users/kpp/repos","events_url":"https://api.github.com/users/kpp/events{/privacy}","received_events_url":"https://api.github.com/users/kpp/received_events","type":"User","site_admin":false},"labels":[{"id":815302973,"url":"https://api.github.com/repos/tox-rs/tox/labels/bug","name":"bug","color":"d73a4a","default":true}],"state":"closed","locked":false,"assignee":{"login":"NamsooCho","id":10192129,"avatar_url":"https://avatars1.githubusercontent.com/u/10192129?v=4","gravatar_id":"","url":"https://api.github.com/users/NamsooCho","html_url":"https://github.com/NamsooCho","followers_url":"https://api.github.com/users/NamsooCho/followers","following_url":"https://api.github.com/users/NamsooCho/following{/other_user}","gists_url":"https://api.github.com/users/NamsooCho/gists{/gist_id}","starred_url":"https://api.github.com/users/NamsooCho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NamsooCho/subscriptions","organizations_url":"https://api.github.com/users/NamsooCho/orgs","repos_url":"https://api.github.com/users/NamsooCho/repos","events_url":"https://api.github.com/users/NamsooCho/events{/privacy}","received_events_url":"https://api.github.com/users/NamsooCho/received_events","type":"User","site_admin":false},"assignees":[{"login":"NamsooCho","id":10192129,"avatar_url":"https://avatars1.githubusercontent.com/u/10192129?v=4","gravatar_id":"","url":"https://api.github.com/users/NamsooCho","html_url":"https://github.com/NamsooCho","followers_url":"https://api.github.com/users/NamsooCho/followers","following_url":"https://api.github.com/users/NamsooCho/following{/other_user}","gists_url":"https://api.github.com/users/NamsooCho/gists{/gist_id}","starred_url":"https://api.github.com/users/NamsooCho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NamsooCho/subscriptions","organizations_url":"https://api.github.com/users/NamsooCho/orgs","repos_url":"https://api.github.com/users/NamsooCho/repos","events_url":"https://api.github.com/users/NamsooCho/events{/privacy}","received_events_url":"https://api.github.com/users/NamsooCho/received_events","type":"User","site_admin":false}],"milestone":null,"comments":4,"created_at":"2018-03-31T11:49:42Z","updated_at":"2018-04-01T09:38:50Z","closed_at":"2018-04-01T09:38:50Z","author_association":"OWNER","body":"When running `$ cargo run --example dht_node`\r\n\r\n```\r\nStarting program: /home/humbug/zetox/target/debug/examples/dht_node \r\n[Thread debugging using libthread_db enabled]\r\nUsing host libthread_db library \"/lib/x86_64-linux-gnu/libthread_db.so.1\".\r\n[New Thread 0x7ffff69ff700 (LWP 25611)]\r\n[New Thread 0x7ffff63ff700 (LWP 25612)]\r\n[New Thread 0x7ffff5dff700 (LWP 25613)]\r\n[New Thread 0x7ffff57ff700 (LWP 25614)]\r\nnat_wakeup\r\nrecv = DhtRequest(DhtRequest { rpk: PublicKey([15, 107, 126, 130, 81, 55, 154, 157, 192, 117, 0, 225, 119, 43, 48, 117, 84, 109, 112, 57, 243, 216, 4, 171, 185, 111, 33, 146, 221, 31, 77, 118]), spk: PublicKey([186, 227, 149, 99, 76, 17, 146, 164, 92, 0, 135, 84, 26, 241, 252, 149, 204, 231, 16, 144, 3, 178, 95, 170, 117, 146, 85, 171, 55, 236, 155, 123]), nonce: Nonce([125, 237, 186, 21, 65, 189, 85, 24, 226, 60, 155, 217, 29, 118, 253, 5, 234, 67, 113, 199, 74, 13, 217, 251]), payload: [231, 125, 48, 121, 172, 244, 85, 240, 54, 170, 147, 106, 183, 87, 71, 69, 128, 26, 136, 200, 225, 140, 143, 26, 216, 151] })\r\nnat_wakeup\r\nrecv = DhtRequest(DhtRequest { rpk: PublicKey([15, 107, 126, 130, 81, 55, 154, 157, 192, 117, 0, 225, 119, 43, 48, 117, 84, 109, 112, 57, 243, 216, 4, 171, 185, 111, 33, 146, 221, 31, 77, 118]), spk: PublicKey([186, 227, 149, 99, 76, 17, 146, 164, 92, 0, 135, 84, 26, 241, 252, 149, 204, 231, 16, 144, 3, 178, 95, 170, 117, 146, 85, 171, 55, 236, 155, 123]), nonce: Nonce([139, 241, 179, 179, 95, 133, 79, 59, 229, 252, 46, 221, 122, 137, 147, 157, 216, 65, 94, 219, 204, 64, 143, 160]), payload: [215, 123, 23, 74, 183, 63, 237, 66, 78, 129, 78, 192, 192, 112, 250, 21, 104, 197, 20, 103, 168, 32, 50, 159, 139, 255] })\r\nnat_wakeup\r\nrecv = DhtRequest(DhtRequest { rpk: PublicKey([15, 107, 126, 130, 81, 55, 154, 157, 192, 117, 0, 225, 119, 43, 48, 117, 84, 109, 112, 57, 243, 216, 4, 171, 185, 111, 33, 146, 221, 31, 77, 118]), spk: PublicKey([186, 227, 149, 99, 76, 17, 146, 164, 92, 0, 135, 84, 26, 241, 252, 149, 204, 231, 16, 144, 3, 178, 95, 170, 117, 146, 85, 171, 55, 236, 155, 123]), nonce: Nonce([40, 29, 28, 143, 170, 224, 191, 18, 6, 16, 7, 201, 203, 180, 240, 78, 11, 57, 173, 78, 85, 56, 195, 136]), payload: [87, 64, 179, 28, 187, 46, 104, 118, 191, 40, 161, 20, 177, 51, 213, 26, 148, 60, 216, 224, 132, 16, 13, 45, 119, 5] })\r\nlan_wakeup\r\n\r\nThread 4 \"tokio-runtime-w\" received signal SIGSEGV, Segmentation fault.\r\n[Switching to Thread 0x7ffff5dff700 (LWP 25613)]\r\n0x00005555557e8e03 in get_if_addrs::getifaddrs_posix::sockaddr_to_ipaddr::haaf65eefab8dbaee (sockaddr=0x0)\r\n    at /home/humbug/.cargo/registry/src/github.com-1ecc6299db9ec823/get_if_addrs-0.5.0/src/lib.rs:163\r\n163\t        let sa_family = u32::from(unsafe { *sockaddr }.sa_family);\r\n```\r\n\r\n```\r\n   │130         // get broadcast addresses for host's network interfaces                                                   │\r\n   │131         fn get_ipv4_broadcast_addrs() -> Vec<IpAddr> {                                                             │\r\n  >│132             let ifs = get_if_addrs::get_if_addrs().expect(\"no network interface\");                                 │\r\n   │133             ifs.iter().filter_map(|interface|                                                                      │\r\n   │134                 match interface.addr {                                                                             │\r\n   │135                     IfAddr::V4(ref addr) => addr.broadcast,                                                        │\r\n   │136                     _ => None,                                                                                     │\r\n   │137             })                                                                                                     │\r\n   │138             .map(|ipv4|                                                                                            │\r\n   │139                 IpAddr::V4(ipv4)                                                                                   │\r\n   │140             ).collect()                                                                                            │\r\n   │141         }       \r\n```"}}
{"actor":{"display_login":"NamsooCho"}}