From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,3da6660e87742678 X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-08-04 12:11:31 PST Path: bga.com!news.sprintlink.net!hookup!swrinde!cs.utexas.edu!math.ohio-state.edu!jussieu.fr!centre.univ-orleans.fr!univ-lyon1.fr!swidir.switch.ch!newsfeed.ACO.net!Austria.EU.net!EU.net!sunic!news.chalmers.se!cd.chalmers.se!tl From: tl@cd.chalmers.se (Torbj|rn Lindgren) Newsgroups: comp.unix.osf.osf1 Subject: Re: trn Date: 4 Aug 1994 12:42:54 GMT Organization: Chalmers Computer Society Message-ID: <31qnoe$rmc@nyheter.chalmers.se> References: <31m6dt$rbe@mailer.fsu.edu> NNTP-Posting-Host: haddock.cd.chalmers.se In article <31m6dt$rbe@mailer.fsu.edu>, Cliff Browning wrote: >====== 34 unread articles in comp.unix.osf.osf1 -- read now [+ynq] >Getting overview file. >Caught a SIGESEGV--.newsrc restored >Abort process (core dumped) > >Anybody know what's causing this. Well, someone posted a fix previously (undef NORMSIG and define SIGBLOCK), but this didn't work for our OSF/1 2.0 machines. The error only appears if I use 'cc -O'. When I tried 'cc -g', 'cc -O -g3' and 'cc' all worked, which complicated the debugging a bit :) The only thing I could tell from the -O version was that it was a memcmp in rt-process.c (msgid_cmp) which created the SIGSEGV (bcmp is defined using memcmp, so it was a call to bcmp that was the problem). I couldn't get executables generated with gcc 2.6.0 to get this fault, so it's possible that it's some kind of bug in the optimizer of cc (I *hate* bugs that disappear when you add debugging info!)