Skip to content

[Bug]: CoreData crashes occurred in StreamChat, version 4.91.0 of StreamChat. #3905

@xiaoxiaoxiaoxuan

Description

@xiaoxiaoxiaoxuan

Actual behaviour

Here is the stack information. We are using version 4.91.0 of StreamChat and StreamChatSwiftUI. Please help us troubleshoot the cause.
Crashed: NSManagedObjectContext 0x105c5f240
EXC_BREAKPOINT 0x00000001a9f32074
0
CoreData
-[NSManagedObjectContext thereIsNoSadnessLikeTheDeathOfOptimism] + 196
1
CoreData
-[NSManagedObjectContext save:] + 2756
2
appname
DatabaseContainer.swift:198
closure #1 in DatabaseContainer.write(
:completion:) + 198
3
appname
<deduplicated_symbol> + 4339882856
4
CoreData
developerSubmittedBlockToNSManagedObjectContextPerform + 228
5
libdispatch.dylib
_dispatch_client_callout + 16
6
libdispatch.dylib
_dispatch_lane_serial_drain + 740
7
libdispatch.dylib
_dispatch_lane_invoke + 388
8
libdispatch.dylib
_dispatch_root_queue_drain_deferred_wlh + 292
9
libdispatch.dylib
_dispatch_workloop_worker_thread + 540
10
libsystem_pthread.dylib
_pthread_wqthread + 292
11
libsystem_pthread.dylib
start_wqthread + 8

Expected behaviour

No crashes.

Steps to reproduce

Enter the chat page and send or receive messages.

Which packages are you using?

No response

Which SDK version are you using?

4.91.0

Which iOS version is the issue reproducible?

all

Which iPhone Device is the issue reproducible?

all

Which Xcode version are you using?

No response

Metadata

Metadata

Assignees

Labels

🔎 InvestigatingThis issue is currently being investigated (Not reproducible yet)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions