Skip to content
New issue

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

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

Already on GitHub? # to your account

Daemon Crash: Unexpected Fault #1803

Closed
stephen304 opened this issue Oct 6, 2015 · 6 comments
Closed

Daemon Crash: Unexpected Fault #1803

stephen304 opened this issue Oct 6, 2015 · 6 comments
Labels
kind/bug A bug in existing code (including security flaws) topic/race Topic race

Comments

@stephen304
Copy link

Log is here: https://gist.github.com/Stephen304/0f393e85e9af3401a53b

I installed via the go-ipfs-git arch package from the AUR.
This issue seems very very consistent as it always crashes after 1 minute.

ipfs daemon  0.24s user 0.06s system 0% cpu 1:00.19 total
ipfs daemon  0.33s user 0.15s system 0% cpu 1:00.31 total
ipfs daemon  0.17s user 0.06s system 0% cpu 1:00.19 total
ipfs daemon  0.18s user 0.07s system 0% cpu 1:00.31 total
ipfs daemon  0.18s user 0.07s system 0% cpu 1:00.16 total
ipfs daemon  0.17s user 0.07s system 0% cpu 1:00.16 total

Edit: I also tried uninstalling the package, ensuring it wasn't installed with which, and installing via go get. That also produced the exact same behavior.

@jbenet
Copy link
Member

jbenet commented Oct 8, 2015

looks like a data race

@jbenet jbenet added topic/race Topic race kind/bug A bug in existing code (including security flaws) labels Oct 8, 2015
@whyrusleeping
Copy link
Member

@stephen304 could we get some system information? 64 or 32 bit, x86* or arm? Which version of go do you have installed?

@stephen304
Copy link
Author

HP Chromebook 14 (x86), arch linux 64-bit go version devel +510f1db Mon Jul 20 16:31:37 2015 +0000 linux/amd64

@stephen304
Copy link
Author

So this is interesting: The prebuilt binary works fine, but the prebuilt is the same version as the one from go get. The binaries are different though:

stephen@Jupiter ~ (git)-[master] % ipfs version
ipfs version 0.3.8-dev
stephen@Jupiter ~ (git)-[master] % cd Downloads/ipfs
stephen@Jupiter ~/Downloads/ipfs (git)-[master] % ./ipfs version
ipfs version 0.3.8-dev
stephen@Jupiter ~/Downloads/ipfs (git)-[master] % md5sum /bin/ipfs
0e604b4d497977362cba51e4378e17a2  /bin/ipfs
stephen@Jupiter ~/Downloads/ipfs (git)-[master] % md5sum ipfs
8abaa28f38ef78ad130a3836da3fbbcb  ipfs

@jbenet
Copy link
Member

jbenet commented Oct 18, 2015

@whyrusleeping this was likley introduced recently? wonder if it's still in master.

@whyrusleeping
Copy link
Member

This was a go bug (the ipfs daemon in question was built with a development version)

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
kind/bug A bug in existing code (including security flaws) topic/race Topic race
Projects
None yet
Development

No branches or pull requests

3 participants