Anytype helper crashed

Describe the bug
Anytype crashes when started with the notice “Anytype helper crashed”

To Reproduce

  1. Start Anytype (yeah that’s it)

Expected behavior
The program should start normally

System Information:

  • OS: Windows 10
  • Device Manufacturer/Model: Custom build (can provide more info if needed)
  • Anytype Version: 0.27.0

Additional context
I already reported the crash to dev@anytype.io, I’m adding a topic if anyone happens to face this too.
Note that this is very similar to: Anytype helper crashing but not identical.

Crash logs
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x0 addr=0x0 pc=0x1849df9]

goroutine 459 [running]:
github.com/libp2p/go-libp2p-peerstore/pstoreds.(*addrsRecord).flush(0xc001be61b0, {0x26af103db98, 0xc000081d00})
	/Users/runner/go/pkg/mod/github.com/libp2p/go-libp2p-peerstore@v0.2.7/pstoreds/addr_book.go:51 +0x39
github.com/libp2p/go-libp2p-peerstore/pstoreds.(*dsAddrBook).setAddrs(0xc0005ef620, {0xc000046b70, 0x22}, {0xc000111b80, 0x1, 0x4}, 0x1bf08eb000, 0x1, 
0xc0)
	/Users/runner/go/pkg/mod/github.com/libp2p/go-libp2p-peerstore@v0.2.7/pstoreds/addr_book.go:520 +0x3b8
github.com/libp2p/go-libp2p-peerstore/pstoreds.(*dsAddrBook).AddAddrs(0xc000657e40, {0xc000046b70, 0x22}, {0xc0001113b0, 0xc030226510, 0xf51005}, 0x1bf08eb000)
	/Users/runner/go/pkg/mod/github.com/libp2p/go-libp2p-peerstore@v0.2.7/pstoreds/addr_book.go:262 +0x85
github.com/libp2p/go-libp2p/p2p/host/routed.(*RoutedHost).Connect(0xc00157c7a0, {0x2344d10, 0xc00118c700}, {{0xc000046b70, 0x22}, {0xc0001113b0, 0x1, 0x1}})
	/Users/runner/go/pkg/mod/github.com/libp2p/go-libp2p@v0.14.3/p2p/host/routed/routed.go:56 +0x111
github.com/hsanjuan/ipfs-lite.(*Peer).Bootstrap.func1({{0xc000046b70, 0x22}, {0xc0001113b0, 0x1, 0x1}})
	/Users/runner/go/pkg/mod/github.com/anytypeio/ipfs-lite@v1.1.20-0.20210428105030-fc5b3446abae/ipfs.go:209 +0xdc
created by github.com/hsanjuan/ipfs-lite.(*Peer).Bootstrap
	/Users/runner/go/pkg/mod/github.com/anytypeio/ipfs-lite@v1.1.20-0.20210428105030-fc5b3446abae/ipfs.go:207 +0x3ff

1 Like

Hi, reading trough another topic (Cannot login to AnyType 0.27.0 Windows Client) I found out about the data stored in the %appdata%/roaming folder.

Deleting the anytype2 folder solved the issue.

Sorry if this won’t help much in solving the issue at its root, I’ll update this topic if anything happens again.

1 Like

We know why this happens and next release should fix this.

2 Likes

This topic was automatically closed after 5 days. New replies are no longer allowed.