Coder Social home page Coder Social logo

FBLPromises crashing about promises HOT 2 OPEN

mmdock avatar mmdock commented on June 8, 2024 1
FBLPromises crashing

from promises.

Comments (2)

vladimir-zivanov-htec avatar vladimir-zivanov-htec commented on June 8, 2024

any updates on this? we are facing the same issue, but only on the iOS version less than 13. @mmdock

from promises.

ykjchen avatar ykjchen commented on June 8, 2024

Looking at the stack trace I see:

Last Exception Backtrace:\
0   CoreFoundation                	    0x7fff20406d34 __exceptionPreprocess + 226\
1   libobjc.A.dylib               	    0x7fff201a4a65 objc_exception_throw + 48\
2   CoreFoundation                	    0x7fff20487f47 _CFThrowFormattedException + 200\
3   CoreFoundation                	    0x7fff20485bd8 -[__NSArrayM insertObject:atIndex:].cold.2 + 0\
4   CoreFoundation                	    0x7fff203005de -[__NSArrayM insertObject:atIndex:] + 991\
5   DBDebugToolkit                	       0x10da3859d +[NSURLSessionConfiguration(DBURLProtocol) db_defaultSessionConfiguration] + 173 (NSURLSessionConfiguration+DBURLProtocol.m:45)\
6   GoogleDataTransport           	       0x10e24f0ca -[GDTCCTUploadOperation uploaderSessionCreateIfNeeded] + 58 (GDTCCTUploadOperation.m:105)\
7   GoogleDataTransport           	       0x10e251705 __56-[GDTCCTUploadOperation sendURLRequestWithBatch:target:]_block_invoke.110 + 69 (GDTCCTUploadOperation.m:269)\
8   FBLPromises                   	       0x10d1592f5 __56-[FBLPromise chainOnQueue:chainedFulfill:chainedReject:]_block_invoke.67 + 85 

That indicates that the +[NSURLSessionConfiguration db_defaultSessionConfiguration] is triggering the crash, but as far as I can tell, -[GDTCCTUploadOperation uploaderSessionCreateIfNeeded] doesn't call +[NSURLSessionConfiguration db_defaultSessionConfiguration]. Rather it calls +defaultSessionConfiguration:
https://github.com/google/GoogleDataTransport/blob/3615a4ca10961d82ed2b5459cd9a5cb5ebc03ff2/GoogleDataTransport/GDTCCTLibrary/GDTCCTUploadOperation.m

Any idea why DBDebugToolkit is involved here?

from promises.

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.