What's new
Roleplay UK

Join the UK's biggest roleplay community on FiveM and experience endless new roleplay opportunities!

Users on Homepage causes a stackoverflow error on uncached page load

PhilTheSkid

New member
Unlinked
Location
NE UK
When a user accesses the forums, the main DOM thread occasionally -- on my testing, about 30-40% of the time -- freezes for the best part of ~20 seconds (allowing scrolling, but the DOM will not update nor can any links be clicked etc) until the browser recovers from the error and outputs a stackoverflow exception:

The exact exception shown is below.

Code:
root_library.js?v=f320e0109c1689074709:1 Uncaught SyntaxError: Invalid regular expression: /(^|\.)dot1933(\.|$)/: Stack overflow
    at Object.remove (root_library.js?v=f320e0109c1689074709:1:61407)
    at root_library.js?v=f320e0109c1689074709:1:66445
    at Function.each (root_library.js?v=f320e0109c1689074709:1:22267)
    at jQuery.fn.init.each (root_library.js?v=f320e0109c1689074709:1:20745)
    at jQuery.fn.init.off (root_library.js?v=f320e0109c1689074709:1:66421)
    at jQuery.fn.init.unbind (root_library.js?v=f320e0109c1689074709:47:869)
    at o.unwatch (root_library.js?v=f320e0109c1689074709:53:27927)
    at HTMLDivElement.<anonymous> (root_library.js?v=f320e0109c1689074709:53:27237)
    at HTMLDivElement.dispatch (root_library.js?v=f320e0109c1689074709:1:62381)
    at v.handle (root_library.js?v=f320e0109c1689074709:1:60365)


This error, to the best of my testing, does not occur on any page other than the homepage, and reproduces on both Chrome and Edge.

 
Last edited by a moderator:
Back
Top