Giter Site home page Giter Site logo

Comments (10)

google-oss-bot avatar google-oss-bot commented on May 29, 2024 1

I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.

from firebase-ios-sdk.

Serg-Pogrebnyak avatar Serg-Pogrebnyak commented on May 29, 2024 1

I've built a minimal reproducing build, you can find it in my GitHub.
MacOS 14.4.1
XCode 15.3
iOS 17.4.1 (iPhone 12 mini, iPhone 12 Pro)

The first few launches should be okay, but after 3-4, you should catch this warning.

from firebase-ios-sdk.

paulb777 avatar paulb777 commented on May 29, 2024 1

Successfully reproduced on the first run on an iPhone 13

from firebase-ios-sdk.

paulb777 avatar paulb777 commented on May 29, 2024

Thanks for the report and repro @Serg-Pogrebnyak. Before we try the repro, would you check #10130 and https://stackoverflow.com/q/72533064/556617 to see if anything in those conversations helps your example.

from firebase-ios-sdk.

Serg-Pogrebnyak avatar Serg-Pogrebnyak commented on May 29, 2024

Thanks for your reply! 
Checked and nothing helps. I've put the firebase initialization in the DispatchQueue.global.async code block, I do not have DispatchGroup in my code base at all, and checked qualityOfService it installed as NSQualityOfServiceUserInitiated. Looks like it's something new

from firebase-ios-sdk.

paulb777 avatar paulb777 commented on May 29, 2024

Thanks. Does is repro on the simulator or only on devices?

from firebase-ios-sdk.

Serg-Pogrebnyak avatar Serg-Pogrebnyak commented on May 29, 2024

I've developed on the simulator and never saw this issue (MacBook Pro M1 Pro, 16/512), but on the real device, I received this warning. Will be fine if you check on the real device with the same iOS version I guess.

from firebase-ios-sdk.

morganchen12 avatar morganchen12 commented on May 29, 2024

The thread that's being blamed for this is possibly the FIRDatabaseQuery worker queue. But there's no waiting happening in the RTDB code itself, and the stack trace seems to point toward something deep in CFNetwork for the actual thread blocking that's causing the priority inversion. Searching for the blamed symbol, estimatedPropertyListSize, suggests this might be an Apple bug: https://forums.developer.apple.com/forums/thread/747859

from firebase-ios-sdk.

paulb777 avatar paulb777 commented on May 29, 2024

@Serg-Pogrebnyak #12894 fixes the repro case and passes our tests. Would you confirm it works for your app?

from firebase-ios-sdk.

Serg-Pogrebnyak avatar Serg-Pogrebnyak commented on May 29, 2024

@paulb777 yes, now all fine! Thank you so much!
I've checked on the test and real projects and both look fine now🎉
Thanks again!🙏🏻

from firebase-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.