xfce4-terminal crashes if input arrives too soon after resize

Bug #1677961 reported by Boris Gjenero
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
xfce4-terminal (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

If I start with an 80x24 terminal, resize to 80x25 with printf("\e[8;25;80t") and then quickly send output via Ncurses, then xfce4-terminal crashes:
Vte-0.0:ERROR:/build/vte-jOPZPt/vte-0.28.2/./src/ring.c:370:_vte_ring_thaw_one_row: assertion failed: (ring->start < ring->writable)
Aborted (core dumped)

All the xfce4-terminal windows run in the same process. When you run it a second time from the command line, it just opens a new window in the old process and quits. So, if you want to view that error output, close all xfce4-terminal windows and start the program again from another terminal program, like xterm.

Adding a half second delay after the escape sequence makes the problem go away.

ProblemType: Bug
DistroRelease: Ubuntu 16.10
Package: xfce4-terminal 0.6.3-2ubuntu1
ProcVersionSignature: Ubuntu 4.8.0-45.48-generic 4.8.17
Uname: Linux 4.8.0-45-generic x86_64
ApportVersion: 2.20.3-0ubuntu8.2
Architecture: amd64
CurrentDesktop: XFCE
Date: Thu Mar 30 23:55:41 2017
InstallationDate: Installed on 2012-01-19 (1898 days ago)
InstallationMedia: Xubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
SourcePackage: xfce4-terminal
UpgradeStatus: Upgraded to yakkety on 2016-10-13 (168 days ago)

Revision history for this message
Boris Gjenero (boris-gjenero) wrote :
Revision history for this message
Egmont Koblinger (egmont-gmail) wrote :

Yakkety's xfce4-terminal-0.6.3 used gtk2 and correspondingly an ancient vte-0.28. Zesty's xfce4-terminal-0.8.4 uses gtk3 and vte-0.44. As much as I recall, we had such a bugfix in vte. So I'm almost sure it's fixed in Zesty. Let me know if I'm mistaken and it's still broken there.

Revision history for this message
Boris Gjenero (boris-gjenero) wrote :

I'm not able to reproduce this in Zesty xfce4-terminal 0.8.4-1. So, it seems you're right and this has been fixed. Thanks!

Revision history for this message
Unit 193 (unit193) wrote :

As this appears to be fixed for you now, closing as fixed released.

Changed in xfce4-terminal (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.