New FFlag causes a crash with specific code

Reproduction Steps

I believe the FFlag causing problems is LuauCompileFreeReassign, however I’m not 100% sure. I first noticed the issue when I joined one of the games listed below at 2:54 PM CST and that was the only FFlag that looked like it could have any effect on this.
Code:

local NewProxyOne = newproxy(true)
local MetaTableOne = getmetatable(NewProxyOne)
MetaTableOne.__index = function()
	return NewProxyOne.Game
end
print(NewProxyOne.HelloICauseACrash)

Repro Place: MemoryTest V2.0 - Roblox
Repro Place 2: testing - Roblox

This issue does not happen in Roblox Studio, and only happens in live games. I have not tested if other platforms other than PC are also affected.

Expected Behavior

The game to not crash and an error to be given for stack overflow. (The code results in a stack overflow due to the index metamethod overwrite)

Actual Behavior

Roblox crashes with an error prompt.


Issue Area: Engine
Issue Type: Crashing
Impact: Moderate
Frequency: Rarely
Date First Experienced: 2022-08-03 13:08:00 (-05:00)
Date Last Experienced: 2022-08-03 20:08:00 (-05:00)
A private message is associated with this bug report

5 Likes

Thanks - this wasn’t related to the flag you cited, but the issue has been fixed by rolling back the new client release on Windows.

5 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.