Cannot open item

WHAT IS THE BUG

Clicking on the item name Anytype goes on the main screen without opening it.
This happens from the search, the sets or the graph page. Trying to change the item name on the set list does nothing.
If I try to login on a different computer the app crashes, tried both on a Linux and a Windows system.

HOW TO REPRODUCE IT

I was unable to reproduce it, but I think that my object got somehow corrupted and had broken both the single object on my main pc and the synchronization.

THE EXPECTED BEHAVIOR

Clicking on the item link should open it.

SYSTEM INFORMATIONS

  • OS:
    Windows 10, Manjaro 22.0.0
  • Anytype Version:
    Reproduced in 0.29.0 (originally found in 0.28.0)

ADDITIONAL CONTEXT

On the graph page the item info shows like this:
image

Hi @null4ble, welcome and thanks for posting your issue. Would you be able to make a screen capture (video) of this issue? It sounds like something is wrong with your account…

Hi,
first of all thank you for the help.

This is the recording of the bug:

This is the error log for the other installation i tried:

panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x28 pc=0x1c3902a]

goroutine 17170 [running]:
github.com/anytypeio/go-anytype-middleware/core/block/editor/table.destructureDivs(0xc00e21ed80, {0xc00b329d88, 0x18})
	/Users/runner/work/go-anytype-middleware/go-anytype-middleware/core/block/editor/table/table.go:853 +0xaa
github.com/anytypeio/go-anytype-middleware/core/block/editor/table.NewTable(0xc00e21ed80, {0xc00ba773c8, 0x18})
	/Users/runner/work/go-anytype-middleware/go-anytype-middleware/core/block/editor/table/table.go:841 +0x354

github.com/anytypeio/go-anytype-middleware/core/block/editor/table.(*block).Normalize(0xc010771fe0, 0x2aa75c0)
	/Users/runner/work/go-anytype-middleware/go-anytype-middleware/core/block/editor/table/block.go:45 +0x53
github.com/anytypeio/go-anytype-middleware/core/block/editor/state.(*State).normalize(0xc00e21ed80, 0x0)
	/Users/runner/work/go-anytype-middleware/go-anytype-middleware/core/block/editor/state/normalize.go:45 +0x188
github.com/anytypeio/go-anytype-middleware/core/block/editor/state.(*State).Normalize(0x0, 0xd8)
	/Users/runner/work/go-anytype-middleware/go-anytype-middleware/core/block/editor/state/normalize.go:25 +0x34
github.com/anytypeio/go-anytype-middleware/core/block/source.(*source).buildState(0xc00c322750)
	/Users/runner/work/go-anytype-middleware/go-anytype-middleware/core/block/source/source.go:327 +0x30e
github.com/anytypeio/go-anytype-middleware/core/block/source.(*source).readDoc(0xc00c322750, {0x2a9af90, 0xc00c4bf100}, {0x2a9b348, 0xc002e02500}, 0x0)
	/Users/runner/work/go-anytype-middleware/go-anytype-middleware/core/block/source/source.go:289 +0x9c5
github.com/anytypeio/go-anytype-middleware/core/block/source.(*source).ReadDoc(0x203003, {0x2a9af90, 0xc00c4bf100}, {0x2a9b348, 0xc002e02500}, 0x8)
	/Users/runner/work/go-anytype-middleware/go-anytype-middleware/core/block/source/source.go:170 +0x2d
github.com/anytypeio/go-anytype-middleware/core/block/editor/smartblock.(*smartBlock).Init(0xc002e02500, 0xc00ddc46c0)
	/Users/runner/work/go-anytype-middleware/go-anytype-middleware/core/block/editor/smartblock/smartblock.go:222 +0x7f
github.com/anytypeio/go-anytype-middleware/core/block/editor.(*Page).Init(0xc00df654d0, 0xc00ddc46c0)
	/Users/runner/work/go-anytype-middleware/go-anytype-middleware/core/block/editor/page.go:58 +0xf9
github.com/anytypeio/go-anytype-middleware/core/block.(*service).newSmartBlock(0xc002eb0c00, {0xc00fb5e300, 0x203004}, 0xc00ddc46c0)
	/Users/runner/work/go-anytype-middleware/go-anytype-middleware/core/block/service.go:1181 +0xd82
