In message <546daefd-0b57-4669-a1ce-4b92de971...@wanadoo.fr>, Edmond Orignac vi a cdesktopenv-devel writes: > This is a multi-part message in MIME format. > --------------56jCVxDgvHHbD0tD3LwM0gmj > Content-Type: multipart/alternative; > boundary="------------JTkBo8n0BtaXGcdz18A9mauM" > > --------------JTkBo8n0BtaXGcdz18A9mauM > Content-Type: text/plain; charset=UTF-8; format=flowed > Content-Transfer-Encoding: 8bit > > > Le 18/05/2024 à 02:45, Cy Schubert a écrit : > > My guess is some pointer is getting mangled somewhere. > > > > Is the machine you're on 64-bit or 32-bit? (I've configured the FreeBSD > > port/package to only build/run on 64-bit architectures because on i386 > > it cannot bind to temporary type va_list whereas on amd64 it can.) > > > The machine is 64bit, but I will also test on 32bit to see if there is a > difference. > > I am attaching the output of ldd /usr/dt/bin/dtpad on Ubuntu.
Hmm. I'm surprised that dtpad is linked with Kerberos with your Linux distro. Keyutils (access to kernel keyrings), libresolv (DNS resolver), and libtirpc (RPC - remote procedure call) as well. I wonder what the distro is trying to do with these network libraries. It doesn't appear to be anything web related. Probably extra baggage due to dependencies in some other library. libbsd maybe? Looking through the CDE git repo, nothing jumps out at me to suggest a smoking gun. I think that there may be some kind of incompatibility due to platform factors such as memory map. Having said that, my FreeBSD system has both ASLR and stack address randomization enabled. Some apps, i.e. older NTP, didn't play well with FreeBSD stack address randomizaton, even though it worked with the Linux equivalent. Could the Linux ASLR be an issue. Though I doubt it because the app would probably segfault but it might be worth trying to disable Linux ASLR anyway to see if that makes a difference, leaving no stone unturned. Note that changes to NTP plus improvements to FreeBSD stack address randomization addredssed the NTP memory corruption. I'd be interested to see if dtpad is sensitive to ASLR. -- Cheers, Cy Schubert <cy.schub...@cschubert.com> FreeBSD UNIX: <c...@freebsd.org> Web: https://FreeBSD.org NTP: <c...@nwtime.org> Web: https://nwtime.org e^(i*pi)+1=0 _______________________________________________ cdesktopenv-devel mailing list cdesktopenv-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel