Gnutella Forums

Gnutella Forums (https://www.gnutellaforums.com/)
-   LimeWire Beta Archives (https://www.gnutellaforums.com/limewire-beta-archives/)
-   -   beta 4.9.4 dropping connections (https://www.gnutellaforums.com/limewire-beta-archives/41165-beta-4-9-4-dropping-connections.html)

zab July 15th, 2005 08:10 PM

beta 4.9.4 dropping connections
 
Greetings,

we'd like to get as much feedback as possible for a rare bug where Limewire drops all existing connections and refuses to connect unless you restart.

The main details we're interested in are:

* Your OS version
*Your Java version
* Whether you have a firewall or not
* Whether you were on the computer when this happened, or whether you were away and found Limewire disconnected when you came back
* Were you a leaf or an Ultrapeer
* Did you have many active downloads.

Also, it would be very helpful to provide us with a sample bug report if LimeWire goes in that state. To do that you can go to Options->Bug Reports-> View Sample.

Edit: also, if you know how, please get us a stack trace. If you don't know how to do that don't worry.

Thank you again for your help. These beta series have come a long way thanks to all of you.

jum July 16th, 2005 09:07 AM

Re: beta 4.9.4 dropping connections
 
I had this happen this night. It was in that state in the morning, so I did not see it happen.

It is on Win XPsp2. Java -version:

java version "1.5.0_04"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_04-b05)
Java HotSpot(TM) Client VM (build 1.5.0_04-b05, mixed mode, sharing)

Im heavily firewalled currently (outside my control), only outgoing TCP connections work via some NAT, no UDP transfers work.
Very few downloads complete in such an environment.

The computer is a leaf and had about 10 downloads pending, but none of them where downloading as I went to bed.

jum July 17th, 2005 02:49 AM

It did happen again, so this time I captured the state:
Code:

LimeWire version 4.9.3jum420 Pro
Java version 1.5.0_04 from Sun Microsystems Inc.
Windows XP v. 5.1 on x86
Free/total memory: 2090864/29843456

java.lang.Exception: Example Bug
        at com.limegroup.gnutella.gui.options.panes.BugsPaneItem$1.actionPerformed(BugsPaneItem.java:91)
        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
        at java.awt.Component.processMouseEvent(Unknown Source)
        at javax.swing.JComponent.processMouseEvent(Unknown Source)
        at java.awt.Component.processEvent(Unknown Source)
        at java.awt.Container.processEvent(Unknown Source)
        at java.awt.Component.dispatchEventImpl(Unknown Source)
        at java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
        at java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.awt.Window.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
        at java.awt.Dialog$1.run(Unknown Source)
        at java.awt.Dialog.show(Unknown Source)
        at java.awt.Component.show(Unknown Source)
        at java.awt.Component.setVisible(Unknown Source)
        at com.limegroup.gnutella.gui.options.OptionsConstructor.setOptionsVisible(OptionsConstructor.java:292)
        at com.limegroup.gnutella.gui.options.OptionsMediator.setOptionsVisible(OptionsMediator.java:98)
        at com.limegroup.gnutella.gui.options.OptionsMediator.setOptionsVisible(OptionsMediator.java:80)
        at com.limegroup.gnutella.gui.GUIMediator.setOptionsVisible(GUIMediator.java:577)
        at com.limegroup.gnutella.gui.menu.ToolsMenu$1.actionPerformed(ToolsMenu.java:27)
        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
        at javax.swing.AbstractButton.doClick(Unknown Source)
        at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
        at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source)
        at java.awt.Component.processMouseEvent(Unknown Source)
        at javax.swing.JComponent.processMouseEvent(Unknown Source)
        at java.awt.Component.processEvent(Unknown Source)
        at java.awt.Container.processEvent(Unknown Source)
        at java.awt.Component.dispatchEventImpl(Unknown Source)
        at java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
        at java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.awt.Window.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.run(Unknown Source)


Detail: Example

-- listing session information --
Current thread: AWT-EventQueue-0
Active Threads: 274
Uptime: 17:29:26
Is Connected: false
Number of Ultrapeer -> Ultrapeer Connections: 0
Number of Ultrapeer -> Leaf Connections: 0
Number of Leaf -> Ultrapeer Connections: 0
Number of Old Connections: 0
Acting as Ultrapeer: false
Acting as Shielded Leaf: false
Number of Active Uploads: 0
Number of Queued Uploads: 0
Number of Active Managed Downloads: 0
Number of Active HTTP Downloaders: 0
Number of Waiting Downloads: 43
Received incoming this session: false
Number of Shared Files: 854
Guess Capable: false
Received Solicited UDP: true
SIMPP version: 7
Port Stable: false
FWT Capable: true
Last Reported Port: 18038
External Port: 6346
IP Pongs Received: 1346

-- listing threads --
HttpClient-ReferenceQueueThread: 1
BeanShell: 1
GWebCache hostfile: 1
check for live connection: 1
ConnectionFetcher: 10
NIODispatcher: 1
ResumeTimer: 1
QueryUnicaster: 1
Java2D Disposer: 1
TimerQueue: 1
MulticastService: 1
Acceptor: 1
HttpClient-IdleConnectionThread: 1
AWT-Shutdown: 1
AWT-Windows: 1
AWT-EventQueue-0: 1
Thread-6: 1
Timeout guard: 244
Timer-0: 1
QRPPropagator: 1
DestroyJavaVM: 1
HTTPAcceptor: 1


-- listing properties --
WINDOW_Y=360
FORCE_IP_ADDRESS=true
WINDOW_X=378
TTL=6
FILTER_HTML=true
RUN_ON_STARTUP=false
FILTER_HASH_QUERIES=true
INSTALLED=true
UI_LIBRARY_TREE_DIVIDER_LOCATION=166
HARD_MAX_UPLOADS=2
AVERAGE_UPTIME=294531
TOTAL_UPTIME=101613491
MAX_UPLOAD_BYTES_PER_SEC=8
UPDATE_STYLE=0
COUNTRY=
LAST_SHUTDOWN_TIME=1121507459190
SESSIONS=345
MINIMIZE_TO_TRAY=false
CLEAR_DOWNLOAD=true
GUESS_ENABLED=false
UPLOADS_PER_PERSON=1
UI_SMALL_ICONS=true
FRACTIONAL_UPTIME=0.22620764
CONNECTION_SPEED=350
LAST_EXPIRE_TIME=1121031066038
MAX_DOWNLOAD_BYTES_PER_SEC=19
RUN_ONCE=true
BEANSHELL_VIEW_ENABLED=true
APP_HEIGHT=685
UI_MONITOR_UPLOAD_TAB_DIVIDER_LOCATION=140
DAAP_ENABLED=false
LAST_GWEBCACHE_FETCH_TIME=1121031103382
UNSET_FIREWALLED_FROM_CONNECTBACK=true
CLIENT_ID=F86D5C0115581208FFF1C78E32A41D00
PLAYER_ENABLED=false
INCOMPLETE_PURGE_TIME=30
CONNECTION_VIEW_ENABLED=true


zab July 17th, 2005 08:56 AM

Thanks a lot. If you have the chance, can you see if limewire in such state is capable of performing any i/o ? The easiest way to test that would be to telnet to localhost 6346 and see if the connection gets accepted. Browse host from another machine would do too.

Thanks!

trap_jaw4 July 17th, 2005 09:23 AM

Quote:

Originally posted by jum
Code:

Timeout guard: 244

What do these "Timeout guard" threads do? I can't remember seeing any of them on linux...

zab July 17th, 2005 09:42 AM

@jum:

If this happens again please try to get us a stack trace. Thanks a lot!

sberlin July 17th, 2005 09:58 AM

Timeout guard is part of HttpClient -- it was built for Java 1.3, so it uses an extra thread to do socket connection timeouts.

See http://limewire.org/fisheye/viewrep/...ler.java?r=1.1 , http://limewire.org/fisheye/viewrep/...ava?r=1.6#l652 , & the various socket factories.

jum July 17th, 2005 11:38 AM

Quote:

Originally posted by zab
@jum:

If this happens again please try to get us a stack trace. Thanks a lot!

So how does one get one of these under Windows if one starts using LimeWire.exe? I know how to generate them on Unix, but on Windows I have never done it.

Crusader July 17th, 2005 11:41 AM

Just happened to me. No firewall, but it suddenly started incorrectly showing a firewall in the status bar and four red bars. It refuses to reconnect, saying I have no functioning network connection, which is false. And in the stderr console I found something extremely interesting.

Code:

WARNING: The host www.ebay.com:80 (or proxy null:-1) did not accept the connecti
on within timeout of 20000 milliseconds
17-Jul-2005 1:31:58 PM com.limegroup.gnutella.connection.ConnectionChecker conne
ctToHost
WARNING: Exception while handling server
org.apache.commons.httpclient.HttpConnection$ConnectionTimeoutException
        at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java
:754)
        at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$Http
ConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1059)
        at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.jav
a:674)
        at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.jav
a:529)
        at com.limegroup.gnutella.connection.ConnectionChecker.connectToHost(Con
nectionChecker.java:202)
        at com.limegroup.gnutella.connection.ConnectionChecker.run(ConnectionChe
cker.java:149)
        at java.lang.Thread.run(Unknown Source)
        at com.limegroup.gnutella.util.ManagedThread.managedRun(ManagedThread.ja
va:60)
        at com.limegroup.gnutella.util.ManagedThread.run(ManagedThread.java:49)

Anyone care to explain why Limewire is trying to connect to www.ebay.com? I can't think of a legitimate reason for it to contact that particular host. I do hope you aren't planning on introducing spyware in version 5 or some such. Big commercial sites are the last place I expect it to be connecting.

And an example bug report, just for completeness, after hitting file -> connect for the umpteenth time with no sign of it establishing any connections:

Code:

LimeWire version 4.9.4
Java version 1.5.0_04 from Sun Microsystems Inc.
Windows XP v. 5.1 on x86
Free/total memory: 33600960/143441920

java.lang.Exception: Example Bug
        at com.limegroup.gnutella.gui.options.panes.BugsPaneItem$1.actionPerformed(BugsPaneItem.java:91)
        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
        at java.awt.Component.processMouseEvent(Unknown Source)
        at javax.swing.JComponent.processMouseEvent(Unknown Source)
        at java.awt.Component.processEvent(Unknown Source)
        at java.awt.Container.processEvent(Unknown Source)
        at java.awt.Component.dispatchEventImpl(Unknown Source)
        at java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
        at java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.awt.Window.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
        at java.awt.Dialog$1.run(Unknown Source)
        at java.awt.Dialog.show(Unknown Source)
        at java.awt.Component.show(Unknown Source)
        at java.awt.Component.setVisible(Unknown Source)
        at com.limegroup.gnutella.gui.options.OptionsConstructor.setOptionsVisible(OptionsConstructor.java:292)
        at com.limegroup.gnutella.gui.options.OptionsMediator.setOptionsVisible(OptionsMediator.java:98)
        at com.limegroup.gnutella.gui.options.OptionsMediator.setOptionsVisible(OptionsMediator.java:80)
        at com.limegroup.gnutella.gui.GUIMediator.setOptionsVisible(GUIMediator.java:570)
        at com.limegroup.gnutella.gui.menu.ToolsMenu$1.actionPerformed(ToolsMenu.java:27)
        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
        at javax.swing.AbstractButton.doClick(Unknown Source)
        at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
        at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source)
        at java.awt.Component.processMouseEvent(Unknown Source)
        at javax.swing.JComponent.processMouseEvent(Unknown Source)
        at java.awt.Component.processEvent(Unknown Source)
        at java.awt.Container.processEvent(Unknown Source)
        at java.awt.Component.dispatchEventImpl(Unknown Source)
        at java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
        at java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.awt.Window.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.run(Unknown Source)


