Closed leohhhn closed 7 months ago
full trace result and txtar test: https://gist.github.com/thehowl/f0ca7715705998116c2c88a6811a692f
This seems to be related to realm storage of time.Time values which have a Location value of the timezone. Needs some more investigation.
Specifically, the machine info seems to point to the error happening somewhere here:
You're spot on with the line in question @thehowl. It's resolving the l.cacheZone
selector that is causing the problem. For some reason, reading that object from storage is returning an array typed value rather than the expected struct. So far it's unclear to me if something got mucked up in how this data is being read or how the data was saved. I'll take a closer look at it.
While working on the rendering of the blog realm, I came upon a possible Gno bug. Specifically, the bug happens when trying to return the value of a
time.Time
, formatted to theRFC3339
format using.Format()
.Take a look at the following example realm.
Calling the following commands:
Here is a gist of the error. I am sure the formats passed in as strings are valid in Go: https://go.dev/play/p/IFMutN8aWGV
Running a
vm/qeval
returns a 500 internal server error:What might be causing this?
cc @thehowl