Closed phillipivan closed 3 months ago
oh wow, this isn't a good bug. After testing this, my companion vm has 'crashed' stuck with 100% cpu and memory usage
and a lot of disk read ~900MB (not sure on timescale) (but not write):
We didn't observe outright crashing.
Obviously there is no sane reason for a font size like that - it came about from a typo when setting up a button.
I have a fix for this, it was hitting an edge case in the code when trying to figure out where to force line breaks in the text. It was getting stuck in an infinite loop, finding each iteration that no characters fit on a line, so it created a line of 0 characters then kept on trying the remainder. So the fix is simple, if one char is too wide to draw, do it anyway instead of trying to see if zero chars is a better fit.
Unfortunately this is too late to get into 3.3.1, but the fix is in the betas and will be in a 3.3.2 when that happens
@phillipivan if you haven't restarted companion since you saw this, I highly recommend you do. One of the rendering threads will be stuck trying to complete that draw, consuming a core of cpu and as much memory as it can find.
Thanks for the quick response. Confirmed fixed for us in build 7040.
Is this a bug in companion itself or a module?
Is there an existing issue for this?
Describe the bug
A button with an very large font size persists on the page layout after being deleted.
Steps To Reproduce
Screen shot showing deleted button still displayed in page view:
Expected Behavior
Deleted button is removed from page view, and when a new button is created it is displayed in that position as expected.
Environment (please complete the following information)
Additional context
Replicated on multiple systems.
Companion restart clears the zombie button.