Detail: Example

-- listing session information --
Current thread: AWT-EventQueue-0
Active Threads: 27
Uptime: 1:40:30
Is Connected: false
Number of Ultrapeer -> Ultrapeer Connections: 0
Number of Ultrapeer -> Leaf Connections: 0
Number of Leaf -> Ultrapeer Connections: 0
Number of Old Connections: 0
Acting as Ultrapeer: false
Acting as Shielded Leaf: false
Number of Active Uploads: 0
Number of Queued Uploads: 0
Number of Active Managed Downloads: 0
Number of Active HTTP Downloaders: 0
Number of Waiting Downloads: 703
Received incoming this session: false
Number of Shared Files: 487
Guess Capable: false
Received Solicited UDP: false
SIMPP version: 7
Port Stable: true
FWT Capable: false
Last Reported Port: 6346
External Port: 6346
IP Pongs Received: 0

-- listing threads --
HttpClient-ReferenceQueueThread: 1
ConnectionFetcher: 9
SavedFileLoader: 1
NIODispatcher: 1
QueryUnicaster: 1
Java2D Disposer: 1
TimerQueue: 1
MulticastService: 1
Acceptor: 1
HttpClient-IdleConnectionThread: 1
AWT-Shutdown: 1
AWT-Windows: 1
AWT-EventQueue-0: 1
Thread-6: 1
Timer-0: 1
QRPPropagator: 1
DestroyJavaVM: 1
HTTPAcceptor: 1
Image Fetcher 0: 1


