python / python/cpython

`test_tracemalloc_track_race` segfault on buildbot

Open
#143,143 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

interpreter-core tests type-crash
Dominant language
Python
Stars
77.2k
Forks
35.9k
PR merge metrics
PR metrics pending

Description

Crash report

Seen on the ARM Raspbian 3.x buildbot, but I suspect it's not Raspbian specific:

https://buildbot.python.org/#/builders/424/builds/12446/steps/6/logs/stdio

0:02:36 load avg: 3.51 [177/497/1] test_tracemalloc worker non-zero exit code (Exit code -11 (SIGSEGV))
test_late_untrack (test.test_tracemalloc.TestCAPI.test_late_untrack) ... ok
test_stop_track (test.test_tracemalloc.TestCAPI.test_stop_track) ... ok
test_stop_untrack (test.test_tracemalloc.TestCAPI.test_stop_untrack) ... ok
test_tracemalloc_track_race (test.test_tracemalloc.TestCAPI.test_tracemalloc_track_race) ... Fatal Python error: Segmentation fault

Thread 0xf4afe400 [python] (most recent call first):

Thread 0xf52ff400 [python] (most recent call first):
  <freed thread state>

<freed thread state>

Current thread's C stack trace (most recent call first):
  <system returned no stack trace>

Extension modules: math.integer, _testcapi, _testinternalcapi (total: 3)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with test.test_tracemalloc.TestCAPI.test_tracemalloc_track_race and reproduce or inspect the ARM Raspbian buildbot log linked in the issue. Trace the SIGSEGV and confirm the test completes without a worker non-zero exit on the affected buildbot configuration.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
testing-qa
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.