Segfault in OpenSSL even though GnuTLS demanded

Jung-uk Kim jkim at FreeBSD.org
Thu Jul 28 21:56:51 UTC 2016


On 07/28/16 05:37 PM, Bertram Scharpf wrote:
> On Thursday, 28. Jul 2016, 17:25:50 -0400, Jung-uk Kim wrote:
>> On 07/28/16 04:55 PM, Bertram Scharpf wrote:
>>> On Thursday, 28. Jul 2016, 15:37:00 -0400, Jung-uk Kim wrote:
>>>> On 07/28/16 02:02 PM, Bertram Scharpf wrote:
>>>>>
>>>>>   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
>>>>
>>>> Try "ldd /usr/local/lib/libloudmouth-1.so.0.1.0".  It looks like a
>>>> Kerberos issue.
>>>
>>> No errors. They do all exist. I double-checked it:
>>>
>>>   $ ldd /usr/local/lib/libloudmouth-1.so.0.1.0 | perl -lne '/=>\s*(\S+)/ and not -e $1 and print $1'
>>
>> I guess you misunderstood.  I didn't mean you have a missing library.  I
>> believe it links *two* libcrypto.so's, i.e., one from base and one from
>> ports.
> 
> Indeed:
> 
>   # ldd /usr/local/lib/libloudmouth-1.so.0.1.0 | grep libcrypto
>         libcrypto.so.8 => /usr/local/lib/libcrypto.so.8 (0x28d00000)
>         libcrypto.so.7 => /lib/libcrypto.so.7 (0x2925b000)
> 
> So, how could I resolve this?
You may ask its maintainer (gnome at FreeBSD.org) to add USES+=gssapi and
add an option to select GSS-API from ports.  Another solution may be
removing all packages depending on /usr/local/lib/libcrypto.8 and
rebuilding them with base OpenSSL.

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/af40d8a3/attachment.sig>


More information about the freebsd-hackers mailing list