-- listing properties --
WINDOW_Y=54
BANNED_WORDS=preteen;incest;illegal;pedo
WINDOW_X=106
TTL=7
LIBRARY_VIEW_ENABLED=false
RUN_ON_STARTUP=false
FILTER_HASH_QUERIES=true
INSTALLED=true
UI_LIBRARY_TREE_DIVIDER_LOCATION=187
HARD_MAX_UPLOADS=30
USE_LOCALE_PREF=false
EXTENSIONS_TO_SEARCH_FOR=html;htm;xml;txt;pdf;ps;rtf;doc;tex;w...
DISABLE_SUPERNODE_MODE=true
AVERAGE_UPTIME=30019
TOTAL_UPTIME=20953544
MAX_UPLOAD_BYTES_PER_SEC=26
UPDATE_STYLE=0
COUNTRY=
FREELOADER_FILES=100
LAST_SHUTDOWN_TIME=1121619478500
APP_WIDTH=857
SESSIONS=698
SHOW_TOTD=false
SHOPPING_VIEW_ENABLED=false
UPLOAD_SPEED=96
CLEAR_DOWNLOAD=true
GUESS_ENABLED=false
SHARE_DOWNLOADED_FILES_IN_NON_SHARED_DIRECTORIES=false
ALLOW_PARTIAL_SHARING=false
FRACTIONAL_UPTIME=0.6962329
CONNECTION_SPEED=1000
LAST_EXPIRE_TIME=1120444152562
MAX_DOWNLOAD_BYTES_PER_SEC=173
RUN_ONCE=true
APP_HEIGHT=624
DISABLE_UPNP=true
UI_MONITOR_UPLOAD_TAB_DIVIDER_LOCATION=59
FREELOADER_ALLOWED=10
DAAP_ENABLED=false
MAX_SIM_DOWNLOAD=30
LAST_GWEBCACHE_FETCH_TIME=1121078766390
EVER_ACCEPTED_INCOMING=true
UNSET_FIREWALLED_FROM_CONNECTBACK=true
CLIENT_ID=950A25577500A80DFF5A06FDA8068200
MONITOR_VIEW_ENABLED=false
PLAYER_ENABLED=false
INCOMPLETE_PURGE_TIME=90
CHAT_ENABLED=false


