gnome-terminal crash upon resizing full-screen text formatting programs (less, pine)
Submitted by Ming Pan
Link to original bug (#317273)
Description
Steps to reproduce:
- Open gnome-terminal
- SSH to another Linux machine
- Shrink the terminal window width (to create wrapped lines later)
- View an arbitrary text file using "less", where you see wrapped lines
- Resize the terminal window to expand the wrapped lines, then it crashes
Stack trace:
`#0` 0x42028811 in kill () from /lib/i686/libc.so.6
`#1` 0x408e5fcd in raise () from /lib/i686/libpthread.so.0
`#2` 0x420284b4 in raise () from /lib/i686/libc.so.6
`#3` 0x42029bab in abort () from /lib/i686/libc.so.6
`#4` 0x40959476 in g_logv () from /usr/lib/libglib-2.0.so.0
`#5` 0x409594b4 in g_log () from /usr/lib/libglib-2.0.so.0
`#6` 0x4003260e in vte_terminal_ensure_cursor () from /usr/lib/libvte.so.2
`#7` 0x40031a63 in vte_sequence_handler_ce () from /usr/lib/libvte.so.2
`#8` 0x400377ad in vte_terminal_handle_sequence () from /usr/lib/libvte.so.2
`#9` 0x400385ae in vte_terminal_process_incoming () from /usr/lib/libvte.so.2
`#10` 0x40953c83 in g_idle_dispatch () from /usr/lib/libglib-2.0.so.0
`#11` 0x40950f65 in g_main_dispatch () from /usr/lib/libglib-2.0.so.0
`#12` 0x40951f98 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
`#13` 0x409522ad in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
`#14` 0x40952a1f in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
`#15` 0x4043439f in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
`#16` 0x08058256 in main ()
`#17` 0x42015967 in __libc_start_main () from /lib/i686/libc.so.6
Other information: Always easy to repeat the crash if you ssh to another machine. It's harder to repeat but possible to repeat it when you don't ssh to another machine and use "less" locally. Using "pine" also crashes it, but "vi" does not.
Version: 2.0.x
Resolution: RESOLVED DUPLICATE