🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.epoch.misc
Article #342

``marker does not point anywhere'' from hell....

#342
From: Marc Andreessen
Date: Fri, 06 Nov 1992 00:33
43 lines
1829 bytes
The patch at the end of this message will at the very least keep X
servers from being fried on the ``marker does not point anywhere''
bug.  However, I still don't know why it happens, especially since I
have no way of reproducing it (it's never happened to me).

If the bug hits after you install this patch, let me know what gets
printed out...

Marc

--------------------------------- CLIP CLIP ----------------------------------
*** marker.c.old        Wed Aug 26 21:55:15 1992
--- marker.c    Fri Nov  6 06:30:45 1992
***************
*** 256,262 ****
    register int i = m->bufpos;
  
    if (!buf)
!     error ("Marker does not point anywhere");
  
    if (i > BUF_GPT (buf) + BUF_GAP_SIZE (buf))
      i -= BUF_GAP_SIZE (buf);
--- 256,268 ----
    register int i = m->bufpos;
  
    if (!buf)
!     {
!       printf ("--> marker %08x\n", marker);
!       printf ("    m      %08x\n", marker);
!       printf ("    m->buffer %08x\n", m->buffer);
!       printf ("    m->bufpos %d\n", m->bufpos);
!       /* error ("Marker does not point anywhere"); */
!     }
  
    if (i > BUF_GPT (buf) + BUF_GAP_SIZE (buf))
      i -= BUF_GAP_SIZE (buf);
--------------------------------- CLIP CLIP ----------------------------------

--
Marc Andreessen
Epoch Development Team
University of Illinois at Urbana-Champaign
marca@ncsa.uiuc.edu
Technical Details
Message-ID: <9211061633.AA11119@wintermute.ncsa.uiuc.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!ames!saimiri.primate.wisc.edu!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!ncsa.uiuc.edu!marca

Show Full Headers
Complete Article Headers
Newsgroups: gnu.epoch.misc
Path: arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!ames!saimiri.primate.wisc.edu!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!ncsa.uiuc.edu!marca
From: marca@ncsa.uiuc.edu (Marc Andreessen)
Subject: ``marker does not point anywhere'' from hell....
Message-ID: <9211061633.AA11119@wintermute.ncsa.uiuc.edu>
Sender: daemon@cis.ohio-state.edu
Organization: GNUs Not Usenet
Distribution: gnu
Date: Fri, 6 Nov 1992 00:33:59 GMT
Lines: 44