RSA_generate_key getting crashed

Manish Patidar <[email protected]> Tue, 5 May 2026 15:33:41 +0530
Newsgroups gmane.comp.encryption.openssl.user
Message-ID <CAN6ajHL82O9CD5HNdxpcBgOKbt-tsFf-GugKbRusVEoA_iJOOw@mail.gmail.com>
--00000000000005eb0806510f2a66
Content-Type: text/plain; charset="UTF-8"

Hi

I have recently upgraded OpenSSL version  from 3.0.16 to 3.019.
After upgrade , one of thread is getting suspended in RSA_generate_key.
When I remove loop optimization -OL  from OpenSSL compilation, application
is working fine.

I have increase the stack and heap size , but it doesn't work
What is the difference in this version that is causing this behaviour.
What could be possible reasons for this

Regards
Manish

-- 
You received this message because you are subscribed to the Google Groups "openssl-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openssl-users+unsubscribe-MCmKBN63+Bmbup2nOX2J7Q@public.gmane.org
To view this discussion visit https://groups.google.com/a/openssl.org/d/msgid/openssl-users/CAN6ajHL82O9CD5HNdxpcBgOKbt-tsFf-GugKbRusVEoA_iJOOw%40mail.gmail.com.

--00000000000005eb0806510f2a66
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"auto"><div dir=3D"auto"><br></div><div dir=3D"auto">Hi</div><di=
v dir=3D"auto"><br></div><div dir=3D"auto">I have recently upgraded OpenSSL=
 version=C2=A0 from 3.0.16 to 3.019.</div><div dir=3D"auto">After upgrade ,=
 one of thread is getting suspended in RSA_generate_key. When I remove loop=
 optimization -OL=C2=A0 from OpenSSL compilation, application is working=C2=
=A0fine.=C2=A0</div><div dir=3D"auto"><br></div><div dir=3D"auto">I have in=
crease the stack and heap size , but it doesn&#39;t work</div><div dir=3D"a=
uto">What is the difference in this version that is causing this behaviour.=
</div><div dir=3D"auto">What could be possible reasons for this=C2=A0</div>=
<div dir=3D"auto"><br></div><div dir=3D"auto">Regards</div><div dir=3D"auto=
">Manish</div></div>

<p></p>

-- <br />
You received this message because you are subscribed to the Google Groups &=
quot;openssl-users&quot; group.<br />
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to <a href=3D"mailto:openssl-users+unsubscribe-MCmKBN63+BlAfugRpC6u6w@public.gmane.org">openssl-us=
[email protected]</a>.<br />
To view this discussion visit <a href=3D"https://groups.google.com/a/openss=
l.org/d/msgid/openssl-users/CAN6ajHL82O9CD5HNdxpcBgOKbt-tsFf-GugKbRusVEoA_i=
JOOw%40mail.gmail.com?utm_medium=3Demail&utm_source=3Dfooter">https://group=
s.google.com/a/openssl.org/d/msgid/openssl-users/CAN6ajHL82O9CD5HNdxpcBgOKb=
t-tsFf-GugKbRusVEoA_iJOOw%40mail.gmail.com</a>.<br />

--00000000000005eb0806510f2a66--