Ticket #3981 defect closed invalid
bug in glib2/gtk2 reactor
| Reported by: | tdelaet | Owned by: | |
|---|---|---|---|
| Priority: | high | Milestone: | |
| Component: | core | Keywords: | |
| Cc: | Branch: | ||
| Author: | Launchpad Bug: |
Description
In attach you find a test file. In the test, I execute an external command ('/bin/echo test') using twisted.internet.utils.getProcessOutput().
If you execute the file with the standard reactor, everything works fine. However, if you comment out the first two lines (they enable the glib2 reactor) and test it again, CPU usage goes to 100% and stays at that level.
Some observations:
- When I use a deferred without external process involved (I tested this with callLater), everything works fine.
- The server does not go to 100% cpu usage on startup, only when the external processes ended.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

