"Anytype Helper Crashed" after updating to 0.36.0

WHAT IS THE BUG
When anytype is opened, it hangs on “Entering the Account…” and then pops up “Anytype Helper Crashed”.

HOW TO REPRODUCE IT

  1. Open Anytype
  2. Bug!

THE EXPECTED BEHAVIOR
It… should operate. :slight_smile:

ADDITIONAL CONTEXT
crash_2023-11-21T15_51_21.log (3.7 KB)
Crash log above.

Fully uninstalling and reinstalling seems to have fixed it; I’m reporting anyway because it definitely shouldn’t be happening that way.

SYSTEM INFORMATION

  • Device:
    Custom Built PC

  • OS:
    Windows 10

  • Anytype Version:
    v.0.36.0

  • Technical Information:
    Can’t access this; crashes before it’s an option.

I have the same issue on an Apple MacBook Pro, M1, running latest version of MacOS, and V.036.0. I’ve been unable to get it working despite uninstall / reinstall.

Crash log attached.

crash_2023-11-22T18_55_10.log (3.9 KB)

1 Like

despite uninstall / reinstall

After using AppZapper to uninstall completely, including

  • cache files in ~/Library/caches/
  • .plist file in ~/Library/Preferences

I was able to reinstall and get it working correctly.

Whenever I try to open AnyType I get the error:

This is the crash log:
panic: runtime error: index out of range [3] with length 0 [recovered]
panic:
== Recovering from initIndex crash ==
File Info: [ID: 150, Size: 1613285, Zeros: 1613285]
isEnrypted: false checksumLen: 0 checksum: indexLen: 0 index:
== Recovered ==

goroutine 39 [running]:
github.com/dgraph-io/badger/v3/table.(*Table).initBiggestAndSmallest.func1.1()
/Users/runner/go/pkg/mod/github.com/dgraph-io/badger/v3@v3.2103.5/table/table.go:351 +0xa8
github.com/dgraph-io/badger/v3/table.(*Table).initBiggestAndSmallest.func1()
/Users/runner/go/pkg/mod/github.com/dgraph-io/badger/v3@v3.2103.5/table/table.go:397 +0xc2
panic({0x7ff66a1fe8e0, 0xc00031a078})
/Users/runner/hostedtoolcache/go/1.20.10/x64/src/runtime/panic.go:884 +0x213
github.com/google/flatbuffers/go.GetInt32(...)
/Users/runner/go/pkg/mod/github.com/google/flatbuffers@v1.12.1/go/encode.go:85
github.com/google/flatbuffers/go.GetUOffsetT(...)
/Users/runner/go/pkg/mod/github.com/google/flatbuffers@v1.12.1/go/encode.go:121
github.com/dgraph-io/badger/v3/fb.GetRootAsTableIndex(...)
/Users/runner/go/pkg/mod/github.com/dgraph-io/badger/v3@v3.2103.5/fb/TableIndex.go:14
github.com/dgraph-io/badger/v3/table.(*Table).readTableIndex(0xc000822180)
/Users/runner/go/pkg/mod/github.com/dgraph-io/badger/v3@v3.2103.5/table/table.go:707 +0x15e
github.com/dgraph-io/badger/v3/table.(*Table).initIndex(0xc000822180)
/Users/runner/go/pkg/mod/github.com/dgraph-io/badger/v3@v3.2103.5/table/table.go:462 +0x19d
github.com/dgraph-io/badger/v3/table.(*Table).initBiggestAndSmallest(0xc000822180)
/Users/runner/go/pkg/mod/github.com/dgraph-io/badger/v3@v3.2103.5/table/table.go:401 +0x7f
github.com/dgraph-io/badger/v3/table.OpenTable(0xc000ac22c0, {0x0, 0x1, 0x200000, 0x0, 0x0, 0x3f847ae147ae147b, 0x1000, 0x0, 0x0,
…})
/Users/runner/go/pkg/mod/github.com/dgraph-io/badger/v3@v3.2103.5/table/table.go:308 +0x272
github.com/dgraph-io/badger/v3.newLevelsController.func1({0xc0001580e0, 0x72}, {0x20?, 0xc000052480?, 0x889fb8?})
/Users/runner/go/pkg/mod/github.com/dgraph-io/badger/v3@v3.2103.5/levels.go:150 +0x1f9
created by github.com/dgraph-io/badger/v3.newLevelsController
/Users/runner/go/pkg/mod/github.com/dgraph-io/badger/v3@v3.2103.5/levels.go:129 +0x585

Anyone able to help by chance please?

1 Like

This report has been added to our issue tracker and received by the Development Team.

3 Likes

I am on Windows 11. Reinstalled, and it works again. (breathes with relief!)

@thisisAlex Did you have to uninstall?

I tried re-installing right over top, but that did not help.

I don’t want to lose my information or setup by uninstalling and reinstalling.

But perhaps that is a false concern, if it is backed up on the 1GB storage? (I am uncertain how often it sync’s though). I am right now unable to backup, since I cannot even get into the app.

I have also reinstalled the app and it did not help. I have Linux Debian. Here comes the log file
crash_2023-11-24T23_39_09.log (3.7 KB)

