🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.mail.elm
Article #3654

Re: Segment Violation signal! (INOFFICIAL FIX)

#3654
From: Gerald Vogt
Date: Thu, 07 Jan 1993 11:59
57 lines
2664 bytes
In article <1if9mqINNd43@gossip.pyramid.com> bms@penguin.eng.pyramid.com (Bruce Schlobohm) writes:
>In article <1993Jan6.164245.20045@aio.jsc.nasa.gov>, horn@freefall.jsc.nasa.gov (Mark Horn) writes:
>| Hi I just got elm PL20 up and running.  But with that patch I occasionally get
>| the following error:
>| 
>| 	Segment Violation signal!
>| 
>| 	Emergency exit taken! All temp files intact!
>| 
>| First of all, I'm running SunOS 4.1.3.  The only times that I've been able to
>| get this to occur are when:
>| 	I'm reading from my spool folder
>| 	I'm reading a message w/out a "Status:" header
>| 	I'm using either the builtin or builtin+ pagers
>| When all of these things are true and I hit 'x' I get the above mentioned
>| error - every time.
>| 
>| Anyone else noticed this?
>
>Yes, I can duplicate this also.
>I'm running elm2.4p20 on a Pyramid system running DC/OSx 1.1 (SVR4 based).
>I can duplicate this regardless of the pager type (builtin/builtin+/less),
>but the key for me is the first two you mention:
> 	I'm reading from my spool folder
> 	I'm reading a message w/out a "Status:" header
>		(doesn't fail for saved folders w/out Status: header)

Hi. All those who upgraded elm to patchlevel 20 and get a Segment
Violation, Bus Error or similar signal when leaving elm with 'x' may
apply the following patch to the file src/exitprog.c. Everything
should work afterwards. But be aware: DON'T FORGET TO REMOVE THE PATCH
AGAIN BEFORE YOU APPLY THE NEXT OFFICIAL PATCHES!!!

Hope this helps 'til the next official patch.
------------------------------ cut here ------------------------------
*** src/exitprog.c.ORIG	Thu Jan  7 12:13:33 1993
--- src/exitprog.c	Thu Jan  7 12:13:55 1993
***************
*** 39,45 ****
  	    any, and if the user say's it's ok)
  	**/
  
! 	char *msg, answer;
  	register int i, changes;
  
  	dprint(1, (debugfile, "\n\n-- exiting --\n\n"));
--- 39,45 ----
  	    any, and if the user say's it's ok)
  	**/
  
! 	char msg[SLEN], answer;
  	register int i, changes;
  
  	dprint(1, (debugfile, "\n\n-- exiting --\n\n"));
-- 
Gerald Vogt	E-Mail: vogt@isa.de
		UUCP: ...!{uunet!unido, pyramid}!isaak!vogt
Technical Details
Message-ID: <1993Jan7.115948.14710@isa.de>
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!Germany.EU.net!isaak.isa.de!newton.isa.de!vogt
References: <1993Jan6.164245.20045@aio.jsc.nasa.gov> <1if9mqINNd43@gossip.pyramid.com>

Show Full Headers
Complete Article Headers
Newsgroups: comp.mail.elm
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!Germany.EU.net!isaak.isa.de!newton.isa.de!vogt
From: vogt@isa.de (Gerald Vogt)
Subject: Re: Segment Violation signal! (INOFFICIAL FIX)
Message-ID: <1993Jan7.115948.14710@isa.de>
Sender: usenet@isa.de
Nntp-Posting-Host: ampere
Organization: ISA GmbH, Stuttgart, FRG
References: <1993Jan6.164245.20045@aio.jsc.nasa.gov> <1if9mqINNd43@gossip.pyramid.com>
Date: Thu, 7 Jan 1993 11:59:48 GMT
Lines: 57