summaryrefslogtreecommitdiff
path: root/grc/gui/canvas/param.py
diff options
context:
space:
mode:
authorMarcus Müller <marcus@hostalia.de>2018-09-22 00:34:45 +0200
committerMarcus Müller <marcus@hostalia.de>2018-09-22 00:34:45 +0200
commitd9c981e5137f04a0a226d7b29d5814ecf53b2df2 (patch)
tree8d50d971ac15817929fd2165fbb2de849e1dca7b /grc/gui/canvas/param.py
parent0921b9a74746dc812ebe60d17ab29a82c7167598 (diff)
parent5ad56948eda02668a5a19dd37d22804d1bd3a56c (diff)
Merge branch 'argilo-fix-grc-infinite-loop'3.8tech-preview
If the worker process in extract_docs.py dies (which it currently does on my machine due to a segfault that occurs when gnuradio.qtgui is imported), its parent process doesn't realize that and enters into an infinite loop attempting to read its output. This causes 100% CPU utilization and makes GRC very sluggish. In this PR, I've added a check which raises an IOError in the event that the worker process dies. After the change, extract_docs.py works as expected, relaunching the worker process in the event of crash, and eventually giving up after too many crashes occur.
Diffstat (limited to 'grc/gui/canvas/param.py')
0 files changed, 0 insertions, 0 deletions