generic-poky/bitbake/lib/bb
Aníbal Limón 31aafe6852 bitbake: ui/knotty.py: Fix signal handling of SIGWINCH in BBProgress
Add the ability to pass default signal handler for SIGWINCH in BBProgress
because with multiple instace of BBProgress the original signal handler
set by TerminalFilter (sigwinch_handle) is lost.

This is a fix for stack trace due to multiple async calls of ProgressBar
_handle_resize (ioctl to terminal fd), see:

NOTE: Executing SetScene Tasks
Fatal Python error: Cannot recover from stack overflow.

Current thread 0x00007f70a4793700 (most recent call first):
  File
"/home/alimonb/repos/poky/bitbake/lib/progressbar/progressbar.py", line
183 in _handle_resize
  File "/home/alimonb/repos/poky/bitbake/lib/bb/ui/knotty.py", line 58
in _handle_resize
  File "/home/alimonb/repos/poky/bitbake/lib/bb/ui/knotty.py", line 60
in _handle_resize
...
  File "/home/alimonb/repos/poky/bitbake/lib/bb/ui/knotty.py", line 60
in _handle_resize
...
Aborted

(Bitbake rev: 812bd49cb569379ee90d5be28a4b6e60645f1e54)

Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-10-09 12:33:26 +01:00
..
fetch2 bitbake: fetch2: handle absolute paths in subdir 2016-09-22 11:18:11 +01:00
parse bitbake: cookerdata/ast: Fail gracefully if event handler function is not found 2016-09-02 18:09:49 +01:00
pysh bitbake: bitbake: Convert to python 3 2016-06-02 08:24:02 +01:00
server bitbake: bitbake: implement idle timeout for xmlrpc server 2016-07-21 07:48:52 +01:00
tests bitbake: fetch2: handle absolute paths in subdir 2016-09-22 11:18:11 +01:00
ui bitbake: ui/knotty.py: Fix signal handling of SIGWINCH in BBProgress 2016-10-09 12:33:26 +01:00
COW.py bitbake: bitbake: Convert to python 3 2016-06-02 08:24:02 +01:00
__init__.py bitbake: bitbake: Update version to 1.31.2 2016-10-05 10:10:11 +01:00
build.py bitbake: bb.build: in _exec_task, catch errors from TaskStarted 2016-10-05 10:28:12 +01:00
cache.py bitbake: cache: allow parsing a recipe with a custom config datastore 2016-09-02 18:09:48 +01:00
cache_extra.py bitbake: bitbake: cooker: get extra information from recipe cache 2013-09-22 12:19:44 +01:00
checksum.py bitbake: lib/bb/checksum: avoid exception on broken symlinks 2016-07-29 09:53:32 +01:00
codeparser.py bitbake: codeparser: Use hashlib for hashing, not hash() 2016-06-03 13:48:33 +01:00
command.py bitbake: bitbake: Convert to python 3 2016-06-02 08:24:02 +01:00
compat.py bitbake: compat/server/utils: Jettison pre python 2.7.3 workarounds 2013-06-14 17:26:30 +01:00
cooker.py bitbake: cooker/providers: Only add target to world build if task exists 2016-09-22 11:18:11 +01:00
cookerdata.py bitbake: cookerdata.py: Catch BBHandledException, preventing a backtrace in an event 2016-09-21 21:58:06 +01:00
daemonize.py bitbake: daemonize/prserv/tests/fetch: Convert file() -> open() 2016-05-13 13:41:32 +01:00
data.py bitbake: data: Fix handling of vardepvalueexclude 2016-10-01 21:45:57 +01:00
data_smart.py bitbake: data_smart/utils: Add 'd' to the context used for better_eval in python expansion 2016-06-13 12:16:10 +01:00
event.py bitbake: event: prevent unclosed file warning in print_ui_queue 2016-10-05 10:25:34 +01:00
exceptions.py bitbake: bitbake: Convert to python 3 2016-06-02 08:24:02 +01:00
main.py bitbake: bitbake: implement idle timeout for xmlrpc server 2016-07-21 07:48:52 +01:00
methodpool.py bitbake: event/utils/methodpool: Add a cache of compiled code objects 2015-12-22 00:02:05 +00:00
monitordisk.py bitbake: bitbake: Update logger.warn() -> logger.warning() 2016-05-11 10:34:30 +01:00
msg.py bitbake: knotty: add quiet output mode 2016-07-08 09:57:27 +01:00
namedtuple_with_abc.py bitbake: lib/bb/*.py: Typo fixes/grammar/comment fixes, nothing functional. 2014-08-25 08:57:45 +01:00
persist_data.py bitbake: persist_data: Fix py3 update stack overflow 2016-08-11 00:07:08 +01:00
process.py bitbake: bitbake: Convert to python 3 2016-06-02 08:24:02 +01:00
progress.py bitbake: lib/bb/progress: avoid possibility of start event being reported twice 2016-07-26 08:10:35 +01:00
providers.py bitbake: cooker/providers: Only add target to world build if task exists 2016-09-22 11:18:11 +01:00
runqueue.py bitbake: runqueue: Ensure worker failure is accounted for in task statistics 2016-09-30 16:52:21 +01:00
shell.py Introduce new param caches_array into Cache impl. 2011-06-07 22:39:52 +01:00
siggen.py bitbake: siggen: Fix file variable typo in compare_sigfiles 2016-08-20 16:11:29 +01:00
taskdata.py bitbake: taskdata/runqueue: Rewrite without use of ID indirection 2016-06-15 08:35:07 +01:00
tinfoil.py bitbake: tinfoil: add a parse_recipe_file function 2016-09-02 18:09:49 +01:00
utils.py bitbake: lib/bb/utils: edit_metadata() comment tweaks 2016-09-08 00:33:46 +01:00