junegunn / fzf

:cherry_blossom: A command-line fuzzy finder
https://junegunn.github.io/fzf/
MIT License
64.77k stars 2.38k forks source link

"Checking fzf executable ... Error: SIGILL: illegal instruction" message on installation #1935

Closed SolidStill closed 4 years ago

SolidStill commented 4 years ago

Info

Problem / Steps to reproduce

Installation on MacOS 10.15.3 (Catalina) via Homebrew (brew install fzf --> fzf-0.21.0-1.catalina.bottle.tar.gz) followed by /usr/local/opt/fzf/install gives the following output:

Downloading bin/fzf ...
  - Already exists
  - Checking fzf executable ... Error: SIGILL: illegal instruction
PC=0x1061240 m=0 sigcode=1

goroutine 1 [running, locked to thread]:
runtime.asyncPreempt()
    /usr/local/Cellar/go/1.14/libexec/src/runtime/preempt_amd64.s:8 fp=0xc000098e90 sp=0xc000098e88 pc=0x1061240
strconv.init()
    /usr/local/Cellar/go/1.14/libexec/src/strconv/atoi.go:18 fp=0xc000098e98 sp=0xc000098e90 pc=0x107d920
runtime.doInit(0x127a100)
    /usr/local/Cellar/go/1.14/libexec/src/runtime/proc.go:5414 +0x8a fp=0xc000098ec8 sp=0xc000098e98 pc=0x103f4aa
runtime.doInit(0x127a500)
    /usr/local/Cellar/go/1.14/libexec/src/runtime/proc.go:5409 +0x57 fp=0xc000098ef8 sp=0xc000098ec8 pc=0x103f477
runtime.doInit(0x127b560)
    /usr/local/Cellar/go/1.14/libexec/src/runtime/proc.go:5409 +0x57 fp=0xc000098f28 sp=0xc000098ef8 pc=0x103f477
runtime.doInit(0x127d6e0)
    /usr/local/Cellar/go/1.14/libexec/src/runtime/proc.go:5409 +0x57 fp=0xc000098f58 sp=0xc000098f28 pc=0x103f477
runtime.doInit(0x12791a0)
    /usr/local/Cellar/go/1.14/libexec/src/runtime/proc.go:5409 +0x57 fp=0xc000098f88 sp=0xc000098f58 pc=0x103f477
runtime.main()
    /usr/local/Cellar/go/1.14/libexec/src/runtime/proc.go:190 +0x1ce fp=0xc000098fe0 sp=0xc000098f88 pc=0x1032a0e
runtime.goexit()
    /usr/local/Cellar/go/1.14/libexec/src/runtime/asm_amd64.s:1373 +0x1 fp=0xc000098fe8 sp=0xc000098fe0 pc=0x105f9e1

rax    0x127a100
rbx    0x6
rcx    0x0
rdx    0x127a130
rdi    0xc00008c0b0
rsi    0x107d920
rbp    0xc000098eb8
rsp    0xc000098e88
r8     0x11
r9     0x11
r10    0x11a0214
r11    0x1
r12    0xffffffffffffffff
r13    0xc
r14    0xb
r15    0x200
rip    0x1061240
rflags 0x10202
cs     0x2b
fs     0x0
gs     0x0
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   617  100   617    0     0   1293      0 --:--:-- --:--:-- --:--:--  1290
100 1123k  100 1123k    0     0   500k      0  0:00:02  0:00:02 --:--:--  958k

Subsequently, any kind of invocation of fzf after this installation results in some kind of ...SIGILL... response.

(But, strangely, smashing ctrl-R rapidly (having chosen to enable key bindings via install script) often results in the expected history search appearing; although the behaviour beyond that point is unpredictable - e.g. process exits suddenly on attempt at string entry)

SolidStill commented 4 years ago

I tried the following without success:

  1. Running brew upgrade go (since go's directory in the brew cellar was referenced in the warning continuously) and brew informed me Error: go not installed, and so I ran brew install go, followed by brew reinstall fzf.
  2. After running /usr/local/opt/fzf/uninstall followed by brew uninstall fzf, mdfind fzf returned
    /usr/local/var/homebrew/locks/fzf.formula.lock
    /usr/local/var/homebrew/locks/3669d5931f48074f2c52450b61010cc4573f9bc096bc86ad660b03a2ff4829b9--fzf-0.21.0-1.catalina.bottle.tar.gz.incomplete.lock

    and so I ran

    rm -rf /usr/local/var/homebrew/locks
    brew install fzf
    /usr/local/opt/fzf/install

    returning the following dialogue (with options all answered [y], as I have for every install attempt)

    
    Downloading bin/fzf ...
    - Already exists
    - Checking fzf executable ... 0.21.0
    Do you want to enable fuzzy auto-completion? ([y]/n) y
    Do you want to enable key bindings? ([y]/n) y

Generate /Users/chris/.fzf.bash ... OK Generate /Users/chris/.fzf.zsh ... OK

Do you want to update your shell configuration files? ([y]/n) y

Update /Users/chris/.bashrc:

Update /Users/chris/.zshrc:

SolidStill commented 4 years ago

I don't know if this is related, but just-in-case, I've had warnings after homebrew installed ruby. Homebrew installed Ruby (ruby-2.7.0.catalina.bottle.1.tar.gz) due to it being a dependency for a Vim installation, Vim is functioning as expected without any apparent issue.

Here is the crash report relating to the Ruby installation:

Process:               ruby [3754]
Path:                  /usr/local/Cellar/ruby/2.7.0/bin/ruby
Identifier:            ruby
Version:               0
Code Type:             X86-64 (Native)
Parent Process:        ruby [2110]
Responsible:           iTerm2 [300]
User ID:               501

Date/Time:             2020-03-23 07:27:47.645 +0000
OS Version:            Mac OS X 10.15.3 (19D76)
Report Version:        12
Anonymous UUID:        CAEEFD54-5DE1-CD79-57B7-A8BF06DBB77F

Sleep/Wake UUID:       C9D52241-916F-4388-BAB6-4C51A373095F

Time Awake Since Boot: 2900 seconds

System Integrity Protection: disabled

Crashed Thread:        0  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_BAD_INSTRUCTION (SIGABRT)
Exception Codes:       0x0000000000000001, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

Application Specific Information:
abort() called

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib          0x00007fff6d3a17fa __pthread_kill + 10
1   libsystem_pthread.dylib         0x00007fff6d463bc1 pthread_kill + 432
2   libsystem_c.dylib               0x00007fff6d328a1c abort + 120
3   libruby.2.7.dylib               0x0000000109b96d1a die + 9
4   libruby.2.7.dylib               0x0000000109b96dff rb_bug_for_fatal_signal + 229
5   libruby.2.7.dylib               0x0000000109c6cbd9 sigill + 82
6   libsystem_platform.dylib        0x00007fff6d45842d _sigtramp + 29
7   libruby.2.7.dylib               0x0000000109c7ab3b str_new0 + 222
8   libruby.2.7.dylib               0x0000000109b5cc9f rb_ibf_load_iseq_complete + 3592
9   libruby.2.7.dylib               0x0000000109b5d195 ibf_load_iseq + 145
10  libruby.2.7.dylib               0x0000000109b5cbab rb_ibf_load_iseq_complete + 3348
11  libruby.2.7.dylib               0x0000000109b5d195 ibf_load_iseq + 145
12  libruby.2.7.dylib               0x0000000109b5d202 rb_iseq_ibf_load_bytes + 93
13  libruby.2.7.dylib               0x0000000109ce29c7 rb_load_with_builtin_functions + 129
14  libruby.2.7.dylib               0x0000000109bbfa13 rb_call_inits + 264
15  libruby.2.7.dylib               0x0000000109b9cd44 ruby_setup + 210
16  libruby.2.7.dylib               0x0000000109b9cd94 ruby_init + 9
17  ruby                            0x0000000109b2ff05 main + 81
18  libdyld.dylib                   0x00007fff6d25a7fd start + 1

Thread 1:
0   libsystem_kernel.dylib          0x00007fff6d3a1896 poll + 10
1   libruby.2.7.dylib               0x0000000109c9e7fd timer_pthread_fn + 107
2   libsystem_pthread.dylib         0x00007fff6d463e65 _pthread_start + 148
3   libsystem_pthread.dylib         0x00007fff6d45f83b thread_start + 15

Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000000  rbx: 0x0000000114d3adc0  rcx: 0x00007ffee60d0968  rdx: 0x0000000000000000
  rdi: 0x0000000000000307  rsi: 0x0000000000000006  rbp: 0x00007ffee60d0990  rsp: 0x00007ffee60d0968
   r8: 0x00000000000130a8   r9: 0x0000000000000000  r10: 0x0000000114d3adc0  r11: 0x0000000000000246
  r12: 0x0000000000000307  r13: 0x0000000000000000  r14: 0x0000000000000006  r15: 0x0000000000000016
  rip: 0x00007fff6d3a17fa  rfl: 0x0000000000000246  cr2: 0x0000700008cccff8

Logical CPU:     0
Error Code:      0x020000e6
Trap Number:     133

Binary Images:
       0x109b2e000 -        0x109b2ffff +ruby (0) <3446A5F0-50FE-3D18-83E8-EFA180CE0C99> /usr/local/opt/ruby/bin/ruby
       0x109b35000 -        0x109d84ff7 +libruby.2.7.dylib (0) <A5E33DBA-2BA0-32BC-A559-9C15F0CB68B3> /usr/local/Cellar/ruby/2.7.0/lib/libruby.2.7.dylib
       0x114c71000 -        0x114d01cb7  dyld (733.8) <EBC07CB6-870A-3A8E-B48A-67F62EA161F3> /usr/lib/dyld
    0x7fff318a7000 -     0x7fff318a7fff  com.apple.Accelerate (1.11 - Accelerate 1.11) <479607C6-EE4F-3471-BCFD-9A8677A509A3> /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate
    0x7fff318bf000 -     0x7fff32166fc7  com.apple.vImage (8.1 - 524.2) <3A01D6DE-219E-3038-AE1D-98F0703996F4> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.framework/Versions/A/vImage
    0x7fff32167000 -     0x7fff32300fef  libBLAS.dylib (1303.60.1) <331A9933-58D7-3575-A1B2-4255755FA645> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
    0x7fff32301000 -     0x7fff32507fff  libBNNS.dylib (144.40.3) <2432B08E-3DE5-3910-A0E5-0C68AF055E0C> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBNNS.dylib
    0x7fff32509000 -     0x7fff328bdfff  libLAPACK.dylib (1303.60.1) <0918AC5B-DC2D-3878-90F9-4E16C4302FAB> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLAPACK.dylib
    0x7fff328be000 -     0x7fff328d3ff8  libLinearAlgebra.dylib (1303.60.1) <A5F9CB86-1D36-330C-BD98-310D924FC1C2> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLinearAlgebra.dylib
    0x7fff328d4000 -     0x7fff328d9ff3  libQuadrature.dylib (7) <E0534024-B7E7-3382-830C-71E7BD9D3DE4> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libQuadrature.dylib
    0x7fff328da000 -     0x7fff3294afff  libSparse.dylib (103) <533DFAE8-8458-31F4-8AE2-B73C3869CED2> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libSparse.dylib
    0x7fff3294b000 -     0x7fff3295dff7  libSparseBLAS.dylib (1303.60.1) <EEC8A3FF-4DD2-3447-A6D9-5DFA716B767E> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libSparseBLAS.dylib
    0x7fff3295e000 -     0x7fff32af0fc7  libvDSP.dylib (735.40.1) <0C40F97B-FD6C-3324-91DC-947266F2A502> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvDSP.dylib
    0x7fff32af1000 -     0x7fff32c6bff7  libvMisc.dylib (735.40.1) <2AC65C58-463C-31D0-A130-040EFFE4792E> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvMisc.dylib
    0x7fff32c6c000 -     0x7fff32c6cfff  com.apple.Accelerate.vecLib (3.11 - vecLib 3.11) <22118F7C-4019-32CE-B8AF-50FFBF9BC050> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/vecLib
    0x7fff343a7000 -     0x7fff34733ff6  com.apple.CFNetwork (1121.1.2 - 1121.1.2) <4E539AC8-A995-3BA8-AAD6-31D97DAE734B> /System/Library/Frameworks/CFNetwork.framework/Versions/A/CFNetwork
    0x7fff35c1a000 -     0x7fff3609afff  com.apple.CoreFoundation (6.9 - 1674.114) <9A91AEBF-6DA4-3238-870F-452FBD170EEA> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
    0x7fff3702e000 -     0x7fff3702efff  com.apple.CoreServices (1069.11 - 1069.11) <3BBDA17B-6F86-35F4-B785-AFA2A14B6F51> /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
    0x7fff3702f000 -     0x7fff370b4fff  com.apple.AE (838 - 838) <877C7270-575A-3D5F-B768-4724037F025D> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE
    0x7fff370b5000 -     0x7fff37396ff7  com.apple.CoreServices.CarbonCore (1217 - 1217) <DDC45E79-973C-3FB0-92EC-392A654179F5> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore
    0x7fff37397000 -     0x7fff373e4ff5  com.apple.DictionaryServices (1.2 - 323.3.1) <A21D442C-E7B7-3A6C-BEEC-44B323AF9CB2> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/DictionaryServices.framework/Versions/A/DictionaryServices
    0x7fff373e5000 -     0x7fff373edfff  com.apple.CoreServices.FSEvents (1268.60.1 - 1268.60.1) <8C772593-A2BA-33A7-BB43-49B9FCDD37CE> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/FSEvents.framework/Versions/A/FSEvents
    0x7fff373ee000 -     0x7fff37627ff0  com.apple.LaunchServices (1069.11 - 1069.11) <7189EED9-9252-3030-AB32-6704AD9AEBAE> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/LaunchServices
    0x7fff37628000 -     0x7fff376c0ff9  com.apple.Metadata (10.7.0 - 2075.7) <AECD1E1F-1C1B-3C42-9ACD-596980F145C2> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framework/Versions/A/Metadata
    0x7fff376c1000 -     0x7fff376eeff7  com.apple.CoreServices.OSServices (1069.11 - 1069.11) <67A2F664-DCA1-3FD6-B88E-CF020EA8C59D> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServices.framework/Versions/A/OSServices
    0x7fff376ef000 -     0x7fff37756fff  com.apple.SearchKit (1.4.1 - 1.4.1) <367BBFA7-F18C-34B6-B4C8-A244A125D5E0> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchKit.framework/Versions/A/SearchKit
    0x7fff37757000 -     0x7fff3777bff5  com.apple.coreservices.SharedFileList (131.4 - 131.4) <EB8F2B1B-B736-373F-B28B-E4E6F33A00C0> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SharedFileList.framework/Versions/A/SharedFileList
    0x7fff37fcb000 -     0x7fff37fd1fff  com.apple.DiskArbitration (2.7 - 2.7) <5BE0B036-DEAB-3191-8D44-B489F4D39EE1> /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration
    0x7fff38303000 -     0x7fff386cbffc  com.apple.Foundation (6.9 - 1674.114) <532BBAE7-F2BA-3779-94E0-BFEDF2D7AB38> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
    0x7fff38a43000 -     0x7fff38ae6ffb  com.apple.framework.IOKit (2.0.2 - 1726.80.1) <B63FE840-8E32-3429-A95D-AB466FE62104> /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
    0x7fff3c350000 -     0x7fff3c35cffe  com.apple.NetFS (6.0 - 4.0) <0B2088AE-C16D-3FC3-9445-4EDAD2D51686> /System/Library/Frameworks/NetFS.framework/Versions/A/NetFS
    0x7fff3ef22000 -     0x7fff3ef3efff  com.apple.CFOpenDirectory (10.15 - 220.40.1) <FF068FF7-C136-3A71-AD1F-B5170A918423> /System/Library/Frameworks/OpenDirectory.framework/Versions/A/Frameworks/CFOpenDirectory.framework/Versions/A/CFOpenDirectory
    0x7fff3ef3f000 -     0x7fff3ef4aff7  com.apple.OpenDirectory (10.15 - 220.40.1) <9448EC8E-8B76-3142-9540-C0752529762A> /System/Library/Frameworks/OpenDirectory.framework/Versions/A/OpenDirectory
    0x7fff42295000 -     0x7fff425e7ffa  com.apple.security (7.0 - 59306.80.4) <FA5EBA16-2B2B-3105-8A17-C8624C4B3BB3> /System/Library/Frameworks/Security.framework/Versions/A/Security
    0x7fff425e8000 -     0x7fff42671ff7  com.apple.securityfoundation (6.0 - 55236.60.1) <0129932D-89E5-3608-B22E-DB5F0B3C3DC4> /System/Library/Frameworks/SecurityFoundation.framework/Versions/A/SecurityFoundation
    0x7fff426a0000 -     0x7fff426a4ff0  com.apple.xpc.ServiceManagement (1.0 - 1) <2475707B-F909-33C4-AAB7-80DC8D2CB435> /System/Library/Frameworks/ServiceManagement.framework/Versions/A/ServiceManagement
    0x7fff43437000 -     0x7fff434a1fff  com.apple.SystemConfiguration (1.19 - 1.19) <61B73150-6D87-3E2F-A935-B957425CC992> /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration
    0x7fff4720c000 -     0x7fff472d0fe7  com.apple.APFS (1412.81.1 - 1412.81.1) <7EC14196-E481-35C0-94F0-09E5B81AD3E5> /System/Library/PrivateFrameworks/APFS.framework/Versions/A/APFS
    0x7fff48dc8000 -     0x7fff48dd7fef  com.apple.AppleFSCompression (119 - 1.0) <EEDA4040-1835-39A6-AC13-6CE35560C159> /System/Library/PrivateFrameworks/AppleFSCompression.framework/Versions/A/AppleFSCompression
    0x7fff4a57f000 -     0x7fff4a588ff3  com.apple.coreservices.BackgroundTaskManagement (1.0 - 104) <D0F2851A-521F-335A-B7C4-B1E39BB42DD7> /System/Library/PrivateFrameworks/BackgroundTaskManagement.framework/Versions/A/BackgroundTaskManagement
    0x7fff4d34f000 -     0x7fff4d35fff3  com.apple.CoreEmoji (1.0 - 107) <544182E2-893F-3975-AA70-26ADC637B3F1> /System/Library/PrivateFrameworks/CoreEmoji.framework/Versions/A/CoreEmoji
    0x7fff4d9b3000 -     0x7fff4da1dff0  com.apple.CoreNLP (1.0 - 213) <287973D6-1807-3A81-8F57-7BB39209F6C0> /System/Library/PrivateFrameworks/CoreNLP.framework/Versions/A/CoreNLP
    0x7fff4e63c000 -     0x7fff4e66aff7  com.apple.CSStore (1069.11 - 1069.11) <26602CC8-0080-3E85-A588-79CEF78D21E5> /System/Library/PrivateFrameworks/CoreServicesStore.framework/Versions/A/CoreServicesStore
    0x7fff5a76e000 -     0x7fff5a83cff5  com.apple.LanguageModeling (1.0 - 215.1) <B47A62F3-7F45-3A84-A856-C674D4613261> /System/Library/PrivateFrameworks/LanguageModeling.framework/Versions/A/LanguageModeling
    0x7fff5a83d000 -     0x7fff5a885ff7  com.apple.Lexicon-framework (1.0 - 72) <CD6D3F05-0647-348D-AED0-9566F968A954> /System/Library/PrivateFrameworks/Lexicon.framework/Versions/A/Lexicon
    0x7fff5a88c000 -     0x7fff5a890ff2  com.apple.LinguisticData (1.0 - 353.6.1) <91C3132C-EB52-32D6-9009-DE4B207ACE72> /System/Library/PrivateFrameworks/LinguisticData.framework/Versions/A/LinguisticData
    0x7fff5bbeb000 -     0x7fff5bc37fff  com.apple.spotlight.metadata.utilities (1.0 - 2075.7) <F7FA0F68-7E46-3461-9DA6-C55FBB85C799> /System/Library/PrivateFrameworks/MetadataUtilities.framework/Versions/A/MetadataUtilities
    0x7fff5c6eb000 -     0x7fff5c6f5fff  com.apple.NetAuth (6.2 - 6.2) <A400CD55-B3EA-371A-8BAB-FDDA87660AE4> /System/Library/PrivateFrameworks/NetAuth.framework/Versions/A/NetAuth
    0x7fff6547d000 -     0x7fff6548dff3  com.apple.TCC (1.0 - 1) <A8308EDB-9AF7-3B6B-AAC3-143F91F58F1D> /System/Library/PrivateFrameworks/TCC.framework/Versions/A/TCC
    0x7fff696fe000 -     0x7fff69700ff3  com.apple.loginsupport (1.0 - 1) <F2EC9213-901A-3657-A36A-DFD80BD8ABBC> /System/Library/PrivateFrameworks/login.framework/Versions/A/Frameworks/loginsupport.framework/Versions/A/loginsupport
    0x7fff69a61000 -     0x7fff69a96ff7  libCRFSuite.dylib (48) <31D98527-9972-3A4B-9868-C9394FAF742E> /usr/lib/libCRFSuite.dylib
    0x7fff69a99000 -     0x7fff69aa3ff3  libChineseTokenizer.dylib (34) <9E2B02B0-32A5-3245-AC50-F6BEEC34FCEC> /usr/lib/libChineseTokenizer.dylib
    0x7fff69b30000 -     0x7fff69b32ff7  libDiagnosticMessagesClient.dylib (112) <45E85899-039F-3B99-8789-F497DD9916C2> /usr/lib/libDiagnosticMessagesClient.dylib
    0x7fff69ff8000 -     0x7fff69ff9ff3  libSystem.B.dylib (1281) <A2C26908-8802-3CA7-8B74-ED4A74AA152C> /usr/lib/libSystem.B.dylib
    0x7fff6a088000 -     0x7fff6a089fff  libThaiTokenizer.dylib (3) <9E5B4E50-E982-387C-AA2F-BB43867322ED> /usr/lib/libThaiTokenizer.dylib
    0x7fff6a0a1000 -     0x7fff6a0b7fff  libapple_nghttp2.dylib (1.39.2) <C79E1B79-0BBE-311F-A177-6879D5C4D991> /usr/lib/libapple_nghttp2.dylib
    0x7fff6a0ec000 -     0x7fff6a15eff7  libarchive.2.dylib (72.40.2) <1AE0592D-8451-30D1-AEE8-3F39F46D9DD4> /usr/lib/libarchive.2.dylib
    0x7fff6a290000 -     0x7fff6a290ff3  libauto.dylib (187) <71A48A59-FE0E-3D86-A219-B79DAF7CF9DD> /usr/lib/libauto.dylib
    0x7fff6a357000 -     0x7fff6a367ff3  libbsm.0.dylib (60) <5EBEA671-D25B-3425-AC2B-70C2760B8B94> /usr/lib/libbsm.0.dylib
    0x7fff6a368000 -     0x7fff6a374fff  libbz2.1.0.dylib (44) <FA7CE29A-2FE3-3107-8693-5D33D5B7E11F> /usr/lib/libbz2.1.0.dylib
    0x7fff6a375000 -     0x7fff6a3c8ff7  libc++.1.dylib (800.7) <1D0CB627-8A78-329F-A679-1B5248FF4C59> /usr/lib/libc++.1.dylib
    0x7fff6a3c9000 -     0x7fff6a3ddfff  libc++abi.dylib (800.7) <7AF668FB-901D-3F45-BA0D-710A235A8D1F> /usr/lib/libc++abi.dylib
    0x7fff6a3de000 -     0x7fff6a3deffb  libcharset.1.dylib (59) <56F66234-104F-3494-B336-598800CF3F71> /usr/lib/libcharset.1.dylib
    0x7fff6a3df000 -     0x7fff6a3f0ffb  libcmph.dylib (8) <9B9AB2BA-75FB-3B70-AAE4-E32B06CF9D69> /usr/lib/libcmph.dylib
    0x7fff6a3f1000 -     0x7fff6a409ff7  libcompression.dylib (87) <A23B412C-48BA-385A-9263-B35F7BF44F4F> /usr/lib/libcompression.dylib
    0x7fff6a6d9000 -     0x7fff6a6efff7  libcoretls.dylib (167) <6D32CE15-591C-39AD-9A3E-0C2FFC03C3C1> /usr/lib/libcoretls.dylib
    0x7fff6a6f0000 -     0x7fff6a6f1fff  libcoretls_cfhelpers.dylib (167) <3CE60FA9-98FC-3EE0-B398-177F3CAA850D> /usr/lib/libcoretls_cfhelpers.dylib
    0x7fff6ae1a000 -     0x7fff6ae1afff  libenergytrace.dylib (21) <8E5C9BB2-14F4-37DF-AAE7-8130EBF466A3> /usr/lib/libenergytrace.dylib
    0x7fff6ae42000 -     0x7fff6ae44fff  libfakelink.dylib (149) <7296A5B3-EE44-34E6-810A-2A12C2D3EF68> /usr/lib/libfakelink.dylib
    0x7fff6ae53000 -     0x7fff6ae58fff  libgermantok.dylib (24) <7B3FFFFB-5E34-3940-8E0A-B64A2DE42E68> /usr/lib/libgermantok.dylib
    0x7fff6ae63000 -     0x7fff6af53ff7  libiconv.2.dylib (59) <30414773-5E42-3976-B7C3-9BB8883792EE> /usr/lib/libiconv.2.dylib
    0x7fff6af54000 -     0x7fff6b1acff7  libicucore.A.dylib (64252.0.1) <0F9294A7-6EC0-3279-BF92-3233C89DFA0A> /usr/lib/libicucore.A.dylib
    0x7fff6b1c6000 -     0x7fff6b1c7fff  liblangid.dylib (133) <EDF945D6-A37D-3DEB-B956-B4745269603D> /usr/lib/liblangid.dylib
    0x7fff6b1c8000 -     0x7fff6b1e0ff3  liblzma.5.dylib (16) <F75FB525-C702-3A7E-9239-28D57E677DD5> /usr/lib/liblzma.5.dylib
    0x7fff6b1f8000 -     0x7fff6b29ffff  libmecab.dylib (883.1.1) <A2C923A6-D955-3FF1-82AE-7E54947F9566> /usr/lib/libmecab.dylib
    0x7fff6b2a0000 -     0x7fff6b502fe1  libmecabra.dylib (883.1.1) <971A30D4-1C27-3DD1-AACF-8337AE059F70> /usr/lib/libmecabra.dylib
    0x7fff6b9d0000 -     0x7fff6be46ff7  libnetwork.dylib (1880.60.5) <8B4092C3-9F1C-34C3-A73D-A2228C345831> /usr/lib/libnetwork.dylib
    0x7fff6bee5000 -     0x7fff6bf17ff6  libobjc.A.dylib (781.2) <99501DBA-94BF-35A1-A85D-189A4C38CABF> /usr/lib/libobjc.A.dylib
    0x7fff6bf2a000 -     0x7fff6bf2efff  libpam.2.dylib (25) <55302451-C2B2-3DB4-9092-B84E236104DA> /usr/lib/libpam.2.dylib
    0x7fff6bf31000 -     0x7fff6bf67ff7  libpcap.A.dylib (89.60.2) <FD167BF3-6984-36E1-9D93-E8B98E3E64A1> /usr/lib/libpcap.A.dylib
    0x7fff6c05d000 -     0x7fff6c23eff7  libsqlite3.dylib (308.4) <08CF1AFB-5453-36C4-8CB4-F41D2B8CA94A> /usr/lib/libsqlite3.dylib
    0x7fff6c490000 -     0x7fff6c493ffb  libutil.dylib (57) <6CB26E6D-AD27-3FA8-8A30-4AFC3A2AE3F9> /usr/lib/libutil.dylib
    0x7fff6c494000 -     0x7fff6c4a1fff  libxar.1.dylib (420) <317EA455-78EE-35A4-B63F-D85993B8697C> /usr/lib/libxar.1.dylib
    0x7fff6c4a7000 -     0x7fff6c589ff7  libxml2.2.dylib (32.14) <4F4EB304-2AA5-3E5F-AB24-F645E0D16EFC> /usr/lib/libxml2.2.dylib
    0x7fff6c58d000 -     0x7fff6c5b5fff  libxslt.1.dylib (16.7) <E9BBE609-BA57-368D-95D7-ACA3A8C1AE8B> /usr/lib/libxslt.1.dylib
    0x7fff6c5b6000 -     0x7fff6c5c8ffb  libz.1.dylib (76) <52250917-039C-3B46-8011-497FEACF3550> /usr/lib/libz.1.dylib
    0x7fff6d02c000 -     0x7fff6d031ff3  libcache.dylib (83) <11C19883-6F99-390D-AF2A-A85A99DDFC48> /usr/lib/system/libcache.dylib
    0x7fff6d032000 -     0x7fff6d03dfff  libcommonCrypto.dylib (60165) <FEE99884-61F0-3332-852B-B0BB8EFF2288> /usr/lib/system/libcommonCrypto.dylib
    0x7fff6d03e000 -     0x7fff6d045fff  libcompiler_rt.dylib (101.2) <D7367E6D-A27D-3209-A3DB-A6F44582E502> /usr/lib/system/libcompiler_rt.dylib
    0x7fff6d046000 -     0x7fff6d04ffff  libcopyfile.dylib (166.40.1) <91670D15-CB30-3277-8AA9-9A299CEAAE27> /usr/lib/system/libcopyfile.dylib
    0x7fff6d050000 -     0x7fff6d0e7fdb  libcorecrypto.dylib (866.80.2) <3B110D82-B403-31E8-8109-8BBC79C928CE> /usr/lib/system/libcorecrypto.dylib
    0x7fff6d1fe000 -     0x7fff6d23fff0  libdispatch.dylib (1173.60.1) <5EF42E98-AD0D-3FAE-ABD4-46D791B8343F> /usr/lib/system/libdispatch.dylib
    0x7fff6d240000 -     0x7fff6d275ff7  libdyld.dylib (733.8) <8B0DFE8A-42CF-32C8-B121-83C22BF25F69> /usr/lib/system/libdyld.dylib
    0x7fff6d276000 -     0x7fff6d276ffb  libkeymgr.dylib (30) <7DADC026-70A8-390F-95AF-F3F345760F24> /usr/lib/system/libkeymgr.dylib
    0x7fff6d277000 -     0x7fff6d283ff7  libkxld.dylib (6153.81.5) <7572CC82-E7E1-3C38-825F-9B34E2EADAD0> /usr/lib/system/libkxld.dylib
    0x7fff6d284000 -     0x7fff6d284ff7  liblaunch.dylib (1738.80.8) <C4EA8803-E506-3514-9839-9BBECC819953> /usr/lib/system/liblaunch.dylib
    0x7fff6d285000 -     0x7fff6d28aff7  libmacho.dylib (949.0.1) <395ABE7C-D2B1-343D-A451-9CEA98FDC12E> /usr/lib/system/libmacho.dylib
    0x7fff6d28b000 -     0x7fff6d28dff7  libquarantine.dylib (110.40.3) <560961FC-1FEF-3F07-8406-17A36558870E> /usr/lib/system/libquarantine.dylib
    0x7fff6d28e000 -     0x7fff6d28fff7  libremovefile.dylib (48) <E99833DE-CB1D-31AB-A948-2739AF503599> /usr/lib/system/libremovefile.dylib
    0x7fff6d290000 -     0x7fff6d2a7fff  libsystem_asl.dylib (377.60.2) <21A259BC-F892-34EB-9A67-11232AD8913A> /usr/lib/system/libsystem_asl.dylib
    0x7fff6d2a8000 -     0x7fff6d2a8fff  libsystem_blocks.dylib (74) <8B23F806-8153-3163-B5D8-2C3327E211D8> /usr/lib/system/libsystem_blocks.dylib
    0x7fff6d2a9000 -     0x7fff6d330ff7  libsystem_c.dylib (1353.60.8) <99202CC3-2E27-3680-A8FF-5C516C485E90> /usr/lib/system/libsystem_c.dylib
    0x7fff6d331000 -     0x7fff6d334ffb  libsystem_configuration.dylib (1061.80.3) <8A149700-51AA-3205-A9D4-FF2A7BFC5412> /usr/lib/system/libsystem_configuration.dylib
    0x7fff6d335000 -     0x7fff6d338ff7  libsystem_coreservices.dylib (114) <CCC076FA-310D-3FC9-950D-41E0F8DDA5D2> /usr/lib/system/libsystem_coreservices.dylib
    0x7fff6d339000 -     0x7fff6d341fff  libsystem_darwin.dylib (1353.60.8) <31ACD3CC-6DD9-3F2E-B163-9342BE1D0AB0> /usr/lib/system/libsystem_darwin.dylib
    0x7fff6d342000 -     0x7fff6d349ffb  libsystem_dnssd.dylib (1096.60.2) <BEBB815A-065A-365E-9701-8E05A8CF2040> /usr/lib/system/libsystem_dnssd.dylib
    0x7fff6d34a000 -     0x7fff6d34bffb  libsystem_featureflags.dylib (17) <340AD606-7C39-3E6A-BAC3-EA1273FC27A4> /usr/lib/system/libsystem_featureflags.dylib
    0x7fff6d34c000 -     0x7fff6d399fff  libsystem_info.dylib (538) <B0EBAE05-01AD-3D8E-92CC-5704394FF94A> /usr/lib/system/libsystem_info.dylib
    0x7fff6d39a000 -     0x7fff6d3c6ff7  libsystem_kernel.dylib (6153.81.5) <23909F45-79C3-34C9-A28F-337915925E5E> /usr/lib/system/libsystem_kernel.dylib
    0x7fff6d3c7000 -     0x7fff6d413fff  libsystem_m.dylib (3178) <5236DC09-35C8-31A4-AE2A-92DA3DF30FE6> /usr/lib/system/libsystem_m.dylib
    0x7fff6d414000 -     0x7fff6d43bfff  libsystem_malloc.dylib (283.60.1) <00190446-C6A8-3EA6-92D1-850EA85C84CE> /usr/lib/system/libsystem_malloc.dylib
    0x7fff6d43c000 -     0x7fff6d449ffb  libsystem_networkextension.dylib (1095.60.2) <1E7A59D0-BBCD-3CB0-8AD1-D442A1A5268E> /usr/lib/system/libsystem_networkextension.dylib
    0x7fff6d44a000 -     0x7fff6d453ff3  libsystem_notify.dylib (241) <AB3FAC47-A830-3158-8D99-DBC728CED1D6> /usr/lib/system/libsystem_notify.dylib
    0x7fff6d454000 -     0x7fff6d45dfef  libsystem_platform.dylib (220) <3DAFCC01-B768-3FFC-AC59-47AAE86BBEA1> /usr/lib/system/libsystem_platform.dylib
    0x7fff6d45e000 -     0x7fff6d468fff  libsystem_pthread.dylib (416.60.2) <AAF506F4-9455-3CC4-8E0B-6791E3C0993C> /usr/lib/system/libsystem_pthread.dylib
    0x7fff6d469000 -     0x7fff6d46dfff  libsystem_sandbox.dylib (1217.80.1) <C8F3841A-9364-3414-9E3F-9DE3D5FECF0C> /usr/lib/system/libsystem_sandbox.dylib
    0x7fff6d46e000 -     0x7fff6d470fff  libsystem_secinit.dylib (62.80.1) <32F36517-9A1C-3D30-85C8-611A2F5E2355> /usr/lib/system/libsystem_secinit.dylib
    0x7fff6d471000 -     0x7fff6d478ffb  libsystem_symptoms.dylib (1238.60.1) <2EDF9CE8-4091-30A8-B125-0F25E579694A> /usr/lib/system/libsystem_symptoms.dylib
    0x7fff6d479000 -     0x7fff6d48fff2  libsystem_trace.dylib (1147.80.3) <AE11B1AC-352A-37F0-BCA9-055609070104> /usr/lib/system/libsystem_trace.dylib
    0x7fff6d491000 -     0x7fff6d496ffb  libunwind.dylib (35.4) <E867ACDE-EADE-3C91-A2A4-0C401788FD47> /usr/lib/system/libunwind.dylib
    0x7fff6d497000 -     0x7fff6d4ccffe  libxpc.dylib (1738.80.8) <51E3E807-9133-3605-BB5F-D59ED6404ABF> /usr/lib/system/libxpc.dylib

External Modification Summary:
  Calls made by other processes targeting this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by all processes on this machine:
    task_for_pid: 1468
    thread_create: 0
    thread_set_state: 0

VM Region Summary:
ReadOnly portion of Libraries: Total=423.7M resident=0K(0%) swapped_out_or_unallocated=423.7M(100%)
Writable regions: Total=80.2M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=80.2M(100%)

                                VIRTUAL   REGION 
REGION TYPE                        SIZE    COUNT (non-coalesced) 
===========                     =======  ======= 
Kernel Alloc Once                    8K        1 
MALLOC                            51.3M       14 
MALLOC guard page                   16K        4 
STACK GUARD                       56.0M        2 
Stack                             8712K        2 
VM_ALLOCATE                       20.2M       64 
__DATA                            6083K      122 
__DATA_CONST                        48K        3 
__LINKEDIT                       354.1M        4 
__OBJC_RO                         32.0M        1 
__OBJC_RW                         1780K        2 
__TEXT                            69.6M      121 
__UNICODE                          564K        1 
mapped file                       2944K        3 
shared memory                        8K        2 
===========                     =======  ======= 
TOTAL                            603.0M      346 

Thanks for any help!

junegunn commented 4 years ago

So it works now, right? Maybe the binary you downloaded via Homebrew was corrupted somehow. If you keep having the problem, you might want to reach out to Homebrew team.

SolidStill commented 4 years ago

No, I'm afraid not 😞

I installed a fresh download of Catalina 10.15.3 on a freshly formated drive, new xcode CL tools download, and ran into exactly the same problems, as above, with both fzf and and the Ruby installation.

I've made the following two posts on the Homebrew discourse:

  1. fzf post: https://discourse.brew.sh/t/fzf-corrupted-install-via-bottle-and-also-via-source-build/7236
  2. Ruby post: https://discourse.brew.sh/t/post-install-illegal-instruction-warning-installing-ruby-2-7-0-catalina-bottle-1-tar-gz/7246
chdiza commented 4 years ago

I'm having a very similar problem on macOS 10.13.6, using the precompiled binaries at junegunn/fzf-bin.

If having started fzf I type the sequence mar quickly, I get a "SIGILL: Illegal instruction" and bunch of garbled output that isn't really cut-and-pasteable here. Plus the terminal is borked.

This problem doesn't occur on 10.14.6, even when using the same precompiled binary.

SolidStill commented 4 years ago

Are you using MacOS Patcher for Unsupported/Older macs on the system showing errors?

chdiza commented 4 years ago

No. I don't even know what that is.

SolidStill commented 4 years ago

Ok, well what u r describing is definitely descriptive of the behaviour I'm getting - and I was wondering whether it was because of that Patcher since it confuses Homebrew (it thinks I have a more recent CPU than I actually do). "Go" (fzf dependency) is also kicking up illegal instruction errors when I try to install via brew - whether I install via bottle or if I build from source. If you have a minute it might be worth trying to build Go from source and see if that gives you any issues. Other than that, is there anything particularly unusual about your system (Hackinstosh or something like that)?

chdiza commented 4 years ago

I'm doing nothing unusual. I'm not on a Hackintosh. I'm using the precompiled binary from @junegunn's fzf-bin repo, not from Homebrew. There are thus no links to Homebrew or anything it installs.

SolidStill commented 4 years ago

Right, I hear you, vanilla all the way. I'm asking about the Go build because fzf is made with Go - if Go is failing on your system I'm thinking it stands to reason that Go is highly likely to be the cause. I've done a bit of reading around the Go distributions, and it seems like there may have been some issues lurking under the surface for a while. What Mac model (or serial #) are you using btw?

chdiza commented 4 years ago

Go is not failing on my system because I don't have Go installed. The machine is an "iMac 11,2", running fully up-to-date High Sierra.

polothy commented 4 years ago

Go 1.14 is bugged for older machines. Supposed to be fixed in 1.14.1.

SolidStill commented 4 years ago

Good to know... That would explain why I was able to build fzf from source by building against a Go 1.14.1 binary from Go's official website - but the 1.14 Go binary I built-from-source via Homebrew failed to compile fzf, outputing its own SIGILL warnings.

junegunn commented 4 years ago

Thanks for the info. I'll make sure to use Go 1.14.1 when building the binaries for the next release.