Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Race condition when updating dashboard #2

Closed
jkodumal opened this issue Oct 29, 2015 · 1 comment
Closed

Race condition when updating dashboard #2

jkodumal opened this issue Oct 29, 2015 · 1 comment
Assignees

Comments

@jkodumal
Copy link

Encountered with version 0.1.0-beta of the pod.

To reproduce, make changes on the LD dashboard and turn debugging on to poll rapidly.

2015-10-29 14:57:58.634 Converted[16401:2011110] *** Terminating app due to uncaught exception 'NSGenericException', reason: '*** Collection <__NSCFSet: 0x7fb9b1dc4140> was mutated while being enumerated.'
*** First throw call stack:
(
    0   CoreFoundation                      0x00000001073c5f45 __exceptionPreprocess + 165
    1   libobjc.A.dylib                     0x0000000106e3fdeb objc_exception_throw + 48
    2   CoreFoundation                      0x00000001073c58a4 __NSFastEnumerationMutationHandler + 132
    3   CoreData                            0x0000000103d40704 -[NSManagedObjectContext executeFetchRequest:error:] + 2932
    4   Converted                           0x000000010345dc18 -[DataManager allEvents] + 328
    5   Converted                           0x000000010345de97 -[DataManager allEventsJsonData] + 119
    6   Converted                           0x000000010345af98 -[ClientManager syncWithServerForEvents] + 136
    7   Converted                           0x00000001034648db -[PollingManager eventPoll] + 187
    8   Converted                           0x00000001034647a6 __37-[PollingManager startEventPollTimer]_block_invoke + 38
    9   libdispatch.dylib                   0x000000010787549b _dispatch_client_callout + 8
    10  libdispatch.dylib                   0x00000001078688a5 _dispatch_source_latch_and_call + 1750
    11  libdispatch.dylib                   0x0000000107863830 _dispatch_source_invoke + 1057
    12  libdispatch.dylib                   0x000000010785da56 _dispatch_root_queue_drain + 1420
    13  libdispatch.dylib                   0x000000010785d4c5 _dispatch_worker_thread3 + 111
    14  libsystem_pthread.dylib             0x0000000107ba6a9d _pthread_wqthread + 729
    15  libsystem_pthread.dylib             0x0000000107ba43dd start_wqthread + 13
)
2015-10-29 14:57:58.637 Converted[16401:2010704] ClientManager processedConfig method called after receiving successful response from server
libc++abi.dylib: terminating with uncaught exception of type NSException
@gus-byrnesinnovation gus-byrnesinnovation self-assigned this Oct 30, 2015
@jkodumal jkodumal closed this as completed Dec 8, 2015
danialzahid94 added a commit that referenced this issue Mar 18, 2017
* Update gitignore
* Parity in offline and stopClient
* Update pod version
* Add .swift-version for podspec
brianmichel added a commit to brianmichel/ios-client-sdk that referenced this issue Jan 18, 2024
* Windows Compiles

* Start pulling things around to build tests

* Add Windows Build action

* We should allow streaming on Windows

* Update package file

* Fix tests

* Add newlines

* add macos testing

* Fix tests on Darwin

* Go to event source revision with windows support

* Fix casing

* start adding environment reporting support

* Remove swift-crypto and use windows-native hasher

* Update linking type

* Respond to PR feedback

* PR feedback
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants