Segfault in OpenSSL even though GnuTLS demanded

Jung-uk Kim jkim at FreeBSD.org
Thu Jul 28 19:37:06 UTC 2016


On 07/28/16 02:02 PM, Bertram Scharpf wrote:
> Hi,
> 
> first of all, I am compiling ports myself. No packages.
> 
> I try to install a console XMPP client. To my
> disappointment, both irssi-xmpp and mcabber, too, crash with
> the same segfault. Here's an output from gdb.
> 
>   Program received signal SIGSEGV, Segmentation fault.
>   [Switching to Thread 29403080 (LWP 101275/mcabber)]
>   0x285c1245 in OPENSSL_ia32_cpuid () from /usr/local/lib/libcrypto.so.8
> 
> Both ports do no SSL themselves but depend on loudmouth.
> However, I have disabled OpenSSL there.
> 
>   # grep SSL\\\|TLS /var/db/ports/net-im_loudmouth/options
>   _FILE_COMPLETE_OPTIONS_LIST=DOCS GNUTLS OPENSSL
>   OPTIONS_FILE_SET+=GNUTLS
>   OPTIONS_FILE_UNSET+=OPENSSL
> 
> I have checked the ./configure calls parameters and there is a
> --with-ssl=gnutls indeed.
> 
> I tried to config loudmouth with OpenSSL instead of GnuTLS,
> but I encounter the same segfault.
> 
> What is going on here? What can I do further?

Try "ldd /usr/local/lib/libloudmouth-1.so.0.1.0".  It looks like a
Kerberos issue.

Jung-uk Kim

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20160728/47a9ab1f/attachment.sig>


More information about the freebsd-hackers mailing list