2.12.0 segfaults on Ventura 13.1 x86 Mac
- [x] This is a bug report
- [ ] This is a feature request
- [ x] I searched existing issues before opening this one
Expected behavior
hadolint from this site works ok on Mac OS Ventura 13.1 (on x86_64) similar to the brew version
Actual behavior
./hadolint-Darwin-x86_64
Segmentation fault: 11
Steps to reproduce the behavior
- Update Mac OS latest - Ventura 13.1 right now (on a x86 Mac - no idea what the behaviour is on arm mac as I do not have one)
- Download from https://github.com/hadolint/hadolint/releases/tag/v2.12.0
- chmod +x, make sure you right click open to have it blessed for running
- Run it
- Get
Segmentation fault: 11
Additional environment details (OS, stack version, etc.) x86 Mac OS Ventura 13.1 Note - the brew version works ok - it is your compile that does not work Check the similar ticket I previously reported: https://github.com/hadolint/hadolint/issues/897 - that was for 2.10 and Ventura 13 that you fixed. But in Ventura 13.1 this is happening again
Just a kind reminder that the downloadable version still segfaults the same way even on latest Mac OS Ventura 13.3 (22E252)
Brew version still works
I've been running into the same segfault issue on Ventura 13.4.1 and tracked it down to the upx compression. If I run upx -d against the downloads, they work fine. It sounds like upx support in general on Ventura has been problematic: https://github.com/upx/upx/issues/612
It seems that somehow the change from https://github.com/hadolint/hadolint/commit/fcbd01791c9251d83f2486e61ecaf41ee700a766 to skip upx compression on MacOS binaries isn't working?
It seems that somehow the change from fcbd017 to skip upx compression on MacOS binaries isn't working?
The change works. But it was made only after 2.12.0 got released. The 2.12.1 beta release does not crash on my system where I also get the issue with 2.12.0.