Hans Guenter Weigand <hgweigand(a)wiesbaden.netsurf.de> writes:
...
Does the OpenBSD malloc find a memory leak in XEmacs here, or is
something
else broken?
I would guess the latter.
Does system-malloc work on other systems?
It took a great deal of fiddling to use the system malloc (the newest
GNU malloc) on Linux. Have you tried setting -DUSE_MINIMAL_TAGBITS?
This moves the Lisp tag bits somewhere where they won't step on the
high bits of pointers.