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

Ipfs Crashes with a stacktrace #7853

Closed
YugankRastogi opened this issue Jan 8, 2021 · 3 comments
Closed

Ipfs Crashes with a stacktrace #7853

YugankRastogi opened this issue Jan 8, 2021 · 3 comments
Labels
kind/bug A bug in existing code (including security flaws) need/triage Needs initial labeling and prioritization

Comments

@YugankRastogi
Copy link

Version information:

go-ipfs version: 0.8.0-dev-931ad5b00-dirty
Repo version: 10
System version: amd64/windows
Golang version: go1.15.6

Description:

IPFS node crashes on a private network occasionally

Stacktrace:
github.com/libp2p/go-libp2p-pnet.(*pskConn).Read(0xc0086ab5c0, 0xc0057c8a88, 0x2, 0x2, 0xc003095b30, 0xcbc08c, 0x1d8da80)
pkg/mod/github.com/libp2p/go-libp2p-pnet@v0.2.0/psk_conn.go:43 +0x24c
io.ReadAtLeast(0x1d1fd51d710, 0xc0086ab5c0, 0xc0057c8a88, 0x2, 0x2, 0x2, 0x1000, 0x0, 0xc003095ba8)
C:/Go/src/io/io.go:314 +0x8e
io.ReadFull(...)
C:/Go/src/io/io.go:333
github.com/libp2p/go-libp2p-noise.(*secureSession).readNextInsecureMsgLen(0xc0057c8a00, 0x0, 0xc003095be8, 0xd19bfe)
pkg/mod/github.com/libp2p/go-libp2p-noise@v0.1.1/rw.go:134 +0x93
github.com/libp2p/go-libp2p-noise.(*secureSession).Read(0xc0057c8a00, 0xc000a2e000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
pkg/mod/github.com/libp2p/go-libp2p-noise@v0.1.1/rw.go:53 +0x205
bufio.(*Reader).fill(0xc003df4120)
C:/Go/src/bufio/bufio.go:101 +0x10a
bufio.(*Reader).ReadByte(0xc003df4120, 0xc0054ecdc8, 0xd09c1f0866910, 0x0)
C:/Go/src/bufio/bufio.go:253 +0x45
encoding/binary.ReadUvarint(0x2340880, 0xc003df4120, 0xd1f332, 0xc0054ecdc8, 0x1)
C:/Go/src/encoding/binary/varint.go:110 +0x8d
github.com/libp2p/go-mplex.(*Multiplex).readNextHeader(0xc008496d00, 0xc003095d01, 0x4, 0x0, 0x0)
pkg/mod/github.com/libp2p/go-mplex@v0.1.2/multiplex.go:548 +0x46
github.com/libp2p/go-mplex.(*Multiplex).handleIncoming(0xc008496d00)
pkg/mod/github.com/libp2p/go-mplex@v0.1.2/multiplex.go:367 +0xef
created by github.com/libp2p/go-mplex.NewMultiplex
pkg/mod/github.com/libp2p/go-mplex@v0.1.2/multiplex.go:105 +0x212

@YugankRastogi YugankRastogi added kind/bug A bug in existing code (including security flaws) need/triage Needs initial labeling and prioritization labels Jan 8, 2021
@welcome
Copy link

welcome bot commented Jan 8, 2021

Thank you for submitting your first issue to this repository! A maintainer will be here shortly to triage and review.
In the meantime, please double-check that you have provided all the necessary information to make this process easy! Any information that can help save additional round trips is useful! We currently aim to give initial feedback within two business days. If this does not happen, feel free to leave a comment.
Please keep an eye on how this issue will be labeled, as labels give an overview of priorities, assignments and additional actions requested by the maintainers:

  • "Priority" labels will show how urgent this is for the team.
  • "Status" labels will show if this is ready to be worked on, blocked, or in progress.
  • "Need" labels will indicate if additional input or analysis is required.

Finally, remember to use https://discuss.ipfs.io if you just need general support.

@jacobheun
Copy link
Contributor

How did you generate the private keys and can you provide any other dumps or stack traces with this? The line in error on the stack trace isn't sufficient for figuring out what's going on here.

@Stebalien
Copy link
Member

This is a duplicate of #6802

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug A bug in existing code (including security flaws) need/triage Needs initial labeling and prioritization
Projects
None yet
Development

No branches or pull requests

3 participants