Update to i18n beta causes fold.it crash.
| Case number: | 954892-988657 |
| Topic: | Developer Preview |
| Opened by: | Simek |
| Status: | Resolved |
| Assigned: | ilya.makedon |
| Priority: | 1-High |
| 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.
| Attachment | Size |
|---|---|
| 1.png | 47.62 KB |
| 2.png | 53.38 KB |
What operating system are you using?
I am running Window 7 and have the same problems.
Win 7 x64
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
| Status: Open » Resolved |
Works for me.
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.
Dyack, try reinstalling Foldt.
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.
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.
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…
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
SataMaxx, Marie. Are you still having problems like this? If so, can you describe in more detail how you get them. Thanks.
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
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)
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.
-
Delete or rename this directory (it's called data dir):
C:\Documents and Settings\All Users\Application Data\Foldit\ - Download the installer from this website.
- 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.
- 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.
- Change the update group to "beta" in the options.txt
- 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.
- Quit Foldit. Set your LANGUAGE environment variable to "ru_RU.UTF-8" and start Foldit. Observe it in Russian.
- 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 - 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.
Excuse me, and what about my ftgl.dll problem?
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. Спасибо.
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.
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
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).
Dyack, you didn't include the files, mate.
I know, sorry. Perhaps, problems with the site.





thanks for letting us know about this bug