Update to i18n beta causes fold.it crash.

Case number:954892-988657
Topic:Developer Preview
Opened by:Simek
Status:Closed
Type:Bug
Opened on:Tuesday, October 12, 2010 - 11:27
Last modified:Tuesday, November 2, 2010 - 01:36

I've just updated fold.it to beta branch to test client localisation, but when I tried to start game I receive information about missing files ( sreenshots attached ).

Reinstall don't resolve the problem.

AttachmentSize
1.png47.62 KB
2.png53.38 KB
(Tue, 10/12/2010 - 11:27  |  23 comments)


beta_helix's picture
User offline. Last seen 4 days 20 hours ago. Offline
Joined: 05/09/2008
Groups: None
Topic: General » Developer Preview

thanks for letting us know about this bug

Joined: 11/14/2009
Groups: None

What operating system are you using?

Joined: 04/19/2008
Groups: None

I am running Window 7 and have the same problems.

Simek's picture
User offline. Last seen 3 days 17 hours ago. Offline
Joined: 05/17/2008
Groups: Void Crushers

Win 7 x64

Joined: 11/14/2009
Groups: None

I just posted an update that should take care of this. You will have to reinstall foldit and change your update group to beta in options.txt again. Sorry for the inconvenience.

-IM

Simek's picture
User offline. Last seen 3 days 17 hours ago. Offline
Joined: 05/17/2008
Groups: Void Crushers
Status: Open » Closed

Works for me.

Dyack's picture
User offline. Last seen 4 years 30 weeks ago. Offline
Joined: 10/02/2010
Groups: Russian team

After updating in beta mode my Foldit crashes on start. OS writes in logs that ftgl.dll is corrupted. My OS is Vista Home, but the same thing occurs on XP.

Joined: 11/14/2009
Groups: None

Dyack, try reinstalling Foldt.

Dyack's picture
User offline. Last seen 4 years 30 weeks ago. Offline
Joined: 10/02/2010
Groups: Russian team

I've already reinstalled it. In main mode Foldit works fine, but in 'beta' crashes. I tried to start Foldit-beta with admin rights, but it didn't solve the problem with ftgl.dll.

Joined: 10/20/2010

I tried today to switch to beta on linux 64 bits to test my French translation but it crashes on puzzle loading, reporting a segfault.
Running as root doesn't help either, and throws the backtrace given as attachment.

Joined: 10/20/2010

Oops, I tried to attach error.log and posted the message before seeing that only png and txt files are accepted.
Here's the backtrace in a txt file.
Sorry for the double post…

marie_s's picture
User offline. Last seen 1 year 50 weeks ago. Offline
Joined: 05/18/2008
Groups: None

Beta version dont works for me on windows XP
I re install foldit

translation works only on beta ? it is not written in the new intrustions.
I supose also that setting the usual variables in windows is a subsitute to LANGUAGE environment variable ?

End of log

Initting the list...
Got the puzzles...
SRVR_THRD checking...
Finished show_puzzle_screen...
has key .pdb
has key .pdb
core.conformation.Conformation: [ WARNING ] missing heavyatom: OXT on residue GLU_p:CtermProteinFull 85
core.pack.task: Packer task: initialize from command line()

ERROR: dof_tether_setup.distance_tether_scale > ZERO_EPSILON
ERROR:: Exit from: ..\..\src\interactive\util\DofTetherSetup.cc line: 262

Joined: 11/14/2009
Groups: None

SataMaxx, Marie. Are you still having problems like this? If so, can you describe in more detail how you get them. Thanks.

Joined: 10/20/2010

The game is still crashing. Here's how I proceed :
I download a fresh copy of Foldit, run it, do some stuff then save and quit so it creates the options file.
After modifying it to run in beta, I can start the game, observe it in French if I include my .mo file, login, browse the menus, and even start the first tutorial puzzles. But whenever I complete one of those intro puzzles, or try to run one of the beta puzzles, it crashes, giving me the backtrace and memorymap I uploaded earlier.

The last lines on my log.txt are :
ERROR: min_dist_sqr >= 0.0
ERROR:: Exit from: /homes/grail/makedon/mini-interactive-main/mini/src/interactive/application/shared/exp/SecondMouseMixin.cc line: 322

marie_s's picture
User offline. Last seen 1 year 50 weeks ago. Offline
Joined: 05/18/2008
Groups: None

no and I dont understand some things
When I install foldit, it sometimes make a new ressources folder without locale and russian version and sometimes it put the russian version in my old ressources folder

Sometimes, the russian version works on the first tutorial puzzle but not on other puzzles
but I never achieve to make the french version to work.
phireg have seen the first screens in french.

Sometimes it just crashed just after unload. Log in this case :

args passed:
'C:\Program Files\foldit\foldit.exe'
'-dynamic'
core.init: command: C:\Program Files\foldit\foldit.exe -database cmp-database-307d41cd20e292f4c5d928df7ed9e08b/minirosetta_database -resources cmp-resources-08b61e3ce2917f96faa5ebed945b5c91/resources -interactive_game novice -boinc_url https://fold.it/
core.init: NOTICE: rng device failure, using time as seed
core.init: 'Time' seed mode, seed=1288347330 seed_offset=0 real_seed=-142858800
core.init.random: RandomGenerator:init: Normal mode, seed=-142858800 RG_type=mt19937
Language Settings:
locale=cmp-resources-08b61e3ce2917f96faa5ebed945b5c91\resources\/locale
lang=NULL
textdomain=foldit
bind_textdomain=cmp-resources-08b61e3ce2917f96faa5ebed945b5c91\resources\/locale
is this in the right language=starting the init thread!..
constructor run
starting the init thread!..
checking updates...

UNHANDLED EXCEPTION
1: FTBuffer::Size +478 bytes (no line)
2: FTFont::FTFont +2577 bytes (no line)
3: no symbol (no line)
4: no symbol (no line)
5: no symbol (no line)
6: no symbol (no line)
7: no symbol (no line)
8: no symbol (no line)
9: no symbol (no line)
10: no symbol (no line)
11: no symbol (no line)
12: no symbol (no line)
13: no symbol (no line)
14: no symbol (no line)

Joined: 11/14/2009
Groups: None

Wow, Marie, you're an awesome beta tester because you can crash Foldit in the most unlikely ways:) Though, I suspect it's because you are hacking around with the resources directories from multiple installations. That's not exactly intended way to play the game. Lets try running a clean install. I'd like you to follow these steps.

  1. Delete or rename this directory (it's called data dir):
    C:\Documents and Settings\All Users\Application Data\Foldit\
  2. Download the installer from this website.
  3. Run the installation. After that the data dir is restored. Inside it, there is a directory named cmp-resources-00000000000000000000000000000000. This contains the initial resources for the "main" version.
  4. Run Foldit. Play a puzzle and quit. Notice that the data dir now has another directory named something like cmp-resources-fb3d393df71926d8fe3d9d9b7cf35e8d. These are the current resources for the "main" version that were downloaded when you started the game. This directory does not have the locale subdirectory because the i18n stuff is only in "beta" version right now. There is also now the options.txt file.
  5. Change the update group to "beta" in the options.txt
  6. Run Foldit. Observe that after it updates and restarts, the hex number at the end or resources directory name has changed. It now holds the resources for the "beta" version of Foldit. There is a locale folder inside it.
  7. Quit Foldit. Set your LANGUAGE environment variable to "ru_RU.UTF-8" and start Foldit. Observe it in Russian.
  8. Quit Folit. Put your foldit.mo that contains the compiled French translation into this dir
    C:\Documents and Settings\All Users\Application Data\foldit\cmp-resources-[whatever]\resources\locale\fr\LC_MESSAGES
  9. Set your LANGUAGE environment variable to "fr_FR.UTF-8" and start Foldit. Observe it in French.

Let me know if you still have these problems after you perform these steps.

Dyack's picture
User offline. Last seen 4 years 30 weeks ago. Offline
Joined: 10/02/2010
Groups: Russian team

Excuse me, and what about my ftgl.dll problem?

Joined: 11/14/2009
Groups: None

Dayack, we resolved this problem with missing ftgl.dll a long time ago. You're the only one that's still having it that I know of. Maybe for whatever reason your faulty resources directory doesn't get deleted when you reinstall. Would you try the following the steps 1-7 in my comment #15. Save a copy of the log file after step 4. Then, if you're still having problems, I'd like you to post both the log file from step 4 and the list of files/directories in your data dir just before the crash. Спасибо.

Dyack's picture
User offline. Last seen 4 years 30 weeks ago. Offline
Joined: 10/02/2010
Groups: Russian team

I know you resolved that problem. My problem is different. I didn't miss that file, it just doesn't want to work. Ok, I will try again and let you know later. Thank you.

Joined: 11/14/2009
Groups: None

I made a mistake in my comment #15. I provided wrong location in step 8. The .mo files should go in directory named LC_MESSAGES (it was MESSAGES). So to summarize, this is where your foldit.mo (it MUST be named exactly like this) file should go:

[foldit_data_dir]/cmp-resources-[bunch of hex digits]/resources/locale/[2 letter language code]/LC_MESSAGES

The 2 letter language codes:
fr = French
ru = Russian
de = German

Dyack's picture
User offline. Last seen 4 years 30 weeks ago. Offline
Joined: 10/02/2010
Groups: Russian team

Ilya, here are my log files: the 1st - after normal installation (step 4, all works ok), the 2nd - after updating as beta and crashing on restart. And the list of files in ASCII-text (before step 5).

Joined: 11/14/2009
Groups: None

Dyack, you didn't include the files, mate.

Dyack's picture
User offline. Last seen 4 years 30 weeks ago. Offline
Joined: 10/02/2010
Groups: Russian team

I know, sorry. Perhaps, problems with the site.

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