aebruno / whisperfish

Signal client for Sailfish OS
GNU General Public License v3.0
61 stars 17 forks source link

Tapping on notification of new message crashes Whisperfish #57

Closed ghost closed 3 years ago

ghost commented 8 years ago

This is in a group conversation:

`time="2016/08/21 20:23:08" level=info msg="Received message from: xxxxxxxxxxxxx" panic: reflect: call of reflect.Value.Type on zero Value

goroutine 1 [running, locked to thread]: panic(0x5568e8, 0x54f32c10) /home/mersdk/go/src/runtime/panic.go:464 +0x330 reflect.Value.Type(0x0, 0x0, 0x0, 0x0, 0x0) /home/mersdk/go/src/reflect/value.go:1671 +0x60 github.com/aebruno/whisperfish/vendor/github.com/aebruno/qml.hookGoValueCallMethod(0x20f4490, 0x54c4e570, 0x2, 0xbed03b78) /home/mersdk/src/github.com/aebruno/whisperfish/vendor/github.com/aebruno/qml/bridge.go:587 +0x214 github.com/aebruno/whisperfish/vendor/github.com/aebruno/qml._cgoexpwrap_1c1ac447334c_hookGoValueCallMethod(0x20f4490, 0x54c4e570, 0x2, 0xbed03b78) ??:0 +0x34 github.com/aebruno/whisperfish/vendor/github.com/aebruno/qml._Cfunc_goValueActivate(0x21413a0, 0x21411a8, 0x24) ??:0 +0x34 github.com/aebruno/whisperfish/vendor/github.com/aebruno/qml.Changed.func1() /home/mersdk/src/github.com/aebruno/whisperfish/vendor/github.com/aebruno/qml/bridge.go:200 +0x178 github.com/aebruno/whisperfish/vendor/github.com/aebruno/qml.RunMain(0x54f32bf0) /home/mersdk/src/github.com/aebruno/whisperfish/vendor/github.com/aebruno/qml/bridge.go:110 +0xcc github.com/aebruno/whisperfish/vendor/github.com/aebruno/qml.Changed(0x5679a8, 0x54b0da2c, 0x4ec2f8, 0x54b0da50) /home/mersdk/src/github.com/aebruno/whisperfish/vendor/github.com/aebruno/qml/bridge.go:213 +0x2e8 main.(_Whisperfish).setSession(0x54b0da00, 0x55d21ec0) /home/mersdk/src/github.com/aebruno/whisperfish/whisperfish.go:328 +0x154 main.(_Whisperfish).SetSession(0x54b0da00, 0x9, 0x0) /home/mersdk/src/github.com/aebruno/whisperfish/whisperfish.go:343 +0x22c reflect.Value.call(0x5b5958, 0x54b0da00, 0x5213, 0x5b9a48, 0x4, 0x54c63d88, 0x1, 0xa, 0x0, 0x0, ...) /home/mersdk/go/src/reflect/value.go:435 +0xeb4 reflect.Value.Call(0x5b5958, 0x54b0da00, 0x5213, 0x54c63d88, 0x1, 0xa, 0x0, 0x0, 0x0) /home/mersdk/go/src/reflect/value.go:303 +0x84 github.com/aebruno/whisperfish/vendor/github.com/aebruno/qml.hookGoValueCallMethod(0x20f4490, 0x54c4e510, 0x14, 0xbed04570) /home/mersdk/src/github.com/aebruno/whisperfish/vendor/github.com/aebruno/qml/bridge.go:596 +0x3d4 github.com/aebruno/whisperfish/vendor/github.com/aebruno/qml._cgoexpwrap_1c1ac447334c_hookGoValueCallMethod(0x20f4490, 0x54c4e510, 0x14, 0xbed04570) ??:0 +0x34 github.com/aebruno/whisperfish/vendor/github.com/aebruno/qml._Cfunc_sailfishapplicationExec() ??:0 +0x34 github.com/aebruno/whisperfish/vendor/github.com/aebruno/qml.SailfishRun(0x5f4058, 0x13, 0x0, 0x0, 0x676dc0, 0x10, 0x675370, 0x0, 0x0) /home/mersdk/src/github.com/aebruno/whisperfish/vendor/github.com/aebruno/qml/bridge.go:72 +0x1ec main.main() /home/mersdk/src/github.com/aebruno/whisperfish/whisperfish.go:108 +0x2a8`