-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
--covarage crashed on windows and show files from node_modules #9681
Comments
Same here. I'm using v1.1.2. |
Still happening with v1.1.3 as well. |
@Electroid sorry for ping but should I create a new issue about that or what? |
If you could create a new issue for the |
idk how but for now the problem is gone (with .test/spec) maybe after I reboot my PC or smth |
Since Bun's new crash reporter was released, this crash report may help: Bun v1.1.5 (#10527) on windows x86_64_baseline [TestCommand] panic: attempt to cast negative value to unsigned integer
In my case, the crash seems to be caused by defining the class properties like this: // lexer.js
export default class Lexer {
input; // this line caused the crash
constructor(input) {
this.input = input;
}
} |
Bun v1.1.5 (b257a30) Windows x64 panic(main thread): attempt to cast negative value to unsigned integer To send a redacted crash report to Bun's team, |
Duplicate of #10836 |
We will fix this, but please follow along in #10836 to track this issue (there have been several duplicates) |
ok |
What version of Bun is running?
1.0.35-canary.23+e808cdb72 and 1.0.35-canary.35+dea877f19
What platform is your computer?
Microsoft Windows NT 10.0.22631.0 x64
What steps can reproduce the bug?
please run
bun test --coverage apps\web\src\utils\handleResponse
in my projectI'll give a simpler example if I find the source of the problem
What is the expected behavior?
see the coverage
What do you see instead?
uh-oh: attempt to cast negative value to unsigned integer
bun will crash now 😭😭😭
----- bun meta -----
Bun v1.0.35-canary.23 (e808cdb) Windows x64
TestCommand: bunfig transpiler_cache
Elapsed: 3576ms | User: 406ms | Sys: 140ms
RSS: 0.24GB | Peak: 0.24GB | Commit: 0.27GB | Faults: 60395
----- bun meta -----
0 00007FF6A5917428
1 ???
2 ???
3 ???
4 ???
5 ???
6 ???
7 ???
8 ???
9 ???
10 ???
11 ???
Search GitHub issues https://bun.sh/issues or join in #windows channel in https://bun.sh/discord
thread 28168 panic: attempt to cast negative value to unsigned integer
???:?:?: 0x7ff6a46eba8a in ??? (bun.exe)
???:?:?: 0x7ff6a46b845e in ??? (bun.exe)
???:?:?: 0x7ff6a69591de in ??? (bun.exe)
???:?:?: 0x7ff6a4549609 in ??? (bun.exe)
???:?:?: 0x7ff6a454e594 in ??? (bun.exe)
???:?:?: 0x7ff6a458b119 in ??? (bun.exe)
???:?:?: 0x7ff6a42c16c6 in ??? (bun.exe)
???:?:?: 0x7ff6a6dce053 in ??? (bun.exe)
???:?:?: 0x7ffcedca257c in ??? (KERNEL32.DLL)
???:?:?: 0x7ffceea6aa47 in ??? (ntdll.dll)
Additional information
The text was updated successfully, but these errors were encountered: