unused: 'unused' terminated by signal SIGSEGV (Address boundary error)
Hello! When running unused
, unused --help
, and unused doctor
, I get the following error:
With fish:
fish: 'unused' terminated by signal SIGSEGV (Address boundary error)
With zsh:
zsh: segmentation fault unused
I have unused version 0.2.0 installed via Homebrew (unused-code/formulae
) on macOS Big Sur 11.2.3 with an M1 Macbook. ctags were successfully generated with Universal Ctags. Maybe it’s something weird with the M1 architecture?
If there’s anything I can do to help debug, let me know!
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 20 (9 by maintainers)
@sergiopantoja @jcamblan @marckohlbrugge thanks for your patience while I got this sorted!
I’ve released version 0.2.2 of unused, which includes a feature flag to enable mimalloc. I’ve also updated the Homebrew formula to opt out of mimalloc use. Finally, I’ve gone ahead and updated the README to account for the additional configuration, including the suggestion to uninstall/untap and then try again.
I’m hoping that as mimalloc gets wider adoption, the ARM issues will iron themselves on the Apple M1s and folks can use it (especially considering it’s significantly faster than the default).
@marckohlbrugge Alright! Want to give this a try?
Once you’re set with this, could you give
unused
another try?@marckohlbrugge oh, fascinating! I’ve been running it under
/usr/local
since I picked up my M1.It’s still not super clear what the problem would be; a few ideas, if you’re interested (it may require some setup!):