github.com/anytypeio/go-anytype-middleware/core/block.(*service).loadSmartblock(0x100000000406238, {0x2a9af90, 0xc00c4bf100}, {0xc00fb5e300, 0x39})
	/Users/runner/work/go-anytype-middleware/go-anytype-middleware/core/block/service.go:1592 +0x8d
github.com/anytypeio/go-anytype-middleware/util/ocache.(*oCache).load(0xc0000a13b0, {0x2a9af90, 0xc00c4bf100}, {0xc00fb5e300, 0x39}, 0xc010d27680)
	/Users/runner/work/go-anytype-middleware/go-anytype-middleware/util/ocache/ocache.go:177 +0x93
github.com/anytypeio/go-anytype-middleware/util/ocache.(*oCache).Get(0xc0000a13b0, {0x2a9b038, 0xc002b19650}, {0xc00fb5e300, 0xc00c21bdd8})
	/Users/runner/work/go-anytype-middleware/go-anytype-middleware/util/ocache/ocache.go:158 +0x39a
github.com/anytypeio/go-anytype-middleware/core/block.(*service).getSmartblock(0xc00c21be18, {0x2a9b038, 0xc002b19650}, {0xc00fb5e300, 0x201d440})
	/Users/runner/work/go-anytype-middleware/go-anytype-middleware/core/block/service.go:1601 +0x38
github.com/anytypeio/go-anytype-middleware/core/block.(*service).pickBlock(0xc002eb0c00, {0x2a9b038, 0xc002b19650}, {0xc00fb5e300, 0x39})
	/Users/runner/work/go-anytype-middleware/go-anytype-middleware/core/block/service.go:1113 +0x3b
github.com/anytypeio/go-anytype-middleware/core/block.(*service).Do(0x32, {0xc00fb5e300, 0x39}, 0x276f038)
	/Users/runner/work/go-anytype-middleware/go-anytype-middleware/core/block/service.go:1374 +0xa5

github.com/anytypeio/go-anytype-middleware/core/block.(*service).Wakeup(0xc01190e600, {0xc00fb5e300, 0x32})
	/Users/runner/work/go-anytype-middleware/go-anytype-middleware/core/block/editor.go:723 +0x25
github.com/anytypeio/go-anytype-middleware/core/block/doc.(*listener).wakeupLoop(0xc0000a1130)
	/Users/runner/work/go-anytype-middleware/go-anytype-middleware/core/block/doc/service.go:109 +0x222
created by github.com/anytypeio/go-anytype-middleware/core/block/doc.(*listener).Run
	/Users/runner/work/go-anytype-middleware/go-anytype-middleware/core/block/doc/service.go:66 +0x5b
1 Like

That’s odd… I’ll forward it to the team!

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

Hi, there are some new about this topic? Now I can’t access even my main installation because it crash on startup.
Thank you

Still crash on 0.29.0:

failed to write to gelf: bad write (0/374)

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

goroutine 15995 [running]:
github.com/anytypeio/go-anytype-middleware/core/block/editor/table.normalizeRow(0xc011a1d9e0
, {0x0, 0x0})
	/Users/runner/work/go-anytype-middleware/go-anytype-middleware/core/block/editor/table/block.go:185 +0x41
github.com/anytypeio/go-anytype-middleware/core/block/editor/table.(*block).Normalize(0xc011a43420, 0x2e42010)
	/Users/runner/work/go-anytype-middleware/go-anytype-middleware/core/block/editor/table/block.go:58 +0x2d8
github.com/anytypeio/go-anytype-middleware/core/block/editor/state.(*State).normalize(0xc011a1d9e0, 0x0)
	/Users/runner/work/go-anytype-middleware/go-anytype-middleware/core/block/editor/state/normalize.go:45 +0x188
github.com/anytypeio/go-anytype-middleware/core/block/editor/state.(*State).Normalize(0x0, 0x18)
	/Users/runner/work/go-anytype-middleware/go-anytype-middleware/core/block/editor/state/normalize.go:25 +0x34
github.com/anytypeio/go-anytype-middleware/core/block/source.(*source).buildState(0xc00f70ef70)
	/Users/runner/work/go-anytype-middleware/go-anytype-middleware/core/block/source/source.go:327 +0x30e
