Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

segfault with go 1.14.16 #2

Open
dzufferey opened this issue Aug 6, 2020 · 0 comments
Open

segfault with go 1.14.16 #2

dzufferey opened this issue Aug 6, 2020 · 0 comments

Comments

@dzufferey
Copy link

When trying to run it with go 1.14.6, I got the following.

$ ./run_paxos.sh 
running multi paxos with 3 servers and a client ...
make: Entering directory '/root/goolong'
make: Nothing to be done for 'all'.
make: Leaving directory '/root/goolong'
Starting.
node: waiting for connections
Starting.
node: waiting for connections
Starting.
node: waiting for connections
Starting.
node: waiting for connections
Replica id: 0. Done connecting.
Done starting.
Starting.
node: waiting for connections
Replica id: 1. Done connecting.
Done starting.
Caught signal; exiting
Starting.
node: waiting for connections
Replica id: 0. Done connecting.
Done starting.
Waiting for connections...
Caught signal; exiting
Caught signal; exiting
Connecting to replicas..
Error connecting to replica 0
Done connecting to 0
Error connecting to replica 1
Done connecting to 1
Error connecting to replica 2
Done connecting to 2
Connected to replicas: readers are [0xc000012300 0xc000012360 0xc0000123c0] .
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x18 pc=0x47351c]

goroutine 1 [running]:
bufio.(*Writer).Flush(0xc00007e1c0, 0x55c180, 0xc00007e1c0)
        /usr/local/go/src/bufio/bufio.go:591 +0x5c
main.main()
        /root/goolong/src/client/client.go:103 +0xc58
DONE !

It still runs fine with go 1.13.14, so I'm currently using that version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant