madMAx43v3r / chia-plotter

Apache License 2.0
2.27k stars 664 forks source link

thread failed with: input not sorted #966

Open chefenDK opened 2 years ago

chefenDK commented 2 years ago

Have tried everything- and it has worked for many month, but now - [P1] Table 5 took 62.5145 sec, found 2147111137 matches terminate called after throwing an instance of 'std::runtime_error' what(): thread failed with: input not sorted Aborted

[P3-2] Table 5 took 11.9986 sec, wrote 1765918031 left entries, 1765918031 final terminate called after throwing an instance of 'std::runtime_error' what(): thread failed with: thread failed with: thread failed with: input not sorte Using ubuntu 21.10 , several reinstall also tried with kernel 5.15, same random : inout not Sorted - Also tried different nvme.. can it be a new version of madmax or something ?

Thanks

chefenDK commented 2 years ago

Try tried without Ramdisk on Debian- Same error must be an updated version ?

chefenDK commented 2 years ago

think it's working now - Bios Reset, different Ram speed.. seems to work right now 🙂

Xmansk commented 2 years ago

[P3-2] Table 4 took 53.8834 sec, wrote 3465926808 left entries, 3465926808 final [P3-1] Table 5 took 71.3168 sec, wrote 3532698200 right entries [P3-2] Table 5 took 53.8127 sec, wrote 3532698200 left entries, 3532698200 final [P3-1] Table 6 took 74.1986 sec, wrote 3713192201 right entries [P3-2] Table 6 took 57.8708 sec, wrote 3713192201 left entries, 3713192201 final terminate called after throwing an instance of 'std::runtime_error' what(): thread failed with: thread failed with: input not sorted Aborted (core dumped)

I have same issue. Using opencas 44G ram cache + nvme backing device

madMAx43v3r commented 2 years ago

Yes most likely RAM issue. Try lowering clocks.

chefenDK commented 2 years ago

I am hopping for a new version or something, could be my ram - But the issue came back and i have given up for now, and just stopped plotting on that machine. Is the any way to get log file about what is happening ?

Xmansk commented 2 years ago

I have decreased size of ramdisk and increased swap partition size and that solved it for me. So this was probably related to not enough ram/swap space.

g0rbe commented 2 years ago

Thanks @madMAx43v3r! Realized, i have a faulty RAM.

xorinox commented 2 years ago

Ran the process in gdb, not sure if that's any useful..

[Thread 0x7ffe90fe9640 (LWP 17638) exited] terminate called after throwing an instance of 'std::runtime_error' what(): thread failed with: thread failed with: thread failed with: input not sorted

Thread 1960 "chia_plot_k34" received signal SIGABRT, Aborted. [Switching to Thread 0x7fffde190640 (LWP 17553)] __pthread_kill_implementation (threadid=, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44 Downloading source file /usr/src/debug/glibc-2.34-30.fc35.x86_64/nptl/pthread_kill.c... 44 return INTERNAL_SYSCALL_ERROR_P (ret) ? INTERNAL_SYSCALL_ERRNO (ret) : 0;