Wierd core dump on sparc-1

Abed M. Hammoud abed at saturn.wustl.edu
Fri Jan 25 08:41:10 AEST 1991


In article <1991Jan24.061653.22785 at tkou02.enet.dec.com> diamond at jit345.enet@tkou02.enet.dec.com (Norman Diamond) writes:
>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.


	I had the same problem a couple of weeks ago. (also on a sparc
	1+ station). I was using a number of large arrays. by keeping
	the same array sizes and changing their type from double to 
	float the problem disappear. So for some reason it seems it has
	something to do with big arrays.

	I will be interested to know what really causes this problem.

	--------------------------------------------------------------
	| Abed  M. Hammoud			abed at saturn.wustl.edu|
	| Washington University.	        office:(314)726-7547 |
	| Electronic Systems & Signals Research Laboratory.          |
	| Dept. of Electrical/Biomedical Engineering.		     |
	| St.Louis Mo U.S.A                                          |
	-------------------------------------------------------------- 



More information about the Comp.lang.c mailing list