Client crash - lost connection - summary

Case number:845829-991488
Topic:Crash/Hang
Opened by:Rav3n_pl
Status:Resolved
Assigned:jflat06
Priority:1-High
Type:Bug
Opened on:Friday, January 6, 2012 - 12:21
Last modified:Wednesday, February 22, 2012 - 19:35

Foldit client crashes when IRC connection is lost.
It can be caused by wifi/router/cable/dns problems.
Any client that is connected to chat blowing up on Internet connection loss, especially when we want to type anything in chat window(s) and/or use blue "i" icon to see who is on-line.

IRC module should check connection state pror to any transmission to avoid crash.
Also "reconnect to irc" button would be good ad-don for all ppl that use more than 1 client in more than 1 place.

Reported in feedbacks:
http://fold.it/portal/node/991444
http://fold.it/portal/node/990703
http://fold.it/portal/node/990641
http://fold.it/portal/node/990633
http://fold.it/portal/node/985890
http://fold.it/portal/node/989606
http://fold.it/portal/node/990809
http://fold.it/portal/node/991369
http://fold.it/portal/node/991089
http://fold.it/portal/node/990519
http://fold.it/portal/node/990092
http://fold.it/portal/node/989950
http://fold.it/portal/node/985820
http://fold.it/portal/node/985678

Marked those feedbacks as duplicates to this thread.

(Fri, 01/06/2012 - 12:21  |  23 comments)


Madde's picture
User offline. Last seen 12 hours 54 min ago. Offline
Joined: 05/29/2008
Groups: Void Crushers

This bug was already fixed once:
http://fold.it/portal/node/750249

Maybe the re-appearing has something to do with the earlier fix of the bandwidth problem?

Joined: 10/11/2011
Groups: None

the reconnect button sounds like a good idea. many people have issues with the chat dropping out.

Joined: 09/21/2011
Groups: Void Crushers

I also noted that up- or downloading recipes does not work when connected a long time.
Could be the same problem.

Joined: 06/17/2010

Yes, it can be that. Downloading recipes need active IRC connection.

Susume's picture
User offline. Last seen 2 hours 49 min ago. Offline
Joined: 10/02/2011

I've been wire-sniffing the in-game IRC connection. At a certain point the client sends an IRC chat message and the server's TCP stack responds with a reset, indicating that the server terminates the TCP connection. At this point the game client crashes. Programming the game client to handle the TCP connection being closed would be an improvement. Adding the ability to reconnect to IRC after that happens would be even better.

It looks as if a load balancer or firewall on the server end is running low on resources and dropping TCP connections. Allocating more resources to the load balancer and/or firewall could cut way down on IRC disconnects and resulting game crashes, even if time is not available to fix the game client.

spmm's picture
User offline. Last seen 4 days 15 min ago. Offline
Joined: 08/05/2010
Groups: Void Crushers

I have experienced quite a few more crashes since the last update (which may be coincidence) when foldit has been left running even with just a single client, like today.

The external IRC connection is maintained, although of course I loose the connection to the group chat.

Also I am getting 'foldit not responding' and slower load times on puzzles, even smaller ones.
Running Win7 64bit on i7, no system changes or other software installed during this time, bandwidth supplier unchanged although consistency of the ISP supply may of course be a factor.

Joined: 10/11/2011
Groups: None

In the last couple of days, ive played foldit on my old dualcore amd running XP and my laptop which is win7 64bit on i3.

I had no crashes etc on either and dual core was left on overnight at least once, lappy used about 5 hours at a time.
I did find 514 slow to load on both

I had ingame chat continuously also..but that could be a fluke lol

Joined: 05/09/2008
Groups: None
Assigned: Anonymous » kxu

bumping up... hopefully we can figure out what is going on with this.

jflat06's picture
User offline. Last seen 1 day 10 hours ago. Offline
Joined: 09/29/2010
Groups: Window Group
Assigned: kxu » jflat06

This is probably a client problem, not server.

jflat06's picture
User offline. Last seen 1 day 10 hours ago. Offline
Joined: 09/29/2010
Groups: Window Group

It appears this problem only happens in Windows (or at least not Linux). Working on debugging windows now.

jflat06's picture
User offline. Last seen 1 day 10 hours ago. Offline
Joined: 09/29/2010
Groups: Window Group
Status: Open » Done

Thanks for all your help. This should be fixed in the next release.

auntdeen's picture
User offline. Last seen 2 hours 20 min ago. Offline
Joined: 04/19/2009
Status: Done » Open

Sorry to reopen this...

Some of my team members are still having frequent crashes as of today, 2-18. It's possibly tied to the running of more than one client.

B_2's picture
User offline. Last seen 23 weeks 5 days ago. Offline
Joined: 11/29/2008
Groups: None

I'll add my frequent crash report here.

Running dev (beta) client on Win XP SP3. On any of the larger puzzles we're doing now, leaving a recipe running for a few hours will almost certainly result in a C++ Runtime error dialog box, client window stays open and visible until the dialog box is acknowledged, then the client window goes away. However, the foldit.exe process is active and visible in Task Manager, using lots of memory, but no CPU resources.

Joined: 11/10/2007
Groups: Window Group

Are these crashes related to the IRC connection being lost?

B_2's picture
User offline. Last seen 23 weeks 5 days ago. Offline
Joined: 11/29/2008
Groups: None

I don't believe mine are related to IRC connection loss.

Joined: 06/17/2010

Folders, please do following test to check that connection loss cause client crash:
- open ONE instance
- ensure that chat is working
- disable network adapter or simply unplug network cable
- wait few second
- press blue "i" in chat window
- try to type in chat window
There should be a pop-up "unable so send message" or similar. Client should not crash.
If it crash please save log.txt file and attach it to reply.
If it not crash close it and open again to get working chat :)

Joined: 08/30/2011

crashed

Joined: 02/12/2012
Groups: None

After disconnecting from wifi, was still able to click blue "i" button without problems. Typing "test" in chat caused it to crash immediately.

Joined: 06/17/2010

Confirmed that main update have not uploaded that fix yet.
Only dev version is fixed atm. Main will be updated in next release.

Joined: 02/12/2012
Groups: None

Seth fixed my problem. Had an old build.

Joined: 06/17/2010

Build number 2012-02-14-47448 and earlier are not fixed
BN 2012-02-16-47506 and later have this fix included.

Joined: 11/10/2007
Groups: Window Group
Status: Open » Done

Right, this fix has been confirmed in the developer preview but it is not yet released to the main version.

Joined: 11/10/2007
Groups: Window Group
Status: Done » Resolved

This fix has gone out in the most recent update.

Sitemap

Supported by: UW Center for Game Science, UW Department of Computer Science and Engineering, UW Baker Lab, DARPA, NSF, HHMI, Microsoft, and Adobe