Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1546)

#12073: regrtest: use faulthandler to dump the tracebacks on SIGUSR1

Can't Edit
Can't Publish+Mail
Start Review
Created:
2 years, 1 month ago by victor.stinner
Modified:
2 years ago
Reviewers:
merwok
CC:
haypo
Visibility:
Public.

Patch Set 1 #

Patch Set 2 #

Total comments: 2

Patch Set 3 #

Unified diffs Side-by-side diffs Delta from patch set Stats Patch
Lib/test/regrtest.py View 3 chunks +16 lines, -4 lines 0 comments Download

Messages

Total messages: 1
eric.araujo
2 years ago #1
Looks like a useful feature.

http://bugs.python.org/review/12073/diff/2659/6441
File Lib/test/regrtest.py (right):

http://bugs.python.org/review/12073/diff/2659/6441#newcode164
Lib/test/regrtest.py:164: You can send a SIGUSR1 signal to display the traceback
of the current threads.
“the traceback” (singular) “of the current threads” (plural) sounds a bit
strange to me: There is one traceback for many threads?

http://bugs.python.org/review/12073/diff/2659/6441#newcode165
Lib/test/regrtest.py:165: But send a signal may interrupt the current system
call and so interfer with
“Note that sending a signal may interrupt a system call in progress and thus
interfere with the tests, so only do it if a test hangs and you want to know
where.”
Sign in to reply to this message.

RSS Feeds Recent Issues | This issue
This is Rietveld cbc36f91f3f7