Thread 2: Conflicting store by thread 2 at 0x........ size 4 at 0x........: main::{lambda()#1}::operator()() const (std_thread2.cpp:21) Allocation context: BSS section of std_thread2 Done. ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)