Saving group name change crashes app #80

Closed
opened 2019-02-13 04:25:12 +00:00 by dan · 1 comment
Owner
  • hit group settings
  • edited group name
  • hit save
  • app crashed
2019/02/12 20:24:14 characters/grouppoller.go [DBUG] Found a Group: 37b6c1d6e4a7dbcec00599edcf26ef18 2c3kmoobnyghj2zw6pwv7d57yzld753auo3ugauezzpvfak3ahc4bdyd
panic: assignment to entry in nil map

goroutine 1 [running, locked to thread]:
cwtch.im/cwtch/model.(*Group).SetAttribute(0xc4201ea1e0, 0x82e7c2, 0x4, 0xc4200cafe0, 0x14)
	/home/dan/src/go/src/cwtch.im/cwtch/model/group.go:160 +0x98
cwtch.im/ui/go/gothings.(*GrandCentralDispatcher).saveGroupSettings(0xc4200f4000, 0xc4200cafa0, 0x20, 0xc4200cafe0, 0x14)
	/home/dan/src/go/src/cwtch.im/ui/go/gothings/gcd.go:269 +0x9e
cwtch.im/ui/go/gothings.(*GrandCentralDispatcher).(cwtch.im/ui/go/gothings.saveGroupSettings)-fm(0xc4200cafa0, 0x20, 0xc4200cafe0, 0x14)
	/home/dan/src/go/src/cwtch.im/ui/go/gothings/moc.go:85 +0x52
cwtch.im/ui/go/gothings.callbackGrandCentralDispatcher916838_SaveGroupSettings(0x2358e00, 0x88dabf2, 0x20, 0x7f0f4400c952, 0x14)
	/home/dan/src/go/src/cwtch.im/ui/go/gothings/moc.go:1048 +0xe8
cwtch.im/ui/go/gothings._cgoexpwrap_8854a1456189_callbackGrandCentralDispatcher916838_SaveGroupSettings(0x2358e00, 0x88dabf2, 0x20, 0x7f0f4400c952, 0x14)
	_cgo_gotypes.go:1972 +0x53
github.com/therecipe/qt/gui._Cfunc_QGuiApplication_QGuiApplication_Exec(0x0)
	_cgo_gotypes.go:794 +0x49
github.com/therecipe/qt/gui.(*QGuiApplication).Exec(0xc4200aa098, 0x872fc0)
	/home/dan/src/go/src/github.com/therecipe/qt/gui/gui-minimal.go:1094 +0x22
main.main()
	/home/dan/src/go/src/cwtch.im/ui/main.go:89 +0x5fb
- hit group settings - edited group name - hit save - app crashed ``` 2019/02/12 20:24:14 characters/grouppoller.go [DBUG] Found a Group: 37b6c1d6e4a7dbcec00599edcf26ef18 2c3kmoobnyghj2zw6pwv7d57yzld753auo3ugauezzpvfak3ahc4bdyd panic: assignment to entry in nil map goroutine 1 [running, locked to thread]: cwtch.im/cwtch/model.(*Group).SetAttribute(0xc4201ea1e0, 0x82e7c2, 0x4, 0xc4200cafe0, 0x14) /home/dan/src/go/src/cwtch.im/cwtch/model/group.go:160 +0x98 cwtch.im/ui/go/gothings.(*GrandCentralDispatcher).saveGroupSettings(0xc4200f4000, 0xc4200cafa0, 0x20, 0xc4200cafe0, 0x14) /home/dan/src/go/src/cwtch.im/ui/go/gothings/gcd.go:269 +0x9e cwtch.im/ui/go/gothings.(*GrandCentralDispatcher).(cwtch.im/ui/go/gothings.saveGroupSettings)-fm(0xc4200cafa0, 0x20, 0xc4200cafe0, 0x14) /home/dan/src/go/src/cwtch.im/ui/go/gothings/moc.go:85 +0x52 cwtch.im/ui/go/gothings.callbackGrandCentralDispatcher916838_SaveGroupSettings(0x2358e00, 0x88dabf2, 0x20, 0x7f0f4400c952, 0x14) /home/dan/src/go/src/cwtch.im/ui/go/gothings/moc.go:1048 +0xe8 cwtch.im/ui/go/gothings._cgoexpwrap_8854a1456189_callbackGrandCentralDispatcher916838_SaveGroupSettings(0x2358e00, 0x88dabf2, 0x20, 0x7f0f4400c952, 0x14) _cgo_gotypes.go:1972 +0x53 github.com/therecipe/qt/gui._Cfunc_QGuiApplication_QGuiApplication_Exec(0x0) _cgo_gotypes.go:794 +0x49 github.com/therecipe/qt/gui.(*QGuiApplication).Exec(0xc4200aa098, 0x872fc0) /home/dan/src/go/src/github.com/therecipe/qt/gui/gui-minimal.go:1094 +0x22 main.main() /home/dan/src/go/src/cwtch.im/ui/main.go:89 +0x5fb ```
Author
Owner

created a new profile. works now. unreproducible

created a new profile. works now. unreproducible
dan closed this issue 2019-02-13 04:33:34 +00:00
This repo is archived. You cannot comment on issues.
No Milestone
No Assignees
1 Participants
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: cwtch.im/ui#80
No description provided.