Skip to content

segfault in tpm2_semaphore_free #141

@hoxnox

Description

@hoxnox

gdb output is below

Starting program: /usr/bin/openssl req -new -provider tpm2 -provider base -key "1.pem" -passin "pass:41bc1e85f193bcd5f244f819b547f7d9" -subj "/C=US/ST=Ohio/L=Columbus/O=Widgets/OU=Unit"
28DBFFF7FF7F0000:error:0300009E:digital envelope routines:do_sigver_init:no default digest:crypto/evp/m_sigver.c:313:

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff7f8e2c7 in sem_close (sem=0x7ffff78da000) at src/thread/sem_open.c:172
warning: 172    src/thread/sem_open.c: No such file or directory
(gdb) where
#0  0x00007ffff7f8e2c7 in sem_close (sem=0x7ffff78da000) at src/thread/sem_open.c:172
#1  0x00007ffff79e9b3e in tpm2_semaphore_free () from /usr/lib/ossl-modules/tpm2.so
#2  0x00007ffff79e9038 in tpm2_teardown () from /usr/lib/ossl-modules/tpm2.so
#3  0x00007ffff7b8bc89 in ?? () from /usr/lib/libcrypto.so.3
#4  0x00007ffff7c99a0b in OPENSSL_sk_pop_free () from /usr/lib/libcrypto.so.3
#5  0x00007ffff7b8b685 in ?? () from /usr/lib/libcrypto.so.3
#6  0x00007ffff7b7b76e in ?? () from /usr/lib/libcrypto.so.3
#7  0x00007ffff7b7bb2f in ?? () from /usr/lib/libcrypto.so.3
#8  0x00007ffff7b7bbc2 in ?? () from /usr/lib/libcrypto.so.3
#9  0x00007ffff7b7eae1 in OPENSSL_cleanup () from /usr/lib/libcrypto.so.3
#10 0x00007ffff7f9ab31 in __funcs_on_exit () at src/exit/atexit.c:34
#11 0x00007ffff7f6d09e in exit (code=1) at src/exit/exit.c:29
#12 0x0000555555571358 in ?? ()
#13 0x00007ffff7f9a496 in libc_start_main_stage2 (main=0x555555571030, argc=13, argv=0x7fffffffe968) at src/env/__libc_start_main.c:95
#14 0x000055555557136e in ?? ()
#15 0x000000000000000d in ?? ()
#16 0x00007fffffffec47 in ?? ()
#17 0x00007fffffffec58 in ?? ()
#18 0x00007fffffffec5c in ?? ()
#19 0x00007fffffffec61 in ?? ()
#20 0x00007fffffffec6b in ?? ()
#21 0x00007fffffffec70 in ?? ()
#22 0x00007fffffffec7a in ?? ()
#23 0x00007fffffffec7f in ?? ()
#24 0x00007fffffffec84 in ?? ()
#25 0x00007fffffffec8a in ?? ()
#26 0x00007fffffffec92 in ?? ()
#27 0x00007fffffffecb8 in ?? ()
#28 0x00007fffffffecbe in ?? ()
#29 0x0000000000000000 in ?? ()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions