Bug 243500 - segfault in libcrypto at ssleay_rand_bytes ()
Summary: segfault in libcrypto at ssleay_rand_bytes ()
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: misc (show other bugs)
Version: 11.3-RELEASE
Hardware: amd64 Any
: --- Affects Some People
Assignee: freebsd-bugs mailing list
URL:
Keywords: crash, needs-qa
Depends on:
Blocks:
 
Reported: 2020-01-22 06:46 UTC by Adam
Modified: 2020-01-22 07:00 UTC (History)
1 user (show)

See Also:
koobs: maintainer-feedback? (secteam)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Adam 2020-01-22 06:46:48 UTC
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