{"action":"created","issue":{"url":"https://api.github.com/repos/highcharts/highcharts-ios/issues/91","repository_url":"https://api.github.com/repos/highcharts/highcharts-ios","labels_url":"https://api.github.com/repos/highcharts/highcharts-ios/issues/91/labels{/name}","comments_url":"https://api.github.com/repos/highcharts/highcharts-ios/issues/91/comments","events_url":"https://api.github.com/repos/highcharts/highcharts-ios/issues/91/events","html_url":"https://github.com/highcharts/highcharts-ios/issues/91","id":317994458,"number":91,"title":"Crash in Foundation","user":{"login":"skuske","id":12996815,"avatar_url":"https://avatars2.githubusercontent.com/u/12996815?v=4","gravatar_id":"","url":"https://api.github.com/users/skuske","html_url":"https://github.com/skuske","followers_url":"https://api.github.com/users/skuske/followers","following_url":"https://api.github.com/users/skuske/following{/other_user}","gists_url":"https://api.github.com/users/skuske/gists{/gist_id}","starred_url":"https://api.github.com/users/skuske/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skuske/subscriptions","organizations_url":"https://api.github.com/users/skuske/orgs","repos_url":"https://api.github.com/users/skuske/repos","events_url":"https://api.github.com/users/skuske/events{/privacy}","received_events_url":"https://api.github.com/users/skuske/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-04-26T11:50:30Z","updated_at":"2018-05-14T07:47:59Z","closed_at":null,"author_association":"NONE","body":"Crashlytics detected a crash in the iOS wrapper. Info as follows:\r\n\r\n```\r\n# Crashlytics - plaintext stacktrace downloaded by X at Tue, 24 Apr 2018 16:11:22 GMT\r\n# Platform: ios\r\n# Date: 2018-04-23T21:27:00Z\r\n# OS Version: 11.3.0 (15E216)\r\n# Device: iPhone X\r\n# RAM Free: 6.7%\r\n# Disk Free: 11.3%\r\n\r\n#0. Crashed: com.twitter.crashlytics.ios.exception\r\n0  appnam                         0x10231ee80 CLSProcessRecordAllThreads (CLSProcess.c:376)\r\n1  appnam                         0x10231ee80 CLSProcessRecordAllThreads (CLSProcess.c:376)\r\n2  appnam                         0x10231f2f4 CLSProcessRecordAllThreads (CLSProcess.c:407)\r\n3  appnam                         0x10230e934 CLSHandler (CLSHandler.m:26)\r\n4  appnam                         0x10231d3ec __CLSExceptionRecord_block_invoke (CLSException.mm:199)\r\n5  libdispatch.dylib              0x181f18ae4 _dispatch_client_callout + 16\r\n6  libdispatch.dylib              0x181f55eb4 _dispatch_queue_barrier_sync_invoke_and_complete + 56\r\n7  appnam                         0x10231ce68 CLSExceptionRecord (CLSException.mm:206)\r\n8  appnam                         0x10231cc98 CLSExceptionRecordNSException (CLSException.mm:102)\r\n9  appnam                         0x10231c898 CLSTerminateHandler() (CLSException.mm:259)\r\n10 libc++abi.dylib                0x1817d137c std::__terminate(void (*)()) + 16\r\n11 libc++abi.dylib                0x1817d0f78 __cxa_rethrow + 144\r\n12 libobjc.A.dylib                0x1817e07ac objc_exception_rethrow + 44\r\n13 CoreFoundation                 0x1824ece18 CFRunLoopRunSpecific + 664\r\n14 GraphicsServices               0x1844cf020 GSEventRunModal + 100\r\n15 UIKit                          0x18c4cd78c UIApplicationMain + 236\r\n16 appnam                         0x1022af730 main (main.m:187)\r\n17 libdyld.dylib                  0x181f7dfc0 start + 4\r\n\r\n--\r\n\r\nFatal Exception: NSInvalidArgumentException\r\n0  CoreFoundation                 0x182626d8c __exceptionPreprocess\r\n1  libobjc.A.dylib                0x1817e05ec objc_exception_throw\r\n2  CoreFoundation                 0x182626c6c -[NSException initWithCoder:]\r\n3  Foundation                     0x1830fdc58 _writeJSONNumber\r\n4  Foundation                     0x1830fc7d4 _writeJSONValue\r\n5  Foundation                     0x1830fee0c ___writeJSONArray_block_invoke\r\n6  CoreFoundation                 0x182500a20 -[__NSArrayM enumerateObjectsWithOptions:usingBlock:]\r\n7  Foundation                     0x1830fe538 _writeJSONArray\r\n8  Foundation                     0x1830feb40 ___writeJSONObject_block_invoke\r\n9  CoreFoundation                 0x1824f53a0 -[__NSDictionaryM enumerateKeysAndObjectsWithOptions:usingBlock:]\r\n10 Foundation                     0x1830fe11c _writeJSONObject\r\n11 Foundation                     0x1830fee0c ___writeJSONArray_block_invoke\r\n12 CoreFoundation                 0x182500a20 -[__NSArrayM enumerateObjectsWithOptions:usingBlock:]\r\n13 Foundation                     0x1830fe538 _writeJSONArray\r\n14 Foundation                     0x1830feb40 ___writeJSONObject_block_invoke\r\n15 CoreFoundation                 0x182664654 -[__NSFrozenDictionaryM enumerateKeysAndObjectsWithOptions:usingBlock:]\r\n16 Foundation                     0x1830fe11c _writeJSONObject\r\n17 Foundation                     0x1830fc584 -[_NSJSONWriter dataWithRootObject:options:error:]\r\n18 Foundation                     0x1830fd5d4 +[NSJSONSerialization dataWithJSONObject:options:error:]\r\n19 Highcharts                     0x1024f2b30 (Missing)\r\n20 Highcharts                     0x1024f62d0 (Missing)\r\n21 Highcharts                     0x1024c2148 (Missing)\r\n22 Foundation                     0x1830733d4 __NSFireTimer\r\n23 CoreFoundation                 0x1825cfaa8 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__\r\n24 CoreFoundation                 0x1825cf76c __CFRunLoopDoTimer\r\n25 CoreFoundation                 0x1825cf010 __CFRunLoopDoTimers\r\n26 CoreFoundation                 0x1825ccb60 __CFRunLoopRun\r\n27 CoreFoundation                 0x1824ecda8 CFRunLoopRunSpecific\r\n28 GraphicsServices               0x1844cf020 GSEventRunModal\r\n29 UIKit                          0x18c4cd78c UIApplicationMain\r\n30 appnam                         0x1022af730 main (main.m:187)\r\n31 libdyld.dylib                  0x181f7dfc0 start\r\n\r\n#0. Crashed: com.twitter.crashlytics.ios.exception\r\n0  appnam                         0x10231ee80 CLSProcessRecordAllThreads (CLSProcess.c:376)\r\n1  appnam                         0x10231ee80 CLSProcessRecordAllThreads (CLSProcess.c:376)\r\n2  appnam                         0x10231f2f4 CLSProcessRecordAllThreads (CLSProcess.c:407)\r\n3  appnam                         0x10230e934 CLSHandler (CLSHandler.m:26)\r\n4  appnam                         0x10231d3ec __CLSExceptionRecord_block_invoke (CLSException.mm:199)\r\n5  libdispatch.dylib              0x181f18ae4 _dispatch_client_callout + 16\r\n6  libdispatch.dylib              0x181f55eb4 _dispatch_queue_barrier_sync_invoke_and_complete + 56\r\n7  appnam                         0x10231ce68 CLSExceptionRecord (CLSException.mm:206)\r\n8  appnam                         0x10231cc98 CLSExceptionRecordNSException (CLSException.mm:102)\r\n9  appnam                         0x10231c898 CLSTerminateHandler() (CLSException.mm:259)\r\n10 libc++abi.dylib                0x1817d137c std::__terminate(void (*)()) + 16\r\n11 libc++abi.dylib                0x1817d0f78 __cxa_rethrow + 144\r\n12 libobjc.A.dylib                0x1817e07ac objc_exception_rethrow + 44\r\n13 CoreFoundation                 0x1824ece18 CFRunLoopRunSpecific + 664\r\n14 GraphicsServices               0x1844cf020 GSEventRunModal + 100\r\n15 UIKit                          0x18c4cd78c UIApplicationMain + 236\r\n16 appnam                         0x1022af730 main (main.m:187)\r\n17 libdyld.dylib                  0x181f7dfc0 start + 4\r\n\r\n#1. com.apple.uikit.eventfetch-thread\r\n0  libsystem_kernel.dylib         0x18208be08 mach_msg_trap + 8\r\n1  libsystem_kernel.dylib         0x18208bc80 mach_msg + 72\r\n2  CoreFoundation                 0x1825cee40 __CFRunLoopServiceMachPort + 196\r\n3  CoreFoundation                 0x1825cc908 __CFRunLoopRun + 1568\r\n4  CoreFoundation                 0x1824ecda8 CFRunLoopRunSpecific + 552\r\n5  Foundation                     0x182f61674 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 304\r\n6  Foundation                     0x182f6151c -[NSRunLoop(NSRunLoop) runUntilDate:] + 148\r\n7  UIKit                          0x18c1b27e4 -[UIEventFetcher threadMain] + 136\r\n8  Foundation                     0x183071efc __NSThread__start__ + 1040\r\n9  libsystem_pthread.dylib        0x18224d220 _pthread_body + 272\r\n10 libsystem_pthread.dylib        0x18224d110 _pthread_body + 290\r\n11 libsystem_pthread.dylib        0x18224bb10 thread_start + 4\r\n\r\n#2. com.twitter.crashlytics.ios.MachExceptionServer\r\n0  libsystem_kernel.dylib         0x18208be08 mach_msg_trap + 8\r\n1  libsystem_kernel.dylib         0x18208bc80 mach_msg + 72\r\n2  appnam                         0x102309844 CLSMachExceptionServer (CLSMachException.c:180)\r\n3  libsystem_pthread.dylib        0x18224d220 _pthread_body + 272\r\n4  libsystem_pthread.dylib        0x18224d110 _pthread_body + 290\r\n5  libsystem_pthread.dylib        0x18224bb10 thread_start + 4\r\n\r\n#3. com.apple.NSURLConnectionLoader\r\n0  libsystem_kernel.dylib         0x18208be08 mach_msg_trap + 8\r\n1  libsystem_kernel.dylib         0x18208bc80 mach_msg + 72\r\n2  CoreFoundation                 0x1825cee40 __CFRunLoopServiceMachPort + 196\r\n3  CoreFoundation                 0x1825cc908 __CFRunLoopRun + 1568\r\n4  CoreFoundation                 0x1824ecda8 CFRunLoopRunSpecific + 552\r\n5  CFNetwork                      0x182dfa4b0 -[__CoreSchedulingSetRunnable runForever] + 220\r\n6  Foundation                     0x183071efc __NSThread__start__ + 1040\r\n7  libsystem_pthread.dylib        0x18224d220 _pthread_body + 272\r\n8  libsystem_pthread.dylib        0x18224d110 _pthread_body + 290\r\n9  libsystem_pthread.dylib        0x18224bb10 thread_start + 4\r\n\r\n#4. Thread\r\n0  libsystem_kernel.dylib         0x1820ad0f4 __psynch_cvwait + 8\r\n1  libsystem_pthread.dylib        0x182253ed8 _pthread_cond_wait$VARIANT$armv81 + 628\r\n2  libc++.1.dylib                 0x1817642ec std::__1::condition_variable::__do_timed_wait(std::__1::unique_lock<std::__1::mutex>&, std::__1::chrono::time_point<std::__1::chrono::system_clock, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000000l> > >) + 96\r\n3  JavaScriptCore                 0x189c43430 std::__1::cv_status std::__1::condition_variable::wait_until<std::__1::chrono::steady_clock, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000000l> > >(std::__1::unique_lock<std::__1::mutex>&, std::__1::chrono::time_point<std::__1::chrono::steady_clock, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000000l> > > const&) + 124\r\n4  JavaScriptCore                 0x189c432e0 std::__1::cv_status std::__1::condition_variable_any::wait_until<std::__1::unique_lock<bmalloc::Mutex>, std::__1::chrono::steady_clock, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000000l> > >(std::__1::unique_lock<bmalloc::Mutex>&, std::__1::chrono::time_point<std::__1::chrono::steady_clock, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000000l> > > const&) + 112\r\n5  JavaScriptCore                 0x189c42e24 bmalloc::Scavenger::threadRunLoop() + 272\r\n6  JavaScriptCore                 0x189c42b60 bmalloc::Scavenger::Scavenger(std::__1::lock_guard<bmalloc::StaticMutex>&) + 10\r\n7  JavaScriptCore                 0x189c42f7c void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void (*)(bmalloc::Scavenger*), bmalloc::Scavenger*> >(void*) + 44\r\n8  libsystem_pthread.dylib        0x18224d220 _pthread_body + 272\r\n9  libsystem_pthread.dylib        0x18224d110 _pthread_body + 290\r\n10 libsystem_pthread.dylib        0x18224bb10 thread_start + 4\r\n\r\n#5. com.apple.CoreMotion.MotionThread\r\n0  libsystem_kernel.dylib         0x18208be08 mach_msg_trap + 8\r\n1  libsystem_kernel.dylib         0x18208bc80 mach_msg + 72\r\n2  CoreFoundation                 0x1825cee40 __CFRunLoopServiceMachPort + 196\r\n3  CoreFoundation                 0x1825cc908 __CFRunLoopRun + 1568\r\n4  CoreFoundation                 0x1824ecda8 CFRunLoopRunSpecific + 552\r\n5  CoreFoundation                 0x18253cb28 CFRunLoopRun + 116\r\n6  CoreMotion                     0x187acd9dc CLStartStopAdvertisingBeacon + 231572\r\n7  libsystem_pthread.dylib        0x18224d220 _pthread_body + 272\r\n8  libsystem_pthread.dylib        0x18224d110 _pthread_body + 290\r\n9  libsystem_pthread.dylib        0x18224bb10 thread_start + 4\r\n\r\n#6. AVAudioSession Notify Thread\r\n0  libsystem_kernel.dylib         0x18208be08 mach_msg_trap + 8\r\n1  libsystem_kernel.dylib         0x18208bc80 mach_msg + 72\r\n2  CoreFoundation                 0x1825cee40 __CFRunLoopServiceMachPort + 196\r\n3  CoreFoundation                 0x1825cc908 __CFRunLoopRun + 1568\r\n4  CoreFoundation                 0x1824ecda8 CFRunLoopRunSpecific + 552\r\n5  AVFAudio                       0x187fd2424 GenericRunLoopThread::Entry(void*) + 164\r\n6  AVFAudio                       0x187ffc834 CAPThread::Entry(CAPThread*) + 88\r\n7  libsystem_pthread.dylib        0x18224d220 _pthread_body + 272\r\n8  libsystem_pthread.dylib        0x18224d110 _pthread_body + 290\r\n9  libsystem_pthread.dylib        0x18224bb10 thread_start + 4\r\n\r\n#7. Thread\r\n0  libsystem_kernel.dylib         0x1820add84 __workq_kernreturn + 8\r\n1  libsystem_pthread.dylib        0x18224beb4 _pthread_wqthread + 928\r\n2  libsystem_pthread.dylib        0x18224bb08 start_wqthread + 4\r\n\r\n#8. Thread\r\n0  libsystem_kernel.dylib         0x1820add84 __workq_kernreturn + 8\r\n1  libsystem_pthread.dylib        0x18224beb4 _pthread_wqthread + 928\r\n2  libsystem_pthread.dylib        0x18224bb08 start_wqthread + 4\r\n\r\n#9. Thread\r\n0  libsystem_kernel.dylib         0x1820add84 __workq_kernreturn + 8\r\n1  libsystem_pthread.dylib        0x18224beb4 _pthread_wqthread + 928\r\n2  libsystem_pthread.dylib        0x18224bb08 start_wqthread + 4\r\n\r\n#10. Thread\r\n0  libsystem_pthread.dylib        0x18224bb04 start_wqthread + 122\r\n\r\n#11. Thread\r\n0  libsystem_pthread.dylib        0x18224bb04 start_wqthread + 122\r\n```"},"comment":{"url":"https://api.github.com/repos/highcharts/highcharts-ios/issues/comments/388726968","html_url":"https://github.com/highcharts/highcharts-ios/issues/91#issuecomment-388726968","issue_url":"https://api.github.com/repos/highcharts/highcharts-ios/issues/91","id":388726968,"user":{"login":"ihnatmoisieiev","id":11294008,"avatar_url":"https://avatars2.githubusercontent.com/u/11294008?v=4","gravatar_id":"","url":"https://api.github.com/users/ihnatmoisieiev","html_url":"https://github.com/ihnatmoisieiev","followers_url":"https://api.github.com/users/ihnatmoisieiev/followers","following_url":"https://api.github.com/users/ihnatmoisieiev/following{/other_user}","gists_url":"https://api.github.com/users/ihnatmoisieiev/gists{/gist_id}","starred_url":"https://api.github.com/users/ihnatmoisieiev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ihnatmoisieiev/subscriptions","organizations_url":"https://api.github.com/users/ihnatmoisieiev/orgs","repos_url":"https://api.github.com/users/ihnatmoisieiev/repos","events_url":"https://api.github.com/users/ihnatmoisieiev/events{/privacy}","received_events_url":"https://api.github.com/users/ihnatmoisieiev/received_events","type":"User","site_admin":false},"created_at":"2018-05-14T07:47:59Z","updated_at":"2018-05-14T07:47:59Z","author_association":"NONE","body":"@skuske thanks for more information about it. Do you have example options for which this exception occurs?"}}
{"actor":{"display_login":"ihnatmoisieiev"}}