Andy Piper wrote:
At 08:00 PM 4/6/00 -0700, Kirill 'Big K' Katsnelson wrote:
>Andy, below is a small fix which reverts to "standard" xemacs assertion.
>I am not sure if it is correct - it turns *off* error checking if
>ERROR_CHECK_MALLOC is not defined. Maybe just leave asserts always on,
>so that they work in any debug build? Calling abort() without including
>lisp.h is not correct because there is special xemacsoid version of abort().
*sigh* I'll take this out. I was trying to track down my malloc problems.
The reason I didn't use the lisp.h one was that it sent malloc into endless
loops. I'm guessing that this isn't really an lstream problem?
yup, esp. since the lstream code has been stable for quite a long time and no
one's touched it recently, and it's crashing in glyphs code, which is most likely
trashing some memory somewhere.
if you trace through the gmalloc code and you find one location that's definitely
gotten trashed, try setting a watch point (i.e. break on write) on that
particular location. if you're lucky, this will pinpoint exactly who's trashing
that location.
ben
andy
--------------------------------------------------------------
Dr Andy Piper
Principal Consultant, BEA Systems Ltd
--
Ben
In order to save my hands, I am cutting back on my mail. I also write
as succinctly as possible -- please don't be offended. If you send me
mail, you _will_ get a response, but please be patient, especially for
XEmacs-related mail. If you need an immediate response and it is not
apparent in your message, please say so. Thanks for your understanding.
See also
http://www.666.com/ben/typing.html.