Hi, I have updated NetBSD/amd64-current and I have gotten OpenSSL 3.5.5 now. And some programs, for examples, sudo command from pkgsrc/security/sudo gets segfault. A backtrace is here. Could you take a look at my problem? Thank you. $ openssl version OpenSSL 3.5.5 27 Jan 2026 (Library: OpenSSL 3.5.5 27 Jan 2026) # gdb sudo GNU gdb (GDB) 16.3 Copyright (C) 2024 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64--netbsd". Type "show configuration" for configuration details. For bug reporting instructions, please see: <https://www.gnu.org/software/gdb/bugs/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from sudo... (gdb) r ls Starting program: /usr/pkg/bin/sudo ls Program received signal SIGSEGV, Segmentation fault. 0x0000789f09fd4e6d in pthread_equal (t1=0xffffffffffffffff, t2=0x789f09b44800) at /usr/src/lib/libpthread/pthread.c:772 772 pthread__error(0, "Invalid thread", (gdb) bt #0 0x0000789f09fd4e6d in pthread_equal (t1=0xffffffffffffffff, t2=0x789f09b44800) at /usr/src/lib/libpthread/pthread.c:772 #1 0x0000789f0a35edd3 in CRYPTO_THREAD_compare_id (a=<optimized out>, b=<optimized out>) at /usr/src/crypto/external/apache2/openssl/dist/crypto/threads_pthread.c:738 #2 0x0000789f0a36343a in ossl_init_thread () at /usr/src/crypto/external/apache2/openssl/dist/crypto/initthread.c:218 #3 0x0000789f0a3638a5 in ossl_init_base () at /usr/src/crypto/external/apache2/openssl/dist/crypto/init.c:72 #4 ossl_init_base_ossl_ () at /usr/src/crypto/external/apache2/openssl/dist/crypto/init.c:57 #5 0x0000789f09fcf721 in pthread_once ( once_control=once_control@entry=0x789f0a5a1f00 <base>, routine=routine@entry=0x789f0a363872 <ossl_init_base_ossl_>) at /usr/src/lib/libpthread/pthread_once.c:66 #6 0x0000789f0a35eaef in CRYPTO_THREAD_run_once ( once=once@entry=0x789f0a5a1f00 <base>, init=init@entry=0x789f0a363872 <ossl_init_base_ossl_>) at /usr/src/crypto/external/apache2/openssl/dist/crypto/threads_pthread.c:690 #7 0x0000789f0a363aa6 in OPENSSL_init_crypto (opts=opts@entry=64, settings=settings@entry=0x0) at /usr/src/crypto/external/apache2/openssl/dist/crypto/init.c:544 #8 0x0000789f0a302d3c in ossl_engine_table_select ( table=table@entry=0x789f0a5a43e8 <rand_table>, nid=nid@entry=1, f=f@entry=0x789f0a40bed8 "/usr/src/crypto/external/apache2/openssl/dist/crypto/engine/tb_rand.c", l=l@entry=62) at /usr/src/crypto/external/apache2/openssl/dist/crypto/engine/eng_table.c:209 #9 0x0000789f0a301c7a in ENGINE_get_default_RAND () at /usr/src/crypto/external/apache2/openssl/dist/crypto/engine/tb_rand.c:61 #10 0x0000789f0a2847fb in RAND_get_rand_method () at /usr/src/crypto/external/apache2/openssl/dist/crypto/rand/rand_lib.c:312 #11 0x0000789f0a284ffb in RAND_status () at /usr/src/crypto/external/apache2/openssl/dist/crypto/rand/rand_lib.c:414 #12 0x0000789f09893bcb in seed_something () at /usr/src/crypto/external/bsd/heimdal/dist/lib/krb5/crypto-rand.c:71 #13 0x0000789f09893c7f in krb5_generate_random (buf=buf@entry=0x7f7fffe90487, len=len@entry=1) --Type <RET> for more, q to quit, c to continue without paging-- at /usr/src/crypto/external/bsd/heimdal/dist/lib/krb5/crypto-rand.c:113 #14 0x0000789f09893801 in krb5_init_context ( context=context@entry=0x7f7fffe904c0) at /usr/src/crypto/external/bsd/heimdal/dist/lib/krb5/context.c:444 #15 0x0000789f098bf248 in pam_sm_setcred (pamh=0x789f098df000, flags=4, argc=<optimized out>, argv=<optimized out>) at /usr/src/lib/libpam/modules/pam_afslog/pam_afslog.c:67 #16 0x0000789f09a184e3 in openpam_dispatch (pamh=0x789f098df000, primitive=<optimized out>, flags=4) at /usr/src/external/bsd/openpam/dist/lib/libpam/openpam_dispatch.c:123 #17 0x0000789f09a2e955 in sudo_pam_begin_session () from /usr/pkg/lib/sudo/sudoers.so #18 0x0000789f09a2c9f8 in sudo_auth_begin_session () from /usr/pkg/lib/sudo/sudoers.so #19 0x0000789f09a4a453 in sudoers_policy_init_session () from /usr/pkg/lib/sudo/sudoers.so #20 0x00000000005a650c in policy_init_session () #21 0x000000000059ce76 in exec_pty () #22 0x0000000000593f8e in sudo_execute () #23 0x00000000005a621b in run_command () #24 0x00000000005ad228 in main () (gdb) "Christos Zoulas" <christos%netbsd.org@localhost> writes: > Module Name: src > Committed By: christos > Date: Tue Jan 27 21:31:44 UTC 2026 > > Modified Files: > src/doc: 3RDPARTY CHANGES > > Log Message: > new OpenSSL > > > To generate a diff of this commit: > cvs rdiff -u -r1.2159 -r1.2160 src/doc/3RDPARTY > cvs rdiff -u -r1.3220 -r1.3221 src/doc/CHANGES > > Please note that diffs are not public domain; they are subject to the > copyright notices on the relevant files. > > Modified files: > > Index: src/doc/3RDPARTY > diff -u src/doc/3RDPARTY:1.2159 src/doc/3RDPARTY:1.2160 > --- src/doc/3RDPARTY:1.2159 Wed Jan 21 09:13:56 2026 > +++ src/doc/3RDPARTY Tue Jan 27 16:31:44 2026 > @@ -1,4 +1,4 @@ > -# $NetBSD: 3RDPARTY,v 1.2159 2026/01/21 14:13:56 taca Exp $ > +# $NetBSD: 3RDPARTY,v 1.2160 2026/01/27 21:31:44 christos Exp $ > # > # This file contains a list of the software that has been integrated into > # NetBSD where we are not the primary maintainer. > @@ -1163,12 +1163,12 @@ markus is very cooperative about it): > - LIBWRAP support is maintained (now in sshd-session.c) > > Package: OpenSSL > -Version: 1.0.2o/1.1.1t/3.0.16/3.5.1 > -Current Vers: 1.0.2zm/1.1.1zd/3.0.18/3.2.6/3.3.5/3.4.3/3.5.4,3.6.0 > +Version: 1.0.2o/1.1.1t/3.0.16/3.5.5 > +Current Vers: 1.0.2zm/1.1.1zd/3.0.18/3.2.6/3.3.5/3.4.4/3.5.5,3.6.1 > Maintainer: The OpenSSL Project > Archive Site: https://github.com/openssl/openssl/releases > Home Page: http://www.openssl.org/ > -Date: 2026-01-18 > +Date: 2026-01-27 > Mailing List: openssl-announce%openssl.org@localhost > Responsible: christos, mjf, tls, riastradh, spz > License: Apache2 > > Index: src/doc/CHANGES > diff -u src/doc/CHANGES:1.3220 src/doc/CHANGES:1.3221 > --- src/doc/CHANGES:1.3220 Mon Jan 19 17:01:09 2026 > +++ src/doc/CHANGES Tue Jan 27 16:31:44 2026 > @@ -1,4 +1,4 @@ > -# LIST OF CHANGES FROM LAST RELEASE: <$Revision: 1.3220 $> > +# LIST OF CHANGES FROM LAST RELEASE: <$Revision: 1.3221 $> > # > # > # [Note: This file does not mention every change made to the NetBSD source tree. > @@ -135,3 +135,4 @@ Changes from NetBSD 11.0 to NetBSD 12.0: > acpi(4): Updated ACPICA to 20251212. [christos 20260117] > byacc: Update to 20241231. [christos 20260118] > gfortran(1): Add for all platforms using GCC 14. [mrg 20260118] > + OpenSSL: Imported 3.5.5. [christos 20260127] > -- Ryo ONODERA // ryo%tetera.org@localhost PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB FD1B F404 27FA C7D1 15F3