crashes on puzzles 1495 and 1498 on linux

Started by pauldunn

pauldunn Lv 1

I have crashes on both 1495 and 1498 puzzles on linux (Ubuntu 16.04). Just need to wiggle. I suspect that it is cysteine related (old bug is back?).

terminate called after throwing an instance of 'std::bad_alloc'
terminate called recursively
what(): std::bad_alloc

shows up in terminal. I don't know how to get more information on linux.

Moving back to windows for now.

rmoretti Staff Lv 1

The 'std::bad_alloc' error most often occurs when a program runs out of memory.

How much memory do you have on your Linux machine, and do you know how much of it the Foldit program was taking up at the time of the crash?

pauldunn Lv 1

I have a 16Gb machine and these are small puzzles. I've run another pose from a group's share and run it under a debugger (gdb). I get different output each time I run it. The recipe is just running wiggle, shake, and change CI.

Here's gdb output #1:

[New Thread 0x7fffdc858700 (LWP 5013)]
terminate called after throwing an instance of 'utility::UtilityExitException'
what():

File: /home/jflat06/foldit/develop/source/src/core/chemical/ResidueType.cc:4071
[ ERROR ] UtilityExitException
ERROR: unknown atom_name: '' in residue CYS:disulfide

Thread 178 "Foldit" received signal SIGABRT, Aborted.

pauldunn Lv 1

Here is a similar crash but with a different atom name:

[New Thread 0x7fffdc9cb700 (LWP 5255)]
terminate called after throwing an instance of 'utility::UtilityExitException'
what():

File: /home/jflat06/foldit/develop/source/src/core/chemical/ResidueType.cc:4071
[ ERROR ] UtilityExitException
ERROR: unknown atom_name: ' SG ' in residue CYS:disulfide

Thread 90 "Foldit" received signal SIGABRT, Aborted.

Bruno Kestemont Lv 1

I used to run up to 7 clients a time on Linux Ubuntu 16.4 (8GB mem, 8 vitual CPUs), but after the new update, it slows down to 2-3 clients max.

The supplementary clients simply crash after some times, hand fold or recipes.

Indeed, I think all of this is related to memory.

After a long recipe run, the RAM goes quickly to max and the client crash.

Needs to restart computer some times in order to reset memory.

pauldunn Lv 1

Latest foldit (20181204-a8c39fb2f8-linux_x64-devprev) still crashing on puzzles with disulfide bonds.

Posted release notice on fold.it:
Bug Fixes:

  • General crash fixes.
  • Fix crash with disulfides.

Tested using puzzle 1371 (only puzzle I have on devprev with disulfide bonding scores)

terminate called after throwing an instance of 'utility::UtilityExitException'
what():

File: /home/jflat06/foldit/develop/source/src/core/chemical/ResidueType.cc:4071
[ ERROR ] UtilityExitException
ERROR: unknown atom_name: ' SG ' in residue CYS:disulfide

I'll try again when a newer disulfide puzzle is released.