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

segfault from cozodb #12000

Open
tobowers opened this issue Jun 20, 2024 · 2 comments
Open

segfault from cozodb #12000

tobowers opened this issue Jun 20, 2024 · 2 comments
Labels
crash An issue that could cause a crash macOS An issue that occurs on macOS

Comments

@tobowers
Copy link

How can we reproduce the crash?

cozodb/cozo#268

import { describe, it } from "bun:test";
import { CozoDb } from "cozo-node";

describe("database", () => {
  it("creates", async () => {
    const db = new CozoDb()
    const resp = await db.run("?[] <- [['hello', 'world!']]")
    // console.log("resp: ", resp)
  })
})

Relevant log output

panic(main thread): Segmentation fault at address 0x0
oh no: Bun has crashed. This indicates a bug in Bun, not your code.

Stack Trace (bun.report)

Bun v1.1.13 (bd6a605) on macos aarch64 [TestCommand]

Segmentation fault at address 0x00000000

  • 2 unknown/js code
  • NAPIFunction::call
  • 1 unknown/js code
  • llint_entry
  • llint_entry
  • llint_entry
  • llint_entry
  • 1 unknown/js code
  • llint_entry
@tobowers tobowers added the crash An issue that could cause a crash label Jun 20, 2024
@github-actions github-actions bot added the macOS An issue that occurs on macOS label Jun 20, 2024
Copy link
Contributor

@tobowers, the latest version of Bun is v1.1.14, but this crash was reported on Bun v1.1.13.

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

bun upgrade

@tobowers
Copy link
Author

same error on v1.1.15

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
Projects
None yet
Development

No branches or pull requests

1 participant