'reset' kills gnome-terminal assert failure: Vte:ERROR:/build/buildd/vte-0.22.0/./src/vtestream-file.h:30:_xread: assertion failed: (fd || !len)

Bug #435367 reported by Stefano Rivera
312
This bug affects 58 people
Affects Status Importance Assigned to Milestone
GNOME Terminal
Fix Released
Critical
OpenSolaris
Invalid
Undecided
Unassigned
Terminator
Invalid
Undecided
Unassigned
gnome-terminal (Debian)
Fix Released
Unknown
gnome-terminal (Ubuntu)
Invalid
Medium
Unassigned
vte (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: gnome-terminal

I accidentally zcatted my initramfs, and it crashed gnome-terminal.

Reproducible: yes

ProblemType: Crash
Architecture: amd64
AssertionMessage: Vte:ERROR:/build/buildd/vte-0.22.0/./src/vtestream-file.h:30:_xread: assertion failed: (fd || !len)
Date: Wed Sep 23 18:03:26 2009
DistroRelease: Ubuntu 9.10
ExecutablePath: /usr/bin/gnome-terminal
Package: gnome-terminal 2.28.0-0ubuntu1
ProcCmdline: gnome-terminal
ProcEnviron:
 LANGUAGE=en_ZA.UTF-8
 PATH=(custom, user)
 LANG=en_ZA.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-10.35-generic
Signal: 6
SourcePackage: gnome-terminal
StacktraceTop:
 raise () from /lib/libc.so.6
 abort () from /lib/libc.so.6
 IA__g_assertion_message (
 IA__g_assertion_message_expr (
 ?? () from /usr/lib/libvte.so.9
Title: gnome-terminal assert failure: Vte:ERROR:/build/buildd/vte-0.22.0/./src/vtestream-file.h:30:_xread: assertion failed: (fd || !len)
Uname: Linux 2.6.31-10-generic x86_64
UserGroups: adm admin audio cdrom dialout dip floppy fuse kvm lpadmin netdev plugdev powerdev sambashare scanner src video

Revision history for this message
Stefano Rivera (stefanor) wrote :
Revision history for this message
Apport retracing service (apport) wrote : Stacktrace.txt (retraced)

StacktraceTop:*__GI_raise (sig=<value optimized out>)
*__GI_abort () at abort.c:92
g_assertion_message_error ()
?? () from /usr/lib/libvte.so.9
?? () from /usr/lib/libglib-2.0.so.0

Revision history for this message
Apport retracing service (apport) wrote : ThreadStacktrace.txt (retraced)
Changed in gnome-terminal (Ubuntu):
importance: Undecided → Medium
tags: removed: need-amd64-retrace
Kees Cook (kees)
visibility: private → public
Revision history for this message
Daniel Muñoz (arthas127) wrote : Re: gnome-terminal assert failure: Vte:ERROR:/build/buildd/vte-0.22.0/./src/vtestream-file.h:30:_xread: assertion failed: (fd || !len)

Just happened to me doing Reset + clear from the Terminal dropdown menu.

Revision history for this message
Kees Cook (kees) wrote : Re: [Bug 435367] Re: gnome-terminal assert failure: Vte:ERROR:/build/buildd/vte-0.22.0/./src/vtestream-file.h:30:_xread: assertion failed: (fd || !len)

On Thu, Sep 24, 2009 at 06:24:46PM -0000, Daniel Muñoz wrote:
> Just happened to me doing Reset + clear from the Terminal dropdown menu.

yeah, typing "echo <ctrl-V><esc>c<enter>" (same as reset) crashed for me
the same way.

--
Kees Cook
Ubuntu Security Team

Revision history for this message
Hernando Torque (htorque) wrote : Re: gnome-terminal assert failure: Vte:ERROR:/build/buildd/vte-0.22.0/./src/vtestream-file.h:30:_xread: assertion failed: (fd || !len)

Does only happen if there's enough output (like after executing 'dmesg' a couple of times).

Revision history for this message
Hernando Torque (htorque) wrote :
Revision history for this message
Hernando Torque (htorque) wrote :
Changed in gnome-terminal (Ubuntu):
status: New → Confirmed
Revision history for this message
Aaron C. de Bruyn (darkpixel2k) wrote :

Happened when I did a 'Reset and Clear'

Revision history for this message
dl9sau (thomas-x-berg) wrote :

Terminal windows are one of developer's most important tool. It's a real pain that the terminal program (and all it wonderful open windows with important stuff) dies just because it should print binary data.
In a remote ssh session i did a wget for a program at sorceforge which resulted in the file strace-4.5.18.tar.bz2?use_mirror=dfn.
Well, the usual question ist it a bz2 or just a referer? I did cat strace-4.5.18.tar.bz2?use_mirror=dfn and gnome-terminal crashed.

System here ubuntu karmic 64bit.

Revision history for this message
Sam Mason (sam-samason) wrote :

Affects me whenever there's more than about half (?) a screenfull of text in scrollback. It gets triggered if I do either "Terminal -> Reset and Clear" or run:

  printf '\ec'

as mentioned above. I have just removed an alias to the above because I've killed too many sessions.

Revision history for this message
James Cape (jcape) wrote :

Same problem, i386, iterating a list of VM consoles running on a redhat box

for server in `virsh list | awk '{ print $2; }' | egrep -v '(^$|^(D|N))'`; do virsh console $server; done

Revision history for this message
Anders Kaseorg (andersk) wrote :

I can reproduce with

help; reset

Revision history for this message
LGB [Gábor Lénárt] (lgb) wrote :

I can reproduce it too. Cat'ting for example /bin/ls by mistake make all gnome-terminal windows disappears which caused major problem for me, since I have dozens of terminals open usually ... It seems some random binary 'garbage' makes gnome-terminal to crash ... For me, "cat /bin/ls" can trigger the bug all the time.

Revision history for this message
Paul Sladen (sladen) wrote :

Apport just caught this... I believe I'd just typed 'reset' to clear up the console.

Changed in gnome-terminal (Ubuntu):
milestone: none → ubuntu-9.10
summary: - gnome-terminal assert failure:
+ 'reset' kills gnome-terminal assert failure:
Vte:ERROR:/build/buildd/vte-0.22.0/./src/vtestream-file.h:30:_xread:
assertion failed: (fd || !len)
Changed in gnome-terminal (Ubuntu):
importance: Medium → High
Revision history for this message
Sebastien Bacher (seb128) wrote :

the bug is a vte one and fixed in the current upstream version

Changed in vte (Ubuntu):
importance: Undecided → Medium
status: New → Fix Committed
Changed in gnome-terminal (Debian):
status: Unknown → Fix Released
Changed in terminator:
status: New → Incomplete
Changed in gnome-terminal (Ubuntu):
status: Confirmed → Incomplete
Martin Meredith (mez)
Changed in gnome-terminal (Ubuntu):
status: Incomplete → Confirmed
Changed in terminator:
status: Incomplete → Confirmed
Chris Jones (cmsj)
Changed in terminator:
status: Confirmed → Invalid
Revision history for this message
Pedro Villavicencio (pedro) wrote :

As Sebastien state on his latest comment this is a vte issue, so i'm rejecting the gnome-terminal task. Thanks.

Changed in gnome-terminal (Ubuntu):
status: Confirmed → Invalid
importance: High → Medium
milestone: ubuntu-9.10 → none
Changed in vte (Ubuntu):
milestone: none → ubuntu-9.10
Revision history for this message
Sebastien Bacher (seb128) wrote :

the issue is fixed in karmic now

Changed in vte (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Paul Sladen (sladen) wrote :
Changed in opensolaris:
status: New → Invalid
Changed in gnome-terminal:
status: Unknown → Fix Released
Changed in gnome-terminal:
importance: Unknown → Critical
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.