Re: CPU running at 100%, GUI locks up

Matthias Brennwald <[email protected]> Mon, 8 Mar 2021 22:21:04 +0100
Newsgroups gmane.comp.python.wxpython
Message-ID <CAEzcwTExdW-VAfHbm6fgONusEwP3uh7NtHV+zJ8KEQA01Hqz4Q@mail.gmail.com>
On Mon, 8 Mar 2021 at 20:37, Tim Roberts <[email protected]> wrote:

> [email protected] wrote:
> >
> > I have wxPython GUI application that runs fine on machines I have
> > tested so far, with the exception of one machine. The difference of
> > this machine to the others is that it has an Intel Atom E3930
> > processor, whereas the others are i5/ i7 or Raspberry Pi ARM machines.
> > On the Atom, the GUI suddenly consumes 100% of the CPU time, and
> > therefore locks up. I have no idea where to look for the issue, or
> > what to check. Does anyone have a hint?
>
> I was going to blame raw performance, but the E3930 should be more
> powerful than a Pi.  Is this Windows or Linux?  You should be able to
> break into a debugger and figure out where its spinning.
>

It's on LInux.

Performance really cannot be the issue, as I have another Python program
which does pretty much the same "work", using command-line user interface
instead of the wxPython GUI. This CLI program consumes about 3-5% of CPU on
the E3930.

I have never really worked with debuggers. Any hints or suggestions on
how/where to start?

-- 
You received this message because you are subscribed to the Google Groups "wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/wxpython-users/CAEzcwTExdW-VAfHbm6fgONusEwP3uh7NtHV%2BzJ8KEQA01Hqz4Q%40mail.gmail.com.