| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1 @@ | |||
| 1 | + Fixed ``stacktop`` value on tracing entries to avoid corruption on garbage collection. | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -310,6 +310,7 @@ GETITEM(PyObject *v, Py_ssize_t i) { | |||
| 310 | 310 | _PyFrame_SetStackPointer(frame, stack_pointer); \ | |
| 311 | 311 | int err = trace_function_entry(tstate, frame); \ | |
| 312 | 312 | stack_pointer = _PyFrame_GetStackPointer(frame); \ | |
| 313 | + frame->stacktop = -1; \ | ||
| 313 | 314 | if (err) { \ | |
| 314 | 315 | goto error; \ | |
| 315 | 316 | } \ | |
| Back | FazBrowse Home | New Git URL |
0 commit comments