The call during elaboration which leads to the segmentation fault in
libgcrypt is in aws-net-ssl__gnutls.adb, line 1035:

if TSSL.gcry_control
   (CMD        => TSSL.GCRYCTL_SET_THREAD_CBS,
    Thread_CBS => (Option        => TSSL.GCRY_THREAD_OPTION_USER,
                   Mutex_Init    => Locking.Init'Address,
                   Mutex_Destroy => Locking.Destroy'Address,
                   Mutex_Lock    => Locking.Lock'Address,
                   Mutex_Unlock  => Locking.Unlock'Address,
                   others        => System.Null_Address)) /= 0

The packages AWS.Jabber.Client and AWS.SMTP "with" the AWS.Net package,
which in turn "with"s AWS.Net.SSL in the body.

gdb has the following to say

k...@arthur:~/awsreproducer$ gdb reproducer
GNU gdb (GDB) 7.0-debian
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /home/ken/awsreproducer/reproducer...done.
(gdb) run
Starting program: /home/ken/awsreproducer/reproducer
[Thread debugging using libthread_db enabled]

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff5b0e862 in gcry_sexp_create (retsexp=0x2f,
buffer=0x7fffffffe450, length=140737488348447, autodetect=0,
freefnc=0x7ffff6f09860
<system__task_primitives__operations__single_rts_lock>) at visibility.c:96
96      visibility.c: No such file or directory.
        in visibility.c
Current language:  auto
The current source language is "auto; currently c".
(gdb) bt
#0  0x00007ffff5b0e862 in gcry_sexp_create (retsexp=0x2f,
buffer=0x7fffffffe450, length=140737488348447, autodetect=0,
freefnc=0x7ffff6f09860
<system__task_primitives__operations__single_rts_lock>) at visibility.c:96
#1  0x00000000005918d0 in ?? ()
#2  0x00000000ffffffff in ?? ()
#3  0x00007ffff7865af0 in ?? () from /usr/lib/libaws.so.2.7
#4  0x00007ffff783a000 in ?? ()
#5  0x0000000000607780 in ?? ()
#6  0x00007ffff7dbbc40 in ?? () from /usr/lib/libaws.so.2.7
#7  0x0000000000000001 in ?? ()
#8  0x0000000000000000 in ?? ()
(gdb)




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to