krunal09 / csipsimple

Automatically exported from code.google.com/p/csipsimple
0 stars 0 forks source link

CSipSimple misbehaves at broken internet connection #1013

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. Configure some working SIP accounts, enable registration in WLANs and „use 
CSipSimple's own DNS server“ (appears to improve chances of reproducing the 
problem). 
2. Disconnect and exit CSS.
3. Connect to a WLAN which in turn is not (or only badly) connected to the 
internet.
4. Start CSS again.

What is the expected output? 

CSS should start up smoothly, register the accounts and drop to low CPU usage 
within a few seconds at most.

What do you see instead?

Instead of giving up DNS lookup or whatever it is busy with, CSS often (not 
always) becomes irresponsive and starts using close to 100% CPU. In a total of 
dedicated 5 test runs, I have not encountered it dropping CPU usage again 
unless the internet connection became functional meanwhile (longest single test 
period: 30 minutes). If you do not have a working internet connection at hand, 
the only way to get rid of the CPU hug appears to be killing CSS. (After I 
actually did kill CSS a few times, I also experienced a problem resembling 
issue 984: simple setup screen shown on startup, all settings, except accounts 
data, lost.)

What version of the product are you using? On what operating system?

CSS 002.01-r841 on Moto Defy with stock Android 2.1.1, not rooted.

Please provide any additional information below.

As this freeze happens (as a consequence of registration attempts) early in CSS 
startup, the GUI is not properly loaded, either. Most times it remained black 
alltogether, once it displayed the un-skinned version. 

Original issue reported on code.google.com by GfEW3...@gmail.com on 1 Jun 2011 at 10:20

GoogleCodeExporter commented 9 years ago
It has been fixed in development branch. I'm about to release it on the market 
but I've not enough user feedback yet on nightly builds.
Can you test the nightly build version and let me know how it goes ?

Original comment by r3gis...@gmail.com on 2 Jun 2011 at 9:44