You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Darwin MacBookPro 24.0.0 Darwin Kernel Version 24.0.0: Tue Sep 24 23:39:07 PDT 2024; root:xnu-11215.1.12~1/RELEASE_ARM64_T6000 arm64
The latest known version that works seems to be 1.19.9.1. I looked into Git history and successively tried older and older versions for all commits titled "upgraded openresty to ..." (so 1.21.4.1, 1.21.4.2, and 1.25.3.2).
Strangely, at one point I noticed that I had 1.21.4.1_1 installed, so I was presumably running that for the past two years:
brew info openresty/brew/openresty
==> openresty/brew/openresty: stable 1.25.3.2
Scalable Web Platform by Extending NGINX with Lua
https://openresty.org
Installed
/opt/homebrew/Cellar/openresty/1.21.4.1_1 (308 files, 12.8MB)
Built from source on 2022-12-21 at 14:11:23
/opt/homebrew/Cellar/openresty/1.25.3.2_1 (325 files, 7.5MB) *
Built from source on 2024-10-08 at 16:48:43
From: https://github.com/openresty/homebrew-brew/blob/HEAD/Formula/openresty.rb
Sadly this older version got cleaned up by brew shortly after, so I could not verify if that version still worked after the unintentional brew upgrade that wholesale upgraded everything.
1.19.9.1_2 works, even though it shows the same libluajit version (5.1.2) like the newer ones that fail.
openresty -v
nginx version: openresty/1.19.9.1
otool -L /opt/homebrew/bin/openresty
/opt/homebrew/bin/openresty:
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1351.0.0)
/opt/homebrew/Cellar/openresty/1.19.9.1_2/luajit/lib/libluajit-5.1.2.dylib (compatibility version 2.1.0, current version 2.1.0)
/opt/homebrew/opt/pcre/lib/libpcre.1.dylib (compatibility version 4.0.0, current version 4.13.0)
/opt/homebrew/opt/openresty-openssl111/lib/libssl.1.1.dylib (compatibility version 1.1.0, current version 1.1.0)
/opt/homebrew/opt/openresty-openssl111/lib/libcrypto.1.1.dylib (compatibility version 1.1.0, current version 1.1.0)
/usr/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.12)
/opt/homebrew/opt/geoip/lib/libGeoIP.1.dylib (compatibility version 8.0.0, current version 8.12.0)
The text was updated successfully, but these errors were encountered:
dsimunic
changed the title
After upgrade to 1.25.3.2, getting terminated by signal SIGSEGV
Openresty dies with terminated by signal SIGSEGV after upgrade to 1.25.3.2
Oct 8, 2024
Indicate troubleshooting steps taken
brew update
and retried your prior step?brew doctor
, fixed as many issues as possible and retried your prior step?Brief summary of issue:
After unintentionally upgrading to 1.25.3.2 with
brew upgrade
, the binary fails with SYSSEGV. Running under lldb shows this error in luajit:Running on Sequoia.
The latest known version that works seems to be 1.19.9.1. I looked into Git history and successively tried older and older versions for all commits titled "upgraded openresty to ..." (so 1.21.4.1, 1.21.4.2, and 1.25.3.2).
Strangely, at one point I noticed that I had 1.21.4.1_1 installed, so I was presumably running that for the past two years:
Sadly this older version got cleaned up by brew shortly after, so I could not verify if that version still worked after the unintentional brew upgrade that wholesale upgraded everything.
1.19.9.1_2 works, even though it shows the same libluajit version (5.1.2) like the newer ones that fail.
The text was updated successfully, but these errors were encountered: