Closed Parth3930 closed 4 months ago
Try upgrading to the latest version and then check if the error is still here
I am on the latest version. The error still persists.
On Sat, Jun 1, 2024, 2:23 AM Sayrix @.***> wrote:
Try upgrading to the latest version and then check if the error is still here
— Reply to this email directly, view it on GitHub https://github.com/oven-sh/bun/issues/11489#issuecomment-2142963668, or unsubscribe https://github.com/notifications/unsubscribe-auth/A2KGDNVY46G6FY22OI36NL3ZFDPNFAVCNFSM6AAAAABISDENJ6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNBSHE3DGNRWHA . You are receiving this because you authored the thread.Message ID: @.***>
likely related to Worker
which is not stable yet
For me issue was the same when tried to use bun upgrade
from 1.1.11 to 1.1.12
powershell -c "irm bun.sh/install.ps1|iex"
For me issue was the same when tried to use
bun upgrade
from 1.1.11 to 1.1.12
- resolved by just running manually
powershell -c "irm bun.sh/install.ps1|iex"
While these are both Segmentation faults, the cause is different. Sort of like undefined is not an object
This is either a duplicate of https://github.com/oven-sh/bun/issues/11617 (a bug on Windows when an error is thrown while reading a file via Bun.file(), or it was fixed via https://github.com/oven-sh/bun/pull/11635 and https://github.com/oven-sh/bun/pull/11494.
If you're still running into this issue after Bun v1.1.13 (or in the meantime, try bun upgrade --canary
), please let us know and we'll re-open the issue.
How can we reproduce the crash?
all i did was use fs to get my commands from the commands/messageCommands/{subfolders}, everything works fine when i use npm to run the bot.
JavaScript/TypeScript code that reproduces the crash?
Relevant log output
Stack Trace (bun.report)
Bun v1.1.7 (
b0b7db5
) on windows x86_64 [RunCommand]Segmentation fault at address 0xFFFFFFFFFFFFFFFF
??
??
uv__process_poll_req
??
uv_run
uws.zig:2619
:run
JSC__VM__holdAPILock
shimmer.zig:186
:cppFn
run_command.zig:1402
:exec
cli.zig:1733
:start