GNOME Bugzilla – Bug 616927
High cpu consumption and lock
Last modified: 2021-06-10 14:23:25 UTC
Gnome Terminal is using a lot of cpu when I produce a lot of data in the screen. How to reproduce: - Connect to a MySQL Server - Execute a "show create table" on a table with a lot of rows or a partitioned table with a lot of partitions (about 365 partitions...). Then you could see the final line that send mysql client like "-----------------" and it is very difficult to deal with this line and other lines to gnome-terminal. Also the CPU is going higher and higher until the app is totally locked. After some minutes gnome-terminal is recovered but if you move the scroll bar you will go into the same situation. In other console graphics terminals doesn't happen anything.
Which version of gnome-termina, and which version of the vte library is this with?
VTE: libvte-common 1:0.16.14-4 libvte9 1:0.24.0-2 Gnome-Terminal: gnome-terminal 2.30.0-1 gnome-terminal-data 2.30.0-1
*** Bug 660864 has been marked as a duplicate of this bug. ***
I think the conclusion somewhere else (can't remember where) was that it's the dingus regexp matching (for url highlighting) that makes it very slow with long logical lines. You could verify this theory by running the test case under vteapp with/without the -D flag.
We should just remove the dingus thing...
Hmm I use right-click OpenLink on a URL very often, I'd hate to lose that :-) Can we just limit line length to a sensible value, like MAXUINT16 ?
Please don't :) It's very convenient. I use it all the time. It's also supported by many terminals and I'm afraid it would be a feature many users would miss or complain about (cf. transparency).
ChPe: sounds good to me.
Ah, sorry, I was confusing that with something else.
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/vte/-/issues/1798.