🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.epoch.misc
Article #2190

Re: Epoch 3.2 on the DECstation (again)

#2190
From: Alan M. Carroll
Date: Sat, 16 Feb 1991 02:29
25 lines
1581 bytes
In article <9102152214.AA21766@mijen.inel.gov>, dob@INEL.GOV (Dave Brooks) writes:
> 
> Epoch crashes in line 100 of xresource.c, in the
> make_Xresource function, on this line of code:
> 
> 	xr_free_list = XXRESOURCE(xr_free_list->next);
> 
> printing xr_free_list from within gdb says that it is an invalid address,
> out of bounds.  is there anything i can do to fix this?  does someone on
> the Epoch team, or another expert, have a clue?

I thought I'd sent you a fix on this. This is a known bug, which only
occurs for systems with DATA_SEG_BITS defined. The fix is to change
line 99 in xresource.c from

    if (xr_free_list)

to

    if (XUINT(xr_free_list))

-- 
Alan M. Carroll                "I hate shopping with the reality-impaired"
Epoch Development Team                 - Susan
CS Grad / U of Ill @ Urbana    ...{ucbvax,pur-ee,convex}!cs.uiuc.edu!carroll
Technical Details
Message-ID: <1991Feb16.022907.8258@ux1.cso.uiuc.edu>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!maverick.ksu.ksu.edu!ux1.cso.uiuc.edu!uiucdcs!carroll
References: <9102152214.AA21766@mijen.inel.gov>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fc7ee,8e18741492513a5d
X-Google-Attributes: gidfc7ee,public
X-Google-ArrivalTime: 1991-02-15 19:23:41 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!maverick.ksu.ksu.edu!ux1.cso.uiuc.edu!uiucdcs!carroll
From: carroll@cs.uiuc.edu (Alan M. Carroll)
Newsgroups: gnu.epoch.misc
Subject: Re: Epoch 3.2 on the DECstation (again)
Message-ID: <1991Feb16.022907.8258@ux1.cso.uiuc.edu>
Date: 16 Feb 91 02:29:07 GMT
References: <9102152214.AA21766@mijen.inel.gov>
Sender: news@ux1.cso.uiuc.edu (News)
Reply-To: carroll@cs.uiuc.edu (Alan M. Carroll)
Distribution: gnu
Organization: Technophiles Inc. - Engineers with Attitude
Lines: 25