psst
psst copied to clipboard
crashing with "Symbol not found: ____chkstk_darwin" on macOS 10.13
On macOS, using the latest prebuilt binary (downloaded today), I open the app and successfully login with my username and password. But then trying to run the app results in a segfault. I'm running High Sierra 10.13.6, I'm assuming that this isn't supported?
Segfault output is below:
> ./psst-gui
[2021-08-17T18:13:29Z INFO psst_gui::data::config] loading config: "/Users/me/Library/Application Support/Psst/config.json"
[2021-08-17T18:13:29Z INFO psst_core::cache] using cache: "/Users/me/Library/Caches/Psst"
[psst-gui/src/widget/promise.rs:44] self_id = WidgetId(
1,
)
[2021-08-17T18:13:29Z INFO psst_core::access_token] access token expired, requesting
[psst-gui/src/widget/promise.rs:44] self_id = WidgetId(
36,
)
[psst-gui/src/widget/promise.rs:44] self_id = WidgetId(
99,
)
dyld: lazy symbol binding failed: Symbol not found: ____chkstk_darwin
Referenced from: /Users/me/app/psst/./psst-gui (which was built for Mac OS X 10.15)
Expected in: /usr/lib/libSystem.B.dylib
dyld: Symbol not found: ____chkstk_darwin
Referenced from: /Users/me/app/psst/./psst-gui (which was built for Mac OS X 10.15)
Expected in: /usr/lib/libSystem.B.dylib
Abort trap: 6
Building from source, however, and then running works ok (after upgrading to rust 1.54.0). Apologies for the noise, feel free to close if this is expected behavior.
The Mac runners hosted by GitHub are using macOS 10.15, and @dustmop is running on 10.13. The binary builds will need to run on macOS 10.15 or higher.
@jpochyla we could fix this by setting MACOSX_DEPLOYMENT_TARGET to a minimum supported version (https://github.com/rust-lang/cargo/issues/4667)