100 % CPU usage with wxSocket

Kip Warner kip at thevertigo.com
Sat Dec 22 13:34:43 PST 2007


On Sat, 22 Dec 2007 21:29:25 +0000, Kip Warner wrote:

> On Fri, 21 Dec 2007 20:11:56 +0000, Kip Warner wrote:
> 
> Correction. It seemed to be working fine, and then I ssh'd into the
> server again today to find it spinning the clock again. The main thread
> is caught up in wxAppBase::DeletePendingObject forever again.
> 
> Any help is appreciated.
> 
> Kip

It looks as though the deconstructor for ~wxSocketBase() is being invoked 
twice. Once when I delete the socket after calling Close() on it, as you 
advised, and then later again in the main thread via 
wxAppBase::DeletePendingObject. But it just hands in the main thread in 
that method forever spinning.

Kip






More information about the wx-users mailing list