{"action":"created","issue":{"url":"https://api.github.com/repos/jonas/tig/issues/480","repository_url":"https://api.github.com/repos/jonas/tig","labels_url":"https://api.github.com/repos/jonas/tig/issues/480/labels{/name}","comments_url":"https://api.github.com/repos/jonas/tig/issues/480/comments","events_url":"https://api.github.com/repos/jonas/tig/issues/480/events","html_url":"https://github.com/jonas/tig/issues/480","id":135681371,"number":480,"title":"Segmentation fault on Enter press","user":{"login":"herrbischoff","id":8957346,"avatar_url":"https://avatars.githubusercontent.com/u/8957346?v=3","gravatar_id":"","url":"https://api.github.com/users/herrbischoff","html_url":"https://github.com/herrbischoff","followers_url":"https://api.github.com/users/herrbischoff/followers","following_url":"https://api.github.com/users/herrbischoff/following{/other_user}","gists_url":"https://api.github.com/users/herrbischoff/gists{/gist_id}","starred_url":"https://api.github.com/users/herrbischoff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/herrbischoff/subscriptions","organizations_url":"https://api.github.com/users/herrbischoff/orgs","repos_url":"https://api.github.com/users/herrbischoff/repos","events_url":"https://api.github.com/users/herrbischoff/events{/privacy}","received_events_url":"https://api.github.com/users/herrbischoff/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2016-02-23T09:23:08Z","updated_at":"2016-03-31T13:15:59Z","closed_at":null,"body":"## Issue\r\n\r\nI installed `tig` via Homebrew on Mac OS X. I saw the older issues regarding segmentation faults, those appear to have been resolved by an update of the formula. It all works great for me, except when pressing <kbd>Enter</kbd> in the main view. `tig` aborts with a segmentation fault every time:\r\n\r\n```\r\n88169 segmentation fault  tig\r\n```\r\n\r\nHere's the crash log:\r\n\r\n```\r\nProcess:               tig [87768]\r\nPath:                  /usr/local/Cellar/tig/2.1.1/bin/tig\r\nIdentifier:            tig\r\nVersion:               0\r\nCode Type:             X86-64 (Native)\r\nParent Process:        zsh [83372]\r\nResponsible:           iTerm2 [8190]\r\nUser ID:               502\r\n\r\nDate/Time:             2016-02-23 10:12:31.115 +0100\r\nOS Version:            Mac OS X 10.11.3 (15D21)\r\nReport Version:        11\r\nAnonymous UUID:        2D5FA402-BF02-990F-24C7-AFD3040466F7\r\n\r\nSleep/Wake UUID:       0849021E-8AEA-43E7-AED8-79183D3974E7\r\n\r\nTime Awake Since Boot: 190000 seconds\r\nTime Since Wake:       8900 seconds\r\n\r\nSystem Integrity Protection: enabled\r\n\r\nCrashed Thread:        0  Dispatch queue: com.apple.main-thread\r\n\r\nException Type:        EXC_BAD_ACCESS (SIGSEGV)\r\nException Codes:       KERN_INVALID_ADDRESS at 0x0000000723d052f0\r\n\r\nVM Regions Near 0x723d052f0:\r\n    VM_ALLOCATE            000000010d301000-000000010d302000 [    4K] rw-/rwx SM=ALI  \r\n--> \r\n    MALLOC_TINY            00007fac23c00000-00007fac24000000 [ 4096K] rw-/rwx SM=COW  \r\n\r\nThread 0 Crashed:: Dispatch queue: com.apple.main-thread\r\n0   libncurses.5.4.dylib          \t0x00007fff850c2649 0x7fff8509f000 + 144969\r\n1   libncurses.5.4.dylib          \t0x00007fff850c25b4 wresize + 1069\r\n2   tig                           \t0x000000010cfef19a resize_display + 567\r\n3   tig                           \t0x000000010cff1605 split_view + 58\r\n4   tig                           \t0x000000010cff17f0 load_view + 318\r\n5   tig                           \t0x000000010cffcaf7 main_request + 212\r\n6   tig                           \t0x000000010cfe08ad main + 1567\r\n7   libdyld.dylib                 \t0x00007fff853da5ad start + 1\r\n\r\nThread 0 crashed with X86 Thread State (64-bit):\r\n  rax: 0x00007fff74080408  rbx: 0x00007fac23c03ce0  rcx: 0x0000000000000002  rdx: 0x0000000000000000\r\n  rdi: 0x00007fac23c03ce0  rsi: 0x0000000000000006  rbp: 0x00007fff52c20980  rsp: 0x00007fff52c20960\r\n   r8: 0x0000000000000015   r9: 0x0000000000000000  r10: 0x0000000000000016  r11: 0x00007fac23c00000\r\n  r12: 0x0000000723d052b0  r13: 0x0000000000000015  r14: 0x00007fac23c03ce0  r15: 0x00007fac23d14850\r\n  rip: 0x00007fff850c2649  rfl: 0x0000000000010202  cr2: 0x0000000723d052f0\r\n  \r\nLogical CPU:     4\r\nError Code:      0x00000004\r\nTrap Number:     14\r\n\r\n\r\nBinary Images:\r\n       0x10cfde000 -        0x10d009fff +tig (0) <1FCA7CC1-298C-3731-BE89-2E26CC4C687E> /usr/local/bin/tig\r\n       0x10d029000 -        0x10d04aff7 +libreadline.6.dylib (0) <4830957C-B209-31B6-B99F-B2D80612F54A> /usr/local/opt/readline/lib/libreadline.6.dylib\r\n       0x10d061000 -        0x10d09cfff +libncursesw.6.dylib (0) <849D502E-74D0-38C3-8949-BAAA1F88EC25> /usr/local/opt/ncurses/lib/libncursesw.6.dylib\r\n    0x7fff6df1b000 -     0x7fff6df52007  dyld (360.19) <9D05FDF4-65CE-3B53-86D4-ABE1A5BF35F3> /usr/lib/dyld\r\n    0x7fff83706000 -     0x7fff83724fff  libsystem_kernel.dylib (3248.30.4) <9CEB6C3B-1CAF-3C32-A9FD-93BC72CBCEA1> /usr/lib/system/libsystem_kernel.dylib\r\n    0x7fff84c96000 -     0x7fff84ca1ff7  libcommonCrypto.dylib (60075.20.1) <766BC3F5-41F3-3315-BABC-72718A98EA92> /usr/lib/system/libcommonCrypto.dylib\r\n    0x7fff84ca2000 -     0x7fff84cd1ffb  libsystem_m.dylib (3105) <26655445-CA97-321E-B221-801CB378D1AA> /usr/lib/system/libsystem_m.dylib\r\n    0x7fff84f41000 -     0x7fff84f4aff3  libsystem_notify.dylib (150.20.3) <243FADE1-255A-3B78-8033-F336CD64B817> /usr/lib/system/libsystem_notify.dylib\r\n    0x7fff8509f000 -     0x7fff850d0ff7  libncurses.5.4.dylib (46) <D4C10699-3E8F-3F42-A695-7490EA4B6B32> /usr/lib/libncurses.5.4.dylib\r\n    0x7fff853d7000 -     0x7fff853daffb  libdyld.dylib (360.19) <AA629043-C6F6-32FE-8007-E3478E99ACA7> /usr/lib/system/libdyld.dylib\r\n    0x7fff85426000 -     0x7fff854b3fff  libsystem_c.dylib (1082.20.4) <EAB38A6C-8671-3B13-B500-90EC1B912063> /usr/lib/system/libsystem_c.dylib\r\n    0x7fff855ce000 -     0x7fff855dfff7  libsystem_trace.dylib (201.10.3) <B485369F-E3A1-319E-998C-89AAF606079E> /usr/lib/system/libsystem_trace.dylib\r\n    0x7fff855e0000 -     0x7fff855e3ff7  libsystem_sandbox.dylib (460.30.1) <3E0036AF-FC64-3352-8DA4-6B550C2C2562> /usr/lib/system/libsystem_sandbox.dylib\r\n    0x7fff87197000 -     0x7fff8719ffff  libsystem_networkextension.dylib (385.20.6) <DC8A102A-BF02-31A4-8914-65C34DF6B592> /usr/lib/system/libsystem_networkextension.dylib\r\n    0x7fff87cb8000 -     0x7fff87cbdff7  libmacho.dylib (875.1) <CB745E1F-4885-3F96-B38B-2093DF488FD5> /usr/lib/system/libmacho.dylib\r\n    0x7fff883d0000 -     0x7fff883f9fff  libc++abi.dylib (125) <DCCC8177-3D09-35BC-9784-2A04FEC4C71B> /usr/lib/libc++abi.dylib\r\n    0x7fff89d7f000 -     0x7fff89d7fff7  libkeymgr.dylib (28) <09397E01-6066-3179-A50C-2CE666FDA929> /usr/lib/system/libkeymgr.dylib\r\n    0x7fff8b0b0000 -     0x7fff8b0b1ffb  libremovefile.dylib (41) <B8D1A5FC-CFD5-3AAB-8A10-14DDC129710A> /usr/lib/system/libremovefile.dylib\r\n    0x7fff8b93d000 -     0x7fff8b93efff  libsystem_blocks.dylib (65) <49D42329-7DE9-3413-92C3-A473A7E9CF35> /usr/lib/system/libsystem_blocks.dylib\r\n    0x7fff8bb43000 -     0x7fff8bb44fff  libDiagnosticMessagesClient.dylib (100) <4243B6B4-21E9-355B-9C5A-95A216233B96> /usr/lib/libDiagnosticMessagesClient.dylib\r\n    0x7fff8c22e000 -     0x7fff8c230ff7  libsystem_configuration.dylib (802.20.7) <5FD79070-36CC-3D02-BEA7-BB5D2AE97D5D> /usr/lib/system/libsystem_configuration.dylib\r\n    0x7fff8c51f000 -     0x7fff8c527fe7  libsystem_platform.dylib (74.10.3) <D3A27E10-7F08-3603-ACC8-7A92B2C04BAB> /usr/lib/system/libsystem_platform.dylib\r\n    0x7fff8ea77000 -     0x7fff8ea77ff7  libunc.dylib (29) <1D0F8265-F026-3CBD-93D3-F8DF14FFCE68> /usr/lib/system/libunc.dylib\r\n    0x7fff8f477000 -     0x7fff8f4bdff7  libauto.dylib (186) <999E610F-41FC-32A3-ADCA-5EC049B65DFB> /usr/lib/libauto.dylib\r\n    0x7fff8f933000 -     0x7fff8f960fff  libdispatch.dylib (501.20.1) <324C9189-2AF3-3356-847F-6F4CE1C6E901> /usr/lib/system/libdispatch.dylib\r\n    0x7fff8ff4b000 -     0x7fff9003dff7  libiconv.2.dylib (44) <F05A0A5A-92A9-3668-8F20-F27CBDA26BE9> /usr/lib/libiconv.2.dylib\r\n    0x7fff92edb000 -     0x7fff92ef2ff7  libsystem_asl.dylib (322.30.1) <9B500E4E-E462-321E-828E-5524DC984C1B> /usr/lib/system/libsystem_asl.dylib\r\n    0x7fff94464000 -     0x7fff944c5ff7  libsystem_network.dylib (583.20.10) <865FE79A-A22D-3733-A14F-FC7B37F3AECD> /usr/lib/system/libsystem_network.dylib\r\n    0x7fff9472c000 -     0x7fff94748ff7  libsystem_malloc.dylib (67) <9EECAB18-F025-34C4-8E32-7EFFA6720EFC> /usr/lib/system/libsystem_malloc.dylib\r\n    0x7fff94749000 -     0x7fff9474dfff  libcache.dylib (75) <6B245C0A-F3EA-383B-A542-5B0D0456A41B> /usr/lib/system/libcache.dylib\r\n    0x7fff94abd000 -     0x7fff94abffff  libsystem_coreservices.dylib (19.2) <1B3F5AFC-FFCD-3ECB-8B9A-5538366FB20D> /usr/lib/system/libsystem_coreservices.dylib\r\n    0x7fff94c18000 -     0x7fff94c1fff7  libcompiler_rt.dylib (62) <D3C4AB40-23B4-3BC6-8C38-5B8758D14E80> /usr/lib/system/libcompiler_rt.dylib\r\n    0x7fff950ca000 -     0x7fff950d2ffb  libsystem_dnssd.dylib (625.20.4) <945B5FB1-DA91-3D45-A961-A8FAD53C1E7E> /usr/lib/system/libsystem_dnssd.dylib\r\n    0x7fff9520a000 -     0x7fff95220ff7  libsystem_coretls.dylib (83.20.8) <75C97D88-0A63-3093-AE83-DE33EB7405CE> /usr/lib/system/libsystem_coretls.dylib\r\n    0x7fff95388000 -     0x7fff953fffe7  libcorecrypto.dylib (335.20.1) <C6BD205F-4ECE-37EE-BCAB-A76F39CDCFFA> /usr/lib/system/libcorecrypto.dylib\r\n    0x7fff95ba3000 -     0x7fff95babfff  libcopyfile.dylib (127) <F5133269-0B22-388C-A57C-079667B6291E> /usr/lib/system/libcopyfile.dylib\r\n    0x7fff966f8000 -     0x7fff966faff7  libquarantine.dylib (80) <163CF63A-7455-3D1F-AE57-8C4475A9204C> /usr/lib/system/libquarantine.dylib\r\n    0x7fff96be8000 -     0x7fff96be8ff7  liblaunch.dylib (756.20.4) <EDF719D6-D2BB-38DD-8C94-4272BEFDA2CD> /usr/lib/system/liblaunch.dylib\r\n    0x7fff980c1000 -     0x7fff980c6ff3  libunwind.dylib (35.3) <124E0F05-2350-3774-A32C-7F5BF38EDE73> /usr/lib/system/libunwind.dylib\r\n    0x7fff9870f000 -     0x7fff98a71f3f  libobjc.A.dylib (680) <9F45830D-F1D5-3CDF-9461-1A5477ED7D1E> /usr/lib/libobjc.A.dylib\r\n    0x7fff98bb9000 -     0x7fff98bbafff  libsystem_secinit.dylib (20) <FD6ECF2C-1489-32CA-981B-9045B5EB1FAA> /usr/lib/system/libsystem_secinit.dylib\r\n    0x7fff98bd7000 -     0x7fff98c00fff  libsystem_info.dylib (477.20.1) <6513635B-4ADE-3B45-BF63-ED7AC565B0C9> /usr/lib/system/libsystem_info.dylib\r\n    0x7fff98cbc000 -     0x7fff98d0fff7  libc++.1.dylib (120.1) <8FC3D139-8055-3498-9AC5-6467CB7F4D14> /usr/lib/libc++.1.dylib\r\n    0x7fff98ee9000 -     0x7fff98eeaffb  libSystem.B.dylib (1226.10.1) <5A4257EF-3145-3BB3-87A4-0D2404A9462D> /usr/lib/libSystem.B.dylib\r\n    0x7fff99b85000 -     0x7fff99baefff  libxpc.dylib (756.20.4) <61AB4610-9304-354C-9E9B-D57198AE9866> /usr/lib/system/libxpc.dylib\r\n    0x7fff99baf000 -     0x7fff99bb8ff7  libsystem_pthread.dylib (138.10.4) <327CECD0-B881-3153-8FCC-4FD4818B7F16> /usr/lib/system/libsystem_pthread.dylib\r\n\r\nExternal Modification Summary:\r\n  Calls made by other processes targeting this process:\r\n    task_for_pid: 1\r\n    thread_create: 0\r\n    thread_set_state: 0\r\n  Calls made by this process:\r\n    task_for_pid: 0\r\n    thread_create: 0\r\n    thread_set_state: 0\r\n  Calls made by all processes on this machine:\r\n    task_for_pid: 32094560\r\n    thread_create: 0\r\n    thread_set_state: 0\r\n\r\nVM Region Summary:\r\nReadOnly portion of Libraries: Total=100.3M resident=0K(0%) swapped_out_or_unallocated=100.3M(100%)\r\nWritable regions: Total=49.5M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=49.5M(100%)\r\n \r\n                                VIRTUAL   REGION \r\nREGION TYPE                        SIZE    COUNT (non-coalesced) \r\n===========                     =======  ======= \r\nActivity Tracing                  2048K        2 \r\nKernel Alloc Once                    4K        2 \r\nMALLOC                            39.3M       11 \r\nMALLOC guard page                   16K        4 \r\nSTACK GUARD                       56.0M        2 \r\nStack                             8192K        2 \r\nVM_ALLOCATE                          4K        2 \r\n__DATA                            1596K       47 \r\n__LINKEDIT                        91.2M        6 \r\n__TEXT                            9348K       47 \r\nshared memory                       12K        4 \r\n===========                     =======  ======= \r\nTOTAL                            207.2M      118 \r\n```\r\n## Environment\r\n\r\n```bash\r\n$ tig -v\r\ntig version 2.1.1\r\n```\r\n\r\n```bash\r\n$ brew -v\r\nHomebrew 0.9.5 (git revision cd27e; last commit 2016-02-22)\r\n```\r\n\r\n```bash\r\n$ sw_vers\r\nProductName:\tMac OS X\r\nProductVersion:\t10.11.3\r\nBuildVersion:\t15D21\r\n```"},"comment":{"url":"https://api.github.com/repos/jonas/tig/issues/comments/203932067","html_url":"https://github.com/jonas/tig/issues/480#issuecomment-203932067","issue_url":"https://api.github.com/repos/jonas/tig/issues/480","id":203932067,"user":{"login":"jonas","id":8417,"avatar_url":"https://avatars.githubusercontent.com/u/8417?v=3","gravatar_id":"","url":"https://api.github.com/users/jonas","html_url":"https://github.com/jonas","followers_url":"https://api.github.com/users/jonas/followers","following_url":"https://api.github.com/users/jonas/following{/other_user}","gists_url":"https://api.github.com/users/jonas/gists{/gist_id}","starred_url":"https://api.github.com/users/jonas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonas/subscriptions","organizations_url":"https://api.github.com/users/jonas/orgs","repos_url":"https://api.github.com/users/jonas/repos","events_url":"https://api.github.com/users/jonas/events{/privacy}","received_events_url":"https://api.github.com/users/jonas/received_events","type":"User","site_admin":false},"created_at":"2016-03-31T13:15:59Z","updated_at":"2016-03-31T13:15:59Z","body":"The latest crash you listed has been fixed in 718c6e94fcc111e5607d6ca0bf3d15271adc0d97 which has not been released yet. Can you try and install `HEAD`?"}}