UI stuck (busy forever) at fast stdout logging from c++ code

I use Python & JupyterLab with compiled python modules of mine which sometimes (rarely) generate a lot of diagnostic warnings, in bursts - say 1000 messages in a second (not continuously), at standard output. When this happens in a cell, the UI stays in the busy state forever, without showing any of the output - or even a hint that the output rate is the cause of it freezing. When I disable those warnings from the c++ code, the code runs fine in JupyterLab.

Is that a known issue?

Is there something to allow the output to be processed (perhaps ellipsized in the browser window), without freezing?

Hints / comments appreciated :slight_smile: