Path: utzoo!utgpu!watmath!uunet!tut.cis.ohio-state.edu!CS.WISC.EDU!dave
From: dave@CS.WISC.EDU (Dave Cohrs)
Newsgroups: gnu.emacs
Subject: memory management problems with Emacs18.52
Message-ID: <8812040343.AA04896@romano.cs.wisc.edu>
Date: 4 Dec 88 03:43:19 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 22

I'm having some severe memory management problems with emacs, and
I'm hoping someone else has found and fixed these things already!

Environment:
	Sun4/110
	SunOS 4.0
	X11R2
	HAVE_X_WINDOWS, X11, HAVE_X_MENU defined
	Emacs 18.52 w/X11 mods from expo

The problem that I see from various places, free() gets called
with an invalid address.  Sometimes these addresses appear good,
other times really strange (once it got called with a pointer
equal to 0x7fffffff).  The way it gets there varies.  Once it
was from x-proc-mouse-event, another time it was garbage collecting.
No, it doesn't happen consistently, just when it's most inconvenient :-)

Has anyone else seen these problems?  Any pointers appreciated.

Thanks,

Dave Cohrs