-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bad Access Error on listen thread when pinging multiple IPs #4
Comments
I'm having this issue as well, but haven't found out why it's happening yet |
Same here. It is very difficult to consistently reproduce. I have a feeling it has to do with the fact that pendingPings been accessed and mutated in different threads. Maybe wrapping them in @synchronized could help? |
Can you see if |
So far looks good. Thanks for looking into this. |
1.3.3 still has this issue; Crashed: listenThread EXC_BAD_ACCESS KERN_INVALID_ADDRESS 0x0000000000000000 0 CoreFoundation -[__NSDictionaryM objectForKey:] + 229 @synchronized(self) is needed to protect multi-thread access |
This is indeed still an issue in 1.3.3. Crashed: listenThread Any help getting this cleared up would be amazing and greatly appreciated! |
Same issue here
|
Hello again,
I'm trying to see if this library is capable of pinging multiple IP's. What I'm doing is basically making it ping an entire range of IPs. It seems possible, but occasionally I get this EXC_BAD_ACCESS error on this line of code that lives in the GBPing.m in the listenOnce method:
I'm setting it up like this
and pulling in the IP addresses like this - 5 at a time in 3 second chunks
and then doing this in the reply delegate to kick off the next ping
starting the host count at 101. Apologies for my ignorance. Just want to see if this is possible at all and if so what the proper way might be to set it up. Thanks!
The text was updated successfully, but these errors were encountered: