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

Crash when using glob pattern on Windows #10652

Closed
MT-ZD opened this issue Apr 29, 2024 · 0 comments · Fixed by #10792
Closed

Crash when using glob pattern on Windows #10652

MT-ZD opened this issue Apr 29, 2024 · 0 comments · Fixed by #10792
Assignees
Labels
bug Something isn't working crash An issue that could cause a crash glob Related to Bun.Glob

Comments

@MT-ZD
Copy link

MT-ZD commented Apr 29, 2024

How can we reproduce the crash?

I was able to reproduce it just by doing this:

import { Glob } from 'bun';

const glob = new Glob('/**/*/aa.ts');

const files = glob.scan(import.meta.dir);

Relevant log output

No response

Stack Trace (bun.report)

Bun v1.1.6 (#10596) on windows x86_64 [AutoCommand]

panic: Internal assertion failure

@MT-ZD MT-ZD added bug Something isn't working crash An issue that could cause a crash labels Apr 29, 2024
@zackradisic zackradisic self-assigned this Apr 29, 2024
@zackradisic zackradisic added the glob Related to Bun.Glob label Apr 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working crash An issue that could cause a crash glob Related to Bun.Glob
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants