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 use gdal-async C++ addons fail #17107

Closed
me9rez opened this issue Feb 6, 2025 · 1 comment
Closed

bun use gdal-async C++ addons fail #17107

me9rez opened this issue Feb 6, 2025 · 1 comment
Labels
crash An issue that could cause a crash windows An issue that is known to occur on Windows

Comments

@me9rez
Copy link

me9rez commented Feb 6, 2025

How can we reproduce the crash?

const gdal = require("gdal-async");

console.log(gdal);

Relevant log output

Image

Stack Trace (bun.report)

Bun v1.2.2 (c1708ea) on windows x86_64 [RunCommand]

Segmentation fault at address 0x04F9772E

  • 1 unknown/js code
  • ??? at 0x4294ca in node.exe
  • ??? at 0x1511 in gdal.node
  • ??? at 0x12b4575 in gdal.node
  • ??? at 0x1286b5a in gdal.node
  • ??? at 0x1286cd0 in gdal.node
  • ??? at 0x12080 in ntdll.dll
  • ??? at 0x1142c in ntdll.dll
  • ??? at 0xc18da in ntdll.dll
  • ??? at 0xc15c3 in ntdll.dll

Features: jsc, tsconfig, tsconfig

Sentry Issue: BUN-99Q

@me9rez me9rez added the crash An issue that could cause a crash label Feb 6, 2025
@github-actions github-actions bot added the windows An issue that is known to occur on Windows label Feb 6, 2025
@190n
Copy link
Contributor

190n commented Feb 6, 2025

It looks like gdal-async uses V8's C++ API, which Bun doesn't support very well yet. This is a known issue affecting several packages, and we're tracking progress in #4290.

@190n 190n closed this as completed Feb 6, 2025
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 is known to occur on Windows
Projects
None yet
Development

No branches or pull requests

2 participants