boostorg / boostorg/thread

SIGSEGV at _dl_runtime_resolve_xsavec in boost::detail::set_current_thread_data

Open
#409 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
214
Forks
171
PR merge metrics
No merged PRs in 30d

Description

I started running into this SIGSEGV. Is it possible that some thread-local variable initialization could trigger this? Any ideas for how to troubleshoot further? When I swap out boost::thread with std::thread, the SIGSEGV goes away. So far I haven't been able to reproduce the error with a simple example. I am using boost 1.84.0

```
Thread 5 "a.out" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffe8704700 (LWP 700154)]
_dl_runtime_resolve_xsavec () at ../sysdeps/x86_64/dl-trampoline.h:126
126 ../sysdeps/x86_64/dl-trampoline.h: No such file or directory.
(gdb) bt
#0 _dl_runtime_resolve_xsavec () at ../sysdeps/x86_64/dl-trampoline.h:126
#1 0x0000000006869d48 in boost::detail::set_current_thread_data(boost::detail::thread_data_base*) ()
#2 0x000000000686af07 in thread_proxy ()
#3 0x00007ffff77761da in start_thread () from /lib64/libpthread.so.0
#4 0x00007ffff361a8d3 in clone () from /lib64/libc.so.6
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.