Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 614102 - sys-apps/portage: AbstractEbuildProcess._cancel_timeout_cb triggers event loop recursion
Summary: sys-apps/portage: AbstractEbuildProcess._cancel_timeout_cb triggers event loo...
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Interface (emerge) (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks: 591760
  Show dependency tree
 
Reported: 2017-03-28 03:32 UTC by Zac Medico
Modified: 2018-09-24 02:49 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Zac Medico gentoo-dev 2017-03-28 03:32:08 UTC
The AbstractEbuildProcess._cancel_timeout_cb method calls self.wait() before the process exit status has become available, ultimately triggering recursion in the AbstractPollTask._wait_loop method.
Comment 1 Zac Medico gentoo-dev 2018-04-21 05:20:37 UTC
This is fixed by calling _async_wait:

https://gitweb.gentoo.org/proj/portage.git/commit/?id=87c079175c7a504ae893ed7d6ced03638d4cc853
Comment 2 Zac Medico gentoo-dev 2018-09-24 02:49:14 UTC
Fixed in portage-2.3.32.