Open Atulin opened 2 months ago
Any chance you could paste the JSON files?
Here it is, all the JSON files being used. The { name, el }
come from the elements.txt
file lines split by |
, trimmed, and mapped to an object.
The files in the zip already have their element_secondary
set, so you might want to remove those properties for a more true to life test.
How can we reproduce the crash?
Crash occurred when reading, modifying, and writing 200+ json files in a loop. Each file's content was parsed with a Zod schema first, but the crash occurs even when the data is not parsed.
JavaScript/TypeScript code that reproduces the crash?
Relevant log output
Stack Trace (bun.report)
Bun v1.1.12 (
43f0913
) on windows x86_64 [AutoCommand]panic: incorrect alignment
types.zig:191
:toJS
blob.zig:1064
:writeFile