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

执行 performSelector 会偶尔崩溃 #131

Open
karosLi opened this issue Nov 28, 2019 · 3 comments
Open

执行 performSelector 会偶尔崩溃 #131

karosLi opened this issue Nov 28, 2019 · 3 comments

Comments

@karosLi
Copy link

karosLi commented Nov 28, 2019

  • (void)performBonjourBlock:(dispatch_block_t)block
    {
    HTTPLogTrace();

    [self performSelector:@selector(executeBonjourBlock:)
    onThread:bonjourThread
    withObject:block
    waitUntilDone:YES];
    }

#0 Thread

Fatal Signal

App terminated by SIGPIPE

解析原始
0 libsystem_kernel.dylib _mach_msg_trap + 8
1 libsystem_kernel.dylib _mach_msg + 72
2 libsystem_kernel.dylib _thread_get_state + 136
3 APP _bly_mach_thread_backtrace + 68
4 APP _BLYCrashHandlerCallback + 1940
5 APP _BLYUncaughtExceptionHandlerCallback + 68
6 APP _RCCountlyExceptionHandler + 2844
7 APP _RCCountlySignalHandler + 528
8 libsystem_platform.dylib __sigtramp + 40
9 libsystem_pthread.dylib __pthread_cond_wait$VARIANT$mp + 684
10 Foundation -[NSObject(NSThreadPerformAdditions) performSelector:onThread:withObject:waitUntilDone:modes:] + 656
11 APP -[NBSHookPerformSelector nbs_performSelector:onThread:withObject:waitUntilDone:modes:] + 312
12 Foundation -[NSObject(NSThreadPerformAdditions) performSelector:onThread:withObject:waitUntilDone:] + 116
13 APP +[HTTPServer performBonjourBlock:] + 184
14 APP -[HTTPServer publishBonjour] + 476
15 APP ___20-[HTTPServer start:]_block_invoke + 244
16 APP ___nbsEventNewDispatchSync_block_invoke + 48
17 libdispatch.dylib __dispatch_client_callout + 16
18 libdispatch.dylib __dispatch_sync_invoke_and_complete_recurse + 64
19 libdispatch.dylib __dispatch_sync_f_slow + 168
20 APP _nbsEventNewDispatchSync + 220
21 APP -[HTTPServer start:] + 240
22 APP -[KTVHCHTTPServer startInternal:] + 324
23 APP -[KTVHCHTTPServer applicationWillEnterForeground] + 892

@waitingfor168
Copy link

the same

@nyz110
Copy link

nyz110 commented Aug 31, 2021

+1

@hushuting
Copy link

+1,主要集中在iOS17系统上,新版本有修复么

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

4 participants