🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.epoch.misc
Article #1727

Segmentation fault; does anyone have a fix ?

#1727
From: Peter A Fletcher
Date: Wed, 09 Oct 1991 02:38
43 lines
2081 bytes
Hi there!  Epoch has been crashing fairly irregularly in the
last few weeks around here, and I've managed to get a stack
trace using gdb on my Decstation 5000/120.  However, the
same code has also been crashing fairly regularly on the
Sparc machines around here.

The backtrace looks like this:

#0  direct_output_for_insert () at dispepoch.c:593
#1  0x420ba0 in command_loop_1 () at keyboard.c:718
#2  0x444958 in internal_condition_case () at eval.c:1020
#3  0x420358 in command_loop_2 () at keyboard.c:493
#4  0x4444a0 in internal_catch () at eval.c:814
#5  0x4202f0 in command_loop () at keyboard.c:475
#6  0x41ffe8 in Frecursive_edit () at keyboard.c:362
#7  0x41f958 in main () at emacs.c:506

and the bit of code where it happens looks like this:

(gdb) list
585           /* if shared buffers, then it's going to fail too. */
586           || buffer_shared > 1
587           )
588         return 0;
589
590       p->body[hpos] = c;
591     #ifdef BUTTON
592       p->attrib[hpos] =
593         hpos > 0 ? p->attrib[hpos-1] : get_button(bf_cur,point,0,0,0);
594     #endif

Can anybody help ?

Thanks,
-peter.
-----------------------------------------------------
Peter Fletcher, PhD student.
Internet : peterf@csis.dit.csiro.au
Phone    : +61-6-2750914
Physical : CSIRO Division of Information Technology,
           ANU, Acton, Canberra ACT AUSTRALIA
-----------------------------------------------------
Technical Details
Message-ID: <9110081138.AA23028@lynx.csis.dit.csiro.au>
Path: arc1-ca.pugleaf.net!gmdzi!unido!fauern!ira.uka.de!yale.edu!qt.cs.utexas.edu!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!csis.dit.csiro.au!peterf

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fc7ee,7c0a2a55bd7537fb,start
X-Google-Attributes: gidfc7ee,public
X-Google-ArrivalTime: 1991-10-08 11:06:57 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!fauern!ira.uka.de!yale.edu!qt.cs.utexas.edu!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!csis.dit.csiro.au!peterf
From: peterf@csis.dit.csiro.au (Peter A Fletcher)
Newsgroups: gnu.epoch.misc
Subject: Segmentation fault; does anyone have a fix ?
Message-ID: <9110081138.AA23028@lynx.csis.dit.csiro.au>
Date: 9 Oct 91 02:38:35 GMT
Sender: daemon@cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 43