[Bug 278076] GnuTLS 3.8.x breaks any recent version on Samba, 'GnuTLS could not generate a random buffer'
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 278076] GnuTLS 3.8.x breaks any recent version on Samba, 'GnuTLS could not generate a random buffer'"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 278076] GnuTLS 3.8.x breaks any recent version on Samba, 'GnuTLS could not generate a random buffer'"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 278076] GnuTLS 3.8.x breaks any recent version on Samba, 'GnuTLS could not generate a random buffer'"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 278076] GnuTLS 3.8.x breaks any recent version on Samba, 'GnuTLS could not generate a random buffer'"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 278076] security/gnutls: GnuTLS 3.8.x breaks any recent version on Samba, 'GnuTLS could not generate a random buffer'"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 31 Mar 2024 17:57:38 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=278076
Bug ID: 278076
Summary: GnuTLS 3.8.x breaks any recent version on Samba,
'GnuTLS could not generate a random buffer'
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: ports-bugs@FreeBSD.org
Reporter: raivo@lehma.com
14.0-RELEASE-p6. x86_64.
I updated to GnuTLS 3.8.4 and Samba slowed down to a crawl. The daemon created
a strangely named log file (.log) containing the following error, which I'd
seen during my previous attempts with GnuTLS 3.8.3. It never happens with
GnuTLS 3.7.x and lower.
[2024/03/31 20:39:15.341561, 0] ../../lib/util/fault.c:178(smb_panic_log)
===============================================================
[2024/03/31 20:39:15.341642, 0] ../../lib/util/fault.c:185(smb_panic_log)
INTERNAL ERROR: ../../lib/util/genrand.c:53:generate_random_buffer: GnuTLS
could not generate a random buffer: GNUTLS_E_LIB_IN_ERROR_STATE [-402]
in rpcd_lsad () () pid 56216 (4.20.0)
[2024/03/31 20:39:15.341738, 0] ../../lib/util/fault.c:190(smb_panic_log)
If you are running a recent Samba version, and if you think this problem is
not yet fixed in the latest versions, please consider reporting this bug, see
https://wiki.samba.org/index.php/Bug_Reporting
[2024/03/31 20:39:15.341794, 0] ../../lib/util/fault.c:191(smb_panic_log)
===============================================================
[2024/03/31 20:39:15.341845, 0] ../../lib/util/fault.c:193(smb_panic_log)
PANIC (pid 56216): ../../lib/util/genrand.c:53:generate_random_buffer: GnuTLS
could not generate a random buffer: GNUTLS_E_LIB_IN_ERROR_STATE [-402]
in 4.20.0
[2024/03/31 20:39:15.347533, 0] ../../lib/util/fault.c:304(log_stack_trace)
BACKTRACE: 12 stack frames:
#0 0x3c105278ed7 <log_stack_trace+0x37> at
/usr/local/lib/samba4/private/libgenrand-private-samba.so
#1 0x3c105278fae <smb_panic+0xe> at
/usr/local/lib/samba4/private/libgenrand-private-samba.so
#2 0x3c105279670 <generate_secret_buffer> at
/usr/local/lib/samba4/private/libgenrand-private-samba.so
#3 0x3c10527961f <generate_random_buffer+0x2f> at
/usr/local/lib/samba4/private/libgenrand-private-samba.so
#4 0x3c114b8647d <messaging_dgm_init+0x5ed> at
/usr/local/lib/samba4/private/libmessages-dgm-private-samba.so
#5 0x3c114b8602d <messaging_dgm_init+0x19d> at
/usr/local/lib/samba4/private/libmessages-dgm-private-samba.so
#6 0x3c114b88aa0 <messaging_dgm_ref+0xe0> at
/usr/local/lib/samba4/private/libmessages-dgm-private-samba.so
#7 0x3c0ff2c1460 <messaging_init+0x180> at
/usr/local/lib/samba4/libsmbconf.so.0
#8 0x3c0ff2cbb3b <global_messaging_context+0x3b> at
/usr/local/lib/samba4/libsmbconf.so.0
#9 0x3c0fae25205 <rpc_worker_main+0x365> at
/usr/local/lib/samba4/private/libRPC-WORKER-private-samba.so
#10 0x3b8d6505dcc <main+0x2c> at /usr/local/libexec/samba/rpcd_lsad
#11 0x3c10cb6d66d <__libc_start1+0x12d> at /lib/libc.so.7
[2024/03/31 20:39:15.348165, 0] ../../source3/lib/dumpcore.c:310(dump_core)
unable to change to /var/coredumps/%U
refusing to dump core
--
You are receiving this mail because:
You are the assignee for the bug.