Skip to content
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

Crash: -[GBPing sendPing] (GBPing.m:550) #36

Open
jaybowang opened this issue Apr 11, 2017 · 1 comment
Open

Crash: -[GBPing sendPing] (GBPing.m:550) #36

jaybowang opened this issue Apr 11, 2017 · 1 comment

Comments

@jaybowang
Copy link

jaybowang commented Apr 11, 2017

[self.timeoutTimers removeObjectForKey:key]; makes the crash.
I'm not sure how to fix it and do not know how to reproduce it. It happens only twice during last 30 days.

EXC_BAD_ACCESS KERN_INVALID_ADDRESS 0x0000000000000000

Crashed: sendThread
0  CoreFoundation                 0x182e14b40 -[__NSDictionaryM removeObjectForKey:] + 440
1  ??????                         0x1006ff578 __18-[GBPing sendPing]_block_invoke.217 (GBPing.m:550)
2  Foundation                     0x183e34374 __NSBLOCKOPERATION_IS_CALLING_OUT_TO_A_BLOCK__ + 16
3  Foundation                     0x183d871a0 -[NSBlockOperation main] + 96
4  Foundation                     0x183e50e6c __NSFireTimer + 88
5  CoreFoundation                 0x182ec4c3c __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 28
6  CoreFoundation                 0x182ec48e0 __CFRunLoopDoTimer + 884
7  CoreFoundation                 0x182ec1ff4 __CFRunLoopRun + 1520
8  CoreFoundation                 0x182df0ca0 CFRunLoopRunSpecific + 384
9  Foundation                     0x183d692bc -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 308
10 Foundation                     0x183d8a408 -[NSRunLoop(NSRunLoop) runUntilDate:] + 96
11 ??????                         0x1006fea04 -[GBPing sendLoop] (GBPing.m:463)
12 Foundation                     0x183e4fc80 __NSThread__start__ + 1000
13 libsystem_pthread.dylib        0x198ddfb28 _pthread_body + 156
14 libsystem_pthread.dylib        0x198ddfa8c _pthread_body + 154
15 libsystem_pthread.dylib        0x198ddd028 thread_start + 4
@Lyle42
Copy link

Lyle42 commented Mar 3, 2018

i just got this, the immediate cause was that timeoutTimers was nil at the time

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

No branches or pull requests

2 participants