Hi, and thanks a bunch for being responsive! No offence on assumptions about what I know. Part of my day job is supporting end customers of our code. :^)
In any case; devuan is a debian fork without systemd, and relative to me other box (Centos 6), modern. I've got a few RPi's I can try this on if needed. The source tree is the official one or very close (git clone maybe). router1_/home/crichmon/Downloads/nmh> gcc --version gcc (Debian 6.3.0-18+deb9u1) 6.3.0 20170516 The skipped tests are 1/7 because valgrind isn't installed. The other 6 are because oauth isn't enabled. Neither for any particular reason. I've rebuilt and generated a core file. That's about where I get lost with what to do with it. This is the result of trying: > make check TESTS="test/dist/test-dist" > gdb core .... Type "apropos word" to search for commands related to "word"... "/home/crichmon/Downloads/nmh/core": not in executable format: File format not recognized (gdb) q router1_/home/crichmon/Downloads/nmh> d core -rw------- 1 crichmon users 667648 Nov 7 15:54 core router1_/home/crichmon/Downloads/nmh> file core core: ELF 64-bit LSB core file x86-64, version 1 (SYSV), SVR4-style, from 'dist -noedit -to [email protected]', real uid: 1000, effective uid: 1000, real gid: 1000, effective gid: 1000, execfn: '/home/crichmon/Downloads/nmh/test/testdir/inst/usr/local/bin/dist', platform: 'x86_64' Making the core executable didn't help (same msg). Thx, Chris -----Original Message----- From: Ken Hornstein <[email protected]> Sent: Thursday, November 7, 2019 8:59 AM To: Chris Richmond <[email protected]> Cc: [email protected] Subject: Re: 4 of 108 tests failed testing nmh > Not sure what you need to know, but this is on a current Devuan 2.0.0 >install. This is what failed: > >PASS: test/comp/test-comp-format >Segmentation fault >FAIL: test/dist/test-dist Huh, I am a little suprised that this failed in so many places; I'm willing to believe we got something wrong, but I guess I thought this would have shown up before now. But ... as to solving this problem ... First, compile with debugging turned on (CFLAGS=-g and LDFLAGS=-g to configure). Be sure you do a "make clean" so you can make sure everything is built with debugging symbols. You can run a single test by running: % make check TESTS="test/dist/test-dist test/cleanup" The "cleanup" test removes the test working directory, so if you want to see what is left over then you can omit that. Since you are getting segfaults, it might be easiest to turn on core dumps (using something like "unlimit coredumpsize" or "ulimit coredumpsize", depending on your shell), run the test to get a core dump, and then running the debugger on that. I can give you more information as to how to do that if you are unfamiliar with that (forgive me for presuming that you don't know how to do that already; it's very possible you know this already!). Once we figure out what is going wrong, we can work on fixing it. --Ken
