Client crash - lost connection - summary

Case number:845829-991488
Topic:Crash/Hang
Opened by:Rav3n_pl
Status:Open
Type:Bug
Opened on:Friday, January 6, 2012 - 12:21
Last modified:Sunday, May 22, 2016 - 02:52

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  |  31 comments)


Madde's picture
User offline. Last seen 10 weeks 5 days 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 7 hours 7 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 32 weeks 4 days 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

beta_helix's picture
User offline. Last seen 9 hours 57 min ago. Offline
Joined: 05/09/2008
Groups: None

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

jflat06's picture
User offline. Last seen 5 days 9 hours ago. Offline
Joined: 09/29/2010
Groups: Window Group

This is probably a client problem, not server.

jflat06's picture
User offline. Last seen 5 days 9 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 5 days 9 hours ago. Offline
Joined: 09/29/2010
Groups: Window Group
Status: Open » Closed

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

Joined: 04/19/2009
Status: Closed » 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 4 years 16 weeks 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 4 years 16 weeks 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 » Closed

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: Closed » Closed

This fix has gone out in the most recent update.

YGK's picture
User offline. Last seen 18 weeks 6 days ago. Offline
Joined: 05/25/2008
Groups: None
Status: Closed » Open

Sorry to reopen this old folder but it seems to correspond to the errors found.

Since the last update of Foldit. Even after reinstalling the application repeatedly, it, after about 4 minutes of use is closed by Windows 10.
I have the following message in the events of administration:
name of faulting application Foldit.exe, version: 0.0.0.0, time stamp: 0x546d537b faulting module name: game_library.dll, version: 0.0.0.0, timestamp: 0x5727f96b exception Code: 0xc0000005 error offset: 0x02ae30f1 faulting process ID: 0x9c0 faulting application start time: 0x01d1ad1aaf5af0d8 faulting application path: C:\Foldit\Foldit.exe faulting module path: C:\Foldit\cmp-binary-2d9e86ef893a241e1537090b282c38cd\game_library.dll report ID : 85aab610-f80a-4c78-82fa-4df64a797cbf full name of the failed package: relative to the package application ID failed: see annex.

Joined: 06/17/2010

Looks like some trouble in puzzle, what puzzle do you work on when attached log was made?
Can you replicate error on another puzzle or it is crashing on every puzzle?
It crash when you wiggle? shake? manual? script?

edit: also I not see how it is IRC related?

YGK's picture
User offline. Last seen 18 weeks 6 days ago. Offline
Joined: 05/25/2008
Groups: None

Log.txt is after a crash on the 1231.
Crash on 1227 and 1231, so unrelated to a puzzle.
Crash happens even without introducing any command after 4 to 5 minutes. Until then all controls operate smoothly.
Edit: copy the log.txt made after crash. If a crash happens, is it not normal that the IRC is not related?

New test : Crash after about 4 minutes on screen "Please enter your login and password"

Now: no crash from about 40 minutes. (From time to time, no crash. Then, many crash.)

N.B. Other applications: no crash

bertro's picture
User offline. Last seen 1 week 2 days ago. Offline
Joined: 05/02/2011
Groups: Beta Folders

Maybe it is related to this at the top of your log.txt file:

...
Initializing translator using: cmp-resources-f3f5689675a05a73fb3d5d1f6e8950e6\resources\locale/foldit.fr.po
formats mismatch in translation string:
Your current puzzle has gone offline.
Votre puzzle actuel est passé en phase %s.
formats mismatch in translation string:
Are you sure you want to delete\n\"%s\"?
Êtes-vous sûr de vouloir reinitialiser le puzzle ?\n
starting the init thread!..
...

Those "formats mismatch" I mean. Using the French version it seems.

Suggestion: Could you try staying with the English version (vanilla client) from a *newly* downloaded client in a *new* folder and see what it does.

Thanks

YGK's picture
User offline. Last seen 18 weeks 6 days ago. Offline
Joined: 05/25/2008
Groups: None

Thanks for your suggestion but I already uninstalled completely Foldit, reinstalled and left in the English version without result. However, I have not installed in a new directory as you suggest.
Attention that this crash problem is already presented on the screen "Please enter your login and password" but I did this test without reinstalling Foldit.
With the new elements, do you think that the test you propose is still useful?
N.B.
1) Since yesterday, no crash on 1231 and, this, in the French version. (?)
2) Never no problem since 2008.

bertro's picture
User offline. Last seen 1 week 2 days ago. Offline
Joined: 05/02/2011
Groups: Beta Folders

Good news. If I understand correctly it seems your crash problem has gone.

Strange, who knows what caused it to appear in the first place.

BUT having re-installed (after a complete uninstall) with not crash since yesterday would normally indicate that there was a corruption problem in the older install that is now corrected (even with the French version).

Just re-post your log.txt file if it happens again.

YGK's picture
User offline. Last seen 18 weeks 6 days ago. Offline
Joined: 05/25/2008
Groups: None

The crashes continue… After many tests, I come back to you.

(Accuracy: Since the installation after the complete uninstall, at certain times (Not every time), there were very many crash every 4 to 5 minutes, it was necessary to restart foldit and I continued the 1227 until the end. It was after that I decided to write.)

Final test (Perhaps the most interesting for you).

On the 1st screen ("generic"):
- old Installation: crash after 5 min
- new installation in new directory "Folditbis" (as you had requested): normal working.

Both log.txt files are in the annex.

Thanks.

Joined: 10/23/2014
Groups: Contenders

I created a feedback bug report called "Continuous crashing on Windows 10".

http://fold.it/portal/node/2002467.

You can read that post for more details.

My problems are the same as YGK. It's fairly consistent in that it crashes in 4-5 minutes. I've tried it on four different puzzles and they all crash.It's also happened when I was writing a chat and not even running a puzzle. I've reinstalled foldit, making a clean install (not using the previous foldit folder). Still crashes.

LociOiling suggested possible solutions which I tried with no luck. I'm only running one instance. I'm at a loss to figure out how to solve this. log.txt file attached.

Sitemap

Developed by: UW Center for Game Science, UW Institute for Protein Design, Northeastern University, Vanderbilt University Meiler Lab, UC Davis
Supported by: DARPA, NSF, NIH, HHMI, Amazon, Microsoft, Adobe, RosettaCommons