HaxeFoundation / HaxeFoundation/haxe

i am using mbedtls in fedora os facing this error

Open
#11,677 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Haxe
Stars
6.9k
Forks
715
Avg merge
2d 2h
Merged PRs (30d)
11

Description

(gdb) run
Starting program: /home/andradamustata/Andrada/repos/flexes-maincpu/SOURCE/mbedtls/my_program
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff7ca22c4 in ___pthread_mutex_init (mutex=mutex@entry=0x800000006f48, mutexattr=mutexattr@entry=0x0) at pthread_mutex_init.c:90
90 memset (mutex, '\0', __SIZEOF_PTHREAD_MUTEX_T);
(gdb) bt
#0 0x00007ffff7ca22c4 in ___pthread_mutex_init (mutex=mutex@entry=0x800000006f48, mutexattr=mutexattr@entry=0x0) at pthread_mutex_init.c:90
#1 0x00007ffff7f50b94 in threading_mutex_init_pthread (mutex=0x800000006f48) at /usr/src/debug/mbedtls-2.16.12-1.fc35.x86_64/library/threading.c:107
#2 threading_mutex_init_pthread (mutex=0x800000006f48) at /usr/src/debug/mbedtls-2.16.12-1.fc35.x86_64/library/threading.c:96
#3 0x00007ffff7f42e9c in mbedtls_entropy_init (ctx=0x7fffffffdb30) at /usr/src/debug/mbedtls-2.16.12-1.fc35.x86_64/library/entropy.c:96
#4 0x00000000004012ba in main ()

Contributor guide

Open the contributing guide

Research direction

Start with the provided GDB backtrace, especially threading_mutex_init_pthread in mbedtls and the Fedora mbedTLS 2.16.12 package. The report does not include source code, a minimal reproduction, or a requested change, so the failure's cause and completion criteria cannot be established from the issue alone.

Written by the indexing model from the issue text.

Assessment

Tech stack
fedora
Domain
operating-systems
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
10/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.