🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.bug
Article #99657

Epoch 3.1 bug in handling of long lines

#99657
From: Lynn Kerby
Date: Fri, 22 Jun 1990 23:40
36 lines
2071 bytes
Environment: Sun3/60, SunOS4.0.3, X11R4, Epoch 3.1

There is bug in Epoch in handling files containing long lines (where
long is defined to be lines longer than 304 characters).

The bug manifests itself when scrolling horizontally through the line.
All characters after 303 appear as solid black rectangles.  If the
display is filled with the rectangles (ie. you have scrolled towards
the end of the line) and then attempt to scroll back to the beginnning
of the file, Epoch dumps core.

I don't know much of the guts of Emacs or the Epoch modifications, but
the core dump is the result of a corrupt display line (also obvious
from the display itself).  Epoch called abort() in function
return_display_line().  The arg is non-null, but the storage pointed
to by the arg contains zeros.

How to repeat the bug:
  0) create a file that has long lines.
  1) M-x set-variable truncate-lines t
  2) move the point to a long line.
  3) type: M-304 C-x <    
     (note the corrupted display)
  4) type: C-x <
  5) type: C-x >
     (wait while Epoch dumps core)

I don't have a fix for this or more of a clue as to what the root
cause of the problem is.  Fixes gladly accepted :-)!


-- 
--
Lynn Kerby, Amdahl Corporation:  lfk@key.amdahl.com  or  {...}amdahl!key!lfk
Any and all opinions expressed herein are my own. My employer doesn't even
acknowlege that I have an opinion!
Technical Details
Message-ID: <1958@key.COM>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!clyde.concordia.ca!news-server.csri.toronto.edu!mailrus!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!ames!amdahl!key!lfk

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fb2f1,c4d9bb894b6b35a5,start
X-Google-Attributes: gidfb2f1,public
X-Google-ArrivalTime: 1990-06-23 00:42:25 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!clyde.concordia.ca!news-server.csri.toronto.edu!mailrus!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!ames!amdahl!key!lfk
From: lfk@key.COM (Lynn Kerby)
Newsgroups: gnu.emacs.bug
Subject: Epoch 3.1 bug in handling of long lines
Keywords: Epoch core
Message-ID: <1958@key.COM>
Date: 22 Jun 90 23:40:16 GMT
Reply-To: lfk@key.amdahl.com
Organization: Key Computer Labs, Fremont, CA
Lines: 36
Posted: Sat Jun 23 00:40:16 1990