Re: Segmentation fault: what's wrong with this code?
Stef Bon <[email protected]> Fri, 5 Jun 2026 13:35:31 -0700 (PDT)
| Newsgroups | gmane.comp.encryption.openssl.user |
|---|---|
| Message-ID | <[email protected]> |
------=_Part_218000_779587893.1780691731124
Content-Type: multipart/alternative;
boundary="----=_Part_218001_1626990177.1780691731124"
------=_Part_218001_1626990177.1780691731124
Content-Type: text/plain; charset="UTF-8"
Yes
Module /home/sbon/Projects/archive/openssl/openssh/test
without build-id.
Module ld-linux-x86-64.so.2 without build-id.
Module libc.so.6 without build-id.
Module libcrypto.so.3 without build-id.
Stack trace of thread 3061:
#0 0x00007f188b982e22 n/a (libcrypto.so.3 + 0x182e22)
#1 0x00007f188b983610 EVP_PKEY_free (libcrypto.so.3 +
0x183610)
#2 0x0000557320c4534c PK_read_spk_from_OSSL_DECODER
(/home/sbon/Projects/archive/openssl/openssh/test + 0x334c)
#3 0x0000557320c456b3 PK_read_spk_from_handle
(/home/sbon/Projects/archive/openssl/openssh/test + 0x36b3)
#4 0x0000557320c458f3 main
(/home/sbon/Projects/archive/openssl/openssh/test + 0x38f3)
#5 0x00007f188b6301ae n/a (libc.so.6 + 0x271ae)
#6 0x00007f188b630269 __libc_start_main (libc.so.6 +
0x27269)
#7 0x0000557320c434e5 _start
(/home/sbon/Projects/archive/openssl/openssh/test + 0x14e5)
ELF object binary architecture: AMD x86-64
--
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/22d9e083-93a3-483b-a5da-4fda6d2b821bn%40openssl.org.
------=_Part_218001_1626990177.1780691731124
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
<div><br /></div><div>Yes</div>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 Module /home/sbon/Projects/archive/openssl/openssh/test witho=
ut build-id.<br />=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 M=
odule ld-linux-x86-64.so.2 without build-id.<br />=C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Module libc.so.6 without build-id.<br />=C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Module libcrypto.so.3 =
without build-id.<br />=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 Stack trace of thread 3061:<br />=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 #0 =C2=A00x00007f188b982e22 n/a (libcrypto.so.3 + 0x182e2=
2)<br />=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 #1 =C2=A00x=
00007f188b983610 EVP_PKEY_free (libcrypto.so.3 + 0x183610)<br />=C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 #2 =C2=A00x0000557320c4534c P=
K_read_spk_from_OSSL_DECODER (/home/sbon/Projects/archive/openssl/openssh/t=
est + 0x334c)<br />=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
#3 =C2=A00x0000557320c456b3 PK_read_spk_from_handle (/home/sbon/Projects/ar=
chive/openssl/openssh/test + 0x36b3)<br />=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 #4 =C2=A00x0000557320c458f3 main (/home/sbon/Proje=
cts/archive/openssl/openssh/test + 0x38f3)<br />=C2=A0 =C2=A0 =C2=A0 =C2=A0=
=C2=A0 =C2=A0 =C2=A0 =C2=A0 #5 =C2=A00x00007f188b6301ae n/a (libc.so.6 + 0=
x271ae)<br />=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 #6 =C2=
=A00x00007f188b630269 __libc_start_main (libc.so.6 + 0x27269)<br />=C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 #7 =C2=A00x0000557320c434e=
5 _start (/home/sbon/Projects/archive/openssl/openssh/test + 0x14e5)<br />=
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ELF object binary a=
rchitecture: AMD x86-64<br /><br /><div><br /></div>
<p></p>
-- <br />
You received this message because you are subscribed to the Google Groups &=
quot;openssl-users" 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/22d9e083-93a3-483b-a5da-4fda6d2b821bn%40openssl=
.org?utm_medium=3Demail&utm_source=3Dfooter">https://groups.google.com/a/op=
enssl.org/d/msgid/openssl-users/22d9e083-93a3-483b-a5da-4fda6d2b821bn%40ope=
nssl.org</a>.<br />
------=_Part_218001_1626990177.1780691731124--
------=_Part_218000_779587893.1780691731124--