100 % CPU usage with wxSocket

Kip Warner kip at thevertigo.com
Sun Dec 23 17:59:36 PST 2007


On Sun, 23 Dec 2007 12:41:23 +0100, Lukasz Michalski wrote:

> Kip Warner pisze:
>> 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.
>> 
>> 
> Which version of wx and what platform do you use?
> 
> Regards,

libwxgtk2.8-0 off of the official Ubuntu Gutsy repository. I am using 
Ubuntu Gutsy.

Kip






More information about the wx-users mailing list