storj / gateway-st

Single-tenant, S3-compatible server to interact with the Storj network
Apache License 2.0
71 stars 19 forks source link

segfault when using minio browser #73

Closed pwilloughby closed 1 year ago

pwilloughby commented 1 year ago

What version of Gateway-ST are you using (gateway version)?

$ gateway version
Release build
Version: v1.8.3

Does this issue reproduce with the latest release?

yes

What did you do?

Log into the minio browser, gateway-st immediately segfaults and exits.

Initial report: https://forum.storj.io/t/error-invalid-ui-version-in-the-json-rpc-response/21444

storjrobot commented 1 year ago

This issue has been mentioned on Storj Community Forum (official). There might be relevant details there:

https://forum.storj.io/t/error-invalid-ui-version-in-the-json-rpc-response/21444/20

halkyon commented 1 year ago

From some initial investigation it looks like it was broken in v1.8.3 which is where we upgraded from Go 1.17 to 1.19.

I tried running the gateway latest commit with Go 1.17 locally and opening minio does not produce a segfault. On Go 1.18, 1.19, or 1.20 it does. Given gateway-mt is not affected, there must be some sort of incompatibility with newer Go versions in minio admin specifically.

storj-gerrit[bot] commented 1 year ago

Change go.mod: bump json-iterator to v1.1.12 to fix Go 1.18+ compatibility mentions this issue.

storj-gerrit[bot] commented 1 year ago

Change go.mod: bump minio to fix minio admin crashes mentions this issue.

storj-gerrit[bot] commented 1 year ago

Change go.mod: bump minio mentions this issue.