Skip to content
This repository has been archived by the owner on Nov 20, 2020. It is now read-only.

Tapping on notification of new message crashes Whisperfish #57

Closed
ghost opened this issue Aug 21, 2016 · 0 comments
Closed

Tapping on notification of new message crashes Whisperfish #57

ghost opened this issue Aug 21, 2016 · 0 comments

Comments

@ghost
Copy link

ghost commented Aug 21, 2016

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`

aebruno added a commit that referenced this issue Feb 11, 2017
This is a start to porting the UI code to use new go QT bindings along
with major refactoring of the code base. This should fix several issues
with overall performance especially related to viewing conversations
with a large list of messages. A few notable changes include:

- Viewing conversations now use native QAbstractList models which should
  improve performance
- The attachment directory is now configurable and can be changed to a
  location searched by the gallery. Should fix #45
- Notifications no longer replace. There is a new notification for each
  message. This fixes #6 and #57
- Incognito mode should be working again. Fixes #58
aebruno added a commit that referenced this issue Apr 2, 2017
rubdos added a commit to whisperfish/whisperfish that referenced this issue Jun 14, 2020
@aebruno aebruno closed this as completed Nov 19, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant