View Issue Details

IDProjectCategoryView StatusLast Update
0005537unrealircdpublic2020-02-15 09:38
Reporteruntermensch Assigned Tosyzop  
PrioritynormalSeveritycrashReproducibilityalways
Status closedResolutionunable to duplicate 
Product Version5.0.1 
Summary0005537: segfault on FreeBSD 11.X
DescriptionSegfault at function init_random() and init_hash(), seems like it will run after commenting out both functions.
probably a bug in libcrypto, no segfault on FreeBSD 12.X, but I'm trying to run UnrealIRCd in a FreeNAS jail and
I'm stuck with what is available on the platform.

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
Steps To Reproducebuild from source on FreeBSD 11.x or FreeNAS jail and run.
Tagsfreebsd, freebsd clang building
3rd party modules

Activities

untermensch

2020-01-22 07:31

reporter   ~0021251

installing pkg openssl-1.1.1d and rebuilding seems to have fixed the segfault, I'm not sure which version is installed on the platform, but maybe warn the user it is borked.

syzop

2020-01-31 16:23

administrator   ~0021281

So you don't know what openssl version did have the crash? :D

syzop

2020-02-15 09:38

administrator   ~0021340

Likely either an outdated openssl or some 'special' platform, something we cannot fix. I am closing this one :)

Issue History

Date Modified Username Field Change
2020-01-22 06:47 untermensch New Issue
2020-01-22 06:47 untermensch Tag Attached: freebsd
2020-01-22 06:47 untermensch Tag Attached: freebsd clang building
2020-01-22 07:31 untermensch Note Added: 0021251
2020-01-31 16:23 syzop Note Added: 0021281
2020-02-15 09:38 syzop Assigned To => syzop
2020-02-15 09:38 syzop Status new => closed
2020-02-15 09:38 syzop Resolution open => unable to duplicate
2020-02-15 09:38 syzop Note Added: 0021340