🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.bug
Article #98987

Ultrix V3.1 / V4.0: Segmentation violation (after using hexl-mode)

#98987
From: Boaz Ben-Zvi
Date: Mon, 17 Dec 1990 22:19
49 lines
2439 bytes
My emacs is crashing with "Segmentation violation".

System configuration:
=====================
 The problem DID recur on:
 -----------------------------
1. Emacs 18.55 (or 18.54) running on Ultrix V3.1D (Rev. 54) on a DEC
   mips 5000 (tried two of these machines).
2. Emacs 18.51 running on Ultrix V4.0 (Rev. 179) on a DEC mips 5000.

 The problem did NOT recur on:
 -----------------------------
3. DEC mips 3100 running Ultrix Worksystem V2.0 (Rev. 7) (Using same binary 
   of emacs 18.55).
4. any Vax running BSD.


Note: "hexl-mode" below was taken from the archive on tut.cis.ohio-state.edu .

To reproduce:
=============
 - start emacs.
 - load a big file (mine was a 770 Kbyte binary).
 - start hexl-mode .
 - modify file.
 - save file (hexl-save-buffer).
 - kill-buffer.  (not necessary to reproduce).
 - do something else (e.g. load dired).

  I get the message "loading dired ..." and a second later emacs crashes with
a Segmentation violation. 
  In some situations (e.g. dired is already loaded), the crash occurs after 
doing several (non hexl) things (e.g. calling dired several times).
  When I loaded, modified and saved the big file without loading hexl-mode
the crash did not recur.

My guesses:
===========
1. Somehow Ultrix  V2.0 and  V3.1D / V4.0 manage memory differently, and when 
   emacs does memory intensive work, something is messed up (e.g. some
   memory is freed).
2. The blame is with the DEC mips 5000. 
3. hexl-mode does something wrong.


========================================================
*   Boaz Ben-Zvi   (boaz@neutron.lcs.mit.edu)          *
*   MIT: NE43-526   Tel: (617) 253-6212                *
========================================================
Technical Details
Message-ID: <1990Dec17.221926.3398@mintaka.lcs.mit.edu>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!tut.cis.ohio-state.edu!CONCERTO.LCS.MIT.EDU!boaz

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fb2f1,e4a636315a07c135,start
X-Google-Attributes: gidfb2f1,public
X-Google-ArrivalTime: 1990-12-17 14:19:26 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!tut.cis.ohio-state.edu!CONCERTO.LCS.MIT.EDU!boaz
From: boaz@CONCERTO.LCS.MIT.EDU (Boaz Ben-Zvi)
Newsgroups: gnu.emacs.bug
Subject: Ultrix V3.1 / V4.0: Segmentation violation (after using hexl-mode)
Message-ID: <1990Dec17.221926.3398@mintaka.lcs.mit.edu>
Date: 17 Dec 90 22:19:26 GMT
Sender: daemon@tut.cis.ohio-state.edu
Reply-To: boaz@lcs.mit.edu
Distribution: gnu
Organization: Laboratory for Computer Science, MIT
Lines: 49
Approved: bug-gnu-emacs@prep.ai.mit.edu