home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / mail / elm / 3991 < prev    next >
Encoding:
Text File  |  1993-01-08  |  2.5 KB  |  70 lines

  1. Newsgroups: comp.mail.elm
  2. Path: sparky!uunet!mcsun!Germany.EU.net!isaak.isa.de!newton.isa.de!vogt
  3. From: vogt@isa.de (Gerald Vogt)
  4. Subject: Re: Segment Violation signal! (INOFFICIAL FIX)
  5. Message-ID: <1993Jan7.115948.14710@isa.de>
  6. Sender: usenet@isa.de
  7. Nntp-Posting-Host: ampere
  8. Organization: ISA GmbH, Stuttgart, FRG
  9. References: <1993Jan6.164245.20045@aio.jsc.nasa.gov> <1if9mqINNd43@gossip.pyramid.com>
  10. Date: Thu, 7 Jan 1993 11:59:48 GMT
  11. Lines: 57
  12.  
  13. In article <1if9mqINNd43@gossip.pyramid.com> bms@penguin.eng.pyramid.com (Bruce Schlobohm) writes:
  14. >In article <1993Jan6.164245.20045@aio.jsc.nasa.gov>, horn@freefall.jsc.nasa.gov (Mark Horn) writes:
  15. >| Hi I just got elm PL20 up and running.  But with that patch I occasionally get
  16. >| the following error:
  17. >| 
  18. >|     Segment Violation signal!
  19. >| 
  20. >|     Emergency exit taken! All temp files intact!
  21. >| 
  22. >| First of all, I'm running SunOS 4.1.3.  The only times that I've been able to
  23. >| get this to occur are when:
  24. >|     I'm reading from my spool folder
  25. >|     I'm reading a message w/out a "Status:" header
  26. >|     I'm using either the builtin or builtin+ pagers
  27. >| When all of these things are true and I hit 'x' I get the above mentioned
  28. >| error - every time.
  29. >| 
  30. >| Anyone else noticed this?
  31. >
  32. >Yes, I can duplicate this also.
  33. >I'm running elm2.4p20 on a Pyramid system running DC/OSx 1.1 (SVR4 based).
  34. >I can duplicate this regardless of the pager type (builtin/builtin+/less),
  35. >but the key for me is the first two you mention:
  36. >     I'm reading from my spool folder
  37. >     I'm reading a message w/out a "Status:" header
  38. >        (doesn't fail for saved folders w/out Status: header)
  39.  
  40. Hi. All those who upgraded elm to patchlevel 20 and get a Segment
  41. Violation, Bus Error or similar signal when leaving elm with 'x' may
  42. apply the following patch to the file src/exitprog.c. Everything
  43. should work afterwards. But be aware: DON'T FORGET TO REMOVE THE PATCH
  44. AGAIN BEFORE YOU APPLY THE NEXT OFFICIAL PATCHES!!!
  45.  
  46. Hope this helps 'til the next official patch.
  47. ------------------------------ cut here ------------------------------
  48. *** src/exitprog.c.ORIG    Thu Jan  7 12:13:33 1993
  49. --- src/exitprog.c    Thu Jan  7 12:13:55 1993
  50. ***************
  51. *** 39,45 ****
  52.           any, and if the user say's it's ok)
  53.       **/
  54.   
  55. !     char *msg, answer;
  56.       register int i, changes;
  57.   
  58.       dprint(1, (debugfile, "\n\n-- exiting --\n\n"));
  59. --- 39,45 ----
  60.           any, and if the user say's it's ok)
  61.       **/
  62.   
  63. !     char msg[SLEN], answer;
  64.       register int i, changes;
  65.   
  66.       dprint(1, (debugfile, "\n\n-- exiting --\n\n"));
  67. -- 
  68. Gerald Vogt    E-Mail: vogt@isa.de
  69.         UUCP: ...!{uunet!unido, pyramid}!isaak!vogt
  70.