[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gnutls-3.0.18 make check fails on Solaris10
From: |
Kiyoshi KANAZAWA |
Subject: |
Re: gnutls-3.0.18 make check fails on Solaris10 |
Date: |
Wed, 4 Apr 2012 19:30:50 +0900 (JST) |
Hi, Nikos,
Checking "simple -v", I understood /usr/local/GNU/lib/libgnutls.so.28 was
linked instead of TOP/gnutls-3.0.18/lib/.libs/libgnutls.so.28.
After setting "TOP/gnutls-3.0.18/lib/.libs" to the head of LD_LIBRARY_PATH,
both "simple" and "mini-termination" passed.
It seemed that there is no problem except for -DAF_LOCAL=AF_UNIX, if old
versions of GNUTLS are uninstalled, but,
I encountered "Segmentation Fault" in pkcs12 again, even if I specifyed
-I(TOP)/lib/includes.
It might be unstable.
This time, made coredump and watched it.
NULL is given to the parameter of fprintf's "%s" in print_bag_data (),
certtool.c
% pwd
/tmp/gnutls-3.0.18/tests/pkcs12-decode
% pkcs12 -v
NEON PKCS12 OK client.p12 foobar
NEON PKCS12 OK noclient.p12
NEON PKCS12 OK unclient.p12
Segmentation Fault - core dumped
Type: Encrypted
Decrypting...
Type: Certificate
Type: Certificate
NEON PKCS12 FATAL pkcs12_2certs.p12
NEON PKCS12 DONE (rc 1)
% file core
core: ELF 32-bit LSB core file 80386 Version 1, from 'certtool'
% file `find /tmp/gnutls-3.0.18 -type f -name certtool`
/tmp/gnutls-3.0.18/src/.libs/certtool: ELF 32-bit LSB executable 80386 Version
1, dynamically linked, not stripped
/tmp/gnutls-3.0.18/src/certtool: executable /bin/bash script
%dbx /tmp/gnutls-3.0.18/src/.libs/certtool core
:
address@hidden (address@hidden) program terminated by signal SEGV (no mapping
at the fault address)
0xfe9f63dc: strlen+0x000c: movl (%eax),%edx
Current function is print_bag_data
2605 fprintf (outfile, "\tKey ID: %s\n", raw_to_string (id.data,
id.size));
(dbx) where
current thread: address@hidden
dbx: internal error: reference through NULL pointer at line 1111 in file
symbol.cc
[1] strlen(0x0), at 0xfe9f63dc
[2] _ndoprnt(0x807ae0a, 0x8046638, 0x808f5d0, 0x0), at 0xfea5169a
[3] _fprintf(0x808f5d0, 0x807adff, 0x0, 0x808f5e0, 0x8046660, 0xfefc4a84), at
0xfea54229
=>[4] print_bag_data( (inlined), line 2605 in "certtool.c"
[5] pkcs12_info(cinfo = (nil)), line -2106288 in "certtool.c"
Regards,
--- Kiyoshi <address@hidden>
--- On Wed, 2012/4/4, Nikos Mavrogiannopoulos <address@hidden> wrote:
> On Wed, Apr 4, 2012 at 5:24 AM, Kiyoshi KANAZAWA
> <address@hidden> wrote:
>
> > (1) 'AF_LOCAL' undeclared
> > As I mentioned in the previous e-mail, it chenged to
> > FAIL: simple
> > FAIL: mini-termination
> > by -DAF_LOCAL=AF_UNIX
>
> Nice. Could you provide me the output of
> $ simple -v
> and
> $ mini-termination -v
>
>
>
> regards,
> Nikos
>
Re: gnutls-3.0.18 make check fails on Solaris10, Kiyoshi KANAZAWA, 2012/04/05