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 logging global #1087

Closed
DerGoogler opened this issue Aug 16, 2022 · 1 comment · Fixed by #1346
Closed

Crash when logging global #1087

DerGoogler opened this issue Aug 16, 2022 · 1 comment · Fixed by #1346
Labels
bug Something isn't working needs repro Needs an example to reproduce

Comments

@DerGoogler
Copy link

Version

0.1.5

Platform

Linux {device-name} 5.15.0-43-generic #46-Ubuntu SMP Tue Jul 12 10:30:17 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

What steps will reproduce the bug?

console.log(global)

then run bun <file>

How often does it reproduce? Is there a required condition?

No response

What is the expected behavior?

No response

What do you see instead?

Please take down the issue, if there are sensitive information's!

Detected offset inconsistency: inlineOverflowAccordingToTotalSize doesn't match numberOfOutOfLineSlotsForMaxOffset!
this = 0x7f6d0001b560
transitionOffset = -1
maxOffset = 64
m_inlineCapacity = 75
propertyTable = 0x7f6ec7427000
numberOfSlotsForMaxOffset = 65
totalSize = 65
inlineOverflowAccordingToTotalSize = 0
numberOfOutOfLineSlotsForMaxOffset = 1

Crash at 4294967309674


–––– bun meta ––––
Bun v0.1.5 Linux x64 #46-Ubuntu SMP Tue Jul 12 10:30:17 UTC 2022
AutoCommand: bun_bun 
Elapsed: 30ms | User: 27ms | Sys: 3ms
RSS: 67.11MB | Peak: 30.73MB | Commit: 67.11MB | Faults: 0
–––– bun meta ––––

Ask for #help in https://bun.sh/discord or go to https://bun.sh/issues

Additional information

No response

@DerGoogler DerGoogler added bug Something isn't working needs repro Needs an example to reproduce labels Aug 16, 2022
@chocolateboy
Copy link
Contributor

Is this fixed in an unreleased version? Still seeing the same result in 0.1.11 (c7874ed, linux-x64-baseline):

Test

console.log(globalThis)

Output

Detected offset inconsistency: inlineOverflowAccordingToTotalSize doesn't match numberOfOutOfLineSlotsForMaxOffset!
this = 0x1234abcd
transitionOffset = 64
maxOffset = 64
m_inlineCapacity = 85
propertyTable = 0xabcd1234
numberOfSlotsForMaxOffset = 65
totalSize = 65
inlineOverflowAccordingToTotalSize = 0
numberOfOutOfLineSlotsForMaxOffset = 1

Crash at 0x12ab34cd

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs repro Needs an example to reproduce
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants