Automattic / Automattic/Automattic-Tracks-iOS

Crash when writing JSON

Open
#179 0 comments 0 reactions 1 assignee Claimed by @jkmassel View on GitHub
bug
Dominant language
Swift
Stars
47
Forks
15
Avg merge
7h 58m
Merged PRs (30d)
1

Description

```
Thread 0 Crashed:
0 CoreFoundation 0x316f0c9d8 __exceptionPreprocess
1 libobjc.A.dylib 0x33f72cb50 objc_exception_throw
2 Foundation 0x3194edcf8 _writeJSONValue
3 Foundation 0x3194f04dc ___writeJSONObject_block_invoke
4 CoreFoundation 0x316e77cc4 __NSDICTIONARY_IS_CALLING_OUT_TO_A_BLOCK__
5 CoreFoundation 0x316df4600 -[__NSDictionaryM enumerateKeysAndObjectsWithOptions:usingBlock:]
6 Foundation 0x3194efa40 _writeJSONObject
7 Foundation 0x3194f07d0 ___writeJSONArray_block_invoke
8 CoreFoundation 0x316e901cc __NSARRAY_IS_CALLING_OUT_TO_A_BLOCK__
9 CoreFoundation 0x316df4368 -[__NSArrayM enumerateObjectsWithOptions:usingBlock:]
10 Foundation 0x3194efee4 _writeJSONArray
11 Foundation 0x3194f04dc ___writeJSONObject_block_invoke
12 CoreFoundation 0x316e77cc4 __NSDICTIONARY_IS_CALLING_OUT_TO_A_BLOCK__
13 CoreFoundation 0x316df5814 -[__NSDictionaryI enumerateKeysAndObjectsWithOptions:usingBlock:]
14 Foundation 0x3194efa40 _writeJSONObject
15 Foundation 0x3194edbcc -[_NSJSONWriter dataWithRootObject:options:]
16 Foundation 0x3193ab980 +[NSJSONSerialization dataWithJSONObject:options:error:]
17 WordPress 0x20376e620 -[TracksServiceRemote sendBatchOfEvents:withSharedProperties:completionHandler:] (TracksServiceRemote.m:43)
18 WordPress 0x20376c428 -[TracksService sendQueuedEvents] (TracksService.m:168)
```

https://sentry.io/share/issue/270bf6bc44ea42dd952b4c3ac5e6b235/

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.