GNOME Bugzilla – Bug 731788
Crash in _vte_terminal_cleanup_fragments()
Last modified: 2014-06-17 17:29:28 UTC
https://bugzilla.redhat.com/show_bug.cgi?id=1110047 "I was ssh'ed into another Fedora box (F19), running htop, and scrolling to the right..." Crash in _vte_sequence_handler_dc /* Delete a character at the current cursor position. */ => _vte_terminal_cleanup_fragments. Vte:ERROR:vte.c:2966:_vte_terminal_cleanup_fragments: assertion failed: (end - col == 1 && cell_col->attr.columns == 2) This code was written by me recently :/ I'll take a look.
Created attachment 278610 [details] backtrace
Created attachment 278611 [details] typescript file as requested by egmont Here's the typescript file egmont requested downstream. It seems to work as a reproducer, for me at least. If I run 'cat typescript' in a gnome-terminal, it crashes. If I run it in xterm or XFCE's Terminal, I see the appropriately formatted htop "screenshot".
Created attachment 278616 [details] [review] Fix
It wasn't the first call to handler_cb that crashed vte right away. There was a call when the rowdata got corrupted (some empty cells followed by fragment TAB cells, without the leading non-fragment TAB) and this caused a subsequent call to the same method to crash.