🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.utils.bug
Article #1761

gnu diff 1.12

#1761
From: jay
Date: Wed, 28 Feb 1990 23:41
23 lines
1480 bytes
I'm having problems with "diff -r" dumping core on Suns.
It happens most often on Sun4 (4/280 and SS1), but I've
also seen it happen on Sun3s.  All are running SunOS 4.0.3.
The same pair of subtrees which cause a coredump on a
SPARC won't necessarily cause a core dump on a Sun3; I
haven't tested the reverse.  diff was compiled with Sun's cc.

Sorry, I haven't had time to track down the reason.
If I compile with -g, the problem goes away.  adb refuses
to give me a stack trace on the core file.  I just tried
compiling without -O; on one example directory where diff
compiled -O dumps core, it succeeds with the unoptimized
version, but it prints a large string of nulls as the difference
between a file which is empty in one directory and contains
4096 nulls in the other.  The last output from the -O
version is the diffs from the file encountered just before
this file.  I *think* I've seen coredumps on pairs of
directories which don't contain such a pair of files.

Has anybody else reported this?

	Jay Plett
	jay@princeton.edu
Technical Details
Message-ID: <9002282341.AA01701@flux.Princeton.EDU>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!bu.edu!snorkelwacker!tut.cis.ohio-state.edu!PRINCETON.EDU!jay

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!bu.edu!snorkelwacker!tut.cis.ohio-state.edu!PRINCETON.EDU!jay
From: jay@PRINCETON.EDU
Newsgroups: gnu.utils.bug
Subject: gnu diff 1.12
Message-ID: <9002282341.AA01701@flux.Princeton.EDU>
Date: 28 Feb 90 23:41:07 GMT
Sender: daemon@tut.cis.ohio-state.edu
Reply-To: jay@princeton.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 23