sberlin July 17th, 2005 11:50 AM

When LimeWire can't make a Gnutella connection and hasn't been able to connect to anyone at all, it tries to do a HEAD request to a few very well-known sites, to detect if an internet connection is active at all. The list is here: http://limewire.org/fisheye/viewrep/...ava?r=1.14#l47 .

Crusader July 17th, 2005 11:59 AM

That makes some amount of sense. It was my own hypothesis -- the only legitimate reason for it to try to contact ebay that I could think of.

The real question is: why was it unable to establish a connection, when the web browser, MSN messenger, and other network apps were working OK? I suppose the incorrect firewall detection has something to do with it...

I've configured my copy of limewire not to try to use UPnP to detect a router or firewall since I know darn well there is none and I know autodetect anything is a headache waiting to happen. Unfortunately, it seems to ignore that setting and sometimes tries to autodetect a firewall anyway, resulting in the inevitable headache: it detects a phantom firewall that doesn't exist, chokes, and dies. :P

sberlin July 17th, 2005 12:14 PM

The incorrect firewall detection is a byproduct of not being able to access the internet. Every so often, LimeWire will 'forget' its firewall detection status and re-detect. If it isn't able to make or take any connections, the redetection shows as firewalled. But yes, the original "why can't it make connections" still stands.

zab July 17th, 2005 02:48 PM

Quote:

Originally posted by jum
So how does one get one of these under Windows if one starts using LimeWire.exe? I know how to generate them on Unix, but on Windows I have never done it.
I'm not sure you can get one with LimeWire.exe, but if you do start limewire from the command prompt with "java -jar ..." you can get a trace with Ctrl-break (or just break? someone correct me here pls)

sberlin July 17th, 2005 03:02 PM

You can download LimeWireDebug from http://www.limewire.org/LimeWireDebug.exe . It'll open a DOS-box when you run LimeWire, which'll contain anything printed to stderr or stdout. It won't have logging, though.

jum July 18th, 2005 03:07 AM

Well , there so many threads running that I cannot record the complete stack trace as it overflows my console scroll back buffer. But I have so many Timeout guards running that I would believe that these must have a problem somewhere:

Code:

"Timeout guard" daemon prio=5 tid=0x02d40910 nid=0x1034 runnable [0x0a7cf000..0x
0a7cfa68]
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(Unknown Source)
        - locked <0x23edfae0> (a java.net.SocksSocketImpl)
        at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
        at java.net.PlainSocketImpl.connect(Unknown Source)
        at java.net.SocksSocketImpl.connect(Unknown Source)
        at java.net.Socket.connect(Unknown Source)
        at java.net.Socket.connect(Unknown Source)
        at java.net.Socket.<init>(Unknown Source)
        at java.net.Socket.<init>(Unknown Source)
        at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.c
reateSocket(DefaultProtocolSocketFactory.java:105)
        at org.apache.commons.httpclient.HttpConnection$1.doit(HttpConnection.ja
va:697)
        at org.apache.commons.httpclient.HttpConnection$SocketTask.run(HttpConne
ction.java:1333)
        at java.lang.Thread.run(Unknown Source)

"Timeout guard" daemon prio=5 tid=0x032526a0 nid=0xb10 runnable [0x0a44f000..0x0
a44fc68]
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(Unknown Source)
        - locked <0x23edee28> (a java.net.SocksSocketImpl)
        at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
        at java.net.PlainSocketImpl.connect(Unknown Source)
        at java.net.SocksSocketImpl.connect(Unknown Source)
        at java.net.Socket.connect(Unknown Source)
        at java.net.Socket.connect(Unknown Source)
        at java.net.Socket.<init>(Unknown Source)
        at java.net.Socket.<init>(Unknown Source)
        at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.c
