diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-06-27 13:04:32 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-06-28 08:36:56 +0100 |
commit | 118f009cee84f991ebd2f28b6e27a92519584589 (patch) | |
tree | 1334be156ae5105bb77d19ac58ca891e7f327610 /meta/recipes-extended/findutils | |
parent | 90c3713590fccf92907edf8ccf9e6342b626327f (diff) | |
download | poky-118f009cee84f991ebd2f28b6e27a92519584589.tar.gz |
bitbake: runqueue: Avoid unpickle errors in rare cases
In rare cases the pickled data from a task contains "</event>" which
causes backtrace. This can be reproduced with something like:
do_unpack_prepend () {
bb.warn("</event>")
}
There are several solutions but the easiest is to catch this exception
and look for the next marker instead as this should be the only way such
an unpickle error could occur.
This fixes rare exceptions seen on the autobuilder.
Also add in other potential exceptions listed in the pickle manual
page so that better debug is obtained should there be an error in
this code path in future. exitcode doesn't need the same handling
since we control what is in that data field and it could never contain
</exitcode>
(Bitbake rev: 5ada512d6f9cbbdf1172ff7818117c38b12225ca)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/findutils')
0 files changed, 0 insertions, 0 deletions