stream-chat-swift icon indicating copy to clipboard operation
stream-chat-swift copied to clipboard

CRASH - ChannelListController line 88

Open tr736-reclip opened this issue 3 years ago • 1 comments

I would love to give you more information but all ive got is the crashlogs and screens

Screenshot 2022-08-07 at 20 55 01 Screenshot 2022-08-07 at 20 51 27

crashlog.txt

tr736-reclip avatar Aug 07 '22 19:08 tr736-reclip

Hi @tr736-reclip,

Thanks for your report. Reviewing the info you provide, in the crashlog you can notice that this is a Watchdog termination, that usually means that there is a heavy task blocking the main thread and the system crashes the app. Also, in the stack trace I notice in 8 that the issue might be in a file called ChatService.swift, line 379 Please check that you are not blocking the main thread with heavy tasks and you can set the combine signal to the main thread/loop when it is appropriated using .receive(on:).

I leave a couple of links that you can check to understand the issue better:

  • https://developer.apple.com/documentation/xcode/addressing-watchdog-terminations
  • https://developer.apple.com/documentation/combine/publishers/map/receive(on:options:)

Hope this info helps you and let us know how it goes.

Regards, Hugo

hugobernalstream avatar Aug 08 '22 16:08 hugobernalstream

Hi @tr736-reclip,

I'm closing the issue for inactivity, and also it seems the issue is an integration problem.

Let us know if you have any more questions, or if the info provided by Hugo did fix the problem.

Best, Nuno

nuno-vieira avatar Aug 16 '22 15:08 nuno-vieira