when building UnrealIRCd from source on FreeBSD 11.2, 11.3 or in a FreeNAS jail upon running the program segfaults, installing pkg openssl-1.1.1d and rebuilding fixes the segfault. Starting program: /usr/home/ircd/src/src/ircd Breakpoint 1, main (argc=1, argv=0x7fffffffeae0) at ircd.c:945 945 gettimeofday(&timeofday_tv, NULL); Current language: auto; currently minimal (gdb) n 946 timeofday = timeofday_tv.tv_sec; (gdb) n 948 safe_strdup(configfile, CONFIGFILE); (gdb) n 950 init_random(); /* needs to be done very early!! */ (gdb) n Program received signal SIGSEGV, Segmentation fault. 0x0000000800d0ee6e in ssleay_rand_bytes () from /lib/libcrypto.so.8
Removing secteam@freebsd.org from this bug. This appears related to UnrealIRCd. I don't believe we can contribute usefully to this bug.
^Triage: - secteam ack'd (set flag to +) @Adam The issue as reported (using upstream sources) is probably best reported upstream, until and unless the issue can then be isolated to FreeBSD specifically, in which can please re-open the issue with additional details. Additionally, if this is reproducible using the port (irc/unreal) using base OpenSSL, please re-open the issue and I'll reclassify it under the Ports & Packages product.