Thread '<unknown>' has overflowed its stack

2023-09-08T06:22:16.725163Z INFO single_disk_farm{disk_farm_index=2}: subspace_farmer::single_disk_farm::plotting: Sector plotted successfully (16.59%) sector_index=1164

thread ‘’ has overflowed its stack
fatal runtime error: stack overflow
./farmer.sh: line 34: 2975492 Aborted (core dumped) $cmd

Not sure what happened here,unfortunately don’t have any more data. There was no mention in dmesg norwas there more information in the stdout of the farmer. this was Centos9 and sept-11 compiled

This is not good for sure, but hard to help without even a thread name. Is it reproducible for you?

I have not seen it again, and unfortunately the single colons that might include a name, were empty, just in case I didn’t delete the thread name thread (thread ‘’ has overflowed its stack) There was no mention of OOM reaper or similar in dmesg.

Was this with a custom build where you have tuned some parameters or the official one?

this is on sep-11 and built myself,

Blockquote
export RUSTFLAGS=“-C target-cpu=native -C llvm-args=-cost-kind=latency -C opt-level=3”
export CFLAGS=“-march=native -mtune=native -O3 -pipe -fstack-protector-strong”
export CXXFLAGS=“-march=native -mtune=native -O3 -pipe -fstack-protector-strong”

Blockquote
cargo build
–profile production
–bin subspace-node
–bin subspace-farmer
–target x86_64-unknown-linux-gnu -Z build-std \

Blockquote
$ clang --version
clang version 15.0.7 (Fedora 15.0.7-2.fc37)
Target: x86_64-redhat-linux-gnu
Thread model: posix
InstalledDir: /usr/bin

If code wasn’t modified then should still be applicable to official builds

I have only modified one value as a last resort to see if it made a difference, not generally modifying the code, that modification as it didn’t have any positive effect is undone.

Well, maybe that value did cause something to increase in size and overflow the stack. It is often one line change that breaks things.

This error happened on a setup without any code changes applied. The code changes I applied on the box where farming (vote/sign) just stops, when plotting gets active.