2 Replies
      Latest reply on Nov 30, 2019 2:37 AM by houkenan0620@126.com
      bentoi Level 1 Level 1 (0 points)

        Hi,

         

        I'm getting a crash in one of the CFSocket thread:

         

        Thread 10 Crashed:: com.apple.CFSocket.private
        0 com.apple.CoreFoundation 0x00000001082ec572 getAtomTarget + 130
        1 com.apple.CoreFoundation 0x00000001082036ec ___forwarding___ + 684
        2 com.apple.CoreFoundation 0x00000001082033b8 _CF_forwarding_prep_0 + 120
        3 com.apple.CoreFoundation 0x00000001081da2c5 __CFRunLoopFindMode + 197
        4 com.apple.CoreFoundation 0x00000001081f6f6a CFRunLoopContainsSource + 90
        5 com.apple.CoreFoundation 0x00000001082401ed __CFSocketCopyRunLoopToWakeUp + 237
        6 com.apple.CoreFoundation 0x000000010823f942 __CFSocketManager + 5378
        7 libsystem_pthread.dylib 0x000000010a46baab _pthread_body + 180
        8 libsystem_pthread.dylib 0x000000010a46b9f7 _pthread_start + 286
        9 libsystem_pthread.dylib 0x000000010a46b1fd thread_start + 13
        

         

        This occurs from a test suite running on the iOS simulator and which makes heavy use of CFSocket and CFReadStream/CFWriteStream. Any hints on what to look for that could cause this crash in this internal thread?

         

        Cheers,

        Benoit.