Skip to content

gh-91048: Add better error messages for remote debugging for CI builds - #134682

Merged
pablogsal merged 1 commit into
python:mainfrom
pablogsal:better_errors
May 26, 2025
Merged

gh-91048: Add better error messages for remote debugging for CI builds#134682
pablogsal merged 1 commit into
python:mainfrom
pablogsal:better_errors

Conversation

@pablogsal

@pablogsalpablogsal commented May 26, 2025

Copy link
Copy Markdown
Member

@pablogsal

pablogsal commented May 26, 2025

Copy link
Copy Markdown
MemberAuthor

These only trigger in the test suite mode and are mainly to help diagnose errors in CI in the future

@pablogsal
pablogsalforce-pushed the better_errors branch 3 times, most recently from 9d3c02d to 2a13bc5CompareMay 26, 2025 01:25
@pablogsal

pablogsal commented May 26, 2025

Copy link
Copy Markdown
MemberAuthor

Example chain:

RuntimeError: mach_vm_read_overwrite failed for PID 74282 at address 0x1 (size 216): kern_return_t 1
The above exception was the direct cause of the following exception:
RuntimeError: Failed to read code object
The above exception was the direct cause of the following exception:
RuntimeError: Failed to parse frame object in chain
The above exception was the direct cause of the following exception:
RuntimeError: Failed to process frame chain
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/Users/pablogsal/github/python/main/benchmark_get_stack_trace.py", line 189, in benchmark
stack_trace = unwinder.get_stack_trace()
RuntimeError: Failed to unwind stack for thread

@pablogsal
pablogsalforce-pushed the better_errors branch 7 times, most recently from 6b35763 to a15c91eCompareMay 26, 2025 02:09
@pablogsal
pablogsal enabled auto-merge (squash) May 26, 2025 02:09
@pablogsal
pablogsalforce-pushed the better_errors branch 3 times, most recently from 1a97fe4 to 69ad823CompareMay 26, 2025 02:13
@pablogsalpablogsal changed the title gh-91048: Add better error messages for remote debugging in debug versionsgh-91048: Add better error messages for remote debugging for CI buildsMay 26, 2025
@pablogsal
pablogsalforce-pushed the better_errors branch 3 times, most recently from ac5b598 to b90ef14CompareMay 26, 2025 03:07
@pablogsal
pablogsal disabled auto-merge May 26, 2025 03:35
@pablogsal
pablogsalforce-pushed the better_errors branch 4 times, most recently from e8bb64b to 2b67d04CompareMay 26, 2025 13:35
…ug versions
Signed-off-by: Pablo Galindo <pablogsal@gmail.com>
@pablogsal
pablogsal merged commit 0909d6d into python:mainMay 26, 2025
@pablogsal
pablogsal deleted the better_errors branch May 26, 2025 14:31
@miss-islington-app

Copy link
Copy Markdown

Thanks @pablogsal for the PR 🌮🎉.. I'm working now to backport this PR to: 3.14.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request May 26, 2025
… builds (pythonGH-134682)
(cherry picked from commit 0909d6d)
Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
@bedevere-app

Copy link
Copy Markdown

GH-134719 is a backport of this pull request to the 3.14 branch.

@bedevere-appbedevere-appBot removed the needs backport to 3.14 bugs and security fixes label May 26, 2025
pablogsal added a commit to miss-islington/cpython that referenced this pull request May 26, 2025
… builds (pythonGH-134682)
(cherry picked from commit 0909d6d)
Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
Pranjal095 pushed a commit to Pranjal095/cpython that referenced this pull request Jul 12, 2025
taegyunkim pushed a commit to taegyunkim/cpython that referenced this pull request Aug 4, 2025
gostak-dd pushed a commit to gostak-dd/cpython that referenced this pull request Jun 2, 2026
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@pablogsal