🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.epoch.misc
Article #1976

shrink-window causes display routine to abort

#1976
From: Andreas Schwab
Date: Tue, 21 May 1991 14:39
42 lines
2981 bytes
System: Sun4 SunOS Release 4.0.3
Epoch-Version: 3.2.3

Running shrink-window on a screen with only one window causes the
display routine to abort in Cget_display_line. This is the output from
gdb:

(gdb) where
#0  0x94e28 in kill ()
#1  0x2700 in Cget_display_line (vpos=-1, hpos=1546280, rb=(struct Root_Block *) 0x106c08) (dispepoch.c line 388)
#2  0x8790 in display_text_line (w=(struct window *) 0xfc908, start=1, vpos=-1, hpos=0, taboffset=0) (xdisp.c line 1349)
#3  0x7108 in try_window (window=303024392, pos=608232) (xdisp.c line 939)
#4  0x6cb4 in redisplay_window (window=303024392, just_this_one=0) (xdisp.c line 857)
#5  0x62b4 in redisplay_windows (window=303024392) (xdisp.c line 675)
#6  0x60f8 in redisplay_all_windows () (xdisp.c line 640)
#7  0x57d8 in DoDsp (SaveMiniBuf=0) (xdisp.c line 424)
#8  0x2dbb4 in get_char (commandflag=1) (keyboard.c line 825)
#9  0x2eec4 in read_key_sequence (keybuf=(char *) 0xf7fff334 "\e[229z\363`", bufsize=30, prompt=(unsigned char *) 0x0, nodisplay=0) (keyboard.c line 1433)
#10 0x2d1c4 in command_loop_1 () (keyboard.c line 616)
#11 0x5dc48 in internal_condition_case (bfun=(int (*)()) 0x2cfd0 <command_loop_1>, handlers=17785104, hfun=(int (*)()) 0x2c994 <cmd_error>) (eval.c line 1022)
#12 0x2cdcc in command_loop_2 () (keyboard.c line 493)
#13 0x5d628 in internal_catch (tag=17785084, func=(int (*)()) 0x2cda0 <command_loop_2>, arg=17784844) (eval.c line 814)
#14 0x2cd64 in command_loop () (keyboard.c line 475)
#15 0x2c8b8 in Frecursive_edit () (keyboard.c line 362)
#16 0x2bf9c in main (argc=1, argv=(char **) 0xf7fff6a4, envp=(char **) 0xf7fff6ac) (emacs.c line 509)
(gdb) up 2
#3  0x7108 in try_window (window=303024392, pos=608232) (xdisp.c line 939)
(gdb) info locals
pos = 1
w = (struct window *) 0xfc908
height = 1
vpos = -1
last_text_vpos = -1
tab_offset = 0
val = {bufpos = 1, hpos = 0, vpos = 1, prevhpos = 84986052, contin = 2}
(gdb) p *w
$1 = {size = 0, vec_next = 0x0, next = 0, prev = 0, hchild = 0, vchild = 0, parent = 0, left = 0, top = 0, height = 0, width = 0, buffer = 0, start = 0, pointm = 0, force_start = 0, hscroll = 0, use_time = 0, sequence_number = 0, temslot = 0, last_modified = 0, last_point = 0, last_point_x = 0, last_point_y = 0, last_mark_x = 0, last_mark_y = 0, window_end_pos = 0, window_end_valid = 0, window_end_vpos = 0, redo_mode_line = 0, start_at_line_beg = 0, root = 0}
(gdb) 

--
Andreas Schwab
schwab@ls5.informatik.uni-dortmund.de
Technical Details
Message-ID: <3268@laura.UUCP>
Path: arc1-ca.pugleaf.net!gmdzi!unido!laura!pooh!schwab

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fc7ee,8ebb7e30972f817e,start
X-Google-Attributes: gidfc7ee,public
X-Google-ArrivalTime: 1991-05-21 10:56:18 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!laura!pooh!schwab
From: schwab@ls5.informatik.uni-dortmund.de (Andreas Schwab)
Newsgroups: gnu.epoch.misc
Subject: shrink-window causes display routine to abort
Message-ID: <3268@laura.UUCP>
Date: 21 May 91 14:39:12 GMT
Sender: news@laura.UUCP
Organization: University of Dortmund, Germany
Lines: 42