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

Mail crashes on startup on darwin desktop #358

Open
gedw99 opened this issue Oct 23, 2024 · 1 comment
Open

Mail crashes on startup on darwin desktop #358

gedw99 opened this issue Oct 23, 2024 · 1 comment
Labels
bug Something isn't working correctly

Comments

@gedw99
Copy link

gedw99 commented Oct 23, 2024

Describe the bug

crashes on startup for mail app.

How to reproduce

go run mail/cmd/mail/.

Example code

none

Relevant output

go version
go version go1.23.2 darwin/arm64

Platform: MacOS
System platform: MacOS
App version: dev
Core version: dev
Time: 2024-10-23 18:58:49

panic: reflect.Value.Addr of unaddressable value

goroutine 1 [running, locked to thread]:
runtime/debug.Stack()
	/opt/homebrew/opt/go/libexec/src/runtime/debug/stack.go:26 +0x64
cogentcore.org/core/system.HandleRecoverBase({0x1039ebbe0, 0x103bcdfd0})
	/Users/apple/workspace/go/pkg/mod/cogentcore.org/[email protected]/system/recover.go:50 +0x38
cogentcore.org/core/core.handleRecover({0x1039ebbe0, 0x103bcdfd0})
	/Users/apple/workspace/go/pkg/mod/cogentcore.org/[email protected]/core/recover.go:37 +0x4c
cogentcore.org/core/core.(*Stage).run.func1()
	/Users/apple/workspace/go/pkg/mod/cogentcore.org/[email protected]/core/stage.go:290 +0x34
panic({0x1039ebbe0?, 0x103bcdfd0?})
	/opt/homebrew/opt/go/libexec/src/runtime/panic.go:785 +0x124
reflect.Value.Addr({0x103a74680?, 0x1400020c300?, 0x14000051528?})
	/opt/homebrew/opt/go/libexec/src/reflect/value.go:268 +0x64
cogentcore.org/core/core.(*ListBase).MakeRow.func1()
	/Users/apple/workspace/go/pkg/mod/cogentcore.org/[email protected]/core/list.go:600 +0x28
cogentcore.org/core/core.(*ListBase).MakeRow.AddNew[...].func3()
	/Users/apple/workspace/go/pkg/mod/cogentcore.org/[email protected]/tree/plan.go:161 +0x24
cogentcore.org/core/tree.(*Plan).Update.func2({0x103a48a80?, 0x0?}, 0x140006885c0?)
	/Users/apple/workspace/go/pkg/mod/cogentcore.org/[email protected]/tree/plan.go:234 +0x40
cogentcore.org/core/base/plan.Update[...](0x14000321838, 0x4, 0x14000051988, 0x14000051978, 0x14000051958, 0x103bca800)
	/Users/apple/workspace/go/pkg/mod/cogentcore.org/[email protected]/base/plan/update.go:72 +0x72c
cogentcore.org/core/tree.(*Plan).Update(0x140004cabe0, {0x103be32e0, 0x14000321808})
	/Users/apple/workspace/go/pkg/mod/cogentcore.org/[email protected]/tree/plan.go:229 +0xec
cogentcore.org/core/tree.(*NodeBase).UpdateFromMake(0x14000321808)
	/Users/apple/workspace/go/pkg/mod/cogentcore.org/[email protected]/tree/plan.go:106 +0x50
cogentcore.org/core/core.(*WidgetBase).UpdateWidget.(*NodeBase).RunUpdaters.func1({0x14000400340, 0x1029dc510?, 0x103b24ca0?})
	/Users/apple/workspace/go/pkg/mod/cogentcore.org/[email protected]/tree/plan.go:115 +0x34
cogentcore.org/core/base/tiered.(*Tiered[...]).Do(0x1029d6cb0, 0x103bca3f0?)
	/Users/apple/workspace/go/pkg/mod/cogentcore.org/[email protected]/base/tiered/tiered.go:30 +0x5c
cogentcore.org/core/tree.(*NodeBase).RunUpdaters(...)
	/Users/apple/workspace/go/pkg/mod/cogentcore.org/[email protected]/tree/plan.go:113
cogentcore.org/core/core.(*WidgetBase).UpdateWidget(0x14000321808)
	/Users/apple/workspace/go/pkg/mod/cogentcore.org/[email protected]/core/update.go:25 +0x50
cogentcore.org/core/core.(*WidgetBase).UpdateTree.func1({0x104441850?, 0x103ba0880?}, 0x14000051c20?)
	/Users/apple/workspace/go/pkg/mod/cogentcore.org/[email protected]/core/update.go:33 +0x20
cogentcore.org/core/core.(*WidgetBase).UpdateTree.(*WidgetBase).WidgetWalkDown.func2({0x103be31a0, 0x14000321808})
	/Users/apple/workspace/go/pkg/mod/cogentcore.org/[email protected]/core/widget.go:467 +0xa8
cogentcore.org/core/tree.(*NodeBase).WalkDown(0x14000232888, 0x140002e74b0)
	/Users/apple/workspace/go/pkg/mod/cogentcore.org/[email protected]/tree/nodebase.go:500 +0xf0
cogentcore.org/core/core.(*WidgetBase).WidgetWalkDown(...)
	/Users/apple/workspace/go/pkg/mod/cogentcore.org/[email protected]/core/widget.go:465
cogentcore.org/core/core.(*WidgetBase).UpdateTree(0x14000232888)
	/Users/apple/workspace/go/pkg/mod/cogentcore.org/[email protected]/core/update.go:32 +0x5c
cogentcore.org/core/core.(*Scene).updateScene(0x14000232888)
	/Users/apple/workspace/go/pkg/mod/cogentcore.org/[email protected]/core/render.go:235 +0x84
cogentcore.org/core/core.(*Stage).configMainStage(0x140002e28f0)
	/Users/apple/workspace/go/pkg/mod/cogentcore.org/[email protected]/core/mainstage.go:191 +0x118
cogentcore.org/core/core.(*Stage).runWindow(0x140002e28f0)
	/Users/apple/workspace/go/pkg/mod/cogentcore.org/[email protected]/core/mainstage.go:204 +0x11c
cogentcore.org/core/core.(*Stage).run(0x140002e28f0?)
	/Users/apple/workspace/go/pkg/mod/cogentcore.org/[email protected]/core/stage.go:293 +0x8c
cogentcore.org/core/core.(*Stage).Run(0x14000000000?)
	/Users/apple/workspace/go/pkg/mod/cogentcore.org/[email protected]/core/stage.go:272 +0x8c
cogentcore.org/core/core.(*Body).RunWindow(0x1?)
	/Users/apple/workspace/go/pkg/mod/cogentcore.org/[email protected]/core/mainstage.go:71 +0x60
cogentcore.org/core/core.(*Body).RunMainWindow(0x103a5f980?)
	/Users/apple/workspace/go/pkg/mod/cogentcore.org/[email protected]/core/mainstage.go:45 +0x38
main.main()
	/Users/apple/workspace/go/src/junk/cogent/mail/cmd/mail/mail.go:22 +0x2d0

Platform

macOS

@gedw99 gedw99 added the bug Something isn't working correctly label Oct 23, 2024
@kkoreilly
Copy link
Member

Cogent Mail is not ready for end-user use right now due to some authentication and labeling issues, but it will be soon, which should fix this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working correctly
Projects
None yet
Development

No branches or pull requests

2 participants