From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,8cfb38ca39016d16 X-Google-Attributes: gid1164f8,public X-Google-Thread: fee84,8cfb38ca39016d16 X-Google-Attributes: gidfee84,public From: Martin Farrall Subject: Re: Possible BUG on Alpha C compiler? Date: 1995/11/30 Message-ID: <30BD9547.317D@well.ox.ac.uk>#1/1 X-Deja-AN: 120495524 references: <49b0ad$d1i@no-names.nerdc.ufl.edu> <49d2qr$mhf@topaz.sensor.com> content-type: text/plain; charset=us-ascii organization: The Wellcome Trust Centre for Human Genetics mime-version: 1.0 newsgroups: comp.unix.osf.osf1,comp.sys.dec x-mailer: Mozilla 2.0b2 (X11; I; SunOS 5.4 sun4m) > The major difference on the Alpha, is that even accessing a memory > location with an invalid floating point value as floating point causes > an exception (nearly every other CPU actually requires you to do some > calculation with the number to trigger the exception). > > I would suspect that you q or c[0] is actually uninitialized data > and gdb or whatever is inhibitting (or ignoring) the exception when > you try to debug it. > > Purify (unfortunately not available on the alpha) or CodeCenter (which > unfortunately rolls over and dies on any decent sized application) will > help find these. > > -Ron I've encountered similar problems. Look in /usr/lib/atom for various software development tools including "3rd degree" which is a memory error detection tool similar in spirit to Purify. Martin Farrall