{"action":"closed","issue":{"url":"https://api.github.com/repos/AlexsJones/whisper/issues/48","labels_url":"https://api.github.com/repos/AlexsJones/whisper/issues/48/labels{/name}","comments_url":"https://api.github.com/repos/AlexsJones/whisper/issues/48/comments","events_url":"https://api.github.com/repos/AlexsJones/whisper/issues/48/events","html_url":"https://github.com/AlexsJones/whisper/issues/48","id":60808322,"number":48,"title":"segfault when starting whisper","user":{"login":"draganglumac","id":733788,"avatar_url":"https://avatars.githubusercontent.com/u/733788?v=3","gravatar_id":"","url":"https://api.github.com/users/draganglumac","html_url":"https://github.com/draganglumac","followers_url":"https://api.github.com/users/draganglumac/followers","following_url":"https://api.github.com/users/draganglumac/following{/other_user}","gists_url":"https://api.github.com/users/draganglumac/gists{/gist_id}","starred_url":"https://api.github.com/users/draganglumac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/draganglumac/subscriptions","organizations_url":"https://api.github.com/users/draganglumac/orgs","repos_url":"https://api.github.com/users/draganglumac/repos","events_url":"https://api.github.com/users/draganglumac/events{/privacy}","received_events_url":"https://api.github.com/users/draganglumac/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-12T12:00:40Z","updated_at":"2015-03-12T13:46:58Z","closed_at":"2015-03-12T13:46:58Z","body":"LLDB stack trace\r\n\r\n```\r\nmacbooky-13:whisper draganglumac$ lldb ./whisper \r\n(lldb) target create \"./whisper\"\r\nCurrent executable set to './whisper' (x86_64).\r\n(lldb) run --config=../dragan.config\r\nProcess 5907 launched: './whisper' (x86_64)\r\n[/Users/draganglumac/github/whisper/src/net/discovery.c][get_local_ip:289][t:Thu Mar 12 11:58:35 2015]Local IP is 10.25.31.10\r\n[/Users/draganglumac/github/whisper/src/app/app.c][set_up_discovery_service:185][t:Thu Mar 12 11:58:35 2015]Starting discovery service with heartbeat srategy.\r\n...\r\nBroadcast IP: 10.211.55.255\r\nLocal IP:     10.211.55.2\r\n\r\nWelcome to Whisper Chat\r\n\r\nEnter a command into the prompt.\r\n(For the list of commands type 'h' or 'help'.)\r\n\r\n$> Process 5907 stopped\r\n* thread #2: tid = 0x968ea, 0x00000001000266e5 libjnxc.dylib`jnx_socket_tcp_listen_with_context + 357, stop reason = EXC_BAD_ACCESS (code=EXC_I386_GPFLT)\r\n    frame #0: 0x00000001000266e5 libjnxc.dylib`jnx_socket_tcp_listen_with_context + 357\r\nlibjnxc.dylib`jnx_socket_tcp_listen_with_context + 357:\r\n-> 0x1000266e5:  cmpl   $0x0, (%rax)\r\n   0x1000266eb:  je     0x100026767               ; jnx_socket_tcp_listen_with_context + 487\r\n   0x1000266f1:  movabsq $0x0, %rdi\r\n   0x1000266fb:  leaq   0x31bf(%rip), %rax        ; \"/Users/draganglumac/github/alex-whisper/jnxlibc/src/net/jnxsocket.c\"\r\n(lldb) bt\r\n* thread #2: tid = 0x968ea, 0x00000001000266e5 libjnxc.dylib`jnx_socket_tcp_listen_with_context + 357, stop reason = EXC_BAD_ACCESS (code=EXC_I386_GPFLT)\r\n  * frame #0: 0x00000001000266e5 libjnxc.dylib`jnx_socket_tcp_listen_with_context + 357\r\n    frame #1: 0x0000000100005826 whisper`listener_bootstrap(args=0x0000000100200060) + 342 at auth_comms.c:145\r\n    frame #2: 0x00007fff8f131268 libsystem_pthread.dylib`_pthread_body + 131\r\n    frame #3: 0x00007fff8f1311e5 libsystem_pthread.dylib`_pthread_start + 176\r\n    frame #4: 0x00007fff8f12f41d libsystem_pthread.dylib`thread_start + 13\r\n(lldb) \r\n```"}}