RequestAsync/GetObjects freeze/crash when passing long strings

Reproduction Steps

System Information
Intel Core i9 9900K
Nvidia GeForce RTX 2080Ti


game:GetService("HttpService"):RequestAsync({ Url = string.rep("notepad", 2 ^ 29), Method = "GET" })
game:GetObjects(string.rep("a", 2 ^ 20))

Expected Behavior
Roblox throws an invalid url error.

Actual Behavior
Roblox freezes or crashes.

Issue Area: Engine
Issue Type: Crashing
Impact: Low
Frequency: Very Rarely

1 Like

I don’t seem to get your Actual Behavior:

I don’t seem to be getting the expected behavior, either.


Try changing the string length a bit, I also got the same results as you but after changing the string length a bit I eventually crashed, ^ 23 and ^ 27 did it for me. Maybe try running it a few times? Could be related to a race condition.

Bumping this because I found another function with the exact same issue.

Thanks for the report! We’ll follow up when we have an update for you.

1 Like

The crash/freeze should now be mitigated. Thanks for reporting this bug!