Re: kaa-metadata + gtk main loop + subprocess = when child exits, 100% CPU usage
Juan Manuel Santos <[email protected]> Thu, 30 Dec 2010 14:09:53 -0300
| Newsgroups | gmane.comp.video.freevo.devel |
|---|---|
| Message-ID | <[email protected]> |
On Thu, Dec 30, 2010 at 2:06 PM, Jason Tackaberry <[email protected]> wrote: > On Thu, 2010-12-30 at 14:05 -0300, Juan Manuel Santos wrote: > > Alright, keep me posted and let me know if you need anything else of > > me. > > Yeah, can you still check out strace for me? :) > > When I run strace on my app, I see it hanging here (after I press the button and the popen call gets executed): poll([{fd=5, events=POLLIN}, {fd=4, events=POLLIN}, {fd=3, events=POLLIN}], 3, -1) = 1 ([{fd=3, revents=POLLIN}]) read(4, 0x864c620, 4096) = -1 EAGAIN (Resource temporarily unavailable) poll([{fd=5, events=POLLIN}, {fd=4, events=POLLIN}, {fd=3, events=POLLIN}], 3, -1) = 1 ([{fd=3, revents=POLLIN}]) read(4, 0x864c620, 4096) = -1 EAGAIN (Resource temporarily unavailable) poll([{fd=5, events=POLLIN}, {fd=4, events=POLLIN}, {fd=3, events=POLLIN}], 3, -1) = 1 ([{fd=3, revents=POLLIN}]) read(4, 0x864c620, 4096) = -1 EAGAIN (Resource temporarily unavailable) poll([{fd=5, events=POLLIN}, {fd=4, events=POLLIN}, {fd=3, events=POLLIN}], 3, -1) = 1 ([{fd=3, revents=POLLIN}]) read(4, 0x864c620, 4096) = -1 EAGAIN (Resource temporarily unavailable) poll([{fd=5, events=POLLIN}, {fd=4, events=POLLIN}, {fd=3, events=POLLIN}], 3, -1) = 1 ([{fd=3, revents=POLLIN}]) read(4, 0x864c620, 4096) = -1 EAGAIN (Resource temporarily unavailable) Is this useful? I just ran "strace python algo.py", sorry if I am quite a rookie with strace, never really used it a lot. ------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Freevo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/freevo-devel