On 2/12/22 22:13, Cy Schubert wrote:
In message<556ade25-7889-556d-0d43-8f8901750...@radscan.com>, Jon Trulson
writ
es:
Hi,
[...]
Patches are always welcome.
Thanks.

I just fixed a dtinfogen issue on FreeBSD 14-CURRENT. This is the same
issue discussed on OpenBSD 6.8 here,https://sourceforge.net/p/cdesktopenv/t
ickets/94/. By default FreeBSD 14-CURRENT enabled jemalloc() debug mode,
which by default enables newly malloc()ed memory to be initialized with
junk. This in turn causes "flex scanner jammed" under FreeBSD current built
without MALLOC_PRODUCTION=yes in /etc/src.conf. To mitigate the problem one
needs to add MALLOC_CONF=junk:false to the make environment prior to build.

This affected 14-CURRENT (actually any -CURRENT as it affected 13-CURRENT
prior to this but is fine under 13-STABLE).

The problem does not exist under FreeBSD 13-STABLE nor under 12-STABLE
because jemalloc() is configured without debugging options, like
opt.junk:true.

I suspect that the OpenBSD bug is probably the same bug. They may
initialize newly allocated heap to junk just as FreeBSD -CURRENT does.

You can see what I did on FreeBSD here,
https://cgit.FreeBSD.org/ports/commit/?id=50324bba317cf1f58e8c434e0e2ed129cd
ed3887.

That is interesting...

I just committed a pile of patches from Liang Chang today that converts the docs to be UTF-8, and reworks much of the underlying code and infrastructure - fixing a lot of problems and improving things there quite a bit.

When/if you get a chance, could you tell me how well current master fares on FreeBSD 14?  I only have 12 and 13 in my current build testing pool.

Otherwise, I'll see how to enable that in Makefile.am or configure when I get more time.

-jon

--
Jon Trulson

  "The less you know, the more you believe."
                           -- Bono
_______________________________________________
cdesktopenv-devel mailing list
cdesktopenv-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel

Reply via email to