Wierd core dump on sparc-1

Norman Diamond diamond at jit345.swstokyo.dec.com
Thu Jan 24 17:16:53 AEST 1991


In article <1991Jan23.232300.3698 at lavaca.uh.edu> jet at karazm.math.uh.edu ("J. Eric Townsend") writes:

>I've got a rather simple little C program that dumps core at 
>the first "{" of main() (according to gdb and saber).
>Any hints as to what could be causing this?

Probably incorrect initializations of automatic variables in main().
Possibly an insufficient stack limit or other similar problem.

>I'm about to run it
>interpreted under saber-c, we'll see what that shows (and how long
>it takes).

Good idea.  Why didn't you try it before posting?
--
Norman Diamond       diamond at tkov50.enet.dec.com
If this were the company's opinion, I wouldn't be allowed to post it.



More information about the Comp.lang.c mailing list