[issue23395] _thread.interrupt_main() errors if SIGINT handler in SIG_DFL, SIG_IGN

2019-09-26 Thread Marcin Gozdalik
Marcin Gozdalik added the comment: A program which failed under Python 3.6 with TypeError: 'int' object is not callable still fails under Python 3.7.4 with same exception: import signal import os import sys import time import multiprocessing def fail(): def handler(*args

[issue35534] SIGSEGV in stackdepth_walk

2018-12-19 Thread Marcin Gozdalik
Marcin Gozdalik added the comment: #0 0x004f4af3 in stackdepth_walk (maxdepth=5, depth=3, b=, c=) at ../Python/compile.c:3436 #1 stackdepth_walk (maxdepth=, depth=0, b=, c=0x7fff4f5b84f0) at ../Python/compile.c:3456 #2 stackdepth (c=0x7fff4f5b84f0) at ../Python/compile.c:3486 #3

[issue35534] SIGSEGV in stackdepth_walk

2018-12-19 Thread Marcin Gozdalik
New submission from Marcin Gozdalik : When running /usr/bin/python /usr/bin/pip install --upgrade "pip < 10" the interpreter crashed in stackdepth_walk. I've seen this crash multiple times, especially in our custom-compiled CPythons. Here it's reproduced with stock Ubuntu