oven-sh / bun

Incredibly fast JavaScript runtime, bundler, test runner, and package manager – all in one
https://bun.sh
Other
73.01k stars 2.66k forks source link

Segmentation fault (Using zeromq) #12746

Open Araxeus opened 1 month ago

Araxeus commented 1 month ago

How can we reproduce the crash?

import zeromq and create any socket

import zmq from 'zeromq';
const sock = new zmq.Publisher();

Relevant log output

Bun Canary v1.1.21-canary.1 (5a5f3d6b) Windows x64
CPU: sse42 avx avx2 avx512
Args: "C:\Users\Araxeus\.bun\bin\bun.exe" "z.ts"
Features: jsc dotenv tsconfig_paths(2) tsconfig(4)
Builtins: "bun:main" "node:fs" "node:os" "node:path" "node:string_decoder" "node:util/types"
Elapsed: 72ms | User: 15ms | Sys: 62ms
RSS: 110.92MB | Peak: 110.93MB | Commit: 0.15GB | Faults: 27298

Stack Trace (bun.report)

Bun v1.1.21-canary (5a5f3d6) on windows x86_64 [AutoCommand]

Segmentation fault at address 0x000000A8

Features: jsc, dotenv, tsconfig_paths, tsconfig

Araxeus commented 1 month ago

see also #12711