🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by jay Wed, 28 Feb 1990 23:41
gnu diff 1.12
#1761
Author: 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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads