-
Notifications
You must be signed in to change notification settings - Fork 10
Closed
Description
報告
termguicolorsを有効にした状態でt_Coに無効な値を入れるとSegmentation faultを起こします
Vimのバージョン
8.0.1599
OSの種類/ディストリ/バージョン
Linux Porteus V3.2.2 64bit
再現手順
vim -u NONE -Nで起動した後に
:set termguicolors
:set t_Co=
を実行する
その他
gdbで走らせるとこのように出ます
0x000000000062672b in out_str (s=0x7 <error: Cannot access memory at address 0x7>) at term.c:2705
2705 if (s != NULL && *s)
btの結果です
#0 0x000000000062672b in out_str (s=0x7 <error: Cannot access memory at address 0x7>) at term.c:2705
#1 0x00000000005c9dea in screen_start_highlight (attr=0) at screen.c:8133
#2 0x00000000005c46f3 in screen_char (off=0, row=0, col=0) at screen.c:8346
#3 0x00000000005b6b23 in screen_line (row=0, coloff=0, endcol=4, clear_width=154, rlflag=0) at screen.c:6311
#4 0x00000000005c1f8c in win_line (wp=0x98e560, lnum=1, startrow=0, endrow=71, nochange=1) at screen.c:5531
#5 0x00000000005ba690 in win_update (wp=0x98e560) at screen.c:2119
#6 0x00000000005b6194 in update_screen (type_arg=0) at screen.c:753
#7 0x00000000006a6d24 in main_loop (cmdwin=0, noexmode=0) at main.c:1236
#8 0x00000000006a58fb in vim_main2 () at main.c:915
#9 0x00000000006a2db5 in main (argc=1, argv=0x7fffffffd9b8) at main.c:443
Reactions are currently unavailable