Attaching valgrind out put, this part is pretty scary!
valgrind: the 'impossible' happened:
VG_N_THREADS is too low
==17024== at 0x3802A7AC: report_and_quit (m_libcassert.c:140)
==17024== by 0x3802A8C4: panic (m_libcassert.c:215)
==17024== by 0x3802A932: vgPlain_core_panic_at (m_libcassert.c:220)
==17024== by 0x3802A951: vgPlain_core_panic (m_libcassert.c:225)
==17024== by 0x3804CE91: vgPlain_alloc_ThreadState (scheduler.c:187)
==17024== by 0x380966F9: vgSysWrap_amd64_linux_sys_clone_before (syswrap-amd64-linux.c:205)
==17024== by 0x380501A0: vgPlain_client_syscall (syswrap-main.c:942)
==17024== by 0x3804D672: handle_syscall (scheduler.c:824)
==17024== by 0x3804E676: vgPlain_scheduler (scheduler.c:1018)
==17024== by 0x38060CB0: run_a_thread_NORETURN (syswrap-linux.c:89)
Attaching valgrind out put, this part is pretty scary!
valgrind: the 'impossible' happened: c:140) c:215) core_panic_ at (m_libcassert. c:220) c:225) alloc_ThreadSta te (scheduler.c:187) amd64_linux_ sys_clone_ before (syswrap- amd64-linux. c:205) client_ syscall (syswrap- main.c: 942) NORETURN (syswrap- linux.c: 89)
VG_N_THREADS is too low
==17024== at 0x3802A7AC: report_and_quit (m_libcassert.
==17024== by 0x3802A8C4: panic (m_libcassert.
==17024== by 0x3802A932: vgPlain_
==17024== by 0x3802A951: vgPlain_core_panic (m_libcassert.
==17024== by 0x3804CE91: vgPlain_
==17024== by 0x380966F9: vgSysWrap_
==17024== by 0x380501A0: vgPlain_
==17024== by 0x3804D672: handle_syscall (scheduler.c:824)
==17024== by 0x3804E676: vgPlain_scheduler (scheduler.c:1018)
==17024== by 0x38060CB0: run_a_thread_