settings for a p2p contact can crash #24

Closed
opened 2018-12-18 19:26:49 +00:00 by erinn · 1 comment
Owner

almost certainly related to the "nick" custom attribute not being set on a recently pasted contact

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

goroutine 1 [running, locked to thread]:
cwtch.im/cwtch/model.(*Group).GetAttribute(0x0, 0x89473b, 0x4, 0x0, 0x0, 0x6c2d00)
/home/erinn/go/src/cwtch.im/cwtch/model/group.go:170 +0x33
cwtch.im/ui/go/gothings.(*GrandCentralDispatcher).requestGroupSettings(0xc42008e9c0)
/home/erinn/go/src/cwtch.im/ui/go/gothings/gcd.go:164 +0x99
cwtch.im/ui/go/gothings.(*GrandCentralDispatcher).(cwtch.im/ui/go/gothings.requestGroupSettings)-fm()
/home/erinn/go/src/cwtch.im/ui/go/gothings/moc.go:83 +0x2a
cwtch.im/ui/go/gothings.callbackGrandCentralDispatcher16376a_RequestGroupSettings(0x1e35e00)
/home/erinn/go/src/cwtch.im/ui/go/gothings/moc.go:902 +0x70
cwtch.im/ui/go/gothings._cgoexpwrap_467953c36136_callbackGrandCentralDispatcher16376a_RequestGroupSettings(0x1e35e00)
_cgo_gotypes.go:1690 +0x2b
github.com/therecipe/qt/quick._Cfunc_QQuickWindow_EventDefault(0x1e7fda0, 0x7ffebb5151b0, 0x0)
_cgo_gotypes.go:1249 +0x4a
github.com/therecipe/qt/quick.(*QQuickWindow).EventDefault.func1(0x1e7fda0, 0x7ffebb5151b0, 0x7ffebb5151b0)
/home/erinn/go/src/github.com/therecipe/qt/quick/quick-minimal.go:1175 +0x8f
github.com/therecipe/qt/quick.(*QQuickWindow).EventDefault(0xc420415d08, 0x8e1960, 0xc42000e630, 0x5)
/home/erinn/go/src/github.com/therecipe/qt/quick/quick-minimal.go:1175 +0x80
github.com/therecipe/qt/quick.callbackQQuickWindow_Event(0x1e7fda0, 0x7ffebb5151b0, 0xc420415d80)
/home/erinn/go/src/github.com/therecipe/qt/quick/quick-minimal.go:1170 +0xe7
github.com/therecipe/qt/quick._cgoexpwrap_0f99c57a7258_callbackQQuickWindow_Event(0x1e7fda0, 0x7ffebb5151b0, 0x18)
_cgo_gotypes.go:1896 +0x35
github.com/therecipe/qt/widgets._Cfunc_QApplication_QApplication_Exec(0x0)
_cgo_gotypes.go:865 +0x49
github.com/therecipe/qt/widgets.QApplication_Exec(0xc42008a640)
/home/erinn/go/src/github.com/therecipe/qt/widgets/widgets-minimal.go:880 +0x22
main.main()
/home/erinn/go/src/cwtch.im/ui/main.go:67 +0x3f1

almost certainly related to the "nick" custom attribute not being set on a recently pasted contact panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x64f283] goroutine 1 [running, locked to thread]: cwtch.im/cwtch/model.(*Group).GetAttribute(0x0, 0x89473b, 0x4, 0x0, 0x0, 0x6c2d00) /home/erinn/go/src/cwtch.im/cwtch/model/group.go:170 +0x33 cwtch.im/ui/go/gothings.(*GrandCentralDispatcher).requestGroupSettings(0xc42008e9c0) /home/erinn/go/src/cwtch.im/ui/go/gothings/gcd.go:164 +0x99 cwtch.im/ui/go/gothings.(*GrandCentralDispatcher).(cwtch.im/ui/go/gothings.requestGroupSettings)-fm() /home/erinn/go/src/cwtch.im/ui/go/gothings/moc.go:83 +0x2a cwtch.im/ui/go/gothings.callbackGrandCentralDispatcher16376a_RequestGroupSettings(0x1e35e00) /home/erinn/go/src/cwtch.im/ui/go/gothings/moc.go:902 +0x70 cwtch.im/ui/go/gothings._cgoexpwrap_467953c36136_callbackGrandCentralDispatcher16376a_RequestGroupSettings(0x1e35e00) _cgo_gotypes.go:1690 +0x2b github.com/therecipe/qt/quick._Cfunc_QQuickWindow_EventDefault(0x1e7fda0, 0x7ffebb5151b0, 0x0) _cgo_gotypes.go:1249 +0x4a github.com/therecipe/qt/quick.(*QQuickWindow).EventDefault.func1(0x1e7fda0, 0x7ffebb5151b0, 0x7ffebb5151b0) /home/erinn/go/src/github.com/therecipe/qt/quick/quick-minimal.go:1175 +0x8f github.com/therecipe/qt/quick.(*QQuickWindow).EventDefault(0xc420415d08, 0x8e1960, 0xc42000e630, 0x5) /home/erinn/go/src/github.com/therecipe/qt/quick/quick-minimal.go:1175 +0x80 github.com/therecipe/qt/quick.callbackQQuickWindow_Event(0x1e7fda0, 0x7ffebb5151b0, 0xc420415d80) /home/erinn/go/src/github.com/therecipe/qt/quick/quick-minimal.go:1170 +0xe7 github.com/therecipe/qt/quick._cgoexpwrap_0f99c57a7258_callbackQQuickWindow_Event(0x1e7fda0, 0x7ffebb5151b0, 0x18) _cgo_gotypes.go:1896 +0x35 github.com/therecipe/qt/widgets._Cfunc_QApplication_QApplication_Exec(0x0) _cgo_gotypes.go:865 +0x49 github.com/therecipe/qt/widgets.QApplication_Exec(0xc42008a640) /home/erinn/go/src/github.com/therecipe/qt/widgets/widgets-minimal.go:880 +0x22 main.main() /home/erinn/go/src/cwtch.im/ui/main.go:67 +0x3f1
Author
Owner

fixed in #34

fixed in #34
erinn closed this issue 2019-01-14 19:51:50 +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#24
No description provided.