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

Null Pointer Exception in RegExpObject::exec #18068

Open
MisterJimson opened this issue Mar 11, 2025 · 4 comments
Open

Null Pointer Exception in RegExpObject::exec #18068

MisterJimson opened this issue Mar 11, 2025 · 4 comments
Labels
crash An issue that could cause a crash linux An issue that occurs on Linux runtime

Comments

@MisterJimson
Copy link

How can we reproduce the crash?

No response

Relevant log output

Stack Trace (bun.report)

Bun v1.2.4 (fd9a5ea) on linux x86_64_baseline [RunCommand]

Segmentation fault at address 0x00000000

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

@MisterJimson MisterJimson added the crash An issue that could cause a crash label Mar 11, 2025
@github-actions github-actions bot added linux An issue that occurs on Linux runtime labels Mar 11, 2025
Copy link
Contributor

@MisterJimson, thank you for reporting this crash. The latest version of Bun is v1.2.5, but this crash was reported on Bun v1.2.4.

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

bun upgrade

For Bun's internal tracking, this issue is BUN-4KY.

@MisterJimson
Copy link
Author

Attempting to see if 1.2.5 fixes it

@190n
Copy link
Contributor

190n commented Mar 11, 2025

Can you share the code you ran that causes this segfault?

@MisterJimson
Copy link
Author

Unfortunately it's a large codebase and I haven't identified the specific code that triggered this yet.

@DonIsaac DonIsaac changed the title Bun Crash Report - RegExpInlines.h:168 Null Pointer Exception in RegExpObject::exec Mar 12, 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 linux An issue that occurs on Linux runtime
Projects
None yet
Development

No branches or pull requests

2 participants