pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: New pkgsrc openssl -> apache24 crash




To: Adam <adam%netbsd.org@localhost>

Subject: Re: New pkgsrc openssl -> apache24 crash

From: Jonathan Perkin <jperkin%pkgsrc.org@localhost>

Date: Wed, 28 Jan 2026 19:45:39 +0000


* On 2026-01-28 at 18:24 GMT, Adam wrote:


I pushed a quick fix for that. I see pthread_self() returns -1 on NetBSD for the main thread. In that case, the logic in crypto/initthread.c -> int ossl_init_thread(void) is incorrect.

I've changed "recursion_guard = (CRYPTO_THREAD_ID)0;"


I'm not sure this is correct, an
d I'm very concerned this might just end  up breaking other systems. As I understand it you'll get -1 from the  libc stub, so maybe it's just that libpthread isn't linked?

I think it should at le
ast be limited to __NetBSD__ until it can be  properly diagnosed, this could end up breaking thousands of users.

--
Jonathan Perkin                    pkgsrc.smartos.org
Open Source Complete Cloud   www.tritondatacenter.com


References:

New pkgsrc openssl -> apache24 crash
From: Havard Eidnes

Re: New pkgsrc openssl -> apache24 crash
From: Adam




Prev by Date: Re: New pkgsrc openssl -> apache24 crash

Previous by Thread: Re: New pkgsrc openssl -> apache24 crash

Indexes:

reverse Date

reverse Thread

Old Index



Home | Main Index | Thread Index | Old Index