GeezerVison is showing github.com — bpo-40010: Pass tstate to ceval GIL functions by vstinner · Pull Request #19077 · python/cpython
Conversation
vstinner
commented
Mar 19, 2020
•
edited by bedevere-bot
Loading
Uh oh!
There was an error while loading. Please reload this page.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
I merged PR #19080. I rebased this PR on top of it.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
Oh, test_gdb failed on Travis CI beause gdb fails to get some Python frames: (frame information optimized out). Example of error:
AssertionError: 'Breakpoint 1 at 0x5aabf1: file Python/bltinmodule.c, line 1173.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Breakpoint 1, builtin_id (self=, v=42) at Python/bltinmodule.c:1173
1173\t PyObject *id = PyLong_FromVoidPtr(v);
Traceback (most recent call first):
<built-in method id of module object at remote 0x7ffff7f87050>
(frame information optimized out)
File "/home/travis/build/python/cpython/Lib/test/gdb_sample.py", line 7, in bar
baz(a, b, c)
File "/home/travis/build/python/cpython/Lib/test/gdb_sample.py", line 4, in foo
bar(a, b, c)
(frame information optimized out)
'
did not match
'^.*
Traceback \\(most recent call first\\):
<built-in method id of module object .*>
File ".*gdb_sample.py", line 10, in baz
id\\(42\\)
File ".*gdb_sample.py", line 7, in bar
baz\\(a, b, c\\)
File ".*gdb_sample.py", line 4, in foo
bar\\(a, b, c\\)
File ".*gdb_sample.py", line 12, in <module>
foo\\(1, 2, 3\\)
'
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
* Add eval_frame_handle_pending() helper function: cold code path.
* Fix PyEval_ReleaseLock(): don't dereference tstate if it's NULL.
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
|