Skip to content
This repository has been archived by the owner on Jun 27, 2023. It is now read-only.

failing TestGetBlocksSequential test #77

Closed
marten-seemann opened this issue May 17, 2021 · 1 comment · Fixed by #78
Closed

failing TestGetBlocksSequential test #77

marten-seemann opened this issue May 17, 2021 · 1 comment · Fixed by #78
Labels
kind/bug A bug in existing code (including security flaws) need/triage Needs initial labeling and prioritization

Comments

@marten-seemann
Copy link
Member

=== RUN   TestGetBlocksSequential
    blocks_test.go:83: one instance at a time, get blocks concurrently
panic: unaligned 64-bit atomic operation

goroutine 183 [running]:
runtime/internal/atomic.panicUnaligned()
	/opt/hostedtoolcache/go/1.16.4/x64/src/runtime/internal/atomic/unaligned.go:8 +0x2d
runtime/internal/atomic.Xadd64(0xa41715c, 0x1, 0x0, 0xa427d50, 0x7)
	/opt/hostedtoolcache/go/1.16.4/x64/src/runtime/internal/atomic/asm_386.s:107 +0x11
github.com/ipfs/go-bitswap/testnet.(*networkClient).SendMessage(0xa417140, 0x85b407c, 0xa4a6f18, 0xa427dd0, 0x7, 0x85b5fc0, 0xa810740, 0x836cf01, 0x85b12e4)
	/home/runner/go/pkg/mod/github.com/ipfs/go-bitswap@v0.1.8/testnet/virtual.go:187 +0xa0
github.com/ipfs/go-bitswap/testnet.(*messagePasser).SendMsg(0xa801ae0, 0x85b407c, 0xa4a6f18, 0x85b5fc0, 0xa810740, 0x7, 0x85b3a94)
	/home/runner/go/pkg/mod/github.com/ipfs/go-bitswap@v0.1.8/testnet/virtual.go:232 +0x51
github.com/ipfs/go-bitswap/messagequeue.(*MessageQueue).attemptSendAndRecovery(0xa522150, 0x85b5fc0, 0xa810740, 0xa5ef7ac)
	/home/runner/go/pkg/mod/github.com/ipfs/go-bitswap@v0.1.8/messagequeue/messagequeue.go:217 +0x48
github.com/ipfs/go-bitswap/messagequeue.(*MessageQueue).sendMessage(0xa522150)
	/home/runner/go/pkg/mod/github.com/ipfs/go-bitswap@v0.1.8/messagequeue/messagequeue.go:198 +0x9e
github.com/ipfs/go-bitswap/messagequeue.(*MessageQueue).runQueue(0xa522150)
	/home/runner/go/pkg/mod/github.com/ipfs/go-bitswap@v0.1.8/messagequeue/messagequeue.go:108 +0xd9
created by github.com/ipfs/go-bitswap/messagequeue.(*MessageQueue).Startup
	/home/runner/go/pkg/mod/github.com/ipfs/go-bitswap@v0.1.8/messagequeue/messagequeue.go:94 +0x83
FAIL	github.com/ipfs/go-blockservice/test	0.010s
FAIL
@marten-seemann marten-seemann added kind/bug A bug in existing code (including security flaws) need/triage Needs initial labeling and prioritization labels May 17, 2021
@welcome
Copy link

welcome bot commented May 17, 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.

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

Successfully merging a pull request may close this issue.

1 participant