shuoli84 / SocketIOCocoa

The socket 1.0 client in Swift
175 stars 11 forks source link

EXC_BAD_INSTRUCTION (code=EXC_I386_INVOP, subcode=0x0) #11

Closed SamDecrock closed 9 years ago

SamDecrock commented 9 years ago

I'm getting

EXC_BAD_INSTRUCTION (code=EXC_I386_INVOP, subcode=0x0)

I know it doesn't mean much, so here's a screenshot screen shot 2015-01-13 at 22 16 41

located in EngineParser.swift

I'm using Xcode 6.1.1

shuoli84 commented 9 years ago

Could be a bug in decoding payload, I'll check it.

发自我的 iPhone

在 2015年1月14日,上午5:19,Sam notifications@github.com 写道:

I'm getting

EXC_BAD_INSTRUCTION (code=EXC_I386_INVOP, subcode=0x0) I know it doesn't mean much, so here's a screenshot

— Reply to this email directly or view it on GitHub.

shuoli84 commented 9 years ago

@SamDecrock which version of socketio server you are using?

SamDecrock commented 9 years ago

I'm using socketio 1.2.1 but I just tried it with 1.0.0 and I get the same error.

In my Node.js log I get the following incomming request:

GET /?t=1421345585&EIO=3&transport=polling 200 15.470 ms - 489

It seems to be using polling. Can I force it to use websockets?

SamDecrock commented 9 years ago

Here's a screenshot with more debugging data: screen shot 2015-01-15 at 19 16 06

shuoli84 commented 9 years ago

Sorry for the late reply, I just double checked your reply, you should set host to localhost/socket.io instead of localhost. But anyway, the crash should be fixed.

iOSlong commented 7 years ago

I get this crash error to ,

this is my codes: (referenced in one roop !) dispatch_async(recommend_report_queue(), ^{ [[DQStatHelper sharedInstance] showAt:post withCurUrl:page]; }); and then I change the thead method to 💯 dispatch_sync(recommend_report_queue(), ^{ [[DQStatHelper sharedInstance] showAt:post withCurUrl:page]; });

and then , crash disappear . maybe fix it by conincident.

i know it's about thread , bug i don't know why.

Nagesh8831 commented 7 years ago

screen shot 2017-05-31 at 4 40 15 pm

giving the thread error

Nagesh8831 commented 7 years ago

please help to solve this problme