skunkmaster420 / proxoid

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

Proxoid keeps closing automatically #39

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. I am using it as usual . . .but the application keeps closing at regular 
intervals automatically

2. Also when I am using stay awake under USB debugging its less frequent

What is the expected output? What do you see instead?
It should run as long as I wish.

What version of the product are you using? On what operating system?
I have the latest version I downloaded it yesterday. 
I am using it on Samsung Galaxy I7500, rooted, custom galax0 1.6.6 rom
My PC is ubuntu 10.4

Please provide any additional information below.

Original issue reported on code.google.com by abhirigh...@gmail.com on 14 Jul 2010 at 5:50

GoogleCodeExporter commented 8 years ago
I've noticed the proxy stops before the app closes, though it remains in the 
notification area.  I'll lose connectivity and look over a moment before the 
app closes.  bringing the app back to the foreground restores the connection.

no links actually drop.  I do not need to restart adb nor does the proxoid 
checkbox deactivate.  proxoid just drops into the background for no apparent 
reason and data transfer halts.

Original comment by apcook...@gmail.com on 31 Oct 2010 at 2:43

GoogleCodeExporter commented 8 years ago
It's not the backgrounding thats killing the proxy.

Proxoid's request loop inadventently opens too many file descriptors and the 
app gets shut down. The OS's select() facility OS has a bug and doesn't 
automatically reclaim the fd's it creates and eventually Proxoid stops handling 
requests.

The OS bug should be fixed in android 2.3. You can install Supermind's 
"SuperProxoid" in the meantime, which implements a workaround that uses 
select() differently

http://code.google.com/p/android/issues/detail?id=4825

http://www.supermind.org/blog/660/solved-connection-reset-problems-with-proxoid

Original comment by joeykork on 8 Nov 2010 at 6:23