Opened 2 years ago

Last modified 16 months ago

#315 new defect

QuteCom High CPU usage after idle period 2.2.1

Reported by: Cathode Owned by: vadim
Priority: critical Milestone:
Component: misc Version: 2.2
Keywords: high cpu usage Cc:

Description

Hello,

I have recently downloaded the latest stable version of QuteCom 2.2.1. I am running Windows 7 Ultimate SP1 (x86) on an Intel Core 2 Duo T9300.

After having QuteCom open and idle for a certain period of time (either with a call in progress or not) there is high CPU usage spontaneously (~50%). If I then regain focus of QuteCom's main window, CPU usage drops. After a certain period of time, CPU usage spikes again. This is a cyclic behaviour. After a while I just give up and close QuteCom. As far as I know this behaviour did not happen in the previous public version 2.2.

Also, in general even when QuteCom is not in a call and minimized, there is mild CPU usage (2%~5%) for no apparent reason.

Let me know if you need any further information concerning my bug report.

Thanks!
Pedro

Change History (8)

comment:1 Changed 2 years ago by dneary

  • Milestone QuteCom 2.2-RC4 deleted

Moving off the 2.2X milestone. Can anyone confirm this behaviour?

comment:2 Changed 22 months ago by ltkermit

I can confirm this behavior, I am having the exact same issue as Pedro. I am running QuteCom 2.2.1 on Windows 7 Ultimate (x64), Intel Core 2 Duo E8400, with 8GB RAM.

As soon as I click on the QuteCom window CPU usages drops back down, once the QuteCom window is out of focus for a while the CPU usage goes back up to 50%.

If you need any further info, please let me know. QuteCom is by FAR the best free SIP phone, even with this little quirk!

Thank you,
James

comment:3 Changed 22 months ago by laurent

I cannot reproduce on Windows XP
Maybe idle state detection is the problem on W7: http://trac.qutecom.org/browser/libs/3rdparty/psiidle
This source has been taken from psi project (http://psi-im.org/) a long time ago ...
I will update psiidle modules, stay tuned !

comment:4 follow-up: Changed 22 months ago by laurent

i just finish to rewrite idle api on qutecom 3.0 : 200
QuteCom does not use anymore global keyboard/mouse hook. ( CPU usage )

comment:5 in reply to: ↑ 4 ; follow-up: Changed 22 months ago by ltkermit

Replying to laurent:

i just finish to rewrite idle api on qutecom 3.0 : 200
QuteCom does not use anymore global keyboard/mouse hook. ( CPU usage )

Hi laurent!
Thank you for your work on this!
James

comment:6 in reply to: ↑ 5 ; follow-up: Changed 16 months ago by mrozik

Replying to ltkermit:

Replying to laurent:

i just finish to rewrite idle api on qutecom 3.0 : 200
QuteCom does not use anymore global keyboard/mouse hook. ( CPU usage )

Hi laurent!
Thank you for your work on this!
James

Hi!
I have the same behavior on my Win7 x64. Is there compiled version od QuteCom without this bug?
mrozik

comment:7 in reply to: ↑ 6 ; follow-up: Changed 16 months ago by mrozik

Replying to mrozik:

Replying to ltkermit:

Replying to laurent:

i just finish to rewrite idle api on qutecom 3.0 : 200
QuteCom does not use anymore global keyboard/mouse hook. ( CPU usage )

Hi laurent!
Thank you for your work on this!
James

Hi!
I have the same behavior on my Win7 x64. Is there compiled version od QuteCom without this bug?
mrozik

I found this one: http://trac.qutecom.org/downloads/Preview-QuteCom-2.99.0-win32.exe and it works fine - thanks for great job!
mrozik

comment:8 in reply to: ↑ 7 Changed 16 months ago by Cathode

I have tried the new version, but unfortunately it does not seem to be able to login with my VoIP provider. Any hints on enabling logging (so that I can try to see what's going on) on the preview version would be appreciated. Thanks

Replying to mrozik:

Replying to mrozik:

Replying to ltkermit:

Replying to laurent:

i just finish to rewrite idle api on qutecom 3.0 : 200
QuteCom does not use anymore global keyboard/mouse hook. ( CPU usage )

Hi laurent!
Thank you for your work on this!
James

Hi!
I have the same behavior on my Win7 x64. Is there compiled version od QuteCom without this bug?
mrozik

I found this one: http://trac.qutecom.org/downloads/Preview-QuteCom-2.99.0-win32.exe and it works fine - thanks for great job!
mrozik

Note: See TracTickets for help on using tickets.