GNOME Bugzilla – Bug 100717
Resizing window while using less causes a crash
Last modified: 2004-12-22 21:47:04 UTC
Description of Problem: When resizing a window while using less to look at a text file over a ssh connection, gnome-terminal crashes with a fatal error. I am using gnome-terminal 2.0.1. More specifically, it is the one that shipped with Red Hat 8.0 (gnome-terminal 2.0.1-5). Steps to reproduce the problem: 1. Start at least two gnome-terminal sessions (i.e. two windows) 2. From the second gnome-terminal window, ssh to a remote machine. I am using openssh 3.4p1-2. I am using ssh2, and logging in as a non-root user using standard name and password authentication. 3. Look at a file with less. It does not seem to matter how big the file is. 4. Grab the corner of the window with the mouse pointer and enlarge it by at least 30% (rough estimate). When you let go of the mouse, you will get the following error message: Application "gnome-terminal" (process 11782) has crashed due to a fatal error. (Aborted) 5. At this point, *all* gnome-terminal sessions crash and disappear. How often does this happen? Highly reproducible. You can sometimes get away with the resize if you only enlarge the window a little bit. Additional Information:
Unfortunately without a stack trace, this bug will be difficult to fix. If you can capture a trace (using gdb or bug-buddy), please attach it to this bug. For information on how to capture stack traces, see http://bugzilla.gnome.org/getting-traces.cgi - thanks.
Here is a stack trace from gdb (which I ran from an xterm). I was able to produce the exact same stack trace three times in a row. I'm also including the output from before the stack trace, as it looks interesting. (gdb) run Starting program: /usr/bin/gnome-terminal [New Thread 8192 (LWP 14648)] ** ERROR **: NULL at 40(->0) delta 42, length 8, max 10 next 50 at 2376 aborting... Program received signal SIGABRT, Aborted.
+ Trace 31475
Thread 8192 (LWP 14648)
*** This bug has been marked as a duplicate of 94509 ***
Thanks for getting the trace - it's a duplicate of bug 94509, for information on it, check out that report.