Open dyu opened 8 years ago
I figured out what caused the crash. The nodes.conf seems to be corrupted. Here's the contents:
fe1f8af12acb582b0680185bf5047721804f849a 192.168.1.20:7100 noflags 0 1460717777762 connected
e0696155971d348a26923f2ef3cadcf453e43cbf 192.168.1.21:7100 myself 0 0 connected
6a2d9536f7fab19a7eed3ff261aa9469ae2511d9 192.168.1.19:7100 noflags 0 1460717777524 connected
\00\00\00\00\00\00\00\00\00
Notice the last line. If I manually remove that, then disque starts up fine. Only disque writes to nodes.conf. Could this be caused by disque mmaping the file and failing to close it properly?
I don't get this crash on my other minipc (kangaroo) with the exact same configuration. I'm wondering if this related to the kernel (the kangaroo had kernel 4.x on it)