Skip to content

Conversation

@pablogsal
Copy link
Member

@pablogsalpablogsal commented May 26, 2025

@pablogsal
Copy link
MemberAuthor

pablogsal commented May 26, 2025

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

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

pablogsal commented May 26, 2025

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 

@pablogsalpablogsalforce-pushed the better_errors branch 7 times, most recently from 6b35763 to a15c91eCompareMay 26, 2025 02:09
@pablogsalpablogsal enabled auto-merge (squash) May 26, 2025 02:09
@pablogsalpablogsalforce-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
@pablogsalpablogsalforce-pushed the better_errors branch 3 times, most recently from ac5b598 to b90ef14CompareMay 26, 2025 03:07
@pablogsalpablogsal disabled auto-merge May 26, 2025 03:35
@pablogsalpablogsalforce-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>
@pablogsalpablogsal merged commit 0909d6d into python:mainMay 26, 2025
38 checks passed
@pablogsalpablogsal deleted the better_errors branch May 26, 2025 14:31
@miss-islington-app
Copy link

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

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
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