recursive errors being logged leading to WSOD

Created on 8 August 2022, almost 2 years ago
Updated 20 March 2023, over 1 year ago

Problem/Motivation

In certain situations, it appears that something about the way the Rollbar plugin serializes errors can lead to a recursive loop of exceptions, causing the website to time out with an out-of-memory-error.

Steps to reproduce

I'm not totally sure! The thing I've consistently been able to do to trigger this error on a production website is by importing a particular XLF translation file into TMGMT translation manager, which triggers an XML parsing warning error which is logged; and then when Rollbar attempts to serialize that error it kicks off a recursive loop. The end error message I see is:
Warning: Uncaught Error in exception handling during call to Error::__tostring() in /var/www/html/vendor/rollbar/rollbar/src/Utilities.php on line 171

Proposed resolution

No idea. Happy to work on a patch if anyone else can help provide some insight into why this is happening? I will keep trying to come up with a better test case but wanted to post here in case others are seeing the same problem.

πŸ› Bug report
Status

Closed: cannot reproduce

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States t_stallmann

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024