NebulousLabs / Sia

Blockchain-based marketplace for file storage. Project has moved to GitLab: https://gitlab.com/NebulousLabs/Sia
https://sia.tech
MIT License
2.71k stars 442 forks source link

Crash upon non bootstrapped blockchain download #3181

Open CryphaZon opened 5 years ago

CryphaZon commented 5 years ago

BUG REPORT

Stack Trace or error message

Expected Behavior Crash How to reproduce it (as minimally and precisely as possible) Just was updating blockchain to have wallet access. Not Bootstrapped Environment

RAW BUG REPORT MESSAGE:

Sia Daemon v1.3.3 Git Revision 94ea84e Loading... (0/6) Loading siad... (1/6) Loading gateway... (2/6) Loading consensus... (3/6) Loading transaction pool... (4/6) Loading wallet... (5/6) Loading host... (6/6) Loading renter... Finished loading in 1031.309580641 seconds goroutine 1 [running]: runtime/debug.Stack(0x1043db7, 0x0, 0xc4218af960) /usr/local/go/src/runtime/debug/stack.go:24 +0xa7 runtime/debug.PrintStack() /usr/local/go/src/runtime/debug/stack.go:16 +0x22 github.com/NebulousLabs/Sia/build.Critical(0xc4218afad0, 0x1, 0x1) /home/luke/go/src/github.com/NebulousLabs/Sia/build/critical.go:16 +0x93 main.startDaemon(0x0, 0x0, 0x7ffeefbffc8b, 0xe, 0x7ffeefbffcb7, 0x5, 0x7ffeefbffca6, 0x5, 0x0, 0x7ffeefbffd0b, ...) /home/luke/go/src/github.com/NebulousLabs/Sia/cmd/siad/daemon.go:212 +0x53c main.startDaemonCmd(0xc4200dbb80, 0xc420084550, 0x0, 0x5) /home/luke/go/src/github.com/NebulousLabs/Sia/cmd/siad/daemon.go:236 +0x162 github.com/spf13/cobra.(Command).execute(0xc4200dbb80, 0xc42001c070, 0x5, 0x5, 0xc4200dbb80, 0xc42001c070) /home/luke/go/src/github.com/spf13/cobra/command.go:766 +0x2c1 github.com/spf13/cobra.(Command).ExecuteC(0xc4200dbb80, 0x16dba5a, 0x3b, 0xc4200a1900) /home/luke/go/src/github.com/spf13/cobra/command.go:852 +0x30a github.com/spf13/cobra.(*Command).Execute(0xc4200dbb80, 0x1b19e00, 0x16c2910) /home/luke/go/src/github.com/spf13/cobra/command.go:800 +0x2b main.main() /home/luke/go/src/github.com/NebulousLabs/Sia/cmd/siad/main.go:174 +0x6fe Critical error: accept tcp 127.0.0.1:9980: accept: too many open files in system Please submit a bug report here: https://github.com/NebulousLabs/Sia/issues Shutdown complete.