reateSocket(DefaultProtocolSocketFactory.java:105)
        at org.apache.commons.httpclient.HttpConnection$1.doit(HttpConnection.ja
va:697)
        at org.apache.commons.httpclient.HttpConnection$SocketTask.run(HttpConne
ction.java:1333)
        at java.lang.Thread.run(Unknown Source)


zab July 18th, 2005 06:20 AM

Ah, good - if there was a deadlock it would be the last thing printed on the console.

Btw the stack trace is printed on stdout, so you can redirect it to a file should this happen again.

Thanks a lot jum! If you can give it one more try with stdout redirected we'd nail this one down :)

Shinsengumi July 18th, 2005 11:30 AM

Well this is something new -- LW 4.9.4 perpetually stuck at three green bars, two red. It's been this way for at least half an hour. For some reason it is either unwilling or unable to restore the remaining two connections.

zab July 18th, 2005 11:47 AM

@Shinsengumi

Do downloads work?

Shinsengumi July 18th, 2005 02:49 PM

No -- they reach 20% or so and "await sources", just like always. So no change there. ;P Anyway it spontaneously recovered after an additional half hour and I went on to get a few files (and add a lot more "awaiting sources" items to the list).

jum July 19th, 2005 02:00 AM

OK, this time I got all the stack traces in one file. You can find it at:

http://baghira.han.de/~jum/stack.log

zab July 19th, 2005 05:57 AM

Thanks a lot. Its not a deadlock or a selector problem, but the good old SP2 connecting socket limit. We'll see how we can go about fixing it.

If you feel like more testing, could you try patching your system to disable the limit? Its ok if you don't - we're 99.99% sure this is the culprit.

Thanks Jum, you've been very helpful as always!

jum July 19th, 2005 08:20 AM

Quote:

Originally posted by zab
If you feel like more testing, could you try patching your system to disable the limit? Its ok if you don't - we're 99.99% sure this is the culprit.

Well, the patching of these core Windows components sounds scary enough to not do it in my current situation as I do not have my XP install disks around if I happen to mess things up.

zab July 19th, 2005 10:43 AM

We have some changes in CVS that should alleviate the issue. Wanna give'm a try? ;-)

jum July 20th, 2005 02:43 AM

Quote:

Originally posted by zab
We have some changes in CVS that should alleviate the issue. Wanna give'm a try? ;-)
Oops, I did not see any commit email for two days, did I get dropped off the lists somehow?

Shinsengumi July 20th, 2005 09:08 PM

Er...
 
Why is there now talk about people patching their operating systems? I thought this had been established to be a Limewire problem, not an OS problem, seeing as how it doesn't affect anything else -- web browsing for example works fine even while Limewire is spazzing out dropping connections, refusing to reconnect, or whatever.

Also, I definitely have the problem, and I have a fully up to date XP home system -- all official patches and bugfixes applied as of this morning in fact. So I don't see how it can be a patch I've failed to install given that I haven't failed to install any patches at all.

sberlin July 20th, 2005 09:15 PM

Some of the people who post in this forum have been submitting patches, testing betas, and doing other helpful things for the better part of two or three years. It's not unjustified to patch the OS to determine if that is the cause of the problem. Sure, it'd be unreasonable to expect everyone to run a patch, but it's certainly useful to ask a friendly beta tester if they can do it to see if it pinpoints what we should look at to fix the problem.

Shinsengumi July 21st, 2005 12:15 AM

Well, you've got your answer then -- my own system is fully up to date on patches, but the problem still occurs, so it looks like an out-of-date OS setup isn't the cause.

zab July 21st, 2005 05:38 AM

This is actually a slightly different "patch", an unofficial one that actually reverses an official one from Microsoft. There's more info available through google if you're interested.

Shinsengumi July 21st, 2005 06:16 AM

