Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!uunet!mcsun!ukc!stc!datlog!gis From: gis@datlog.co.uk ( Ian Stewartson ) Newsgroups: comp.os.minix Subject: Re: Problems with Clam on System V Keywords: Clam, Problems, System V, core dumps, loads of fun. Message-ID: <2236@dlvax2.datlog.co.uk> Date: 30 Sep 89 15:42:12 GMT References: <443@hades.OZ> Reply-To: gis@datlog.co.uk ( Ian Stewartson ) Organization: Data Logic Ltd, Queens House, Greenhill Way, Harrow, London. Lines: 25 In article <443@hades.OZ> greyham@hades.OZ (Greyham Stoney) writes: >I know it's not exactly related to Minix; but has anyone had any luck getting >Clam to run under System-V?. After #ifdef'ing out the tchars structure >definition on line 172 of exec.c, it compiles & links ok..... but then the >executable dumps core as soon as you run it. > >Has anyone tried running it on System-V with success?. I'm using Interactive >386/ix.... Yes, I've compiled and run clam our System V.2.1 system (VAX 11/750). The core dump problem we have is that clam calls free() with a NULL pointer and the malloc package core dumps - no checking. Solution? Well, I've got the System V.2 sources, so free was modified. If not, you will probably have to change all the calls to free to check for a null pointer. Although, I came across an interesting problem with the perl 3.0 gamma sources. If you use AT&T malloc, perl crashes on some tests. When you use Larry Wall's malloc - no problem. I haven't looked at this yet. Hope this helps Regards, Ian Stewartson Data Logic Ltd, Queens House, Greenhill Way, Harrow, Middlesex, HA1 1YR, UK. (Phone) +44 1 863 0383 (Telex) 888103 (Fax) +44 1 861 2010 +44 81 863 0383 after May 1990. (Network) gis@datlog.co.uk or ukc!datlog!gis