Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 152085 - xterm-220 segfaults with echo -e '\e]12;red\x7'
Summary: xterm-220 segfaults with echo -e '\e]12;red\x7'
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Seemant Kulleen (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 151762
  Show dependency tree
 
Reported: 2006-10-20 04:07 UTC by Ciaran McCreesh
Modified: 2006-10-20 04:12 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ciaran McCreesh 2006-10-20 04:07:08 UTC
xterm-220 segfaults on echo -e '\e]12;red\x7', and by extension when using various fancy Vim features. Backtrace:

(gdb) run
Starting program: /usr/bin/xterm 
Warning: Cannot convert string "nil2" to type FontStruct
 
Program received signal SIGSEGV, Segmentation fault.
0x080731ff in ChangeColors (xw=0x80aa878, pNew=0xbfdb1c98) at util.c:1480
1480    util.c: No such file or directory.
        in util.c
(gdb) bt
#0  0x080731ff in ChangeColors (xw=0x80aa878, pNew=0xbfdb1c98) at util.c:1480
#1  0x0806ac2b in do_osc (xw=0x80aa878, oscbuf=0x80b2d60 "12;grey80", len=9, 
    final=7) at misc.c:2711
#2  0x080566b1 in doparsing (xw=0x80aa878, c=7, sp=0x808e680)
    at charproc.c:1460
#3  0x08059d13 in VTparse (xw=0x80aa878) at charproc.c:2852
#4  0x08059df1 in VTRun () at charproc.c:4861
#5  0x08064be5 in main (argc=4, argv=0x0) at main.c:2415

This is fixed in 222.
Comment 1 Seemant Kulleen (RETIRED) gentoo-dev 2006-10-20 04:12:29 UTC
Removed xterm-220 and xterm-221. xterm-218 will remain the stable one for now, on all architectures.  xterm-222 will become a stable candidate in about a month -- it does not display this issue.

nice catch.