Igor Schein on Tue, 30 Jun 1998 00:23:41 +0200 |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: SEGV in 2.0.9 on Solaris 2.5.1 |
On Mon, Jun 29, 1998 at 04:35:33PM -0400, Gerhard Niklasch wrote: > Re > > Message-Id: <19980629153320.G16049@io.txc.com> > > Date: Mon, 29 Jun 1998 21:33:20 +0200 > > From: Igor Schein <igor@txc.com> > > > > Hi, the following causes a SEGV: > > % echo '2^2^26' | gp-dyn -q > /dev/null > > *** segmentation fault: bug in GP (please report). > > % > > And more importantly, would the following by any chance fix it? > (If you haven't compiled for debugging, only the first hunk would > be relevant, if you have, only the second. Line numbers in the > second may be off a little -- by not more than 3, I should hope -- > because my version of init.c has already evolved some way towards > 2.0.10. In an emergency, find the function checkmemory() in > src/language/init.c and edit it in by hand.) > No, the patch didn't fix it. SEGV occurs right away. I ran it thru gdb, and here's where it occurs: Program received signal SIGSEGV, Segmentation fault. 0xef70ad1c in cgeti (x=8388611) at pariinline.h:288 288 z[0] = evaltyp(t_INT) | evallg(x);