https://gitlab.synchro.net/main/sbbs/-/issues/324#note_2317
Hey Rob, I think your assessment here is incorrect.So just now, I did this - outside of docker (ie: no docker involved).On my `Intel(R) Core(TM) i7-10710U CPU @ 1.10GHz` I build SBBS, using the instructions [here](
http://wiki.synchro.net/install:nix) (using the instructions under `Getting/Building`. My build command was `make install SYMLINK=1 NOCAP=1 DEBUG=1`.My build was done on a shared filesystem with the target system a `AMD G-T40E Processor`.After the build, on that system I ran `SBBSCTRL=`pwd`/ctrl valgrind exec/sbbs`, which resulted in this:```==1143855== Memcheck, a memory error detector==1143855== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.==1143855== Using Valgrind-3.16.1 and LibVEX; rerun with -h for copyright info==1143855== Command: exec/sbbs==1143855==Synchronet Console for Linux-x64 Version 3.19c Copyright 2022 Rob SwindellReading /gfs/home/devel/sbbs/ctrl/sbbs.iniLoading configuration files from /gfs/home/devel/sbbs/ctrl2/24 22:47:05 term Synchronet Terminal Server Version 3.19c Debug2/24 22:47:05 term Compiled master/7e5ab9a Feb 24 2022 22:35:39 with GCC 4.8.52/24 22:47:05 term Initializing on Thu Feb 24 22:47:05 2022 with options: 10222/24 22:47:05 term Loading configuration files from /gfs/home/devel/sbbs/ctrl2/24 22:47:04 stat Loading configuration files from /gfs/home/devel/sbbs/ctrl!Started as non-root user (id 500): May fail to bind TCP/UDP ports below 10242/24 22:47:05 srvc Synchronet Services Version 3.19c Debug2/24 22:47:05 srvc Compiled master/7e5ab9a Feb 24 2022 22:35:55 with GCC 4.8.52/24 22:47:06 ftp Synchronet FTP Server Version 3.19c Debug2/24 22:47:06 ftp Compiled master/7e5ab9a Feb 24 2022 22:35:53 with GCC 4.8.52/24 22:47:06 srvc Initializing on Thu Feb 24 22:47:06 2022 with options: 8002/24 22:47:06 srvc Loading configuration files from /gfs/home/devel/sbbs/ctrl2/24 22:47:06 web Synchronet Web Server Version 3.19c Debug2/24 22:47:06 web Compiled master/7e5ab9a Feb 24 2022 22:36:07 with GCC 4.8.52/24 22:47:06 web Initializing on Thu Feb 24 22:47:06 2
022 with options: 8a02/24 22:47:06 ftp Initializing on Thu Feb 24 22:47:06 2022 with options: 142/24 22:47:06 ftp Loading configuration files from /gfs/home/devel/sbbs/ctrl2/24 22:47:06 web Loading configuration files from /gfs/home/devel/sbbs/ctrl2/24 22:47:06 mail Synchronet Mail Server Version 3.19c Debug2/24 22:47:06 mail Compiled master/7e5ab9a Feb 24 2022 22:35:54 with GCC 4.8.52/24 22:47:06 mail Initializing on Thu Feb 24 22:47:06 2022 with options: 600004042/24 22:47:07 mail Loading configuration files from /gfs/home/devel/sbbs/ctrl2/24 22:47:07 stat Listening on /gfs/home/devel/sbbs/ctrl/status.sock2/24 22:47:07 term Configured time zone (UTC, 0x0000, offset: 0) does not match system-local time zone offset: 6602/24 22:47:08 term Verifying/creating data directories[Threads: 8 Sockets: 0 Clients: 0 Served: 0 Errors: 0] (?=Help): vex amd64->IR: unhandled instruction bytes: 0xC4 0xE2 0xC8 0xF2 0xF0 0x44 0x89 0xC0 0x48 0x85vex amd64->IR: REX=0 REX.W=0 REX.R=0 REX.X=0 REX.B=0vex amd64->IR: VEX=0 VEX.L=0 VEX.nVVVV=0x0 ESC=NONEvex amd64->IR: PFX.66=0 PFX.F2=0 PFX.F3=0==1143855== valgrind: Unrecognised instruction at address 0x4e8b6ec.==1143855== at 0x4E8B6EC: aclConsistent.isra.1.part.2 (in /gfs/home/devel/sbbs/repo/src/sbbs3/gcc.linux.x64.lib.debug/libsbbs.so)==1143855== by 0x4E8B9D3: initAttributeACL (in /gfs/home/devel/sbbs/repo/src/sbbs3/gcc.linux.x64.lib.debug/libsbbs.so)==1143855== by 0x4E4A388: krnlBeginInit (in /gfs/home/devel/sbbs/repo/src/sbbs3/gcc.linux.x64.lib.debug/libsbbs.so)==1143855== by 0x4DB832C: initCryptlib (in /gfs/home/devel/sbbs/repo/src/sbbs3/gcc.linux.x64.lib.debug/libsbbs.so)==1143855== by 0x4DB28D8: cryptInit (in /gfs/home/devel/sbbs/repo/src/sbbs3/gcc.linux.x64.lib.debug/libsbbs.so)==1143855== by 0x4AE3777: internal_do_cryptInit (ssl.c:244)==1143855== by 0x64DD34E: __pthread_once_slow (pthread_once.c:116)==1143855== by 0x4AE37EA: do_cryptInit (ssl.c:258)==1143855== by 0x4AE3877: get_ssl_cert (ssl.c:290)==1143855== by 0x5E5A605: web_server (w
ebsrvr.c:7071)==1143855== by 0x64D4EA6: start_thread (pthread_create.c:477)==1143855== by 0x6918DEE: clone (clone.S:95)==1143855== Your program just tried to execute an instruction that Valgrind==1143855== did not recognise. There are two possible reasons for this.==1143855== 1. Your program has a bug and erroneously jumped to a non-code==1143855== location. If you are running Memcheck and you just saw a==1143855== warning about a bad jump, it's probably your program's fault.==1143855== 2. The instruction is legitimate but Valgrind doesn't handle it,==1143855== i.e. it's Valgrind's fault. If you think this is the case or==1143855== you are not sure, please let us know and we'll try to fix it.==1143855== Either way, Valgrind will now raise a SIGILL signal which will==1143855== probably kill your program.==1143855====1143855== Process terminating with default action of signal 4 (SIGILL)==1143855== Illegal opcode at address 0x4E8B6EC==1143855== at 0x4E8B6EC: aclConsistent.isra.1.part.2 (in /gfs/home/devel/sbbs/repo/src/sbbs3/gcc.linux.x64.lib.debug/libsbbs.so)==1143855== by 0x4E8B9D3: initAttributeACL (in /gfs/home/devel/sbbs/repo/src/sbbs3/gcc.linux.x64.lib.debug/libsbbs.so)==1143855== by 0x4E4A388: krnlBeginInit (in /gfs/home/devel/sbbs/repo/src/sbbs3/gcc.linux.x64.lib.debug/libsbbs.so)==1143855== by 0x4DB832C: initCryptlib (in /gfs/home/devel/sbbs/repo/src/sbbs3/gcc.linux.x64.lib.debug/libsbbs.so)==1143855== by 0x4DB28D8: cryptInit (in /gfs/home/devel/sbbs/repo/src/sbbs3/gcc.linux.x64.lib.debug/libsbbs.so)==1143855== by 0x4AE3777: internal_do_cryptInit (ssl.c:244)==1143855== by 0x64DD34E: __pthread_once_slow (pthread_once.c:116)==1143855== by 0x4AE37EA: do_cryptInit (ssl.c:258)==1143855== by 0x4AE3877: get_ssl_cert (ssl.c:290)==1143855== by 0x5E5A605: web_server (websrvr.c:7071)==1143855== by 0x64D4EA6: start_thread (pthread_create.c:477)==1143855== by 0x6918DEE: clone (clone.S:95)==1143855====1143855== HEAP SUMMARY:==1143855== in use at exit: 716,810
bytes in 5,456 blocks==1143855== total heap usage: 13,458 allocs, 8,002 frees, 2,079,527 bytes allocated==1143855====1143855== LEAK SUMMARY:==1143855== definitely lost: 24 bytes in 1 blocks==1143855== indirectly lost: 11 bytes in 2 blocks==1143855== possibly lost: 2,128 bytes in 7 blocks==1143855== still reachable: 714,647 bytes in 5,446 blocks==1143855== suppressed: 0 bytes in 0 blocks==1143855== Rerun with --leak-check=full to see details of leaked memory==1143855====1143855== For lists of detected and suppressed errors, rerun with: -s==1143855== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)Illegal instruction```It's a debug build, so hopefully that helps?
--- SBBSecho 3.14-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)