Segmentation fault in asio "compensating_work_started" function
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Quiet
- Tech stack
- cpp
- Domain
- networking
Research direction
The reported entry point is scheduler::compensating_work_started(); begin by reproducing the SIGSEGV and inspecting the provided GDB backtrace and thread_call_stack context. Determine why the dereferenced thread state is invalid, then verify the fix with a regression test for the reported scenario.
Written by the indexing model from the issue text.
Description
I encountered a SIGSEGV error when using the asio library. I checked the backtrace with GDB and found that the error occurred in the compensating_work_started function.
void scheduler::compensating_work_started()
{
thread_info_base* this_thread = thread_call_stack::contains(this);
++static_cast<thread_info*>(this_thread)->private_outstanding_work;
}
- Dominant language
- HTML
- Stars
- 8.6k
- Forks
- 2k
- Avg merge
- 9h 35m
- Merged PRs (30d)
- 1
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from boostorg/boost
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 3/5 1-2 days Newbie friendliness 52/100
-
Difficulty 3/5 1-2 days Newbie friendliness 55/100
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
Similar issues
-
[BUG] Regression in 9.2.0: `socket.c: error: storage size of 'info' isn't known`Possibly taken @barracuda156 claimed this today. Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 60/100
valkey-io/valkey#5551 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
manuscript-lang/manuscript#6389 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 Under an hour Newbie friendliness 62/100
zephyrproject-rtos/zephyr#126735 · 1 comment ·
Maintainers usually reply within 2 days
-
upnp > 18 fixesOpen
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
BZFlag-Dev/bzflag#407 ·
-
ipcache: deleting a CIDR skips the BPF delete when an endpoint IP equals the CIDR's network addressOpen
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
cilium/cilium#50199 · 2 comments ·
Maintainers usually reply within 1 day