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 crashes when running DuckDB client #15255

Closed
davedbase opened this issue Nov 19, 2024 · 3 comments
Closed

Bun crashes when running DuckDB client #15255

davedbase opened this issue Nov 19, 2024 · 3 comments
Assignees
Labels
crash An issue that could cause a crash macOS An issue that occurs on macOS needs repro Needs an example to reproduce

Comments

@davedbase
Copy link

How can we reproduce the crash?

I'm not sure how helpful this is but I was able to recreate the panic by running a simple DuckDB query that creates a table and queries another, then close the connection. The issue seems to happen when closing the db specifically. I cannot easily reproduce the condition and I cannot be sure that this is an issue related to the DuckDB C++ extension itself.

Relevant log output

Stack Trace (bun.report)

Bun v1.1.33 (247456b) on macos aarch64 [AutoCommand]

panic: A C++ exception occurred

  • src.bun.js.javascript.VirtualMachine.resolveMaybeNeedsTrailingSlash__anon_115154
  • Bun::formatStackTrace
  • 5 unknown/js code
  • napi_is_date
  • Thread.PosixThreadImpl.spawn__anon_116617.Instance.entryFn

Features: Bun.stderr, Bun.stdin, Bun.stdout, dotenv, jsc, tsconfig, tsconfig_paths, tsconfig_paths

Sentry Issue: BUN-7QG

@davedbase davedbase added the crash An issue that could cause a crash label Nov 19, 2024
@github-actions github-actions bot added the macOS An issue that occurs on macOS label Nov 19, 2024
Copy link
Contributor

@davedbase, the latest version of Bun is v1.1.34, but this crash was reported on Bun v1.1.33.

Are you able to reproduce this crash on the latest version of Bun?

bun upgrade

@nektro nektro added the needs repro Needs an example to reproduce label Nov 19, 2024
Copy link
Contributor

Hello @davedbase. Please provide a minimal reproduction using a GitHub repository, Replit, CodeSandbox, or provide a bulleted list of commands to run that reproduce this issue. Issues marked with needs repro will be closed if they have no activity within 3 days.

@davedbase
Copy link
Author

Yup, updating solved it. Sweet, thanks for the quick response. You guys rock!

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 macOS An issue that occurs on macOS needs repro Needs an example to reproduce
Projects
None yet
Development

No branches or pull requests

3 participants