Bug 161894 - xterm SIGSEGV after resize
xterm SIGSEGV after resize
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: xterm (Show other bugs)
4
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Jason Vas Dias
:
Depends On:
Blocks: FC5Target
  Show dependency treegraph
 
Reported: 2005-06-28 05:00 EDT by Karel Zak
Modified: 2007-11-30 17:11 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2005-10-12 20:57:25 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Karel Zak 2005-06-28 05:00:06 EDT
The xterm (xterm-200-6) crash when resize windows by mouse to size less than
2x2. It doesn't happen with FC3 xterm.

(gdb) run
Starting program: /home/work/rh/cvs/xterm/FC-4/xterm-200/xterm

[1]+  Stopped                 gdb ./xterm
petra:/home/work/rh/cvs/xterm/FC-4/xterm-200$ fg
gdb ./xterm
Reading symbols from shared object read from target memory...done.
Loaded system supplied DSO at 0xb47000
Detaching after fork from child process 16239.
Detaching after fork from child process 16240.

Program received signal SIGSEGV, Segmentation fault.
ScreenWrite (screen=0x9599c04, str=0x9635d48
"e;32mFC-4/xterrk/rh/cvs/xterm/FC-4/xterm-200", str2=0x0, flags=1024,
    cur_fg_bg=921, length=1) at ./screen.c:403
403         starcol1 = *chars;
(gdb) bt
#0  ScreenWrite (screen=0x9599c04, str=0x9635d48
"e;32mFC-4/xterrk/rh/cvs/xterm/FC-4/xterm-200", str2=0x0, flags=1024,
    cur_fg_bg=921, length=1) at ./screen.c:403
#1  0x080512af in dotext (screen=0x9599c04, charset=66, buf=0x96362b0, len=44)
at ./charproc.c:3448
#2  0x080564b7 in doparsing (c=27, sp=0x8087720) at ./charproc.c:1334
#3  0x08057bb5 in VTparse () at ./charproc.c:3163
#4  0x08057de8 in VTRun () at ./charproc.c:4618
#5  0x08062a6a in main (argc=0, argv=0xbff48828) at ./main.c:2285
(gdb)
Comment 1 Thomas E. Dickey 2005-07-07 14:30:36 EDT
see http://invisible-island.net/xterm/xterm.log.html#xterm_201

add a limit check for scrolling margins in a one-line screen, overlooked in 
fixes for patch #198 (Debian #297430).
Comment 3 Mike A. Harris 2005-09-24 06:43:33 EDT
I'll be updating xterm in Fedora devel to the latest version in the
near future, which will fix this bug in rawhide.

We'll also be releasing an update for FC3/FC4 soon of xterm-200.
If someone has an isolated unified diff that fixes this issue
available somewhere, I'd be happy to include it in the upcoming
FC3/FC4 updates as well.

I'll update the report again once the new xterm hits rawhide.

Thanks guys.
Comment 4 Thomas E. Dickey 2005-09-24 06:46:53 EDT
I don't recall this as a large change, will check as I
review this (perhaps tomorrow), to see.
Comment 5 Jason Vas Dias 2005-10-12 20:57:25 EDT
This is fixed with xterm-2.0.5-1 in rawhide-20051013 .
Once this version has been tested in rawhide for a week or so, I'll produce
FC-4 / FC-3 versions.
Comment 6 Fedora Update System 2005-11-07 14:33:54 EST
From User-Agent: XML-RPC

xterm-205-1.FC4 has been pushed for FC4, which should resolve this issue.  If these problems are still present in this version, then please make note of it in this bug report.
Comment 7 Fedora Update System 2005-11-14 13:04:43 EST
From User-Agent: XML-RPC

xterm-205-1.FC4 has been pushed for FC4, which should resolve this issue.  If these problems are still present in this version, then please make note of it in this bug report.

Note You need to log in before you can comment on or make changes to this bug.