You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I randomly get that error when I try to run my code.
The only package I use is "discord.js-selfbot-v13", here is a part of the code that I run:
import*asDiscordfrom"discord.js-selfbot-v13";constclient=newDiscord.Client()asClient;declare global {namespaceNodeJS{interfaceProcess{_sayrixPresence: Discord.Presence;}}interfaceClientextendsDiscord.Client{lastUpdate: number;}}client.on("ready",async()=>{console.log(`${client.user?.username} is ready!`);constguild=client.guilds.cache.get("634848647829258251");constsayrix=guild?.members.cache.get("629031362351071252");if(!sayrix?.presence?.status){client.user?.setStatus("invisible");console.log("Set status to invisible");}});client.lastUpdate=Date.now();client.login("TOKEN");process.on("unhandledRejection",(err)=>{console.error("🚨 Unhandled Rejection:",err);});process.on("uncaughtException",(err)=>{console.error("🚨 Uncaught Exception:",err);});
Here is a video of me running almost the same code as above, randomly having that crash.
19.January.2025.21h39m33s.mp4
OS Name Microsoft Windows 11 Pro
Version 10.0.26100 Build 26100
Relevant log output
Stack Trace (bun.report)
Bun v1.1.45 (196621f) on windows x86_64 [AutoCommand]
How can we reproduce the crash?
I randomly get that error when I try to run my code.
The only package I use is "discord.js-selfbot-v13", here is a part of the code that I run:
Here is a video of me running almost the same code as above, randomly having that crash.
19.January.2025.21h39m33s.mp4
OS Name Microsoft Windows 11 Pro
Version 10.0.26100 Build 26100
Relevant log output
Stack Trace (bun.report)
Bun v1.1.45 (
196621f
) on windows x86_64 [AutoCommand]Segmentation fault at address 0x00000050
FTLLowerDFGToB3.cpp:16162
:JSC::FTL::\
anonymous namespace'::LowerDFGToB3::compileMaterializeNewObject`AssemblerBuffer.h:431
:JSC::AssemblerBuffer::LocalWriter::~LocalWriter
Vector.h:1778
:WTF::Vector<std::pair<JSC::X86Registers::RegisterID,JSC::X86Registers::RegisterID>,1,WTF::CrashOnOverflow,16,WTF::FastMalloc>::removeAllMatching
PrintStream.h:73
:WTF::PrintStream::atomically<\
lambda at C:\a\WebKit\WebKit\WebKitBuild\WTF\Headers\wtf\PrintStream.h:80:13'>`Vector.h:380
:WTF::VectorBufferBase<JSC::AbstractMacroAssembler<JSC::X86Assembler>::Jump,WTF::FastMalloc>::deallocateBuffer
StdLibExtras.h:1104
:WTF::memcpySpan
ustrcase_internalToTitle_73
span:216
:std::_Span_extent_type<const unsigned char,18446744073709551615>::_Span_extent_type
Parser.h:2297
:JSC::parse<JSC::ModuleProgramNode>
corecrt_internal_big_integer.h:345
:__crt_strtox::multiply
Features: bunfig, fetch, jsc, transpiler_cache, tsconfig, tsconfig
Sentry Issue: BUN-BFE
The text was updated successfully, but these errors were encountered: