CnPack Forum


 
Subject: [BUG] Hogs the CPU
LiteApps
新警察
Rank: 1



UID 40868
Digest Posts 0
Credits 8
Posts 3
点点分 8
Reading Access 10
Registered 2008-9-2
Status Offline
Post at 2008-9-2 09:06  Profile | Blog | P.M. 
[BUG] Hogs the CPU

Hi everyone, congratulations for the awesome CnWizards.

I just wanted to report a small bug. If you switch from form to text mode (by pressing Alt+F12, for example), wait a few seconds, and switch back to the form, CnWizards hogs the CPU and won't release it until Delphi is closed. This is easily noticeable if you open the task manager and look at the Performance tab.

Confirmed on Delphi 5 with CnWizards build 430 and build 439.

Thanks




Alvaro GP
LiteApplications.com
Top
Passion (LiuXiao)
管理员
Rank: 9Rank: 9Rank: 9


UID 359
Digest Posts 19
Credits 6688
Posts 3523
点点分 6688
Reading Access 102
Registered 2004-3-28
Status Offline
Post at 2008-9-2 10:19  Profile | Blog | P.M. 
Thanks for reporting. But it's not easy to reproduce it on my workstation. Is it related to a certain form, or all forms, even just a blank form?
Top
LiteApps
新警察
Rank: 1



UID 40868
Digest Posts 0
Credits 8
Posts 3
点点分 8
Reading Access 10
Registered 2008-9-2
Status Offline
Post at 2008-9-2 21:03  Profile | Blog | P.M. 
Thanks. I just tried to reproduce it on a Win2K virtual machine and it didn't happen, however on my Win2K3 machine it happens every time on every form, even without any other third party stuff installed... I will keep investigating.




Alvaro GP
LiteApplications.com
Top
Passion (LiuXiao)
管理员
Rank: 9Rank: 9Rank: 9


UID 359
Digest Posts 19
Credits 6688
Posts 3523
点点分 6688
Reading Access 102
Registered 2004-3-28
Status Offline
Post at 2008-9-2 23:57  Profile | Blog | P.M. 
We'll find a win2003 environment to check this problem.
Top
shenloqi
灌水处处长
Rank: 4



UID 34
Digest Posts 1
Credits 287
Posts 179
点点分 287
Reading Access 10
Registered 2003-3-15
Status Offline
Post at 2008-9-3 11:29  Profile | P.M. 
I tested it with D2009/D2007/D7 in Windows 2003, and I can not reproduce the issue.
I think maybe the issue is related to some device drivers, AIK, some logic device drivers and other printer drivers can let Delphi's IDE consume lots CPU time.
Top
LiteApps
新警察
Rank: 1



UID 40868
Digest Posts 0
Credits 8
Posts 3
点点分 8
Reading Access 10
Registered 2008-9-2
Status Offline
Post at 2008-9-4 00:17  Profile | Blog | P.M. 
To reduce the possibility of conflicts I restarted in safe mode, no other processes or unnecessary drivers running, and it still happens. Very weird...

UPDATE: It only happens with CnWizards and with ModelMaker Code Explorer 5.13 (any of them). If I disable both, it doesn't happen.

[ Last edited by  LiteApps at 2008-9-4 00:38 ]




Alvaro GP
LiteApplications.com
Top
Passion (LiuXiao)
管理员
Rank: 9Rank: 9Rank: 9


UID 359
Digest Posts 19
Credits 6688
Posts 3523
点点分 6688
Reading Access 102
Registered 2004-3-28
Status Offline
Post at 2008-9-4 12:23  Profile | Blog | P.M. 
Oh, sounds weird.
Top
 




All times are GMT++8, the time now is 2022-9-25 09:44

    本论坛支付平台由支付宝提供
携手打造安全诚信的交易社区 Powered by Discuz! 5.0.0  © 2001-2006 Comsenz Inc.
Processed in 0.011439 second(s), 7 queries , Gzip enabled

Clear Cookies - Contact Us - CnPack Website - Archiver - WAP