ReactiveCocoa / ReactiveSwift

Streams of values over time

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Reactive Swift crash with getCache function and observeSwitchToLatest signal

akshaybdv7 opened this issue · comments

We are facing random crash with below stack trace lines

Thread 0 name:
Thread 0 Crashed:
0 libswiftCore.dylib 0x000000019371c5a8 getCache(swift::TargetTypeContextDescriptorswift::InProcess const&) + 8 (Metadata.cpp:479)
1 libswiftCore.dylib 0x000000019371d108 swift_getGenericMetadata(swift::MetadataRequest, void const* const*, swift::TargetTypeContextDescriptorswift::InProcess const*) + 56 (Metadata.cpp:937)
2 ReactiveSwift 0x0000000107cdef74 __swift_instantiateGenericMetadata + 28 (:0)
3 ReactiveSwift 0x0000000107cfe3b8 specialized Signal.Core.send(
:) + 540 (Signal.swift:115)
4 ReactiveSwift 0x0000000107d2b408 Signal.Observer.send(:) + 20 (Signal.Observer.swift:111)
5 ReactiveSwift 0x0000000107cf7390 closure #3 in closure #1 in closure #1 in Signal<>.observeSwitchToLatest(
::) + 188 (Flatten.swift:677)
6 ReactiveSwift 0x0000000107d2b408 Signal.Observer.send(
:) + 20 (Signal.Observer.swift:111)
7 ReactiveSwift 0x0000000107d195f8 Signal.Core.tryToCommitTermination() + 604 (Signal.swift:231)
8 ReactiveSwift 0x0000000107cfe3b8 specialized Signal.Core.send(:) + 540 (Signal.swift:115)
9 ReactiveSwift 0x0000000107d2b408 Signal.Observer.send(
:) + 20 (Signal.Observer.swift:111)
10 ReactiveSwift 0x0000000107cf7390 closure #3 in closure #1 in closure #1 in Signal<>.observeSwitchToLatest(::) + 188 (Flatten.swift:677)
11 ReactiveSwift 0x0000000107d2b408 Signal.Observer.send(:) + 20 (Signal.Observer.swift:111)
12 ReactiveSwift 0x0000000107d195f8 Signal.Core.tryToCommitTermination() + 604 (Signal.swift:231)
13 ReactiveSwift 0x0000000107cfe3b8 specialized Signal.Core.send(
:) + 540 (Signal.swift:115)
14 ReactiveSwift 0x0000000107d2b408 Signal.Observer.send(:) + 20 (Signal.Observer.swift:111)
15 ReactiveSwift 0x0000000107cf7390 closure #3 in closure #1 in closure #1 in Signal<>.observeSwitchToLatest(
::) + 188 (Flatten.swift:677)
16 ReactiveSwift 0x0000000107d2b408 Signal.Observer.send(
:) + 20 (Signal.Observer.swift:111)
17 ReactiveSwift 0x0000000107d195f8 Signal.Core.tryToCommitTermination() + 604 (Signal.swift:231)
18 ReactiveSwift 0x0000000107cfe3b8 specialized Signal.Core.send(:) + 540 (Signal.swift:115)
19 ReactiveSwift 0x0000000107d2b408 Signal.Observer.send(
:) + 20 (Signal.Observer.swift:111)
20 ReactiveSwift 0x0000000107cf7390 closure #3 in closure #1 in closure #1 in Signal<>.observeSwitchToLatest(::) + 188 (Flatten.swift:677)
21 ReactiveSwift 0x0000000107d2b408 Signal.Observer.send(:) + 20 (Signal.Observer.swift:111)
22 ReactiveSwift 0x0000000107d195f8 Signal.Core.tryToCommitTermination() + 604 (Signal.swift:231)
23 ReactiveSwift 0x0000000107cfe3b8 specialized Signal.Core.send(
:) + 540 (Signal.swift:115)
24 ReactiveSwift 0x0000000107d2b408 Signal.Observer.send(:) + 20 (Signal.Observer.swift:111)
25 ReactiveSwift 0x0000000107cf7390 closure #3 in closure #1 in closure #1 in Signal<>.observeSwitchToLatest(
::) + 188 (Flatten.swift:677)
26 ReactiveSwift 0x0000000107d2b408 Signal.Observer.send(
:) + 20 (Signal.Observer.swift:111)
27 ReactiveSwift 0x0000000107d195f8 Signal.Core.tryToCommitTermination() + 604 (Signal.swift:231)
28 ReactiveSwift 0x0000000107cfe3b8 specialized Signal.Core.send(:) + 540 (Signal.swift:115)
29 ReactiveSwift 0x0000000107d2b408 Signal.Observer.send(
:) + 20 (Signal.Observer.swift:111)
30 ReactiveSwift 0x0000000107cf7390 closure #3 in closure #1 in closure #1 in Signal<>.observeSwitchToLatest(::) + 188 (Flatten.swift:677)

Below is full stack trace file which I have downloaded from apple store connect. Will really appreciate any help/solution. Thank you

crashlog.txt