github.com/anytypeio/go-anytype-middleware/core/block/source.(*source).readDoc(0xc00f70ef70, {0x2e35870, 0xc00faa1580}, {0x2e35c28, 0xc01095c000}, 0x0)
	/Users/runner/work/go-anytype-middleware/go-anytype-middleware/core/block/source/source.go:289 +0x9c5
github.com/anytypeio/go-anytype-middleware/core/block/source.(*source).ReadDoc(0xc01092b560, {0x2e35870, 0xc00faa1580}, {0x2e35c28, 0xc01095c000}, 0x8)
	/Users/runner/work/go-anytype-middleware/go-anytype-middleware/core/block/source/source.go:170 +0x2d
github.com/anytypeio/go-anytype-middleware/core/block/editor/smartblock.(*smartBlock).Init(0xc01095c000, 0xc01086fb00)
	/Users/runner/work/go-anytype-middleware/go-anytype-middleware/core/block/editor/smartblock/smartblock.go:222 +0x7f
github.com/anytypeio/go-anytype-middleware/core/block/editor.(*Page).Init(0xc01092b560, 0xc01086fb00)
	/Users/runner/work/go-anytype-middleware/go-anytype-middleware/core/block/editor/page.go:58 +0xf9
github.com/anytypeio/go-anytype-middleware/core/block.(*service).newSmartBlock(0xc0009c7380, {0xc00cdedb40, 0x2da7a26}, 0xc01086fb00)
	/Users/runner/work/go-anytype-middleware/go-anytype-middleware/core/block/service.go:1185 +0xd82
github.com/anytypeio/go-anytype-middleware/core/block.(*service).loadSmartblock(0x1000000007a659f, {0x2e35870, 0xc00faa1580}, {0xc00cdedb40, 0x39})
	/Users/runner/work/go-anytype-middleware/go-anytype-middleware/core/block/service.go:1596 +0x8d
github.com/anytypeio/go-anytype-middleware/util/ocache.(*oCache).load(0xc000096ff0, {0x2e35870, 0xc00faa1580}, {0xc00cdedb40, 0x39}, 0xc01087d4a0)
	/Users/runner/work/go-anytype-middleware/go-anytype-middleware/util/ocache/ocache.go:177 +0x93
github.com/anytypeio/go-anytype-middleware/util/ocache.(*oCache).Get(0xc000096ff0, {0x2e35918, 0xc00c3abe90}, {0xc00cdedb40, 0xc0100f1dd8})
	/Users/runner/work/go-anytype-middleware/go-anytype-middleware/util/ocache/ocache.go:158 +0x39a
github.com/anytypeio/go-anytype-middleware/core/block.(*service).getSmartblock(0xc0100f1e18, {0x2e35918, 0xc00c3abe90}, {0xc00cdedb40, 0x23b4220})
	/Users/runner/work/go-anytype-middleware/go-anytype-middleware/core/block/service.go:1605 +0x38
github.com/anytypeio/go-anytype-middleware/core/block.(*service).pickBlock(0xc0009c7380, {0x2e35918, 0xc00c3abe90}, {0xc00cdedb40, 0x39})
	/Users/runner/work/go-anytype-middleware/go-anytype-middleware/core/block/service.go:1117 +0x3b
github.com/anytypeio/go-anytype-middleware/core/block.(*service).Do(0x32, {0xc00cdedb40, 0x39}, 0x2b02330)
	/Users/runner/work/go-anytype-middleware/go-anytype-middleware/core/block/service.go:1378 +0xa5
github.com/anytypeio/go-anytype-middleware/core/block.(*service).Wakeup(0xc012767940, {0xc00cdedb40, 0x32})
	/Users/runner/work/go-anytype-middleware/go-anytype-middleware/core/block/editor.go:723 +0x25
github.com/anytypeio/go-anytype-middleware/core/block/doc.(*listener).wakeupLoop(0xc000096c30)
	/Users/runner/work/go-anytype-middleware/go-anytype-middleware/core/block/doc/service.go:109 +0x222
created by github.com/anytypeio/go-anytype-middleware/core/block/doc.(*listener).Run
	/Users/runner/work/go-anytype-middleware/go-anytype-middleware/core/block/doc/service.go:66 +0x5b

Should be fixed in the next release

This issue has been fixed by the Development Team and will be included in an upcoming release.

Great, I will try it as soon as the new version is released