After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 581019 - ekiga 3.2 freezing by using the voip sip client on 100% cpu usage
ekiga 3.2 freezing by using the voip sip client on 100% cpu usage
Status: RESOLVED INCOMPLETE
Product: ekiga
Classification: Applications
Component: Call stack
3.2.x
Other All
: Normal critical
: ---
Assigned To: Ekiga maintainers
Ekiga maintainers
: 625387 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2009-05-01 15:45 UTC by Peter
Modified: 2013-02-12 23:22 UTC
See Also:
GNOME target: ---
GNOME version: 2.25/2.26



Description Peter 2009-05-01 15:45:08 UTC
Steps to reproduce:
1. its freezed by using the voip sip account sparvoip.de on ubuntu 9.04
2. 
3. 


Stack trace:


Other information:
Comment 1 Eugen Dedu 2009-05-01 15:47:59 UTC
Could you please execute it through gdb, instructions are at http://wiki.ekiga.org/index.php/Debugging_Ekiga#How_to_get_a_stack_backtrace_from_a_crash
Comment 2 Eugen Dedu 2009-05-29 07:31:56 UTC
Peter, any news?
Comment 3 Peter 2009-05-29 10:44:53 UTC
hi, 

sorry my english is not that good.
i using ekiga every day, but only the sip account and ekiga using to much cpu, between 90-100%, so when other programms opened, freezing my computer. when i use only ekiga -other prgramms closed- than works, but cpu is always 90-100%!
(ubuntu 9.04)

in the version ekiga 2.xx, ubuntu 8.10 was the cpu usage by 35-45%.

greetings

peter
Comment 4 Eugen Dedu 2009-05-29 10:48:16 UTC
Does it uses 100% cpu only when communicating, or always?  If you do not have video preview enabled (if you do not see any image), does it still uses 100% cpu?
Comment 5 Peter 2009-05-29 19:47:31 UTC
yes, i don't use the video client have only login by the sip account, have no ekiga account ore something else. the cpu going up to 100% when the other site pick up the phone, so only by communicating.
Comment 6 Peter 2009-05-29 19:50:42 UTC
yes, i don't use the video client have only login by the sip account, have no ekiga account ore something else. the cpu going up to 100% when the other site pick up the phone, so only by communicating.
Comment 7 Eugen Dedu 2009-06-04 09:06:29 UTC
I think you have an old computer, or you use now a codec which needs more processing power (CPU) than before, or there is a driver problem, so I would be tempting to close this bug...
Comment 8 Snark 2009-06-04 11:34:20 UTC
Hmmm... it's not normal that the cpu usage went that way up :-/
Comment 9 Matthieu Patou 2009-10-08 09:22:13 UTC
At the risk of saying me too, I have the same problem.

I am running on a HP 6730b with 2G RAM and Intel(R) Core(TM)2 Duo CPU     P8600  @ 2.40GHz  CPU. I suppose that is not a small configuration.

I discovered after some tests that's the Input Device choice that influence greatly the CPU usage: if I use Default (PTLIB/ALSA) then I have around 100% used (1 core out of 2). I put something else (SILENT(Ekiga/Ekiga) or HDA(PTLIB/ALSA)) then the CPU usage is around 8% (but for some reason with HDA I don't have the sound).

If I also add --- (Gstreamer/Alsa) as output device then the CPU skyrocket to nearly 200% for the ekiga process
Comment 10 Damien Sandras 2009-10-08 11:34:02 UTC
Matthieu: wouldn't it be an ALSA bug in that case ? (ALSA taking the CPU)
Comment 11 Matthieu Patou 2009-10-08 11:45:43 UTC
Damien: how can I know ? I suppose by profiling ekiga we can understand where it is spending time but I have no clue on how to do it ...
Comment 12 Eugen Dedu 2009-11-20 09:57:32 UTC
Do you have this high CPU problem when you use pulse as sound manager?  See also bug #600623.
Comment 13 Matthieu Patou 2009-12-21 23:28:37 UTC
Hi Eugen, 

Sorry for the delay.
so removing the pulseaudio do help (but ekiga is still eating 30/50% for CPU).
But not using pulse I'm facing quite often (on the second call) the fact that output volume in ekiga is at 0 and I have no way to increase it.
Comment 14 Peter Robinson 2009-12-22 00:08:38 UTC
Hi All,

As a note to this I've had similar reports on Fedora but never been able to recreate them myself. I'm not sure if its a particular kind of sound card, or registrar or gateway or even something like an address book that causes the problem as I've not been able to get enough debug or enough time to chase to try and narrow things down. I've had reports on it for both ekiga 3.0.x and 3.2.x
Comment 15 Damien Sandras 2009-12-22 10:04:30 UTC
About the high CPU usage problem:

Do you have the same problem both when using the Default ALSA audio device (DMIX access) AND the other available device (Direct Access to the soundcard)?
Comment 16 Matthieu Patou 2009-12-22 10:23:38 UTC
Damien,
Sorry I'm not expert enough to test what do you propose.

Do you have a simple test plan (ie. like do this do that,change this change that).

For the moment my ekiga is using Default PTLIB/ALSA.
Comment 17 Damien Sandras 2009-12-22 10:25:30 UTC
What other choices do you have except "Default (PTLIB/ALSA)" in the drop-down menu?
Comment 18 Matthieu Patou 2009-12-22 11:21:55 UTC
So I have HDA Intel (PTLIB/ALSA), Silent, /dev/dsp (PTLIB/OSS).
Comment 19 Damien Sandras 2009-12-22 12:32:30 UTC
Try "HDA Intel" and see if the CPU usage is as high as when using "Default".
Comment 20 Peter Robinson 2009-12-29 01:50:42 UTC
A downstream bug report with a gdb log

https://bugzilla.redhat.com/show_bug.cgi?id=551123
Comment 21 Eugen Dedu 2010-07-27 11:50:32 UTC
*** Bug 625387 has been marked as a duplicate of this bug. ***
Comment 22 Eugen Dedu 2012-10-21 10:20:52 UTC
Does this still appear with ekiga >= 3.9.90?
Comment 23 Tobias Mueller 2013-02-12 23:22:41 UTC
Closing this bug report as no further information has been provided. Please feel free to reopen this bug if you can provide the information asked for.
Thanks!