App crashes while trying to view rejected proposals
Closed this issue · 1 comments
dreacot commented
On the proposals page, trying to view the rejected proposals by selecting from the category drop-down causes the app to crash.
Find the crash log below;
panic: runtime error: integer divide by zero
goroutine 54 [running]:
github.com/planetdecred/godcr/ui/page/components.(*VoteBar).layoutIconAndText.func1.3({{{0x0, 0x0}, {0x1d9, 0xf41e2}}, {0x3f800000, 0x3f800000}, {0x1dc0800, 0xc0001f58e8}, {0xc0a4599b17144d15, 0x4b867bbc1, ...}, ...})
/home/kennedy/Projects/src/github.com/dreacot/godcr/ui/page/components/votebar_widget.go:263 +0x35a
gioui.org/layout.Flex.Layout({0x30, 0xf6, 0x55, 0xc0}, {{{0x0, 0x0}, {0x206, 0xf41e2}}, {0x3f800000, 0x3f800000}, ...}, ...)
/home/kennedy/Projects/pkg/mod/gioui.org@v0.0.0-20220601100144-a896a467ecae/layout/flex.go:99 +0xdb5
github.com/planetdecred/godcr/ui/page/components.(*VoteBar).layoutIconAndText.func1({{{0x0, 0x0}, {0x206, 0xf41e2}}, {0x3f800000, 0x3f800000}, {0x1dc0800, 0xc0001f58e8}, {0xc0a4599b17144d15, 0x4b867bbc1, ...}, ...})
/home/kennedy/Projects/src/github.com/dreacot/godcr/ui/page/components/votebar_widget.go:251 +0x2d2
gioui.org/layout.Inset.Layout({0x55fa20, 0xc0, 0x45d6f4, 0x0}, {{{0x0, 0x0}, {0x206, 0xf41e2}}, {0x3f800000, 0x3f800000}, ...}, ...)
/home/kennedy/Projects/pkg/mod/gioui.org@v0.0.0-20220601100144-a896a467ecae/layout/layout.go:139 +0x3b6
github.com/planetdecred/godcr/ui/page/components.(*VoteBar).layoutIconAndText(0xc007abf900, {{{0x0, 0x0}, {0x210, 0xf41e2}}, {0x3f800000, 0x3f800000}, {0x1dc0800, 0xc0001f58e8}, {0xc0a4599b17144d15, ...}, ...}, ...)
/home/kennedy/Projects/src/github.com/dreacot/godcr/ui/page/components/votebar_widget.go:250 +0x194
github.com/planetdecred/godcr/ui/page/components.(*VoteBar).Layout.func1.1.1.1({{{0x0, 0x0}, {0x210, 0xf41e2}}, {0x3f800000, 0x3f800000}, {0x1dc0800, 0xc0001f58e8}, {0xc0a4599b17144d15, 0x4b867bbc1, ...}, ...})
/home/kennedy/Projects/src/github.com/dreacot/godcr/ui/page/components/votebar_widget.go:210 +0x2bd
gioui.org/layout.Flex.Layout({0xb0, 0x93, 0xbb, 0xc0}, {{{0x0, 0x0}, {0x210, 0xf41e2}}, {0x3f800000, 0x3f800000}, ...}, ...)
/home/kennedy/Projects/pkg/mod/gioui.org@v0.0.0-20220601100144-a896a467ecae/layout/flex.go:99 +0xdb5
github.com/planetdecred/godcr/ui/page/components.(*VoteBar).Layout.func1.1.1({{{0x0, 0x0}, {0x210, 0xf41e2}}, {0x3f800000, 0x3f800000}, {0x1dc0800, 0xc0001f58e8}, {0xc0a4599b17144d15, 0x4b867bbc1, ...}, ...})
/home/kennedy/Projects/src/github.com/dreacot/godcr/ui/page/components/votebar_widget.go:207 +0x298
gioui.org/layout.Flex.Layout({0x20, 0x7c, 0x80, 0xc0}, {{{0x0, 0x0}, {0x210, 0xf41e2}}, {0x3f800000, 0x3f800000}, ...}, ...)
/home/kennedy/Projects/pkg/mod/gioui.org@v0.0.0-20220601100144-a896a467ecae/layout/flex.go:99 +0xdb5
github.com/planetdecred/godcr/ui/page/components.(*VoteBar).Layout.func1.1({{{0x0, 0x0}, {0x210, 0xf41e2}}, {0x3f800000, 0x3f800000}, {0x1dc0800, 0xc0001f58e8}, {0xc0a4599b17144d15, 0x4b867bbc1, ...}, ...})
/home/kennedy/Projects/src/github.com/dreacot/godcr/ui/page/components/votebar_widget.go:205 +0x215
gioui.org/layout.Inset.Layout({0xa1cb, 0x0, 0x2a0, 0x0}, {{{0x0, 0x0}, {0x210, 0xf41e2}}, {0x3f800000, 0x3f800000}, ...}, ...)
/home/kennedy/Projects/pkg/mod/gioui.org@v0.0.0-20220601100144-a896a467ecae/layout/layout.go:139 +0x3b6
github.com/planetdecred/godcr/ui/page/components.(*VoteBar).Layout.func1({{{0x0, 0x0}, {0x210, 0xf41ec}}, {0x3f800000, 0x3f800000}, {0x1dc0800, 0xc0001f58e8}, {0xc0a4599b17144d15, 0x4b867bbc1, ...}, ...})
/home/kennedy/Projects/src/github.com/dreacot/godcr/ui/page/components/votebar_widget.go:204 +0xa9
gioui.org/layout.Stack.Layout({0x0}, {{{0x210, 0x0}, {0x210, 0xf41ec}}, {0x3f800000, 0x3f800000}, {0x1dc0800, 0xc0001f58e8}, {0xc0a4599b17144d15, ...}, ...}, ...)
/home/kennedy/Projects/pkg/mod/gioui.org@v0.0.0-20220601100144-a896a467ecae/layout/stack.go:60 +0x8b6
github.com/planetdecred/godcr/ui/page/components.(*VoteBar).Layout(0xc007abf900, {0x1e10d60, 0xc000f12300}, {{{0x210, 0x0}, {0x210, 0xf41ec}}, {0x3f800000, 0x3f800000}, {0x1dc0800, ...}, ...})
/home/kennedy/Projects/src/github.com/dreacot/godcr/ui/page/components/votebar_widget.go:202 +0x16b
github.com/planetdecred/godcr/ui/page/components.layoutProposalVoteBar({0x1e10d60, 0xc000f12300}, {{{0x210, 0x0}, {0x210, 0xf41ec}}, {0x3f800000, 0x3f800000}, {0x1dc0800, 0xc0001f58e8}, ...}, ...)
/home/kennedy/Projects/src/github.com/dreacot/godcr/ui/page/components/proposal_list.go:166 +0x145
github.com/planetdecred/godcr/ui/page/components.ProposalsList.func1.3({{{0x210, 0x0}, {0x210, 0xf41ec}}, {0x3f800000, 0x3f800000}, {0x1dc0800, 0xc0001f58e8}, {0xc0a4599b17144d15, 0x4b867bbc1, ...}, ...})
/home/kennedy/Projects/src/github.com/dreacot/godcr/ui/page/components/proposal_list.go:40 +0x78
gioui.org/layout.Flex.Layout({0xc5, 0xe3, 0xf5, 0x0}, {{{0x210, 0x0}, {0x210, 0xf4220}}, {0x3f800000, 0x3f800000}, ...}, ...)
/home/kennedy/Projects/pkg/mod/gioui.org@v0.0.0-20220601100144-a896a467ecae/layout/flex.go:99 +0xdb5
github.com/planetdecred/godcr/ui/page/components.ProposalsList.func1({{{0x210, 0x0}, {0x210, 0xf4220}}, {0x3f800000, 0x3f800000}, {0x1dc0800, 0xc0001f58e8}, {0xc0a4599b17144d15, 0x4b867bbc1, ...}, ...})
/home/kennedy/Projects/src/github.com/dreacot/godcr/ui/page/components/proposal_list.go:29 +0x355
gioui.org/layout.Inset.Layout({0x1089009, 0x0, 0x3097000, 0xc0}, {{{0x210, 0x0}, {0x210, 0xf4220}}, {0x3f800000, 0x3f800000}, ...}, ...)
/home/kennedy/Projects/pkg/mod/gioui.org@v0.0.0-20220601100144-a896a467ecae/layout/layout.go:139 +0x3b6
github.com/planetdecred/godcr/ui/page/components.ProposalsList({0x1e10d60, 0xc000f12300}, {{{0x230, 0x0}, {0x230, 0xf4240}}, {0x3f800000, 0x3f800000}, {0x1dc0800, 0xc0001f58e8}, ...}, ...)
/home/kennedy/Projects/src/github.com/dreacot/godcr/ui/page/components/proposal_list.go:27 +0xd5
github.com/planetdecred/godcr/ui/page/governance.(*ProposalsPage).layoutContent.func1.1.1.1.1.1({{{0x0, 0x0}, {0x230, 0xf4240}}, {0x3f800000, 0x3f800000}, {0x1dc0800, 0xc0001f58e8}, {0xc0a4599b17144d15, 0x4b867bbc1, ...}, ...})
/home/kennedy/Projects/src/github.com/dreacot/godcr/ui/page/governance/proposals_page.go:283 +0xbb
gioui.org/layout.Flex.Layout({0x1, 0x0, 0x0, 0x0}, {{{0x0, 0x0}, {0x230, 0xf4240}}, {0x3f800000, 0x3f800000}, ...}, ...)
/home/kennedy/Projects/pkg/mod/gioui.org@v0.0.0-20220601100144-a896a467ecae/layout/flex.go:99 +0xdb5
github.com/planetdecred/godcr/ui/page/governance.(*ProposalsPage).layoutContent.func1.1.1.1.1({{{0x0, 0x0}, {0x230, 0xf4240}}, {0x3f800000, 0x3f800000}, {0x1dc0800, 0xc0001f58e8}, {0xc0a4599b17144d15, 0x4b867bbc1, ...}, ...}, ...)
/home/kennedy/Projects/src/github.com/dreacot/godcr/ui/page/governance/proposals_page.go:281 +0x235
github.com/planetdecred/godcr/ui/decredmaterial.(*ClickableList).row.func1({{{0x0, 0x0}, {0x230, 0xf4240}}, {0x3f800000, 0x3f800000}, {0x1dc0800, 0xc0001f58e8}, {0xc0a4599b17144d15, 0x4b867bbc1, ...}, ...})
/home/kennedy/Projects/src/github.com/dreacot/godcr/ui/decredmaterial/clickable_list.go:81 +0x3f
gioui.org/layout.Stack.Layout({0x0}, {{{0x0, 0x0}, {0x230, 0xf4240}}, {0x3f800000, 0x3f800000}, {0x1dc0800, 0xc0001f58e8}, {0xc0a4599b17144d15, ...}, ...}, ...)
/home/kennedy/Projects/pkg/mod/gioui.org@v0.0.0-20220601100144-a896a467ecae/layout/stack.go:60 +0x8b6
github.com/planetdecred/godcr/ui/decredmaterial.(*Clickable).Layout.func1({{{0x0, 0x0}, {0x230, 0xf4240}}, {0x3f800000, 0x3f800000}, {0x1dc0800, 0xc0001f58e8}, {0xc0a4599b17144d15, 0x4b867bbc1, ...}, ...})
/home/kennedy/Projects/src/github.com/dreacot/godcr/ui/decredmaterial/clickable.go:65 +0x1ae
gioui.org/widget.(*Clickable).Layout(0xc0058d3920, {{{0x0, 0x0}, {0x230, 0xf4240}}, {0x3f800000, 0x3f800000}, {0x1dc0800, 0xc0001f58e8}, {0xc0a4599b17144d15, ...}, ...}, ...)
/home/kennedy/Projects/pkg/mod/gioui.org@v0.0.0-20220601100144-a896a467ecae/widget/button.go:106 +0x135
github.com/planetdecred/godcr/ui/decredmaterial.(*Clickable).Layout(0x0, {{{0x0, 0x0}, {0x230, 0xf4240}}, {0x3f800000, 0x3f800000}, {0x1dc0800, 0xc0001f58e8}, {0xc0a4599b17144d15, ...}, ...}, ...)
/home/kennedy/Projects/src/github.com/dreacot/godcr/ui/decredmaterial/clickable.go:64 +0x88
github.com/planetdecred/godcr/ui/decredmaterial.(*ClickableList).row(0xc005e4aa80, {{{0x0, 0x0}, {0x230, 0xf4240}}, {0x3f800000, 0x3f800000}, {0x1dc0800, 0xc0001f58e8}, {0xc0a4599b17144d15, ...}, ...}, ...)
/home/kennedy/Projects/src/github.com/dreacot/godcr/ui/decredmaterial/clickable_list.go:80 +0x19e
github.com/planetdecred/godcr/ui/decredmaterial.(*ClickableList).Layout.func1({{{0x0, 0x0}, {0x230, 0xf4240}}, {0x3f800000, 0x3f800000}, {0x1dc0800, 0xc0001f58e8}, {0xc0a4599b17144d15, 0x4b867bbc1, ...}, ...}, ...)
/home/kennedy/Projects/src/github.com/dreacot/godcr/ui/decredmaterial/clickable_list.go:67 +0x205
gioui.org/layout.(*List).Layout(0xc005e4aa80, {{{0x0, 0x0}, {0x230, 0xf4240}}, {0x3f800000, 0x3f800000}, {0x1dc0800, 0xc0001f58e8}, {0xc0a4599b17144d15, ...}, ...}, ...)
/home/kennedy/Projects/pkg/mod/gioui.org@v0.0.0-20220601100144-a896a467ecae/layout/list.go:117 +0x17c
github.com/planetdecred/godcr/ui/decredmaterial.(*ClickableList).Layout(0xc005e4aa80, {{{0x0, 0x0}, {0x230, 0xf4240}}, {0x3f800000, 0x3f800000}, {0x1dc0800, 0xc0001f58e8}, {0xc0a4599b17144d15, ...}, ...}, ...)
/home/kennedy/Projects/src/github.com/dreacot/godcr/ui/decredmaterial/clickable_list.go:58 +0xc5
github.com/planetdecred/godcr/ui/page/governance.(*ProposalsPage).layoutContent.func1.1.1.1({{{0x0, 0x0}, {0x230, 0xf4240}}, {0x3f800000, 0x3f800000}, {0x1dc0800, 0xc0001f58e8}, {0xc0a4599b17144d15, 0x4b867bbc1, ...}, ...})
/home/kennedy/Projects/src/github.com/dreacot/godcr/ui/page/governance/proposals_page.go:280 +0x10a
gioui.org/layout.Stack.Layout({0x1}, {{{0x230, 0x0}, {0x230, 0xf4240}}, {0x3f800000, 0x3f800000}, {0x1dc0800, 0xc0001f58e8}, {0xc0a4599b17144d15, ...}, ...}, ...)
/home/kennedy/Projects/pkg/mod/gioui.org@v0.0.0-20220601100144-a896a467ecae/layout/stack.go:60 +0x8b6
github.com/planetdecred/godcr/ui/decredmaterial.Card.Layout.func1({{{0x230, 0x0}, {0x230, 0xf4240}}, {0x3f800000, 0x3f800000}, {0x1dc0800, 0xc0001f58e8}, {0xc0a4599b17144d15, 0x4b867bbc1, ...}, ...})
/home/kennedy/Projects/src/github.com/dreacot/godcr/ui/decredmaterial/card.go:64 +0x18e
gioui.org/layout.Inset.Layout({0x28, 0x0, 0x28, 0x0}, {{{0x230, 0x0}, {0x230, 0xf4240}}, {0x3f800000, 0x3f800000}, ...}, ...)
/home/kennedy/Projects/pkg/mod/gioui.org@v0.0.0-20220601100144-a896a467ecae/layout/layout.go:139 +0x3b6
github.com/planetdecred/godcr/ui/decredmaterial.Card.Layout({{0x0, 0x0, 0x0, 0x0}, {0xff, 0xff, 0xff, 0xff}, {0xf3, 0xf5, ...}, ...}, ...)
/home/kennedy/Projects/src/github.com/dreacot/godcr/ui/decredmaterial/card.go:63 +0x129
github.com/planetdecred/godcr/ui/page/governance.(*ProposalsPage).layoutContent.func1.1.1({{{0x230, 0x0}, {0x230, 0xf4240}}, {0x3f800000, 0x3f800000}, {0x1dc0800, 0xc0001f58e8}, {0xc0a4599b17144d15, 0x4b867bbc1, ...}, ...})
/home/kennedy/Projects/src/github.com/dreacot/godcr/ui/page/governance/proposals_page.go:276 +0x1f8
gioui.org/layout.Inset.Layout({0xcc, 0x0, 0x4caa, 0x0}, {{{0x230, 0x0}, {0x230, 0xf4240}}, {0x3f800000, 0x3f800000}, ...}, ...)
/home/kennedy/Projects/pkg/mod/gioui.org@v0.0.0-20220601100144-a896a467ecae/layout/layout.go:139 +0x3b6
github.com/planetdecred/godcr/ui/page/governance.(*ProposalsPage).layoutContent.func1.1({{{0x232, 0x0}, {0x232, 0xf4240}}, {0x3f800000, 0x3f800000}, {0x1dc0800, 0xc0001f58e8}, {0xc0a4599b17144d15, 0x4b867bbc1, ...}, ...}, ...)
/home/kennedy/Projects/src/github.com/dreacot/godcr/ui/page/governance/proposals_page.go:275 +0xc9
gioui.org/layout.(*List).Layout(0xc005e4a750, {{{0x232, 0x0}, {0x232, 0xf4240}}, {0x3f800000, 0x3f800000}, {0x1dc0800, 0xc0001f58e8}, {0xc0a4599b17144d15, ...}, ...}, ...)
/home/kennedy/Projects/pkg/mod/gioui.org@v0.0.0-20220601100144-a896a467ecae/layout/list.go:117 +0x17c
gioui.org/widget/material.ListStyle.Layout({0xc005e4a700, {0xc005e4a700, {0x40000000, 0x40000000, {0x0, 0x0, 0x0, 0x0}}, {0x41000000, 0x40c00000, ...}}, ...}, ...)
/home/kennedy/Projects/pkg/mod/gioui.org@v0.0.0-20220601100144-a896a467ecae/widget/material/list.go:269 +0x20c
github.com/planetdecred/godcr/ui/decredmaterial.ListStyle.Layout(...)
/home/kennedy/Projects/src/github.com/dreacot/godcr/ui/decredmaterial/list_scroll.go:39
github.com/planetdecred/godcr/ui/page/governance.(*ProposalsPage).layoutContent.func1({{{0x0, 0x0}, {0x23c, 0x191}}, {0x3f800000, 0x3f800000}, {0x1dc0800, 0xc0001f58e8}, {0xc0a4599b17144d15, 0x4b867bbc1, ...}, ...})
/home/kennedy/Projects/src/github.com/dreacot/godcr/ui/page/governance/proposals_page.go:274 +0x245
gioui.org/layout.Stack.Layout({0x0}, {{{0x0, 0x0}, {0x23c, 0x191}}, {0x3f800000, 0x3f800000}, {0x1dc0800, 0xc0001f58e8}, {0xc0a4599b17144d15, ...}, ...}, ...)
/home/kennedy/Projects/pkg/mod/gioui.org@v0.0.0-20220601100144-a896a467ecae/layout/stack.go:78 +0x5dc
github.com/planetdecred/godcr/ui/page/governance.(*ProposalsPage).layoutContent(0xc005dbe800, {{{0x0, 0x0}, {0x23c, 0x191}}, {0x3f800000, 0x3f800000}, {0x1dc0800, 0xc0001f58e8}, {0xc0a4599b17144d15, ...}, ...})
/home/kennedy/Projects/src/github.com/dreacot/godcr/ui/page/governance/proposals_page.go:268 +0x12b
gioui.org/layout.Inset.Layout({0x136, 0x0, 0x7bb93b0, 0xc0}, {{{0x0, 0x0}, {0x23c, 0x191}}, {0x3f800000, 0x3f800000}, ...}, ...)
/home/kennedy/Projects/pkg/mod/gioui.org@v0.0.0-20220601100144-a896a467ecae/layout/layout.go:139 +0x3b6
github.com/planetdecred/godcr/ui/page/governance.(*ProposalsPage).Layout.func1.1.1({{{0x0, 0x0}, {0x23c, 0x1cd}}, {0x3f800000, 0x3f800000}, {0x1dc0800, 0xc0001f58e8}, {0xc0a4599b17144d15, 0x4b867bbc1, ...}, ...})
/home/kennedy/Projects/src/github.com/dreacot/godcr/ui/page/governance/proposals_page.go:227 +0x98
gioui.org/layout.Stack.Layout({0x30}, {{{0x0, 0x1cd}, {0x23c, 0x1cd}}, {0x3f800000, 0x3f800000}, {0x1dc0800, 0xc0001f58e8}, {0xc0a4599b17144d15, ...}, ...}, ...)
/home/kennedy/Projects/pkg/mod/gioui.org@v0.0.0-20220601100144-a896a467ecae/layout/stack.go:78 +0x5dc
github.com/planetdecred/godcr/ui/page/governance.(*ProposalsPage).Layout.func1.1({{{0x0, 0x1cd}, {0x23c, 0x1cd}}, {0x3f800000, 0x3f800000}, {0x1dc0800, 0xc0001f58e8}, {0xc0a4599b17144d15, 0x4b867bbc1, ...}, ...})
/home/kennedy/Projects/src/github.com/dreacot/godcr/ui/page/governance/proposals_page.go:225 +0x311
gioui.org/layout.Inset.Layout({0x136, 0x0, 0x7bb93b0, 0xc0}, {{{0x0, 0x1cd}, {0x23c, 0x1cd}}, {0x3f800000, 0x3f800000}, ...}, ...)
/home/kennedy/Projects/pkg/mod/gioui.org@v0.0.0-20220601100144-a896a467ecae/layout/layout.go:139 +0x3b6
github.com/planetdecred/godcr/ui/page/governance.(*ProposalsPage).Layout.func1({{{0x0, 0x1d7}, {0x23c, 0x1d7}}, {0x3f800000, 0x3f800000}, {0x1dc0800, 0xc0001f58e8}, {0xc0a4599b17144d15, 0x4b867bbc1, ...}, ...})
/home/kennedy/Projects/src/github.com/dreacot/godcr/ui/page/governance/proposals_page.go:224 +0x98
gioui.org/layout.Flex.Layout({0x0, 0x0, 0x0, 0x0}, {{{0x0, 0x1f3}, {0x23c, 0x1f3}}, {0x3f800000, 0x3f800000}, ...}, ...)
/home/kennedy/Projects/pkg/mod/gioui.org@v0.0.0-20220601100144-a896a467ecae/layout/flex.go:134 +0xa15
github.com/planetdecred/godcr/ui/page/governance.(*ProposalsPage).Layout(0xc005dbe800, {{{0x0, 0x1f3}, {0x23c, 0x1f3}}, {0x3f800000, 0x3f800000}, {0x1dc0800, 0xc0001f58e8}, {0xc0a4599b17144d15, ...}, ...})
/home/kennedy/Projects/src/github.com/dreacot/godcr/ui/page/governance/proposals_page.go:221 +0x1bd
github.com/planetdecred/godcr/ui/page/governance.(*Page).Layout.func1.1.1({{{0x0, 0x1f3}, {0x23c, 0x1f3}}, {0x3f800000, 0x3f800000}, {0x1dc0800, 0xc0001f58e8}, {0xc0a4599b17144d15, 0x4b867bbc1, ...}, ...})
/home/kennedy/Projects/src/github.com/dreacot/godcr/ui/page/governance/governance_page.go:121 +0x58
gioui.org/layout.Inset.Layout({0x121, 0x0, 0x7bb93b0, 0xc0}, {{{0x0, 0x1f3}, {0x23c, 0x1f3}}, {0x3f800000, 0x3f800000}, ...}, ...)
/home/kennedy/Projects/pkg/mod/gioui.org@v0.0.0-20220601100144-a896a467ecae/layout/layout.go:139 +0x3b6
github.com/planetdecred/godcr/ui/page/governance.(*Page).Layout.func1.1({{{0x0, 0x203}, {0x23c, 0x203}}, {0x3f800000, 0x3f800000}, {0x1dc0800, 0xc0001f58e8}, {0xc0a4599b17144d15, 0x4b867bbc1, ...}, ...})
/home/kennedy/Projects/src/github.com/dreacot/godcr/ui/page/governance/governance_page.go:120 +0x98
gioui.org/layout.Flex.Layout({0x54, 0xa1, 0x41, 0x0}, {{{0x0, 0x0}, {0x23c, 0x24f}}, {0x3f800000, 0x3f800000}, ...}, ...)
/home/kennedy/Projects/pkg/mod/gioui.org@v0.0.0-20220601100144-a896a467ecae/layout/flex.go:134 +0xa15
github.com/planetdecred/godcr/ui/page/governance.(*Page).Layout.func1({{{0x0, 0x0}, {0x23c, 0x24f}}, {0x3f800000, 0x3f800000}, {0x1dc0800, 0xc0001f58e8}, {0xc0a4599b17144d15, 0x4b867bbc1, ...}, ...})
/home/kennedy/Projects/src/github.com/dreacot/godcr/ui/page/governance/governance_page.go:115 +0x334
gioui.org/layout.Inset.Layout({0xdc380, 0xc0, 0x1804a68, 0x0}, {{{0x0, 0x0}, {0x23c, 0x24f}}, {0x3f800000, 0x3f800000}, ...}, ...)
/home/kennedy/Projects/pkg/mod/gioui.org@v0.0.0-20220601100144-a896a467ecae/layout/layout.go:139 +0x3b6
github.com/planetdecred/godcr/ui/page/components.UniformPadding({{{0x0, 0x0}, {0x26c, 0x27f}}, {0x3f800000, 0x3f800000}, {0x1dc0800, 0xc0001f58e8}, {0xc0a4599b17144d15, 0x4b867bbc1, ...}, ...}, ...)
/home/kennedy/Projects/src/github.com/dreacot/godcr/ui/page/components/components.go:92 +0x197
github.com/planetdecred/godcr/ui/page/governance.(*Page).Layout(0xc0034ac300, {{{0x0, 0x0}, {0x26c, 0x27f}}, {0x3f800000, 0x3f800000}, {0x1dc0800, 0xc0001f58e8}, {0xc0a4599b17144d15, ...}, ...})
/home/kennedy/Projects/src/github.com/dreacot/godcr/ui/page/governance/governance_page.go:114 +0x85
github.com/planetdecred/godcr/ui/page.(*MainPage).layoutDesktop.func1.1.1({{{0x0, 0x0}, {0x26c, 0x27f}}, {0x3f800000, 0x3f800000}, {0x1dc0800, 0xc0001f58e8}, {0xc0a4599b17144d15, 0x4b867bbc1, ...}, ...})
/home/kennedy/Projects/src/github.com/dreacot/godcr/ui/page/main_page.go:676 +0x7d
gioui.org/layout.Flex.Layout({0x3b, 0x0, 0x0, 0x0}, {{{0x0, 0x0}, {0x320, 0x27f}}, {0x3f800000, 0x3f800000}, ...}, ...)
/home/kennedy/Projects/pkg/mod/gioui.org@v0.0.0-20220601100144-a896a467ecae/layout/flex.go:99 +0xdb5
github.com/planetdecred/godcr/ui/decredmaterial.LinearLayout.Layout.func1.1.1.2.1.1.1({{{0x0, 0x0}, {0x320, 0x27f}}, {0x3f800000, 0x3f800000}, {0x1dc0800, 0xc0001f58e8}, {0xc0a4599b17144d15, 0x4b867bbc1, ...}, ...})
/home/kennedy/Projects/src/github.com/dreacot/godcr/ui/decredmaterial/linearlayout.go:89 +0x85
gioui.org/layout.Direction.Layout(0x0, {{{0x0, 0x0}, {0x320, 0x27f}}, {0x3f800000, 0x3f800000}, {0x1dc0800, 0xc0001f58e8}, {0xc0a4599b17144d15, ...}, ...}, ...)
/home/kennedy/Projects/pkg/mod/gioui.org@v0.0.0-20220601100144-a896a467ecae/layout/layout.go:166 +0x162
github.com/planetdecred/godcr/ui/decredmaterial.LinearLayout.Layout.func1.1.1.2.1.1({{{0x320, 0x27f}, {0x320, 0x27f}}, {0x3f800000, 0x3f800000}, {0x1dc0800, 0xc0001f58e8}, {0xc0a4599b17144d15, 0x4b867bbc1, ...}, ...})
/home/kennedy/Projects/src/github.com/dreacot/godcr/ui/decredmaterial/linearlayout.go:88 +0xe5
gioui.org/layout.Inset.Layout({0x7bb93b0, 0xc0, 0x0, 0x0}, {{{0x320, 0x27f}, {0x320, 0x27f}}, {0x3f800000, 0x3f800000}, ...}, ...)
/home/kennedy/Projects/pkg/mod/gioui.org@v0.0.0-20220601100144-a896a467ecae/layout/layout.go:139 +0x3b6
github.com/planetdecred/godcr/ui/decredmaterial.LinearLayout.Layout.func1.1.1.2.1({{{0x320, 0x27f}, {0x320, 0x27f}}, {0x3f800000, 0x3f800000}, {0x1dc0800, 0xc0001f58e8}, {0xc0a4599b17144d15, 0x4b867bbc1, ...}, ...})
/home/kennedy/Projects/src/github.com/dreacot/godcr/ui/decredmaterial/linearlayout.go:86 +0x109
github.com/planetdecred/godcr/ui/decredmaterial.Border.Layout({{0x0, 0x0, 0x0, 0x0}, {0x0, 0x0, 0x0, 0x0}, 0x0}, {{{0x320, ...}, ...}, ...}, ...)
/home/kennedy/Projects/src/github.com/dreacot/godcr/ui/decredmaterial/border.go:21 +0x98
github.com/planetdecred/godcr/ui/decredmaterial.LinearLayout.Layout.func1.1.1.2({{{0x320, 0x27f}, {0x320, 0x27f}}, {0x3f800000, 0x3f800000}, {0x1dc0800, 0xc0001f58e8}, {0xc0a4599b17144d15, 0x4b867bbc1, ...}, ...})
/home/kennedy/Projects/src/github.com/dreacot/godcr/ui/decredmaterial/linearlayout.go:84 +0x1d6
gioui.org/layout.Stack.Layout({0xd0}, {{{0x0, 0x0}, {0x320, 0x27f}}, {0x3f800000, 0x3f800000}, {0x1dc0800, 0xc0001f58e8}, {0xc0a4599b17144d15, ...}, ...}, ...)
/home/kennedy/Projects/pkg/mod/gioui.org@v0.0.0-20220601100144-a896a467ecae/layout/stack.go:60 +0x8b6
github.com/planetdecred/godcr/ui/decredmaterial.LinearLayout.Layout.func1.1.1({{{0x0, 0x0}, {0x320, 0x27f}}, {0x3f800000, 0x3f800000}, {0x1dc0800, 0xc0001f58e8}, {0xc0a4599b17144d15, 0x4b867bbc1, ...}, ...})
/home/kennedy/Projects/src/github.com/dreacot/godcr/ui/decredmaterial/linearlayout.go:47 +0x2aa
github.com/planetdecred/godcr/ui/decredmaterial.LinearLayout.Layout.func1.1({{{0x0, 0x0}, {0x320, 0x27f}}, {0x3f800000, 0x3f800000}, {0x1dc0800, 0xc0001f58e8}, {0xc0a4599b17144d15, 0x4b867bbc1, ...}, ...})
/home/kennedy/Projects/src/github.com/dreacot/godcr/ui/decredmaterial/linearlayout.go:108 +0x238
gioui.org/layout.Inset.Layout({0x1f58e8, 0xc0, 0x17144d15, 0xc0a4599b}, {{{0x0, 0x0}, {0x320, 0x27f}}, {0x3f800000, 0x3f800000}, ...}, ...)
/home/kennedy/Projects/pkg/mod/gioui.org@v0.0.0-20220601100144-a896a467ecae/layout/layout.go:139 +0x3b6
github.com/planetdecred/godcr/ui/decredmaterial.LinearLayout.Layout.func1({{{0x0, 0x0}, {0x320, 0x27f}}, {0x3f800000, 0x3f800000}, {0x1dc0800, 0xc0001f58e8}, {0xc0a4599b17144d15, 0x4b867bbc1, ...}, ...})
/home/kennedy/Projects/src/github.com/dreacot/godcr/ui/decredmaterial/linearlayout.go:44 +0x109
gioui.org/layout.Direction.Layout(0x0, {{{0x0, 0x0}, {0x320, 0x27f}}, {0x3f800000, 0x3f800000}, {0x1dc0800, 0xc0001f58e8}, {0xc0a4599b17144d15, ...}, ...}, ...)
/home/kennedy/Projects/pkg/mod/gioui.org@v0.0.0-20220601100144-a896a467ecae/layout/layout.go:166 +0x162
github.com/planetdecred/godcr/ui/decredmaterial.LinearLayout.Layout({0xfffffffffffffffe, 0xfffffffffffffffe, 0x0, {0x0, 0x0, 0x0, 0x0}, 0x0, {{0x0, 0x0, ...}, ...}, ...}, ...)
/home/kennedy/Projects/src/github.com/dreacot/godcr/ui/decredmaterial/linearlayout.go:42 +0xe5
github.com/planetdecred/godcr/ui/page.(*MainPage).layoutDesktop.func1.1({{{0x0, 0x0}, {0x320, 0x27f}}, {0x3f800000, 0x3f800000}, {0x1dc0800, 0xc0001f58e8}, {0xc0a4599b17144d15, 0x4b867bbc1, ...}, ...})
/home/kennedy/Projects/src/github.com/dreacot/godcr/ui/page/main_page.go:670 +0x205
gioui.org/layout.Flex.Layout({0x5, 0x0, 0x0, 0x0}, {{{0x0, 0x0}, {0x320, 0x2bc}}, {0x3f800000, 0x3f800000}, ...}, ...)
/home/kennedy/Projects/pkg/mod/gioui.org@v0.0.0-20220601100144-a896a467ecae/layout/flex.go:99 +0xdb5
github.com/planetdecred/godcr/ui/decredmaterial.LinearLayout.Layout.func1.1.1.2.1.1.1({{{0x0, 0x0}, {0x320, 0x2bc}}, {0x3f800000, 0x3f800000}, {0x1dc0800, 0xc0001f58e8}, {0xc0a4599b17144d15, 0x4b867bbc1, ...}, ...})
/home/kennedy/Projects/src/github.com/dreacot/godcr/ui/decredmaterial/linearlayout.go:89 +0x85
gioui.org/layout.Direction.Layout(0x0, {{{0x0, 0x0}, {0x320, 0x2bc}}, {0x3f800000, 0x3f800000}, {0x1dc0800, 0xc0001f58e8}, {0xc0a4599b17144d15, ...}, ...}, ...)
/home/kennedy/Projects/pkg/mod/gioui.org@v0.0.0-20220601100144-a896a467ecae/layout/layout.go:166 +0x162
github.com/planetdecred/godcr/ui/decredmaterial.LinearLayout.Layout.func1.1.1.2.1.1({{{0x320, 0x2bc}, {0x320, 0x2bc}}, {0x3f800000, 0x3f800000}, {0x1dc0800, 0xc0001f58e8}, {0xc0a4599b17144d15, 0x4b867bbc1, ...}, ...})
/home/kennedy/Projects/src/github.com/dreacot/godcr/ui/decredmaterial/linearlayout.go:88 +0xe5
gioui.org/layout.Inset.Layout({0x569b30, 0xc0, 0xf6c8bd, 0x0}, {{{0x320, 0x2bc}, {0x320, 0x2bc}}, {0x3f800000, 0x3f800000}, ...}, ...)
/home/kennedy/Projects/pkg/mod/gioui.org@v0.0.0-20220601100144-a896a467ecae/layout/layout.go:139 +0x3b6
github.com/planetdecred/godcr/ui/decredmaterial.LinearLayout.Layout.func1.1.1.2.1({{{0x320, 0x2bc}, {0x320, 0x2bc}}, {0x3f800000, 0x3f800000}, {0x1dc0800, 0xc0001f58e8}, {0xc0a4599b17144d15, 0x4b867bbc1, ...}, ...})
/home/kennedy/Projects/src/github.com/dreacot/godcr/ui/decredmaterial/linearlayout.go:86 +0x109
github.com/planetdecred/godcr/ui/decredmaterial.Border.Layout({{0x0, 0x0, 0x0, 0x0}, {0x0, 0x0, 0x0, 0x0}, 0x0}, {{{0x320, ...}, ...}, ...}, ...)
/home/kennedy/Projects/src/github.com/dreacot/godcr/ui/decredmaterial/border.go:21 +0x98
github.com/planetdecred/godcr/ui/decredmaterial.LinearLayout.Layout.func1.1.1.2({{{0x320, 0x2bc}, {0x320, 0x2bc}}, {0x3f800000, 0x3f800000}, {0x1dc0800, 0xc0001f58e8}, {0xc0a4599b17144d15, 0x4b867bbc1, ...}, ...})
/home/kennedy/Projects/src/github.com/dreacot/godcr/ui/decredmaterial/linearlayout.go:84 +0x1d6
gioui.org/layout.Stack.Layout({0x27}, {{{0x0, 0x0}, {0x320, 0x2bc}}, {0x3f800000, 0x3f800000}, {0x1dc0800, 0xc0001f58e8}, {0xc0a4599b17144d15, ...}, ...}, ...)
/home/kennedy/Projects/pkg/mod/gioui.org@v0.0.0-20220601100144-a896a467ecae/layout/stack.go:60 +0x8b6
github.com/planetdecred/godcr/ui/decredmaterial.LinearLayout.Layout.func1.1.1({{{0x0, 0x0}, {0x320, 0x2bc}}, {0x3f800000, 0x3f800000}, {0x1dc0800, 0xc0001f58e8}, {0xc0a4599b17144d15, 0x4b867bbc1, ...}, ...})
/home/kennedy/Projects/src/github.com/dreacot/godcr/ui/decredmaterial/linearlayout.go:47 +0x2aa
github.com/planetdecred/godcr/ui/decredmaterial.LinearLayout.Layout.func1.1({{{0x0, 0x0}, {0x320, 0x2bc}}, {0x3f800000, 0x3f800000}, {0x1dc0800, 0xc0001f58e8}, {0xc0a4599b17144d15, 0x4b867bbc1, ...}, ...})
/home/kennedy/Projects/src/github.com/dreacot/godcr/ui/decredmaterial/linearlayout.go:108 +0x238
gioui.org/layout.Inset.Layout({0x475ae7, 0x0, 0xf4fe8c, 0x0}, {{{0x0, 0x0}, {0x320, 0x2bc}}, {0x3f800000, 0x3f800000}, ...}, ...)
/home/kennedy/Projects/pkg/mod/gioui.org@v0.0.0-20220601100144-a896a467ecae/layout/layout.go:139 +0x3b6
github.com/planetdecred/godcr/ui/decredmaterial.LinearLayout.Layout.func1({{{0x0, 0x0}, {0x320, 0x2bc}}, {0x3f800000, 0x3f800000}, {0x1dc0800, 0xc0001f58e8}, {0xc0a4599b17144d15, 0x4b867bbc1, ...}, ...})
/home/kennedy/Projects/src/github.com/dreacot/godcr/ui/decredmaterial/linearlayout.go:44 +0x109
gioui.org/layout.Direction.Layout(0x0, {{{0x0, 0x0}, {0x320, 0x2bc}}, {0x3f800000, 0x3f800000}, {0x1dc0800, 0xc0001f58e8}, {0xc0a4599b17144d15, ...}, ...}, ...)
/home/kennedy/Projects/pkg/mod/gioui.org@v0.0.0-20220601100144-a896a467ecae/layout/layout.go:166 +0x162
github.com/planetdecred/godcr/ui/decredmaterial.LinearLayout.Layout({0xfffffffffffffffe, 0xfffffffffffffffe, 0x1, {0x0, 0x0, 0x0, 0x0}, 0x0, {{0x0, 0x0, ...}, ...}, ...}, ...)
/home/kennedy/Projects/src/github.com/dreacot/godcr/ui/decredmaterial/linearlayout.go:42 +0xe5
github.com/planetdecred/godcr/ui/page.(*MainPage).layoutDesktop.func1({{{0x0, 0x0}, {0x320, 0x2bc}}, {0x3f800000, 0x3f800000}, {0x1dc0800, 0xc0001f58e8}, {0xc0a4599b17144d15, 0x4b867bbc1, ...}, ...})
/home/kennedy/Projects/src/github.com/dreacot/godcr/ui/page/main_page.go:663 +0x20b
gioui.org/layout.Stack.Layout({0x0}, {{{0x0, 0x0}, {0x320, 0x2bc}}, {0x3f800000, 0x3f800000}, {0x1dc0800, 0xc0001f58e8}, {0xc0a4599b17144d15, ...}, ...}, ...)
/home/kennedy/Projects/pkg/mod/gioui.org@v0.0.0-20220601100144-a896a467ecae/layout/stack.go:78 +0x5dc
github.com/planetdecred/godcr/ui/page.(*MainPage).layoutDesktop(0xc0000fc2c0, {{{0x0, 0x0}, {0x320, 0x2bc}}, {0x3f800000, 0x3f800000}, {0x1dc0800, 0xc0001f58e8}, {0xc0a4599b17144d15, ...}, ...})
/home/kennedy/Projects/src/github.com/dreacot/godcr/ui/page/main_page.go:657 +0x12b
github.com/planetdecred/godcr/ui/page.(*MainPage).Layout(0xc0000fc2c0, {{{0x0, 0x0}, {0x320, 0x2bc}}, {0x3f800000, 0x3f800000}, {0x1dc0800, 0xc0001f58e8}, {0xc0a4599b17144d15, ...}, ...})
/home/kennedy/Projects/src/github.com/dreacot/godcr/ui/page/main_page.go:653 +0x105
created by main.main
/home/kennedy/Projects/src/github.com/dreacot/godcr/main.go:79 +0x4d2
exit status 2
Sirmorrison commented
This has been resolved by #1000. Closing issue.