Important: I have installed the earlier version and the newest one by using the *.DEB file.

It will happen again if you reboot while anytype is open, this is my case, windows 11.

Good to know. Better shut it off first, then (I tend to shut everything off, but last time was a blue screen of death).

I have the same problem on Windows 11 23H2. Crash-log seems to be similar to other answers here.

panic: runtime error: index out of range [3] with length 0 [recovered]
	panic: 
== Recovering from initIndex crash ==
File Info: [ID: 1, Size: 15127157, Zeros: 8821]
isEnrypted: false checksumLen: 0 checksum:  indexLen: 0 index: [] 
== Recovered ==


goroutine 133 [running]:
github.com/dgraph-io/badger/v3/table.(*Table).initBiggestAndSmallest.func1.1()
	/Users/runner/go/pkg/mod/github.com/dgraph-io/badger/v3@v3.2103.5/table/table.go:351 +0xa8
github.com/dgraph-io/badger/v3/table.(*Table).initBiggestAndSmallest.func1()
	/Users/runner/go/pkg/mod/github.com/dgraph-io/badger/v3@v3.2103.5/table/table.go:397 +0xc2
panic({0x7ff6e51ee8e0, 0xc00ae66000})
	/Users/runner/hostedtoolcache/go/1.20.10/x64/src/runtime/panic.go:
884 +0x213
github.com/google/flatbuffers/go.GetInt32(...)
	/Users/runner/go/pkg/mod/github.com/google/flatbuffers@v1.12.1/go/encode.go:85
github.com/google/flatbuffers/go.GetUOffsetT(...)
	/Users/runner/go/pkg/mod/github.com/google/flatbuffers@v1.12.1/go/encode.go:121
github.com/dgraph-io/badger/v3/fb.GetRootAsTableIndex(...)
	/Users/runner/go/pkg/mod/github.com/dgraph-io/badger/v3@v3.2103.5/fb/TableIndex.go:14
github.com/dgraph-io/badger/v3/table.(*Table).readTableIndex(0xc0000003c0)
	/Users/runner/go/pkg/mod/github.com/dgraph-io/badger/v3@v3.2103.5/table/table.go:707 +0x15e
github.com/dgraph-io/badger/v3/table.(*Table).initIndex(0xc0000003c0)
	/Users/runner/go/pkg/mod/github.com/dgraph-io/badger/v3@v3.2103.5/table/table.go:462 +0x19d
github.com/dgraph-io/badger/v3/table.(*Table).initBiggestAndSmallest(0xc0000003c0)
	/Users/runner/go/pkg/mod/github.com/dgraph-io/badger/v3@v3.2103.5/table/table.go:401 +0x7f
github.com/dgraph-io/badger/v3/table.OpenTable(0xc000c3a040, {0x0, 0x1, 0x200000, 0x0, 0x0, 0x3f847ae147ae147b, 0x1000, 0x0, 0x0, ...})
	/Users/runner/go/pkg/mod/github.com/dgraph-io/badger/v3@v3.2103.5/table/table.go:308 +0x272
github.com/dgraph-io/badger/v3.newLevelsController.func1({0xc00a908000, 0x72}, {0x0?, 0x400000091597?, 0x5?})
	/Users/runner/go/pkg/mod/github.com/dgraph-io/badger/v3@v3.2103.5/levels.go:150 +0x1f9
created by github.com/dgraph-io/badger/v3.newLevelsController
	/Users/runner/go/pkg/mod/github.com/dgraph-io/badger/v3@v3.2103.5/levels.go:129 +0x585

Same situation here: “Anytype Helper Crashed” on Windows 10 and 11.
crash_2023-11-27T08_12_25.log (2.2 KB)

Edit: a reinstall with registry cleanup helped a lot.

1 Like

@kayovas May I ask What registry items did you have to clean up ? I really need to get my anytype working again.

Thank you :slight_smile:

Does anyone have any suggestions on how I can backup my data and ‘re-import’ it if I want to uninstall Anytype and then Reinstall it?

I cannot launch Anytype at this point, so I cannot export.

I believe Anytype would have the data stored by the normal sync to the 1GB storage provided by Anytype, and I do have my catchphrase, would that be enough to allow me to ‘re-sync’ all my data and settings?

Or is there more nuance to it all? I did make copies of my appdata /local and appdata/roaming on a win11 machine if that makes any difference.

Appreciate any insight or feed back from anyone.

Thanks in advance!

Anytype automatically backups data to the Backup node

Thanks @PavloUA , I thought that was the case, but I’ve never had to ‘recover’ before. Really hoping I don’t loose any data. Wish me luck!

Appreciate the feedback.

For anyone else running into this, I ended up uninstalling, nrebooted the system, and reinstalled utilizing my security phrase to login.

Data is there and all is good.

3 Likes

I use Wise Program Uninstaller and it made the miracle. So, I can’t help you.

A workaround could be to install Anytype and to uninstall it with WPU.

2 Likes

Same issue. Reinstall helps but the issue came back after 2 days.

1 Like

Close anytype completely before shutting down your pc to prevent the issue.