Are you telling me that Limewire 4.9.x requires that you NOT install an OS patch in order to work correctly? And that to make it work correctly you have to muck about with system files installing files of dubious trustworthiness? Who's brilliant idea was this? Limewire should work with the OS fully up to date -- period.

sberlin July 21st, 2005 06:56 AM

Shinsengumi, as my first response to you said, the suggestion was done so that we could pinpoint what was causing the problem. We do not expect, nor want, every LimeWire user to install the patch. We would, however, like a helpful beta tester who is experiencing the problem to let us know if this fixes it. If it does, then we know exactly what is causing it and can look into ways of fixing it.

komencanto July 24th, 2005 05:28 AM

I have this problem too
 
Since I tried the betas I have found that my connection completely cuts out - downloads and ultrapeers - and then takes a little while to reconnect. Sometimes it won't reconnect again at all unless I go to file/disconnect and then file/connect. This all happens generally 5-10 minutes after opening limewire.

* Your OS version
Windows XP SP2
*Your Java version
jre1.5.0_02 an j2re1.4.1_06
* Whether you have a firewall or not
I use Kerio Personal Firewall 4.2
* Whether you were on the computer when this happened, or whether you were away and found Limewire disconnected when you came back
I was here every time. But I haven't left it open when I'm away
* Were you a leaf or an Ultrapeer
I was connecting to 5 ultrapeers.
* Did you have many active downloads.
Only a handfull.

If you want me to test this out more or do more complex analysis you can contact me at robertwiblin AT gmail DOT com. I've reverted to 4.8.1 because it isn't happening in that version. I was having this problem with 4.9.4. Cheers guys!

RobertWiblin July 24th, 2005 06:33 PM

Same
 
This just happened to me on 4.9.7. It never happens to me on 4.8.1.

Shinsengumi July 26th, 2005 03:30 AM

So, any news on this, or is the only fix still to remove an OS patch and, presumably, become vulnerable to code red or sircam or mydoom or whatever it was the patch was released to block?

ultracross July 26th, 2005 08:32 AM

Shinsengumi, be part of the beta process or not, but your not helping by critisizing the process. patching different things in a CONTROLED environment is how a scientist makes his conclusions and if his hypothesis was correct. have you ever learn the scientific method?

Shinsengumi July 26th, 2005 11:20 AM

I reported my experiences. Now I'd like a fix that doesn't involve doing unwise things with the operating system. Isn't that the way it goes? We report bugs, you fix them? Or have I misunderstood something about the "beta process"?

ultracross July 26th, 2005 06:33 PM

lol. as sam said, its to CHECK if that is the cause of the problem and if they can work around it. limewire is not going to require people to install patches... further postings to try to convince you of the truth is worthless, so ill stop. and yes you are right about the process. (but im not a developer, im a fellow beta tester too!)

;)

deacon72 July 27th, 2005 08:19 AM

I only post this because your reply postings are for current. Both your points are now moot. Why??

BECAUSE the current BETA is 9.4.8.

Get with the program fellas.

lol. Come on in. The waters is fine up here.

deacon72 July 27th, 2005 11:51 AM

Damn typos

BETA 4.9.9 now

Shinsengumi August 3rd, 2005 07:22 AM

It does seem to be fixed in the more recent betas.

zab August 3rd, 2005 07:27 AM

Do you mean 4.9.13 or any betas before that?

Shinsengumi August 3rd, 2005 10:03 AM

4.9.11, maybe earlier.

Lord of the Rings August 3rd, 2005 10:23 AM

Hey Shinsengumi why not register as a member of the forum. Then we can keep tracks of your details so in future we can help you with less problems. It takes about 15 mins to register & sign in as a member! ;) Just a thought!


All times are GMT -7. The time now is 05:44 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 ©2011, Crawlability, Inc.

Copyright © 2020 Gnutella Forums.
All Rights Reserved.