Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bun crashed upon spamming HTTP requests which downloaded files #12340

Open
Dawsson opened this issue Jul 4, 2024 · 1 comment
Open

Bun crashed upon spamming HTTP requests which downloaded files #12340

Dawsson opened this issue Jul 4, 2024 · 1 comment
Labels
crash An issue that could cause a crash windows An issue that only occurs on Windows

Comments

@Dawsson
Copy link

Dawsson commented Jul 4, 2024

How can we reproduce the crash?

Unsure of what caused it. I was spamming POST requests to the server which downloaded a file and saved its hashed along with some other body data to a mongo database.

This was a Typescript, Hono, and Bun project ran using bun run --watch src/index.ts

Relevant log output

No response

Stack Trace (bun.report)

Bun v1.1.17 (bb66bba) on windows x86_64 [RunCommand]

panic: Internal assertion failure

  • debug.zig:443: panicExtra
  • bun.zig:3252: assertionFailure
  • memory_allocator.zig:26: mimalloc_free
  • PrintStream.h:71: WTF::PrintStream::atomically
  • MarkedBlockInlines.h:403: JSC::MarkedBlock::Handle::specializedSweep<0,0,0,0,0,0,0,JSC::JSDestructibleObjectDestroyFunc>
  • HashTable.h:140: WTF::HashTableConstIterator<WTF::HashTable<JSC::JSCell *,WTF::KeyValuePair<JSC::JSCell *,WTF::Vector<JSC::WriteBarrier<JSC::Unknown,WTF::RawValueTraits<JSC::Unknown> >,0,WTF::CrashOnOverflow,16,WTF::FastMalloc> >,WTF::KeyValuePairKeyExtractor<WTF::KeyValuePair<JSC::JSCell *,WTF::Vector<JSC::WriteBarrier<JSC::Unknown,WTF::RawValueTraits<JSC::Unknown> >,0,WTF::CrashOnOverflow,16,WTF::FastMalloc> > >,WTF::DefaultHash<JSC::JSCell *>,WTF::HashMap<JSC::JSCell *,WTF::Vector<JSC::WriteBarrier<JSC::Unknown,WTF::RawValueTraits<JSC::Unknown> >,0,WTF::CrashOnOverflow,16,WTF::FastMalloc>,WTF::DefaultHash<JSC::JSCell *>,WTF::HashTraits<JSC::JSCell *>,WTF::HashTraits<WTF::Vector<JSC::WriteBarrier<JSC::Unknown,WTF::RawValueTraits<JSC::Unknown> >,0,WTF::CrashOnOverflow,16,WTF::FastMalloc> >,WTF::HashTableTraits>::KeyValuePairTraits,WTF::HashTraits<JSC::JSCell *> >,JSC::JSCell *,WTF::KeyValuePair<JSC::JSCell *,WTF::Vector<JSC::WriteBarrier<JSC::Unknown,WTF::RawValueTraits<JSC::Unknown> >,0,WTF::CrashOnOverflow,16,WTF::FastMalloc> >,WTF::KeyValuePairKeyExtractor<WTF::KeyValuePair<JSC::JSCell *,WTF::Vector<JSC::WriteBarrier<JSC::Unknown,WTF::RawValueTraits<JSC::Unknown> >,0,WTF::CrashOnOverflow,16,WTF::FastMalloc> > >,WTF::DefaultHash<JSC::JSCell *>,WTF::HashMap<JSC::JSCell *,WTF::Vector<JSC::WriteBarrier<JSC::Unknown,WTF::RawValueTraits<JSC::Unknown> >,0,WTF::CrashOnOverflow,16,WTF::FastMalloc>,WTF::DefaultHash<JSC::JSCell *>,WTF::HashTraits<JSC::JSCell *>,WTF::HashTraits<WTF::Vector<JSC::WriteBarrier<JSC::Unknown,WTF::RawValueTraits<JSC::Unknown> >,0,WTF::CrashOnOverflow,16,WTF::FastMalloc> >,WTF::HashTableTraits>::KeyValuePairTraits,WTF::HashTraits<JSC::JSCell *> >::skipEmptyBuckets
  • SlotVisitorInlines.h:46: JSC::SlotVisitor::appendUnbarriered
  • Scribble.h:48: JSC::scribble
  • StdLibExtras.h:387: WTF::findBitInWord
  • IsoSubspace.cpp:59: JSC::IsoSubspace::~IsoSubspace
@Dawsson Dawsson added the crash An issue that could cause a crash label Jul 4, 2024
@github-actions github-actions bot added the windows An issue that only occurs on Windows label Jul 4, 2024
@Dawsson
Copy link
Author

Dawsson commented Jul 4, 2024

Also occurred in 1.1.18

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
crash An issue that could cause a crash windows An issue that only occurs on Windows
Projects
None yet
Development

No branches or pull requests

1 participant