Skip to content
This repository has been archived by the owner on May 14, 2024. It is now read-only.

[SRWebSocket setReadyState:] causes SIGABRT ABORT #213

Open
pzmudzinski opened this issue Dec 11, 2014 · 5 comments
Open

[SRWebSocket setReadyState:] causes SIGABRT ABORT #213

pzmudzinski opened this issue Dec 11, 2014 · 5 comments

Comments

@pzmudzinski
Copy link

I am using socket.IO 0.5.2 and getting some crashes.
SIGABRT ABORT at 0x313cfdfc
This is stack trace:
SRWebSocket.m line 346
-[SRWebSocket setReadyState:]
SRWebSocket.m line 539
-[SRWebSocket closeWithCode:reason:]
SocketIO.m line 631
-[SocketIO onDisconnect:]
SocketIOTransportWebsocket.m line 114
-[SocketIOTransportWebsocket webSocket:didFailWithError:]
SRWebSocket.m line 592
__30-[SRWebSocket _failWithError:]_block_invoke_2

@kevinrenskers
Copy link

Having the same problem but it seems to be https://github.com/square/SocketRocket that's at fault. Sadly they haven't released a new version since January 2013. Even worse is that socket.IO-objc is using an even older version.

@pkyeck
Copy link
Owner

pkyeck commented Jan 27, 2015

you could update the submodule and make a pull request - at least then we would use the "current" version.

@kevinrenskers
Copy link

That wouldn't help if you install socket.IO via cocoapods though, would it? https://github.com/CocoaPods/Specs/blob/master/Specs/socket.IO/0.5.2/socket.IO.podspec.json

@pkyeck
Copy link
Owner

pkyeck commented Jan 27, 2015

I could do the cocoapods PR after the merge

@rick711003
Copy link

hi pkyeck ! I have same problem , Could u help me how can I do just can fix it

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants