Coder Social home page Coder Social logo

Comments (2)

everettjf avatar everettjf commented on April 28, 2024 1

Same issue. Could we move the disk writing operations into child thread ?




Application Specific Information:
App hanging for at least 2000 ms.

Thread 0 Crashed:
0   libsystem_kernel.dylib          0x3ae565b48         __getattrlist
1   Foundation                      0x31d6f069c         _NSWriteDataToFileWithExtendedAttributes
2   Foundation                      0x31d6f04e4         writeStringToURLOrPath
3   Moneyman                        0x203b5a888         -[FBSDKTimeSpentData suspendTimeSpentData] (FBSDKTimeSpentData.m:133)
4   libdispatch.dylib               0x32f6e06a4         _dispatch_call_block_and_release
5   libdispatch.dylib               0x32f6e22fc         _dispatch_client_callout
6   libdispatch.dylib               0x32f6f0994         _dispatch_main_queue_drain
7   libdispatch.dylib               0x32f6f05ac         _dispatch_main_queue_callback_4CF
8   CoreFoundation                  0x31f737018         __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__
9   CoreFoundation                  0x31f733d24         __CFRunLoopRun
10  CoreFoundation                  0x31f733474         CFRunLoopRunSpecific
11  GraphicsServices                0x3a62154f4         GSEventRunModal
12  UIKitCore                       0x323d82628         -[UIApplication _run]
13  UIKitCore                       0x323d81c64         UIApplicationMain
14  SwiftUI                         0x3282684b4         OUTLINED_FUNCTION_31
15  SwiftUI                         0x3282682f8         OUTLINED_FUNCTION_31
16  SwiftUI                         0x327ed8e8c         OUTLINED_FUNCTION_26
17  Moneyman                        0x202c45528         [inlined] MoneyManApp.$main
18  Moneyman                        0x202c45528         main

we can just move the 2 calls into child thread

2   Foundation                      0x31d6f04e4         writeStringToURLOrPath
3   Moneyman                        0x203b5a888         -[FBSDKTimeSpentData suspendTimeSpentData] (FBSDKTimeSpentData.m:133)

from facebook-ios-sdk.

CCat00 avatar CCat00 commented on April 28, 2024

Same issue, waiting for reply.

from facebook-ios-sdk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.