Crashes on Linux

Started by ieewm

Bruno Kestemont Lv 1

Hello vakobo,
Can you explain how you find the log on Linux ?
I've many crashes when deleting tracks.
Also: clients crash without notice during scripts on heavy puzzles (it seems to be linked to memory cumulative allocation).

vakobo Lv 1

Crash on 1655b when pulling part of protein with cut's.
Console output:
WARNING: Project undefinded in Viewport::project().
terminate called after throwing an instance of 'utility::UtilityExitException'
what():

File: /home/jflat06/foldit/develop/source/src/interactive/application/actions/cart/ActionCartPull.cc:258
[ ERROR ] UtilityExitException
ERROR: it == constraint_pulls_.end()

vakobo Lv 1

Crash on puzzle change - was working one puzzle 1654 - running many scripts.
After puzzle expiration stop last script, attach STRACE by PID and switch to puzzle 1653.

Fragment of STRACE log file:
write(3, "Autosave puzzles/0002007623/0000"…, 76) = 76
sched_yield() = 0
poll([{fd=4, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=4, revents=POLLIN|POLLOUT}])
recvmsg(4, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="#\224\217\232\0\0\0\0\2\0\0\0\5\0\300\5\2\0\300\5_6G\0\f\0\300\5\r\0\300\5"…, iov_len=4096}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 72
writev(4, [{iov_base="\22\0\21\0\2\0\300\5'\0\0\0\37\0\0\0\10e\4\0,\0\0\0Foldit -"…, iov_len=68}, {iov_base=NULL, iov_len=0}, {iov_base="", iov_len=0}], 3) = 68
recvmsg(4, {msg_namelen=0}, 0) = -1 EAGAIN (Resource temporarily unavailable)
recvmsg(4, {msg_namelen=0}, 0) = -1 EAGAIN (Resource temporarily unavailable)
recvmsg(4, {msg_namelen=0}, 0) = -1 EAGAIN (Resource temporarily unavailable)
writev(2, [{iov_base="double free or corruption (fastt"…, iov_len=35}, {iov_base="\n", iov_len=1}], 2) = 36
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8f95535000
rt_sigprocmask(SIG_UNBLOCK, [ABRT], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, ~[RTMIN RT_1], [], 8) = 0
getpid() = 29532
gettid() = 29532
tgkill(29532, 29532, SIGABRT) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
— SIGABRT {si_signo=SIGABRT, si_code=SI_TKILL, si_pid=29532, si_uid=1000} —
+++ killed by SIGABRT (core dumped) +++

Console output looks like:

double free or corruption (fasttop)

On last puzzle with disulfide bridges often was crash with output like this:

LLVM ERROR: out of memory
From time to time with doubled string:
LLVM ERROR: out of memory
LLVM ERROR: out of memory

vakobo Lv 1

Crash immediate after update.
On console:

terminate called after throwing an instance of 'std::logic_error'
what(): basic_string::_S_construct null not valid

log.txt contains only 1 string "args passed:"

I have 2 copies of FoldIt in 2 different directories.
Both crash on update same way.

vakobo Lv 1

Another crash on puzzle change 1667 -> 1669 (after couple days of script works).
First i connect to Foldit by PID:
sudo strace -o 1667_1669.txt -p <FolditPID>
Then change to new puzzle.
There is strace log of change process:

vakobo Lv 1

Crash on puzzle change 1669 -> 1670 (after some script work).
strace log: