Open ridhwaans opened 2 months ago
@ridhwaans, the latest version of Bun is v1.1.27, but this crash was reported on Bun v1.1.10.
Are you able to reproduce this crash on the latest version of Bun?
bun upgrade
updated to 1.1.27 and the issue persists
Unfortunately, we will need a complete reproduction that ideally includes the video file for us to reproduce this.
Hello @ridhwaans. Please provide a minimal reproduction using a GitHub repository, Replit, or CodeSandbox. Issues marked with needs repro
will be closed if they have no activity within 3 days.
@Jarred-Sumner
# https://github.com/ridhwaans/test-express/
git clone git@github.com:ridhwaans/test-express.git
unfortunately i cannot share the file due to copyright issue
it might be a codec issue, probably can test different files in the public domain
How can we reproduce the crash?
1) create a
/src/index.ts
with the following express app2) Create a
bun dev
command3) Run
bun dev
and go tolocalhost:3004/video
Expected the a html video element to play the video.
Instead the backend crashes with the logged output below.
Hard to say if it is a issue with the headers or file
It also crashes sometimes when
videoRef.current.currentTime
is scrubbed on the clientRelevant log output
Stack Trace (bun.report)
Bun v1.1.10 (
5102a94
) on linux x86_64 [AutoCommand]panic: A C++ exception occurred
bindings.zig:1901
:Zig__GlobalObject__onCrash