Crash when leaving Group-Chat #181

Closed
opened 2021-09-13 15:36:43 +00:00 by Ghost · 0 comments

Hi all,

if you leave a Group Chat, cwtch crashes (on Ubuntu and Android 10 with cwtch-version: v1.2.0, built on: 2021-08-31-15-33).

The Log says:

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

goroutine 18 [running, locked to thread]:
git.openprivacy.ca/cwtch.im/libcwtch-go/utils.(*PeerHelper).GetTimeline(0xc000507d60, {0xc00078e060, 0x20})
	/drone/src/utils/manager.go:48 +0x7e
main.GetMessagesByContentHash({0xc0001ec140, 0x2c}, {0xc00078e060, 0x20}, {0xc0002580c0, 0x2c})
	/drone/src/lib.go:599 +0x8a
main.c_GetMessagesByContentHash(0xc000507e20, 0x507e20, 0x7f1dc0b463d8, 0x20, 0x0, 0x2c)
	/drone/src/lib.go:584 +0x9c
Aborted (core dumped)

Thank you for your work!

Hi all, if you leave a Group Chat, cwtch crashes (on Ubuntu and Android 10 with cwtch-version: v1.2.0, built on: 2021-08-31-15-33). The Log says: ``` panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x7f1dc0d16fbe] goroutine 18 [running, locked to thread]: git.openprivacy.ca/cwtch.im/libcwtch-go/utils.(*PeerHelper).GetTimeline(0xc000507d60, {0xc00078e060, 0x20}) /drone/src/utils/manager.go:48 +0x7e main.GetMessagesByContentHash({0xc0001ec140, 0x2c}, {0xc00078e060, 0x20}, {0xc0002580c0, 0x2c}) /drone/src/lib.go:599 +0x8a main.c_GetMessagesByContentHash(0xc000507e20, 0x507e20, 0x7f1dc0b463d8, 0x20, 0x0, 0x2c) /drone/src/lib.go:584 +0x9c Aborted (core dumped) ``` Thank you for your work!
sarah added the
cwtch-beta-1.3
label 2021-09-13 17:42:08 +00:00
sarah added this to the Cwtch Beta 1.3 project 2021-09-17 19:00:20 +00:00
sarah added the
in-nightly
label 2021-09-30 18:46:40 +00:00
sarah closed this issue 2021-09-30 21:04:01 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
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/cwtch-ui#181
No description provided.