[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: zmailer-2.99.23



>    Date: 	Tue, 2 Jan 1996 00:13:00 -0500
>    From: "David S. Miller" <davem@caip.rutgers.edu>
> 
> I reply to myself ;-)
> 
>    Seems my scheduler drops core shortly after starting up with this
>    release.  It fires off a whole slew of smtp processes, they go for a
>    while, the poof the scheduler drops core and all the smtp processes go
>    away.
> 
>    It could be a malloc library problem, but we'll see.
> 
> I relinked the scheduler with gnu malloc and it is going just fine
> now.

	Yeah, however the real problem is caused by an error of
	referral to free()ed memory block, which on "MM-Malloc"
	(Mark Moraes Malloc) are filled with 0x55, which data
	being odd causes pointers in such memory areas to become
	invalid for SPARCs (and Alphas) due to alignment, etc..

	Anyway, the GNU-Malloc (and mm-malloc without its ever-present
	debug-mode) can hide the real problem :-/

	(I am TRYING to get a hit from that error by running
	 the scheduler in DEC ATOM-tools `Third Degree' memory
	 access analyzer -- equivalent to "Purify" on SPARC and
	 couple other platforms..  Hmm..  One RIH error (read-
	 invalid-heap) spotted during 48 hour run..  The block
	 was freed at expire(), and latter referred at u_retryat(),
	 meaning it wasn't completely thrown away..)

> Later,
> David S. Miller
> davem@caip.rutgers.edu

	/Matti Aarnio <mea@utu.fi> <mea@nic.funet.fi>