Skip to content

Crash swift_unknownRetain #567

Closed
Closed
@sumeshshivan

Description

@sumeshshivan

I got a crash report from Crashlytics. I was not able to reproduce the crash since I couldn't even understand how this happened. Could this be an crash inside in the socket.io-client? I was using the version v2.4.5(Swift 1.2). After the crash I have updated to Swift 2.2 version of socket.io-client. I want to know if the crash could still happen?

Crashed: NSOperationQueue 0x170236980 :: NSOperation 0x1702569e0 (QOS: DEFAULT)
0 libswiftCore.dylib 0x100be6930 swift_unknownRetain + 32
1 MessageBox 0x1002bc228 WebSocket.disconnect(WebSocket) -> () -> () (WebSocket.swift)
2 MessageBox 0x10030a060 specialized SocketEngine.(handlePollingFailed in _3563F6D62AB1C3BF1C71B9AFC8057A91)(SocketEngine) -> (String) -> () (SocketEngine.swift:363)
3 MessageBox 0x100312e0c SocketEngine.((flushWaitingForPost in _3563F6D62AB1C3BF1C71B9AFC8057A91)(SocketEngine) -> () -> ()).(closure #1) (SocketEngine.swift)
4 MessageBox 0x100311d40 partial apply for thunk (SocketEngine.swift)
5 CFNetwork 0x18d4c2618 __75-[__NSURLSessionLocal taskForClass:request:uploadFile:bodyData:completion:]_block_invoke + 32
6 CFNetwork 0x18d4d9318 __49-[__NSCFLocalSessionTask _task_onqueue_didFinish]_block_invoke + 296
7 Foundation 0x18d9857e4 NSBLOCKOPERATION_IS_CALLING_OUT_TO_A_BLOCK + 16
8 Foundation 0x18d8ca358 -[NSBlockOperation main] + 96
9 Foundation 0x18d8ba954 -[__NSOperationInternal _start:] + 620
10 Foundation 0x18d987b90 __NSOQSchedule_f + 228
11 libdispatch.dylib 0x18bd4d1c0 _dispatch_client_callout + 16
12 libdispatch.dylib 0x18bd5b444 _dispatch_queue_serial_drain + 928
13 libdispatch.dylib 0x18bd509a8 _dispatch_queue_invoke + 652
14 libdispatch.dylib 0x18bd5d38c _dispatch_root_queue_drain + 572
15 libdispatch.dylib 0x18bd5d0ec _dispatch_worker_thread3 + 124
16 libsystem_pthread.dylib 0x18bf552c8 _pthread_wqthread + 1288
17 libsystem_pthread.dylib 0x18bf54db4 start_wqthread + 4

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions