View Issue Details

IDProjectCategoryView StatusLast Update
0005806Composrcore_notificationspublic2025-01-04 23:27
ReporterPatrick SchmalstigAssigned ToChris Graham 
SeverityTrivial-bug 
Status closedResolutionfixed 
Product Version11.beta1 
Fixed in Version 
Summary0005806: Error notifications may sometimes be unusually large and passing MySQL max_allowed_packet
DescriptionIn v11, we (currently) expect Composr to run on a 4M max_allowed_packet.

But sometimes web notifications for errors can exceed 13+ MB, passing the max_allowed_packet size and triggering a secondary MYSQL error.

We may need to be smarter about trimming the stack traces. I suspect Tempcode was involved.
TagsRoadmap: v11
Time estimation (hours)
Sponsorship open

Activities

admin

2024-07-25 01:29

administrator   ~0008924

Automated message: This issue was created using the Report Issue Wizard on the Composr homesite.

Patrick Schmalstig

2024-07-31 22:28

administrator   ~0009038

A temporary fix was put in place a few days ago... strings in stack traces are now subject to truncation. And POST params are as well.

Also a fallback was added; if an error notification exceeds 256 kb, it will instead be dumped to disk with the path in the notification. If that fails, the notification will contain the error but truncated to 256 kb.

Patrick Schmalstig

2025-01-04 23:27

administrator   ~0009761

I think our temporary fix is good enough considering our limited developer resources at this time. Closing.

Issue History

Date Modified Username Field Change
2024-07-25 01:29 Patrick Schmalstig Assigned To => Chris Graham
2024-07-25 01:29 Patrick Schmalstig Status non-assigned => assigned
2024-07-25 22:14 Chris Graham Tag Attached: Roadmap: v11
2024-07-31 22:28 Patrick Schmalstig Note Added: 0009038
2025-01-04 23:27 Patrick Schmalstig Status assigned => closed
2025-01-04 23:27 Patrick Schmalstig Resolution open => fixed
2025-01-04 23:27 Patrick Schmalstig Note Added: 0009761