You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 28, 2022. It is now read-only.
This is an example of how you might word or structure a code compatability issue. You don't have to do it exactly this way but it's helpful. This was a real bug encountered in-dev before the release of v1.1.220607.
Describe the bug
This code causes H6x to hang Roblox.
To Reproduce
When the code runs, sandbox:GenerateActivityReport causes a hang.
This code demonstrates the issue as best as possible and is as small as possible:
localsandbox=H6x.Sandbox.new()
sandbox:ExecuteFunction(function()
abc=function(a, b)
returnb, aendb, a=abc({ABC=abc}, 2)
a.ABC(4, 5)
a:ABC(8)
end)
sandbox:GenerateActivityReport("h6x") -- Caused by this (commenting this line makes the code work)
Expected behavior
The code runs correctly without hanging.
This code demonstrates the expected behaviour when ran outside of the sandbox (leave unchanged if N/A):
CODEHERE
Version information (please complete the following information):
H6x version: v1.1.220607
Beta features enabled: All beta features
Additional context
After investigating the issue and debugging it myself, the hang is caused by a table.find call inside of sandbox:GenerateActivityReport(). table.find does regular == comparison, which causes a new log entry to be created before sandbox:GenerateActivityReport() is finished, resulting in the pairs loop on log history to never complete.
The text was updated successfully, but these errors were encountered:
This is an example of how you might word or structure a code compatability issue. You don't have to do it exactly this way but it's helpful. This was a real bug encountered in-dev before the release of
v1.1.220607
.Describe the bug
This code causes H6x to hang Roblox.
To Reproduce
When the code runs,
sandbox:GenerateActivityReport
causes a hang.This code demonstrates the issue as best as possible and is as small as possible:
Expected behavior
The code runs correctly without hanging.
This code demonstrates the expected behaviour when ran outside of the sandbox (leave unchanged if N/A):
Version information (please complete the following information):
v1.1.220607
Additional context
After investigating the issue and debugging it myself, the hang is caused by a
table.find
call inside ofsandbox:GenerateActivityReport()
.table.find
does regular==
comparison, which causes a new log entry to be created beforesandbox:GenerateActivityReport()
is finished, resulting in thepairs
loop on log history to never complete.The text was updated successfully, but these errors were encountered: