Hi!
When I try to run FoldIt (./FoldIt in the terminal), it creates a window momentarily and then exits with the message:
Foldit Error: The game has previously not started up correctly.
If this problem persists, please install the latest version.
[1] 266799 floating point exception (core dumped) ./Foldit
Looking in dmesg, there is this error:
traps: Foldit[266799] trap divide error ip:7935b78c6362 sp:7ffceb98f590 error:0 in game_library.so[7935b3c00000+9a89000]
Which is something along the lines of divide by 0 and not handling it?
… Any clues as to how to fix this?
Linux Distro: PopOS 22.04 LTS with NVIDIA Graphics
uname -a: Linux 6.9.3-76060903-generic #202405300957~1726766035~22.04~4092a0e SMP PREEMPT_DYNAMIC Thu S x86_64 x86_64 x86_64 GNU/Linux
CPU: 13th Gen Intel(R) Core(TM) i7-13700H
Thanks in advance!
Thank you for reporting this.
Can you please delete it and reinstall, then let us know if this is happening again?
Hi,
I redownloaded the .tar.gz file from https://fold.it/play and extracted it tar -xzf [path], but it is still crashing with the same error. Is there a checksum I can use to check that all the files are correct?
I did some digging using gdb and found that the crash seemed to occur due to a call to
ma_device_init__pulse(ma_device*, ma_device_config const*, ma_device_descriptor*, ma_device_descriptor*)
which (I think) is part of an audio library, miniaudio.
An issue about it can be found here: https://github.com/mackron/miniaudio/issues/323 and https://github.com/mackron/miniaudio/issues/412. It might be my audio drivers being weird or FoldIt using an old version of miniaudio? I'm looking through it now
The changes made to solve the issues mentioned above were introduced after the version used in FoldIt (FoldIt uses v0.10.35 of miniaudio and the changes were published in v0.11.21).
Thank you for reporting this… we are looking into it to see what we can do.
Until we release a proper fix, there is a possible workaround (that may or may not work), which is to try turning off the sound completely.
If you'd like to try this: manually edit the options.txt file to turn the "sound" entry to "0"
You can find options.txt in the Foldit directory where you installed Foldit… please let us know if this temporary workaround helps!