Open ogzhanolguncu opened 6 months ago
Is there a particular test file we can take a look at that appears to cause the crash?
https://github.com/upstash/upstash-redis/actions/runs/9061862211/job/24894513352 In this case it failed at pkg/commands/spop.test.ts
. I feel like its random. But somehow manage to succeed here https://github.com/upstash/upstash-redis/actions/runs/9025180709. Also we started to see these problems after we introduced custom CI runner.
How can we reproduce the crash?
This issue doesn't happen locally; it only occurs in CI. When we first introduced Bun 1.0 about six months ago, we didn't have these issues. Lately, they have become more prominent.
https://github.com/upstash/upstash-redis
JavaScript/TypeScript code that reproduces the crash?
No response
Relevant log output
No response
Stack Trace (bun.report)
Bun v1.1.8 (
89d2580
) on linux x86_64_baseline [TestCommand]Segmentation fault at address 0x00000000
ld-temp.o:0
:void WTF::URLParser::parse<char16_t>
??
writer.zig:23
:fmt.formatType__anon_490610
WebSocketHandshake.h:64
:uWS::WebSocketHandshake::sha1
fixed_buffer_stream.zig:40
:src.logger.Log.addErrorFmt__anon_311691
ConsoleObject.zig:854
:src.bun.js.ConsoleObject.Formatter.PropertyIterator
array_list.zig:1157
:src.js_printer.NewPrinter
interpreter.zig:4713
:src.shell.interpreter.Interpreter.Cmd.next
js_ast.zig:2318
:src.install.lockfile.Package.parseWithJSON__anon_321376
HashTable.h:622
:bool Bun__deepEquals<false, false>