SIGABRT libsystem_kernel.dylib __pthread_kill错误

具体信息

libsystem_kernel.dylib  __pthread_kill + 8
1 libsystem_pthread.dylib   _pthread_kill$VARIANT$mp + 376
2 libsystem_c.dylib abort + 140
3 QuartzCore    CA::Render::Encoder::encode_object_uncached(CA::Render::Object const*)
4 QuartzCore    CA::Render::Vector::encode(CA::Render::Encoder*) const + 112
5 QuartzCore    CA::Render::Layer::encode(CA::Render::Encoder*) const + 324
6 QuartzCore    CA::Render::encode_set_object(CA::Render::Encoder*, unsigned long, unsigned int, CA::Render::Object*, unsigned int) + 192
7 QuartzCore    CA::Layer::commit_if_needed(CA::Transaction*, void (*)(CA::Layer*, unsigned int, unsigned int, void*), void*) + 468
8 QuartzCore    CA::Layer::commit_if_needed(CA::Transaction*, void (*)(CA::Layer*, unsigned int, unsigned int, void*), void*) + 244
9 QuartzCore    CA::Layer::commit_if_needed(CA::Transaction*, void (*)(CA::Layer*, unsigned int, unsigned int, void*), void*) + 244
10 QuartzCore   CA::Layer::commit_if_needed(CA::Transaction*, void (*)(CA::Layer*, unsigned int, unsigned int, void*), void*) + 244
11 QuartzCore   CA::Layer::commit_if_needed(CA::Transaction*, void (*)(CA::Layer*, unsigned int, unsigned int, void*), void*) + 244
12 QuartzCore   CA::Layer::commit_if_needed(CA::Transaction*, void (*)(CA::Layer*, unsigned int, unsigned int, void*), void*) + 244
13 QuartzCore   CA::Layer::commit_if_needed(CA::Transaction*, void (*)(CA::Layer*, unsigned int, unsigned int, void*), void*) + 244
14 QuartzCore   CA::Layer::commit_if_needed(CA::Transaction*, void (*)(CA::Layer*, unsigned int, unsigned int, void*), void*) + 244
15 QuartzCore   CA::Layer::commit_if_needed(CA::Transaction*, void (*)(CA::Layer*, unsigned int, unsigned int, void*), void*) + 244
16 QuartzCore   CA::Layer::commit_if_needed(CA::Transaction*, void (*)(CA::Layer*, unsigned int, unsigned int, void*), void*) + 244
17 QuartzCore   CA::Layer::commit_if_needed(CA::Transaction*, void (*)(CA::Layer*, unsigned int, unsigned int, void*), void*) + 244
18 QuartzCore   CA::Layer::commit_if_needed(CA::Transaction*, void (*)(CA::Layer*, unsigned int, unsigned int, void*), void*) + 244
19 QuartzCore   CA::Layer::commit_if_needed(CA::Transaction*, void (*)(CA::Layer*, unsigned int, unsigned int, void*), void*) + 244
20 QuartzCore   CA::Layer::commit_if_needed(CA::Transaction*, void (*)(CA::Layer*, unsigned int, unsigned int, void*), void*) + 244
21 QuartzCore   CA::Layer::commit_if_needed(CA::Transaction*, void (*)(CA::Layer*, unsigned int, unsigned int, void*), void*) + 244
22 QuartzCore   CA::Layer::commit_if_needed(CA::Transaction*, void (*)(CA::Layer*, unsigned int, unsigned int, void*), void*) + 244
23 QuartzCore   CA::Layer::commit_if_needed(CA::Transaction*, void (*)(CA::Layer*, unsigned int, unsigned int, void*), void*) + 244
24 QuartzCore   CA::Layer::commit_if_needed(CA::Transaction*, void (*)(CA::Layer*, unsigned int, unsigned int, void*), void*) + 244
25 QuartzCore   CA::Layer::commit_if_needed(CA::Transaction*, void (*)(CA::Layer*, unsigned int, unsigned int, void*), void*) + 244
26 QuartzCore   CA::Context::commit_transaction(CA::Transaction*) + 2724
27 QuartzCore   CA::Transaction::commit() + 580
28 QuartzCore   CA::Transaction::observer_callback(__CFRunLoopObserver*, unsigned long, void*) + 92
29 CoreFoundation   ___CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 32
30 CoreFoundation   ___CFRunLoopDoObservers + 412
31 CoreFoundation   CFRunLoopRunSpecific + 584
32 WebCore  RunWebThread(void*) + 592
33 libsystem_pthread.dylib  __pthread_body + 272
34 libsystem_pthread.dylib  __pthread_body
u013983033
哈皮吖 回复weixin_41065895: 目前没有 ,如果解决了 ,麻烦交流一下
5 个月之前 回复
weixin_41065895
weixin_41065895 这个问题最终解决了吗?
5 个月之前 回复
Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
mac idea进去没多久就闪退

进idea没怎样就闪退,然后弹出这个 Process: idea [829] Path: /Applications/IntelliJ IDEA.app/Contents/MacOS/idea Identifier: com.jetbrains.intellij Version: 2019.1.3 (IU-191.7479.19) Code Type: X86-64 (Native) Parent Process: ??? [762] Responsible: idea [829] User ID: 501 Date/Time: 2019-07-02 09:37:20.989 +0800 OS Version: Mac OS X 10.14.3 (18D109) Report Version: 12 Bridge OS Version: 3.3 (16P3133) Anonymous UUID: D6A9AD59-F31C-E5FC-F80F-6AF70E8FF5B4 Time Awake Since Boot: 290 seconds System Integrity Protection: enabled Crashed Thread: 34 Java: AWT-EventQueue-0 2019.1.3#IU-191.7479.19 IDEA, eap:false, Exception Type: EXC_BAD_ACCESS (SIGABRT) Exception Codes: KERN_PROTECTION_FAILURE at 0x00000001023fa100 Exception Note: EXC_CORPSE_NOTIFY VM Regions Near 0x1023fa100: __LINKEDIT 00000001023f7000-00000001023fa000 [ 12K] r--/rwx SM=COW /Applications/IntelliJ IDEA.app/Contents/jdk/Contents/Home/jre/lib/jli/libjli.dylib --> VM_ALLOCATE 00000001023fa000-00000001023fb000 [ 4K] r--/rwx SM=COW VM_ALLOCATE 00000001023fb000-00000001023fc000 [ 4K] r--/r-- SM=PRV Application Specific Information: abort() called Thread 0:: AppKit Thread Dispatch queue: com.apple.main-thread 0 libsystem_kernel.dylib 0x00007fff7702a17a mach_msg_trap + 10 1 libsystem_kernel.dylib 0x00007fff7702a6d0 mach_msg + 60 2 com.apple.CoreFoundation 0x00007fff49ca3fde __CFRunLoopServiceMachPort + 337 3 com.apple.CoreFoundation 0x00007fff49ca352d __CFRunLoopRun + 1654 4 com.apple.CoreFoundation 0x00007fff49ca2c64 CFRunLoopRunSpecific + 463 5 com.apple.Foundation 0x00007fff4c0094aa -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 280 6 libawt_lwawt.dylib 0x000000010a86de27 Java_sun_lwawt_macosx_LWCToolkit_doAWTRunLoopImpl + 256 7 ??? 0x000000010b7ac3a7 0 + 4487562151 8 ??? 0x000000010b79bffd 0 + 4487495677 9 ??? 0x000000010b79bffd 0 + 4487495677 10 ??? 0x000000010b79bffd 0 + 4487495677 11 ??? 0x000000010b79bffd 0 + 4487495677 12 ??? 0x000000010b7944e7 0 + 4487464167 13 libjvm.dylib 0x00000001048c5b1a JavaCalls::call_helper(JavaValue*, methodHandle*, JavaCallArguments*, Thread*) + 1710 14 libjvm.dylib 0x00000001048e052a jni_invoke_nonstatic(JNIEnv_*, JavaValue*, _jobject*, JNICallType, _jmethodID*, JNI_ArgumentPusher*, Thread*) + 748 15 libjvm.dylib 0x00000001048d0758 jni_CallObjectMethodV + 248 16 JavaNativeFoundation 0x00007fff4de68758 JNFCallObjectMethod + 175 17 libawt_lwawt.dylib 0x000000010a83bfaf -[AWTView selectedRange] + 102 18 com.apple.AppKit 0x00007fff47597ca5 -[NSTextInputContext(NSInputContext_WithCompletion) selectedRangeWithCompletionHandler:] + 95 19 com.apple.AppKit 0x00007fff4751d7f3 -[NSTextInputContext handleTSMEvent:completionHandler:] + 1528 20 com.apple.AppKit 0x00007fff4751d185 _NSTSMEventHandler + 306 21 com.apple.HIToolbox 0x00007fff48f37af9 DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*) + 1502 22 com.apple.HIToolbox 0x00007fff48f36e36 SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*, HandlerCallRec*) + 371 23 com.apple.HIToolbox 0x00007fff48f36cbc SendEventToEventTargetWithOptions + 45 24 com.apple.HIToolbox 0x00007fff48f9f730 SendTSMEvent_WithCompletionHandler + 383 25 com.apple.HIToolbox 0x00007fff49142433 __SendTextInputEvent_WithCompletionHandler_block_invoke + 489 26 com.apple.HIToolbox 0x00007fff4914081c SendTextInputEvent_WithCompletionHandler + 1130 27 com.apple.HIToolbox 0x00007fff491a651f -[IMKInputSession _postEvent:completionHandler:] + 170 28 com.apple.HIToolbox 0x00007fff491bb49a -[IMKInputSession selectedRange_withCompletionHandler:] + 288 29 com.apple.HIToolbox 0x00007fff491a6e3f __49-[IMKInputSession imkxpc_selectedRangeWithReply:]_block_invoke + 470 30 com.apple.CoreFoundation 0x00007fff49ce0c37 __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 12 31 com.apple.CoreFoundation 0x00007fff49ca3c6d __CFRunLoopDoBlocks + 395 32 com.apple.CoreFoundation 0x00007fff49ca39c9 __CFRunLoopRun + 2834 33 com.apple.CoreFoundation 0x00007fff49ca2c64 CFRunLoopRunSpecific + 463 34 com.apple.HIToolbox 0x00007fff48f85883 -[IMKInputSessionXPCInvocation invocationAwaitXPCReply] + 551 35 com.apple.HIToolbox 0x00007fff49187e8f -[IMKClient menuWithCompletionHandler:] + 2658 36 com.apple.HIToolbox 0x00007fff491519f7 IMKInputSessionGetMenuIntoMenuWithCompletionHandler + 132 37 com.apple.HIToolbox 0x00007fff491510e9 GetInputMethodInstanceMenu_IntoMenu_WithCompletionHandler + 122 38 com.apple.HIToolbox 0x00007fff49144eb6 utTryToSetupInputMethodMenu + 292 39 com.apple.HIToolbox 0x00007fff49144d04 __utSetupInputMethodMenuFromDeferredBlock_block_invoke + 196 40 com.apple.CoreFoundation 0x00007fff49ce0c37 __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 12 41 com.apple.CoreFoundation 0x00007fff49ca3c6d __CFRunLoopDoBlocks + 395 42 com.apple.CoreFoundation 0x00007fff49ca336b __CFRunLoopRun + 1204 43 com.apple.CoreFoundation 0x00007fff49ca2c64 CFRunLoopRunSpecific + 463 44 com.apple.HIToolbox 0x00007fff48f39ab5 RunCurrentEventLoopInMode + 293 45 com.apple.HIToolbox 0x00007fff48f396f4 ReceiveNextEventCommon + 371 46 com.apple.HIToolbox 0x00007fff48f39568 _BlockUntilNextEventMatchingListInModeWithFilter + 64 47 com.apple.AppKit 0x00007fff471f4363 _DPSNextEvent + 997 48 com.apple.AppKit 0x00007fff471f3102 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1362 49 libosxapp.dylib 0x000000010a8f82dc -[NSApplicationAWT nextEventMatchingMask:untilDate:inMode:dequeue:] + 124 50 com.apple.AppKit 0x00007fff471ed165 -[NSApplication run] + 699 51 libosxapp.dylib 0x000000010a8f7f26 +[NSApplicationAWT runAWTLoopWithApp:] + 156 52 libawt_lwawt.dylib 0x000000010a87ee5b -[AWTStarter starter:] + 905 53 com.apple.Foundation 0x00007fff4c09ebab __NSThreadPerformPerform + 327 54 com.apple.CoreFoundation 0x00007fff49cc0395 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17 55 com.apple.CoreFoundation 0x00007fff49cc033b __CFRunLoopDoSource0 + 108 56 com.apple.CoreFoundation 0x00007fff49ca3dd1 __CFRunLoopDoSources0 + 195 57 com.apple.CoreFoundation 0x00007fff49ca337a __CFRunLoopRun + 1219 58 com.apple.CoreFoundation 0x00007fff49ca2c64 CFRunLoopRunSpecific + 463 59 com.jetbrains.intellij 0x000000010237ee0d main + 336 60 libdyld.dylib 0x00007fff76ef0ed9 start + 1 Thread 35:: Java: TimerQueue 0 libsystem_kernel.dylib 0x00007fff7702d7de __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x00007fff770e7593 _pthread_cond_wait + 724 2 libjvm.dylib 0x0000000104a409e9 Parker::park(bool, long) + 527 3 libjvm.dylib 0x0000000104b3865f Unsafe_Park + 126 4 ??? 0x000000010c12992a 0 + 4497512746 5 ??? 0x000000010c29890c 0 + 4499015948 6 ??? 0x000000010b79c042 0 + 4487495746 7 ??? 0x000000010b7944e7 0 + 4487464167 8 libjvm.dylib 0x00000001048c5b1a JavaCalls::call_helper(JavaValue*, methodHandle*, JavaCallArguments*, Thread*) + 1710 9 libjvm.dylib 0x00000001048c62be JavaCalls::call_virtual(JavaValue*, KlassHandle, Symbol*, Symbol*, JavaCallArguments*, Thread*) + 356 10 libjvm.dylib 0x00000001048c646a JavaCalls::call_virtual(JavaValue*, Handle, KlassHandle, Symbol*, Symbol*, Thread*) + 74 11 libjvm.dylib 0x00000001049040aa thread_entry(JavaThread*, Thread*) + 124 12 libjvm.dylib 0x0000000104b22335 JavaThread::thread_main_inner() + 155 13 libjvm.dylib 0x0000000104b239fa JavaThread::run() + 448 14 libjvm.dylib 0x0000000104a43ff2 java_start(Thread*) + 246 15 libsystem_pthread.dylib 0x00007fff770e4305 _pthread_body + 126 16 libsystem_pthread.dylib 0x00007fff770e726f _pthread_start + 70 17 libsystem_pthread.dylib 0x00007fff770e3415 thread_start + 13 Thread 36:: Java: AWT-SelectorPerformer pool-1-thread-1 0 libsystem_kernel.dylib 0x00007fff7702d7de __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x00007fff770e7593 _pthread_cond_wait + 724 2 libjvm.dylib 0x0000000104a409d8 Parker::park(bool, long) + 510 3 libjvm.dylib 0x0000000104b3865f Unsafe_Park + 126 4 ??? 0x000000010c12992a 0 + 4497512746 5 ??? 0x000000010c8ddabc 0 + 4505590460 6 ??? 0x000000010cd06374 0 + 4509950836 7 ??? 0x000000010b79bffd 0 + 4487495677 8 ??? 0x000000010b79c042 0 + 4487495746 9 ??? 0x000000010b79bd80 0 + 4487495040 10 ??? 0x000000010b7944e7 0 + 4487464167 11 libjvm.dylib 0x00000001048c5b1a JavaCalls::call_helper(JavaValue*, methodHandle*, JavaCallArguments*, Thread*) + 1710 12 libjvm.dylib 0x00000001049097fa JVM_DoPrivileged + 1208 13 ??? 0x000000010b7ac3a7 0 + 4487562151 14 ??? 0x000000010b79bd80 0 + 4487495040 15 ??? 0x000000010b79c042 0 + 4487495746 16 ??? 0x000000010b7944e7 0 + 4487464167 17 libjvm.dylib 0x00000001048c5b1a JavaCalls::call_helper(JavaValue*, methodHandle*, JavaCallArguments*, Thread*) + 1710 18 libjvm.dylib 0x00000001048c62be JavaCalls::call_virtual(JavaValue*, KlassHandle, Symbol*, Symbol*, JavaCallArguments*, Thread*) + 356 19 libjvm.dylib 0x00000001048c646a JavaCalls::call_virtual(JavaValue*, Handle, KlassHandle, Symbol*, Symbol*, Thread*) + 74 20 libjvm.dylib 0x00000001049040aa thread_entry(JavaThread*, Thread*) + 124 21 libjvm.dylib 0x0000000104b22335 JavaThread::thread_main_inner() + 155 22 libjvm.dylib 0x0000000104b239fa JavaThread::run() + 448 23 libjvm.dylib 0x0000000104a43ff2 java_start(Thread*) + 246 24 libsystem_pthread.dylib 0x00007fff770e4305 _pthread_body + 126 25 libsystem_pthread.dylib 0x00007fff770e726f _pthread_start + 70 26 libsystem_pthread.dylib 0x00007fff770e3415 thread_start + 13 Thread 37:: Java: fsnotifier 0 libsystem_kernel.dylib 0x00007fff7702d7de __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x00007fff770e7593 _pthread_cond_wait + 724 2 libjvm.dylib 0x0000000104a3fd12 os::PlatformEvent::park() + 192 3 libjvm.dylib 0x0000000104a380f5 ObjectMonitor::wait(long, bool, Thread*) + 763 4 libjvm.dylib 0x0000000104aeff88 ObjectSynchronizer::wait(Handle, long, Thread*) + 202 5 libjvm.dylib 0x000000010490abbb JVM_MonitorWait + 156 6 ??? 0x000000010ba02468 0 + 4490011752 7 ??? 0x000000010b79bffd 0 + 4487495677 8 ??? 0x000000010b79bffd 0 + 4487495677 9 ??? 0x000000010b79ba40 0 + 4487494208 10 ??? 0x000000010b79bffd 0 + 4487495677 11 ??? 0x000000010b79c042 0 + 4487495746 12 ??? 0x000000010b79bffd 0 + 4487495677 13 ??? 0x000000010b79bffd 0 + 4487495677 14 ??? 0x000000010b79c042 0 + 4487495746 15 ??? 0x000000010b79be54 0 + 4487495252 16 ??? 0x000000010b79c042 0 + 4487495746 17 ??? 0x000000010b79bffd 0 + 4487495677 18 ??? 0x000000010b79c042 0 + 4487495746 19 ??? 0x000000010b7944e7 0 + 4487464167 20 libjvm.dylib 0x00000001048c5b1a JavaCalls::call_helper(JavaValue*, methodHandle*, JavaCallArguments*, Thread*) + 1710 21 libjvm.dylib 0x00000001048c62be JavaCalls::call_virtual(JavaValue*, KlassHandle, Symbol*, Symbol*, JavaCallArguments*, Thread*) + 356 22 libjvm.dylib 0x00000001048c646a JavaCalls::call_virtual(JavaValue*, Handle, KlassHandle, Symbol*, Symbol*, Thread*) + 74 23 libjvm.dylib 0x00000001049040aa thread_entry(JavaThread*, Thread*) + 124 24 libjvm.dylib 0x0000000104b22335 JavaThread::thread_main_inner() + 155 25 libjvm.dylib 0x0000000104b239fa JavaThread::run() + 448 26 libjvm.dylib 0x0000000104a43ff2 java_start(Thread*) + 246 27 libsystem_pthread.dylib 0x00007fff770e4305 _pthread_body + 126 28 libsystem_pthread.dylib 0x00007fff770e726f _pthread_start + 70 29 libsystem_pthread.dylib 0x00007fff770e3415 thread_start + 13 Thread 38:: Java: BaseDataReader: output stream of fsnotifier 0 libsystem_kernel.dylib 0x00007fff7702be5e read + 10 1 libjava.dylib 0x0000000105101621 handleRead + 34 2 libjava.dylib 0x00000001051012cb readBytes + 395 3 ??? 0x000000010bf19e42 0 + 4495351362 4 ??? 0x000000010befba64 0 + 4495227492 Thread 39:: Java: BaseDataReader: error stream of fsnotifier 0 libsystem_kernel.dylib 0x00007fff7702be5e read + 10 1 libjava.dylib 0x0000000105101621 handleRead + 34 2 libjava.dylib 0x00000001051012cb readBytes + 395 3 ??? 0x000000010b7ac3a7 0 + 4487562151 4 ??? 0x000000010b79ba40 0 + 4487494208 5 ??? 0x000000010c13eaa4 0 + 4497599140 6 ??? 0x000000010b79b7d0 0 + 4487493584 7 ??? 0x000000010b79b7d0 0 + 4487493584 8 ??? 0x000000010b79bffd 0 + 4487495677 9 ??? 0x000000010b79c042 0 + 4487495746 10 ??? 0x000000010b79bffd 0 + 4487495677 11 ??? 0x000000010b79bffd 0 + 4487495677 12 ??? 0x000000010b79c042 0 + 4487495746 13 ??? 0x000000010b79be54 0 + 4487495252 14 ??? 0x000000010b79c042 0 + 4487495746 15 ??? 0x000000010b79bffd 0 + 4487495677 16 ??? 0x000000010b79c042 0 + 4487495746 17 ??? 0x000000010b7944e7 0 + 4487464167 18 libjvm.dylib 0x00000001048c5b1a JavaCalls::call_helper(JavaValue*, methodHandle*, JavaCallArguments*, Thread*) + 1710 19 libjvm.dylib 0x00000001048c62be JavaCalls::call_virtual(JavaValue*, KlassHandle, Symbol*, Symbol*, JavaCallArguments*, Thread*) + 356 20 libjvm.dylib 0x00000001048c646a JavaCalls::call_virtual(JavaValue*, Handle, KlassHandle, Symbol*, Symbol*, Thread*) + 74 21 libjvm.dylib 0x00000001049040aa thread_entry(JavaThread*, Thread*) + 124 22 libjvm.dylib 0x0000000104b22335 JavaThread::thread_main_inner() + 155 23 libjvm.dylib 0x0000000104b239fa JavaThread::run() + 448 24 libjvm.dylib 0x0000000104a43ff2 java_start(Thread*) + 246 25 libsystem_pthread.dylib 0x00007fff770e4305 _pthread_body + 126 26 libsystem_pthread.dylib 0x00007fff770e726f _pthread_start + 70 27 libsystem_pthread.dylib 0x00007fff770e3415 thread_start + 13 Thread 40:: Java: FeatureUsageFileEventLogger 0 libsystem_kernel.dylib 0x00007fff7702d7de __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x00007fff770e7593 _pthread_cond_wait + 724 2 libjvm.dylib 0x0000000104a409d8 Parker::park(bool, long) + 510 3 libjvm.dylib 0x0000000104b3865f Unsafe_Park + 126 4 ??? 0x000000010c12992a 0 + 4497512746 5 ??? 0x000000010c28760c 0 + 4498945548 6 ??? 0x000000010cd06374 0 + 4509950836 7 ??? 0x000000010b79bffd 0 + 4487495677 8 ??? 0x000000010b79c042 0 + 4487495746 9 ??? 0x000000010b7944e7 0 + 4487464167 10 libjvm.dylib 0x00000001048c5b1a JavaCalls::call_helper(JavaValue*, methodHandle*, JavaCallArguments*, Thread*) + 1710 11 libjvm.dylib 0x00000001048c62be JavaCalls::call_virtual(JavaValue*, KlassHandle, Symbol*, Symbol*, JavaCallArguments*, Thread*) + 356 12 libjvm.dylib 0x00000001048c646a JavaCalls::call_virtual(JavaValue*, Handle, KlassHandle, Symbol*, Symbol*, Thread*) + 74 13 libjvm.dylib 0x00000001049040aa thread_entry(JavaThread*, Thread*) + 124 14 libjvm.dylib 0x0000000104b22335 JavaThread::thread_main_inner() + 155 15 libjvm.dylib 0x0000000104b239fa JavaThread::run() + 448 16 libjvm.dylib 0x0000000104a43ff2 java_start(Thread*) + 246 17 libsystem_pthread.dylib 0x00007fff770e4305 _pthread_body + 126 18 libsystem_pthread.dylib 0x00007fff770e726f _pthread_start + 70 19 libsystem_pthread.dylib 0x00007fff770e3415 thread_start + 13 Thread 41:: Java: Netty Builtin Server 2 0 libsystem_kernel.dylib 0x00007fff77030716 kevent + 10 1 libnio.dylib 0x000000010a4679e8 Java_sun_nio_ch_KQueueArrayWrapper_kevent0 + 98 2 ??? 0x000000010b7ac3a7 0 + 4487562151 3 ??? 0x000000010b79ba40 0 + 4487494208 4 ??? 0x000000010b79ba40 0 + 4487494208 5 ??? 0x000000010b79ba40 0 + 4487494208 6 ??? 0x000000010b79ba40 0 + 4487494208 7 ??? 0x000000010b79ba40 0 + 4487494208 8 ??? 0x000000010b79ba40 0 + 4487494208 9 ??? 0x000000010b79bffd 0 + 4487495677 10 ??? 0x000000010b79bffd 0 + 4487495677 11 ??? 0x000000010b79c042 0 + 4487495746 12 ??? 0x000000010b7944e7 0 + 4487464167 13 libjvm.dylib 0x00000001048c5b1a JavaCalls::call_helper(JavaValue*, methodHandle*, JavaCallArguments*, Thread*) + 1710 14 libjvm.dylib 0x00000001048c62be JavaCalls::call_virtual(JavaValue*, KlassHandle, Symbol*, Symbol*, JavaCallArguments*, Thread*) + 356 15 libjvm.dylib 0x00000001048c646a JavaCalls::call_virtual(JavaValue*, Handle, KlassHandle, Symbol*, Symbol*, Thread*) + 74 16 libjvm.dylib 0x00000001049040aa thread_entry(JavaThread*, Thread*) + 124 17 libjvm.dylib 0x0000000104b22335 JavaThread::thread_main_inner() + 155 18 libjvm.dylib 0x0000000104b239fa JavaThread::run() + 448 19 libjvm.dylib 0x0000000104a43ff2 java_start(Thread*) + 246 20 libsystem_pthread.dylib 0x00007fff770e4305 _pthread_body + 126 21 libsystem_pthread.dylib 0x00007fff770e726f _pthread_start + 70 22 libsystem_pthread.dylib 0x00007fff770e3415 thread_start + 13 Thread 42:: Java: process reaper 0 libsystem_kernel.dylib 0x00007fff7702f2d2 __wait4 + 10 1 libjava.dylib 0x00000001050fe0db Java_java_lang_UNIXProcess_waitForProcessExit + 29 2 ??? 0x000000010b7ac3a7 0 + 4487562151 3 ??? 0x000000010b79ba40 0 + 4487494208 4 ??? 0x000000010b79bffd 0 + 4487495677 5 ??? 0x000000010b79c042 0 + 4487495746 6 ??? 0x000000010b79bffd 0 + 4487495677 7 ??? 0x000000010b79c042 0 + 4487495746 8 ??? 0x000000010b7944e7 0 + 4487464167 9 libjvm.dylib 0x00000001048c5b1a JavaCalls::call_helper(JavaValue*, methodHandle*, JavaCallArguments*, Thread*) + 1710 10 libjvm.dylib 0x00000001048c62be JavaCalls::call_virtual(JavaValue*, KlassHandle, Symbol*, Symbol*, JavaCallArguments*, Thread*) + 356 11 libjvm.dylib 0x00000001048c646a JavaCalls::call_virtual(JavaValue*, Handle, KlassHandle, Symbol*, Symbol*, Thread*) + 74 12 libjvm.dylib 0x00000001049040aa thread_entry(JavaThread*, Thread*) + 124 13 libjvm.dylib 0x0000000104b22335 JavaThread::thread_main_inner() + 155 14 libjvm.dylib 0x0000000104b239fa JavaThread::run() + 448 15 libjvm.dylib 0x0000000104a43ff2 java_start(Thread*) + 246 16 libsystem_pthread.dylib 0x00007fff770e4305 _pthread_body + 126 17 libsystem_pthread.dylib 0x00007fff770e726f _pthread_start + 70 18 libsystem_pthread.dylib 0x00007fff770e3415 thread_start + 13 Thread 43:: Java: java 0 libsystem_kernel.dylib 0x00007fff7702d7de __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x00007fff770e7593 _pthread_cond_wait + 724 2 libjvm.dylib 0x0000000104a3fd12 os::PlatformEvent::park() + 192 3 libjvm.dylib 0x0000000104a380f5 ObjectMonitor::wait(long, bool, Thread*) + 763 4 libjvm.dylib 0x0000000104aeff88 ObjectSynchronizer::wait(Handle, long, Thread*) + 202 5 libjvm.dylib 0x000000010490abbb JVM_MonitorWait + 156 6 ??? 0x000000010ba02468 0 + 4490011752 7 ??? 0x000000010b79bffd 0 + 4487495677 8 ??? 0x000000010b79bffd 0 + 4487495677 9 ??? 0x000000010b79ba40 0 + 4487494208 10 ??? 0x000000010b79bffd 0 + 4487495677 11 ??? 0x000000010b79c042 0 + 4487495746 12 ??? 0x000000010b79bffd 0 + 4487495677 13 ??? 0x000000010b79bffd 0 + 4487495677 14 ??? 0x000000010b79c042 0 + 4487495746 15 ??? 0x000000010cb0c3d4 0 + 4507878356 16 ??? 0x000000010b79bffd 0 + 4487495677 17 ??? 0x000000010b79c042 0 + 4487495746 18 ??? 0x000000010b7944e7 0 + 4487464167 19 libjvm.dylib 0x00000001048c5b1a JavaCalls::call_helper(JavaValue*, methodHandle*, JavaCallArguments*, Thread*) + 1710 20 libjvm.dylib 0x00000001048c62be JavaCalls::call_virtual(JavaValue*, KlassHandle, Symbol*, Symbol*, JavaCallArguments*, Thread*) + 356 21 libjvm.dylib 0x00000001048c646a JavaCalls::call_virtual(JavaValue*, Handle, KlassHandle, Symbol*, Symbol*, Thread*) + 74 22 libjvm.dylib 0x00000001049040aa thread_entry(JavaThread*, Thread*) + 124 23 libjvm.dylib 0x0000000104b22335 JavaThread::thread_main_inner() + 155 24 libjvm.dylib 0x0000000104b239fa JavaThread::run() + 448 25 libjvm.dylib 0x0000000104a43ff2 java_start(Thread*) + 246 26 libsystem_pthread.dylib 0x00007fff770e4305 _pthread_body + 126 27 libsystem_pthread.dylib 0x00007fff770e726f _pthread_start + 70 28 libsystem_pthread.dylib 0x00007fff770e3415 thread_start + 13 Thread 44:: Java: BaseDataReader: output stream of java 0 libsystem_kernel.dylib 0x00007fff7702be5e read + 10 1 libjava.dylib 0x0000000105101621 handleRead + 34 2 libjava.dylib 0x00000001051012cb readBytes + 395 3 ??? 0x000000010bf19e42 0 + 4495351362 4 ??? 0x000000010befba64 0 + 4495227492 Thread 45:: Java: BaseDataReader: error stream of java 0 libsystem_kernel.dylib 0x00007fff7702be5e read + 10 1 libjava.dylib 0x0000000105101621 handleRead + 34 2 libjava.dylib 0x00000001051012cb readBytes + 395 3 ??? 0x000000010bf19e42 0 + 4495351362 4 ??? 0x000000010befba64 0 + 4495227492 Thread 46:: Java: ApplicationImpl pooled thread 4 0 libsystem_kernel.dylib 0x00007fff7702d7de __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x00007fff770e7593 _pthread_cond_wait + 724 2 libjvm.dylib 0x0000000104a409e9 Parker::park(bool, long) + 527 3 libjvm.dylib 0x0000000104b3865f Unsafe_Park + 126 4 ??? 0x000000010c12992a 0 + 4497512746 5 ??? 0x000000010c8ddbc4 0 + 4505590724 6 ??? 0x000000010b79bffd 0 + 4487495677 7 ??? 0x000000010b79c042 0 + 4487495746 8 ??? 0x000000010b7944e7 0 + 4487464167 9 libjvm.dylib 0x00000001048c5b1a JavaCalls::call_helper(JavaValue*, methodHandle*, JavaCallArguments*, Thread*) + 1710 10 libjvm.dylib 0x00000001048c62be JavaCalls::call_virtual(JavaValue*, KlassHandle, Symbol*, Symbol*, JavaCallArguments*, Thread*) + 356 11 libjvm.dylib 0x00000001048c646a JavaCalls::call_virtual(JavaValue*, Handle, KlassHandle, Symbol*, Symbol*, Thread*) + 74 12 libjvm.dylib 0x00000001049040aa thread_entry(JavaThread*, Thread*) + 124 13 libjvm.dylib 0x0000000104b22335 JavaThread::thread_main_inner() + 155 14 libjvm.dylib 0x0000000104b239fa JavaThread::run() + 448 15 libjvm.dylib 0x0000000104a43ff2 java_start(Thread*) + 246 16 libsystem_pthread.dylib 0x00007fff770e4305 _pthread_body + 126 17 libsystem_pthread.dylib 0x00007fff770e726f _pthread_start + 70 18 libsystem_pthread.dylib 0x00007fff770e3415 thread_start + 13 Thread 47:: Java: ApplicationImpl pooled thread 5 0 libsystem_kernel.dylib 0x00007fff7702a282 swtch_pri + 10 1 libsystem_pthread.dylib 0x00007fff770e6ebe sched_yield + 11 2 libjvm.dylib 0x0000000104903c49 JVM_Yield + 87 3 ??? 0x000000010cef682c 0 + 4511983660 4 ??? 0x000000010bcd9534 0 + 4492989748 Thread 48:: Java: JobScheduler FJ pool 1/3 0 libsystem_kernel.dylib 0x00007fff7702d7de __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x00007fff770e7593 _pthread_cond_wait + 724 2 libjvm.dylib 0x0000000104a409e9 Parker::park(bool, long) + 527 3 libjvm.dylib 0x0000000104b3865f Unsafe_Park + 126 4 ??? 0x000000010c12992a 0 + 4497512746 5 ??? 0x000000010b79bffd 0 + 4487495677 6 ??? 0x000000010b79b7d0 0 + 4487493584 7 ??? 0x000000010b79bffd 0 + 4487495677 8 ??? 0x000000010b7944e7 0 + 4487464167 9 libjvm.dylib 0x00000001048c5b1a JavaCalls::call_helper(JavaValue*, methodHandle*, JavaCallArguments*, Thread*) + 1710 10 libjvm.dylib 0x00000001048c62be JavaCalls::call_virtual(JavaValue*, KlassHandle, Symbol*, Symbol*, JavaCallArguments*, Thread*) + 356 11 libjvm.dylib 0x00000001048c646a JavaCalls::call_virtual(JavaValue*, Handle, KlassHandle, Symbol*, Symbol*, Thread*) + 74 12 libjvm.dylib 0x00000001049040aa thread_entry(JavaThread*, Thread*) + 124 13 libjvm.dylib 0x0000000104b22335 JavaThread::thread_main_inner() + 155 14 libjvm.dylib 0x0000000104b239fa JavaThread::run() + 448 15 libjvm.dylib 0x0000000104a43ff2 java_start(Thread*) + 246 16 libsystem_pthread.dylib 0x00007fff770e4305 _pthread_body + 126 17 libsystem_pthread.dylib 0x00007fff770e726f _pthread_start + 70 18 libsystem_pthread.dylib 0x00007fff770e3415 thread_start + 13 Thread 49:: Java: ApplicationImpl pooled thread 6 0 libsystem_kernel.dylib 0x00007fff7702a282 swtch_pri + 10 1 libsystem_pthread.dylib 0x00007fff770e6ebe sched_yield + 11 2 libjvm.dylib 0x0000000104903c49 JVM_Yield + 87 3 ??? 0x000000010cef682c 0 + 4511983660 4 ??? 0x000000010bcd9534 0 + 4492989748 Thread 50:: Java: ApplicationImpl pooled thread 7 0 libsystem_kernel.dylib 0x00007fff7702d7de __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x00007fff770e7593 _pthread_cond_wait + 724 2 libjvm.dylib 0x0000000104a409e9 Parker::park(bool, long) + 527 3 libjvm.dylib 0x0000000104b3865f Unsafe_Park + 126 4 ??? 0x000000010c12992a 0 + 4497512746 5 ??? 0x000000010c8ddbc4 0 + 4505590724 6 ??? 0x000000010b79bffd 0 + 4487495677 7 ??? 0x000000010b79c042 0 + 4487495746 8 ??? 0x000000010b7944e7 0 + 4487464167 9 libjvm.dylib 0x00000001048c5b1a JavaCalls::call_helper(JavaValue*, methodHandle*, JavaCallArguments*, Thread*) + 1710 10 libjvm.dylib 0x00000001048c62be JavaCalls::call_virtual(JavaValue*, KlassHandle, Symbol*, Symbol*, JavaCallArguments*, Thread*) + 356 11 libjvm.dylib 0x00000001048c646a JavaCalls::call_virtual(JavaValue*, Handle, KlassHandle, Symbol*, Symbol*, Thread*) + 74 12 libjvm.dylib 0x00000001049040aa thread_entry(JavaThread*, Thread*) + 124 13 libjvm.dylib 0x0000000104b22335 JavaThread::thread_main_inner() + 155 14 libjvm.dylib 0x0000000104b239fa JavaThread::run() + 448 15 libjvm.dylib 0x0000000104a43ff2 java_start(Thread*) + 246 16 libsystem_pthread.dylib 0x00007fff770e4305 _pthread_body + 126 17 libsystem_pthread.dylib 0x00007fff770e726f _pthread_start + 70 18 libsystem_pthread.dylib 0x00007fff770e3415 thread_start + 13 Thread 51:: Java: ApplicationImpl pooled thread 8 0 libsystem_kernel.dylib 0x00007fff7702d7de __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x00007fff770e7593 _pthread_cond_wait + 724 2 libjvm.dylib 0x0000000104a409e9 Parker::park(bool, long) + 527 3 libjvm.dylib 0x0000000104b3865f Unsafe_Park + 126 4 ??? 0x000000010c12992a 0 + 4497512746 5 ??? 0x000000010c8ddbc4 0 + 4505590724 6 ??? 0x000000010b79bffd 0 + 4487495677 7 ??? 0x000000010b79c042 0 + 4487495746 8 ??? 0x000000010b7944e7 0 + 4487464167 9 libjvm.dylib 0x00000001048c5b1a JavaCalls::call_helper(JavaValue*, methodHandle*, JavaCallArguments*, Thread*) + 1710 10 libjvm.dylib 0x00000001048c62be JavaCalls::call_virtual(JavaValue*, KlassHandle, Symbol*, Symbol*, JavaCallArguments*, Thread*) + 356 11 libjvm.dylib 0x00000001048c646a JavaCalls::call_virtual(JavaValue*, Handle, KlassHandle, Symbol*, Symbol*, Thread*) + 74 12 libjvm.dylib 0x00000001049040aa thread_entry(JavaThread*, Thread*) + 124 13 libjvm.dylib 0x0000000104b22335 JavaThread::thread_main_inner() + 155 14 libjvm.dylib 0x0000000104b239fa JavaThread::run() + 448 15 libjvm.dylib 0x0000000104a43ff2 java_start(Thread*) + 246 16 libsystem_pthread.dylib 0x00007fff770e4305 _pthread_body + 126 17 libsystem_pthread.dylib 0x00007fff770e726f _pthread_start + 70 18 libsystem_pthread.dylib 0x00007fff770e3415 thread_start + 13 Thread 52:: Java: ApplicationImpl pooled thread 9 0 libsystem_kernel.dylib 0x00007fff7702d3e6 __recvfrom + 10 1 libnet.dylib 0x000000010a47fa68 NET_Read + 152 2 libnet.dylib 0x000000010a47e83f Java_java_net_SocketInputStream_socketRead0 + 624 3 ??? 0x000000010b7ac3a7 0 + 4487562151 4 ??? 0x000000010b79ba40 0 + 4487494208 5 ??? 0x000000010b79ba40 0 + 4487494208 6 ??? 0x000000010b79ba40 0 + 4487494208 7 ??? 0x000000010cfde0c8 0 + 4512932040 Thread 53:: Java: ApplicationImpl pooled thread 10 0 libsystem_kernel.dylib 0x00007fff7702d7de __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x00007fff770e7593 _pthread_cond_wait + 724 2 libjvm.dylib 0x0000000104a409e9 Parker::park(bool, long) + 527 3 libjvm.dylib 0x0000000104b3865f Unsafe_Park + 126 4 ??? 0x000000010c12992a 0 + 4497512746 5 ??? 0x000000010d6f9cbc 0 + 4520385724 6 ??? 0x000000010b79bffd 0 + 4487495677 7 ??? 0x000000010b79c042 0 + 4487495746 8 ??? 0x000000010b7944e7 0 + 4487464167 9 libjvm.dylib 0x00000001048c5b1a JavaCalls::call_helper(JavaValue*, methodHandle*, JavaCallArguments*, Thread*) + 1710 10 libjvm.dylib 0x00000001048c62be JavaCalls::call_virtual(JavaValue*, KlassHandle, Symbol*, Symbol*, JavaCallArguments*, Thread*) + 356 11 libjvm.dylib 0x00000001048c646a JavaCalls::call_virtual(JavaValue*, Handle, KlassHandle, Symbol*, Symbol*, Thread*) + 74 12 libjvm.dylib 0x00000001049040aa thread_entry(JavaThread*, Thread*) + 124 13 libjvm.dylib 0x0000000104b22335 JavaThread::thread_main_inner() + 155 14 libjvm.dylib 0x0000000104b239fa JavaThread::run() + 448 15 libjvm.dylib 0x0000000104a43ff2 java_start(Thread*) + 246 16 libsystem_pthread.dylib 0x00007fff770e4305 _pthread_body + 126 17 libsystem_pthread.dylib 0x00007fff770e726f _pthread_start + 70 18 libsystem_pthread.dylib 0x00007fff770e3415 thread_start + 13 Logical CPU: 0 Error Code: 0x00000000 Trap Number: 221 External Modification Summary: Calls made by other processes targeting this process: task_for_pid: 0 thread_create: 0 thread_set_state: 0 Calls made by this process: task_for_pid: 0 thread_create: 0 thread_set_state: 0 Calls made by all processes on this machine: task_for_pid: 113 thread_create: 0 thread_set_state: 0 VM Region Summary: ReadOnly portion of Libraries: Total=426.1M resident=0K(0%) swapped_out_or_unallocated=426.1M(100%) Writable regions: Total=828.4M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=828.4M(100%) VIRTUAL REGION REGION TYPE SIZE COUNT (non-coalesced) =========== ======= ======= ATS (font support) 32.0M 6 ATS (font support) (reserved) 4K 2 reserved VM address space (unallocated) Accelerate framework 384K 4 Activity Tracing 256K 2 CG backing stores 1056K 4 CG image 336K 5 CoreAnimation 588K 17 CoreGraphics 8K 2 CoreImage 24K 3 CoreUI image data 1656K 16 CoreUI image file 516K 8 Dispatch continuations 8192K 2 Foundation 4K 2 Image IO 256K 2 Kernel Alloc Once 8K 2 MALLOC 199.9M 89 MALLOC guard page 32K 8 Memory Tag 242 12K 2 OpenGL GLSL 128K 3 STACK GUARD 820K 78 Stack 83.6M 78 Stack Guard 56.2M 65 VM_ALLOCATE 2.1G 98 VM_ALLOCATE (reserved) 46.1M 3 reserved VM address space (unallocated) __DATA 28.9M 289 __FONT_DATA 4K 2 __GLSLBUILTINS 5176K 2 __LINKEDIT 220.3M 27 __TEXT 205.8M 288 __UNICODE 564K 2 mapped file 1.7G 835 shared memory 676K 14 =========== ======= ======= TOTAL 4.7G 1928 TOTAL, minus reserved VM space 4.7G 1928 Model: MacBookAir8,1, BootROM 220.240.2.0.0 (iBridge: 16.16.3133.0.0,0), 2 processors, Intel Core i5, 1.6 GHz, 8 GB, SMC Graphics: kHW_IntelUHDGraphics617Item, Intel UHD Graphics 617, Built-In Memory Module: BANK 0/DIMM0, 4 GB, LPDDR3, 2133 MHz, 0x802C, 0x4D5435324C3531324D3634443450512D3039 Memory Module: BANK 1/DIMM0, 4 GB, LPDDR3, 2133 MHz, 0x802C, 0x4D5435324C3531324D3634443450512D3039 AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x843), wl0: Oct 11 2018 22:36:55 version 9.141.4.0.32.6.23 FWID 01-3d163180 Bluetooth: Version 6.0.10f1, 3 services, 27 devices, 1 incoming serial ports Network Service: Wi-Fi, AirPort, en0 USB Device: USB 3.0 Bus USB Device: iBridge Bus USB Device: Apple Internal Keyboard / Trackpad USB Device: Headset USB Device: iBridge ALS USB Device: iBridge FaceTime HD Camera (Built-in) USB Device: iBridge Thunderbolt Bus: MacBook Air, Apple Inc., 34.6 用idea里MacOS下的idea打开,控制台输出的 2019-07-02 09:45:52.042 idea[1732:22393] allVms required 1.8*,1.8+ 2019-07-02 09:45:52.046 idea[1732:22396] Value of IDEA_VM_OPTIONS is (null) 2019-07-02 09:45:52.046 idea[1732:22396] fullFileName is: /Applications/IntelliJ IDEA.app/Contents/bin/idea.vmoptions 2019-07-02 09:45:52.046 idea[1732:22396] fullFileName exists: /Applications/IntelliJ IDEA.app/Contents/bin/idea.vmoptions 2019-07-02 09:45:52.046 idea[1732:22396] Processing VMOptions file at /Applications/IntelliJ IDEA.app/Contents/bin/idea.vmoptions 2019-07-02 09:45:52.047 idea[1732:22396] Done thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: ()', libcore/result.rs:945:5 note: Run with `RUST_BACKTRACE=1` for a backtrace. Abort trap: 6 logout Saving session... ...saving history...truncating history files... ...completed.

关于IOS 9.3.2出现的闪退问题,求解惑

App真机调试时,release版本和debug的版本都没问题,再打包ipa成功安装后,在一台ios9.3.2的手机上,点击登录按钮闪退,以下为闪退日志 {"app_name":"RecordedSingle","timestamp":"2016-07-05 09:52:52.52 +0800","app_version":"1.0","slice_uuid":"4a6d974c-8b0f-37e4-87c3-d600485df2db","adam_id":0,"build_version":"1","bundleID":"com.cpic.cxzzlpe","share_with_app_devs":false,"is_first_party":false,"bug_type":"109","os_version":"iPhone OS 9.3.2 (13F69)","name":"RecordedSingle"} Incident Identifier: 804C2E57-130D-4D0B-94BA-6FAE5A49B4E2 CrashReporter Key: c9dd4d3d891e81c70bbd25340740581d3e928b55 Hardware Model: iPhone7,2 Process: RecordedSingle [682] Path: /private/var/containers/Bundle/Application/2ECD0ACE-31CF-46AC-B674-D17AE832076E/RecordedSingle.app/RecordedSingle Identifier: com.cpic.cxzzlpe Version: 1 (1.0) Code Type: ARM-64 (Native) Parent Process: launchd [1] Date/Time: 2016-07-05 09:52:52.52 +0800 Launch Time: 2016-07-05 09:18:42.42 +0800 OS Version: iOS 9.3.2 (13F69) Report Version: 105 Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Exception Note: EXC_CORPSE_NOTIFY Triggered by Thread: 0 Filtered syslog: None found Last Exception Backtrace: (0x18114edb0 0x1807b3f80 0x18103777c 0x181037614 0x1001de734 0x1002f54c8 0x10031d238 0x1862e4be8 0x1862e4b64 0x1862cc870 0x1862e4454 0x1862e4084 0x1862dcc20 0x1862ad04c 0x1862ab628 0x18110509c 0x181104b30 0x181102830 0x18102cc50 0x182914088 0x186316088 0x1001e17f8 0x180bca8b8) Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0 Crashed: 0 libsystem_kernel.dylib 0x0000000180ce811c 0x180ccc000 + 114972 1 libsystem_pthread.dylib 0x0000000180db4ef8 0x180db0000 + 20216 2 libsystem_c.dylib 0x0000000180c59dac 0x180bf8000 + 400812 3 libc++abi.dylib 0x000000018078d3f4 0x18078c000 + 5108 4 libc++abi.dylib 0x00000001807a9e98 0x18078c000 + 122520 5 libobjc.A.dylib 0x00000001807b4248 0x1807ac000 + 33352 6 libc++abi.dylib 0x00000001807a6f44 0x18078c000 + 110404 7 libc++abi.dylib 0x00000001807a6b10 0x18078c000 + 109328 8 libobjc.A.dylib 0x00000001807b4120 0x1807ac000 + 33056 9 CoreFoundation 0x000000018102ccf8 0x181024000 + 36088 10 GraphicsServices 0x0000000182914088 0x182908000 + 49288 11 UIKit 0x0000000186316088 0x186298000 + 516232 12 RecordedSingle 0x00000001001e17f8 0x1000b8000 + 1218552 13 libdyld.dylib 0x0000000180bca8b8 0x180bc8000 + 10424 Thread 1 name: Dispatch queue: com.apple.libdispatch-manager Thread 1: 0 libsystem_kernel.dylib 0x0000000180ce94d8 0x180ccc000 + 120024 1 libdispatch.dylib 0x0000000180bac7d8 0x180b98000 + 83928 2 libdispatch.dylib 0x0000000180b9b648 0x180b98000 + 13896 Thread 2 name: com.apple.NSURLConnectionLoader Thread 2: 0 libsystem_kernel.dylib 0x0000000180cccfd8 0x180ccc000 + 4056 1 libsystem_kernel.dylib 0x0000000180ccce54 0x180ccc000 + 3668 2 CoreFoundation 0x0000000181104c60 0x181024000 + 920672 3 CoreFoundation 0x0000000181102964 0x181024000 + 911716 4 CoreFoundation 0x000000018102cc50 0x181024000 + 35920 5 CFNetwork 0x00000001817adc68 0x181700000 + 711784 6 Foundation 0x0000000181b23e4c 0x181a30000 + 998988 7 libsystem_pthread.dylib 0x0000000180db3b28 0x180db0000 + 15144 8 libsystem_pthread.dylib 0x0000000180db3a8c 0x180db0000 + 14988 9 libsystem_pthread.dylib 0x0000000180db1028 0x180db0000 + 4136 Thread 3: 0 libsystem_kernel.dylib 0x0000000180ce8b48 0x180ccc000 + 117576 1 libsystem_pthread.dylib 0x0000000180db1530 0x180db0000 + 5424 2 libsystem_pthread.dylib 0x0000000180db1020 0x180db0000 + 4128 Thread 4 name: com.apple.CFSocket.private Thread 4: 0 libsystem_kernel.dylib 0x0000000180ce8344 0x180ccc000 + 115524 1 CoreFoundation 0x000000018110b1c8 0x181024000 + 946632 2 libsystem_pthread.dylib 0x0000000180db3b28 0x180db0000 + 15144 3 libsystem_pthread.dylib 0x0000000180db3a8c 0x180db0000 + 14988 4 libsystem_pthread.dylib 0x0000000180db1028 0x180db0000 + 4136 Thread 5: 0 libsystem_kernel.dylib 0x0000000180ce8b48 0x180ccc000 + 117576 1 libsystem_pthread.dylib 0x0000000180db1530 0x180db0000 + 5424 2 libsystem_pthread.dylib 0x0000000180db1020 0x180db0000 + 4128 Thread 6: 0 libsystem_kernel.dylib 0x0000000180ce8b48 0x180ccc000 + 117576 1 libsystem_pthread.dylib 0x0000000180db1530 0x180db0000 + 5424 2 libsystem_pthread.dylib 0x0000000180db1020 0x180db0000 + 4128 Thread 7: 0 libsystem_kernel.dylib 0x0000000180ce8b48 0x180ccc000 + 117576 1 libsystem_pthread.dylib 0x0000000180db1530 0x180db0000 + 5424 2 libsystem_pthread.dylib 0x0000000180db1020 0x180db0000 + 4128 Thread 0 crashed with ARM Thread State (64-bit): x0: 0x0000000000000000 x1: 0x0000000000000000 x2: 0x0000000000000000 x3: 0x0000000126eee467 x4: 0x00000001807aae02 x5: 0x000000016fd47500 x6: 0x000000000000006e x7: 0x0000000000000fa0 x8: 0x0000000008000000 x9: 0x0000000004000000 x10: 0x0000000000000000 x11: 0x0000000000000010 x12: 0x0000000000000000 x13: 0x0000000000000002 x14: 0x0000000000000000 x15: 0x0000030000000300 x16: 0x0000000000000148 x17: 0x0000000000000000 x18: 0x0000000000000000 x19: 0x0000000000000006 x20: 0x000000019f212000 x21: 0x000000016fd47500 x22: 0x0000000126d12410 x23: 0x000000019f21e150 x24: 0x0000000000000001 x25: 0xcf00e4346516eb16 x26: 0x0000000126d12050 x27: 0x0000000000000000 x28: 0x0000000000000001 fp: 0x000000016fd47460 lr: 0x0000000180db4ef8 sp: 0x000000016fd47440 pc: 0x0000000180ce811c cpsr: 0x00000000 Binary Images:

iOS使用boost中的icmp实现ping出现异常

请问,icmp是否在ios平台下有权限问题,app里需要做什么配置,请大神解答一下 堆栈如下: libc++abi.dylib: terminating with uncaught exception of type boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::system::system_error> >: open: Operation not permitted libc++abi.dylib: terminating with uncaught exception of type boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::system::system_error> >: ******open: Operation not permitted****** (lldb) bt * thread #17, stop reason = signal SIGABRT frame #0: 0x0000000185de5014 libsystem_kernel.dylib`__pthread_kill + 8 frame #1: 0x0000000185eaf334 libsystem_pthread.dylib`pthread_kill + 112 frame #2: 0x0000000185d599c4 libsystem_c.dylib`abort + 140 frame #3: 0x00000001858251b0 libc++abi.dylib`abort_message + 132 frame #4: 0x000000018583ebec libc++abi.dylib`default_terminate_handler() + 280 frame #5: 0x000000018584c830 libobjc.A.dylib`_objc_terminate() + 140 frame #6: 0x000000018583b5d4 libc++abi.dylib`std::__terminate(void (*)()) + 16 frame #7: 0x000000018583aef8 libc++abi.dylib`__cxa_throw + 136 * frame #8: 0x00000001000e9c00 tracedac`void boost::throw_exception<boost::system::system_error>(e=0x000000016e7a2198) at throw_exception.hpp:69 frame #9: 0x00000001000e9b10 tracedac`boost::asio::detail::do_throw_error(err=0x000000016e7a2278, location="open") at throw_error.ipp:38 frame #10: 0x00000001000e9a98 tracedac`boost::asio::detail::throw_error(err=0x000000016e7a2278, location="open") at throw_error.hpp:42 frame #11: 0x000000010013c5f4 tracedac`boost::asio::basic_socket<boost::asio::ip::icmp, boost::asio::raw_socket_service<boost::asio::ip::icmp> >::basic_socket(this=0x000000016e7a2ad8, io_service=0x000000016e7a2a90, protocol=0x000000016e7a2530) at basic_socket.hpp:92 frame #12: 0x000000010013c540 tracedac`boost::asio::basic_raw_socket<boost::asio::ip::icmp, boost::asio::raw_socket_service<boost::asio::ip::icmp> >::basic_raw_socket(this=0x000000016e7a2ad8, io_service=0x000000016e7a2a90, protocol=0x000000016e7a2530) at basic_raw_socket.hpp:88 frame #13: 0x000000010013b448 tracedac`boost::asio::basic_raw_socket<boost::asio::ip::icmp, boost::asio::raw_socket_service<boost::asio::ip::icmp> >::basic_raw_socket(this=0x000000016e7a2ad8, io_service=0x000000016e7a2a90, protocol=0x000000016e7a2530) at basic_raw_socket.hpp:89 frame #14: 0x000000010013ae64 tracedac`pinger::pinger(this=0x000000016e7a2a90, destination="61.135.169.121", times=5, time_out=5, data_len=65535) at ping.hpp:30 frame #15: 0x000000010013a89c tracedac`pinger::pinger(this=0x000000016e7a2a90, destination="61.135.169.121", times=5, time_out=5, data_len=65535) at ping.hpp:32 frame #16: 0x000000010013a6b0 tracedac`snail::trace::ip::ip(this=0x0000000170284920, name="61.135.169.121", port=443) at trace_info.hpp:42 frame #17: 0x000000010013a474 tracedac`snail::trace::ip::ip(this=0x0000000170284920, name="61.135.169.121", port=443) at trace_info.hpp:36 frame #18: 0x00000001000e9204 tracedac`snail::trace::domain::create_ip(this=0x000000017410a320, name="61.135.169.121", port=443) at trace_info.hpp:200 frame #19: 0x0000000100139880 tracedac`boost::_mfi::mf2<void, snail::trace::domain, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int>::operator(this=0x000000013fe2bc00, p=0x000000017410a320, a1="61.135.169.121", a2=443)(snail::trace::domain*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int) const at mem_fn_template.hpp:280 frame #20: 0x00000001001397d4 tracedac`void boost::_bi::list3<boost::_bi::value<snail::trace::domain*>, boost::_bi::value<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, boost::_bi::value<int> >::operator(this=0x000000013fe2bc10, (null)=type<void> @ 0x000000016e7a2e68, f=0x000000013fe2bc00, a=0x000000016e7a2ea0, (null)=0)<boost::_mfi::mf2<void, snail::trace::domain, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int>, boost::_bi::list0>(boost::_bi::type<void>, boost::_mfi::mf2<void, snail::trace::domain, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int>&, boost::_bi::list0&, int) at bind.hpp:392 frame #21: 0x0000000100139734 tracedac`boost::_bi::bind_t<void, boost::_mfi::mf2<void, snail::trace::domain, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int>, boost::_bi::list3<boost::_bi::value<snail::trace::domain*>, boost::_bi::value<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, boost::_bi::value<int> > >::operator(this=0x000000013fe2bc00)() at bind_template.hpp:20 frame #22: 0x00000001001394f8 tracedac`boost::detail::thread_data<boost::_bi::bind_t<void, boost::_mfi::mf2<void, snail::trace::domain, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int>, boost::_bi::list3<boost::_bi::value<snail::trace::domain*>, boost::_bi::value<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, boost::_bi::value<int> > > >::run(this=0x000000013fe2ba00) at thread.hpp:116 frame #23: 0x00000001001c54f0 tracedac`boost::(anonymous namespace)::thread_proxy(param=<unavailable>) at thread.cpp:168 [opt] frame #24: 0x0000000185ead75c libsystem_pthread.dylib`_pthread_body + 240 frame #25: 0x0000000185ead66c libsystem_pthread.dylib`_pthread_start + 284 frame #26: 0x0000000185eaad84 libsystem_pthread.dylib`thread_start + 4

jni调用java方法报错!!!

12-04 11:33:08.818: A/art(23825): art/runtime/check_jni.cc:70] JNI DETECTED ERROR IN APPLICATION: calling static method java.lang.String com.library.utils.MD5Utils.md5(java.lang.String) with CallObjectMethod 12-04 11:33:08.818: A/art(23825): art/runtime/check_jni.cc:70] in call to CallObjectMethod 12-04 11:33:08.818: A/art(23825): art/runtime/check_jni.cc:70] from java.lang.String com.mb.library.nativeutils.DmCoding.getMD5(java.lang.String) 12-04 11:33:08.818: A/art(23825): art/runtime/check_jni.cc:70] "main" prio=5 tid=1 Runnable 12-04 11:33:08.818: A/art(23825): art/runtime/check_jni.cc:70] | group="main" sCount=0 dsCount=0 obj=0x752bf000 self=0xf4827800 12-04 11:33:08.818: A/art(23825): art/runtime/check_jni.cc:70] | sysTid=23825 nice=0 cgrp=default sched=0/0 handle=0xf74bbbec 12-04 11:33:08.818: A/art(23825): art/runtime/check_jni.cc:70] | state=R schedstat=( 387939683 56711068 527 ) utm=33 stm=5 core=0 HZ=100 12-04 11:33:08.818: A/art(23825): art/runtime/check_jni.cc:70] | stack=0xff7b0000-0xff7b2000 stackSize=8MB 12-04 11:33:08.818: A/art(23825): art/runtime/check_jni.cc:70] | held mutexes= "mutator lock"(shared held) 12-04 11:33:08.818: A/art(23825): art/runtime/check_jni.cc:70] at com.mb.library.nativeutils.DmCoding.getMD5(Native method) 12-04 11:33:08.818: A/art(23825): art/runtime/check_jni.cc:70] at com.colorpick.activity.CorCppTestActivity.onClick(CorCppTestActivity.java:53) 12-04 11:33:08.818: A/art(23825): art/runtime/check_jni.cc:70] at android.view.View.performClick(View.java:4908) 12-04 11:33:08.818: A/art(23825): art/runtime/check_jni.cc:70] at android.view.View$PerformClick.run(View.java:20378) 12-04 11:33:08.818: A/art(23825): art/runtime/check_jni.cc:70] at android.os.Handler.handleCallback(Handler.java:815) 12-04 11:33:08.818: A/art(23825): art/runtime/check_jni.cc:70] at android.os.Handler.dispatchMessage(Handler.java:104) 12-04 11:33:08.818: A/art(23825): art/runtime/check_jni.cc:70] at android.os.Looper.loop(Looper.java:194) 12-04 11:33:08.818: A/art(23825): art/runtime/check_jni.cc:70] at android.app.ActivityThread.main(ActivityThread.java:5691) 12-04 11:33:08.818: A/art(23825): art/runtime/check_jni.cc:70] at java.lang.reflect.Method.invoke!(Native method) 12-04 11:33:08.818: A/art(23825): art/runtime/check_jni.cc:70] at java.lang.reflect.Method.invoke(Method.java:372) 12-04 11:33:08.818: A/art(23825): art/runtime/check_jni.cc:70] at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:959) 12-04 11:33:08.818: A/art(23825): art/runtime/check_jni.cc:70] at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:754) 12-04 11:33:08.818: A/art(23825): art/runtime/check_jni.cc:70] 12-04 11:33:08.818: A/libc(23825): Fatal signal 6 (SIGABRT), code -6 in tid 23825 (com.colorpick)

求大神Android打包混淆时出现的错误

Build fingerprint: 'Xiaomi/cancro_wc_lte/cancro:6.0.1/MMB29M/6.9.1:user/release-keys' Revision: '0' ABI: 'arm' pid: 8053, tid: 8086, name: Thread-1333 >>> com.service.guanshibaoscgl <<< signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr -------- Abort message: 'art/runtime/java_vm_ext.cc:410] JNI DETECTED ERROR IN APPLICATION: java_array == null' r0 00000000 r1 00001f96 r2 00000006 r3 aeac0978 r4 aeac0980 r5 aeac0930 r6 0000000b r7 0000010c r8 b4abf378 r9 b4caa800 sl 00000001 fp 00000001 ip 00000006 sp aeabfe08 lr b6ccbc51 pc b6cce040 cpsr 40070010 backtrace: #00 pc 00042040 /system/lib/libc.so (tgkill+12) #01 pc 0003fc4d /system/lib/libc.so (pthread_kill+32) #02 pc 0001c3fb /system/lib/libc.so (raise+10) #03 pc 000195ad /system/lib/libc.so (__libc_android_abort+34) #04 pc 00017500 /system/lib/libc.so (abort+4) #05 pc 00333909 /system/lib/libart.so (_ZN3art7Runtime5AbortEv+228) #06 pc 000f460b /system/lib/libart.so (_ZN3art10LogMessageD2Ev+2226) #07 pc 0025a9b7 /system/lib/libart.so (_ZN3art9JavaVMExt8JniAbortEPKcS2_+1550) #08 pc 0025ade3 /system/lib/libart.so (_ZN3art9JavaVMExt9JniAbortFEPKcS2_z+74) #09 pc 00277971 /system/lib/libart.so (_ZN3art3JNI14GetArrayLengthEP7_JNIEnvP7_jarray+460) #10 pc 0006b267 /data/app/com.service.guanshibaoscgl-1/lib/arm/libhyphenate.so #11 pc 0006cd11 /data/app/com.service.guanshibaoscgl-1/lib/arm/libhyphenate.so #12 pc 0006cdc3 /data/app/com.service.guanshibaoscgl-1/lib/arm/libhyphenate.so #13 pc 000482bd /data/app/com.service.guanshibaoscgl-1/lib/arm/libhyphenate.so #14 pc 000487bd /data/app/com.service.guanshibaoscgl-1/lib/arm/libhyphenate.so #15 pc 00048a27 /data/app/com.service.guanshibaoscgl-1/lib/arm/libhyphenate.so #16 pc 0003a15d /data/app/com.service.guanshibaoscgl-1/lib/arm/libhyphenate.so #17 pc 0007326b /data/app/com.service.guanshibaoscgl-1/lib/arm/libhyphenate.so (Java_com_hyphenate_chat_adapter_EMAChatConfig_nativegetBaseUrl+18) #18 pc 00bb5c79 /data/app/com.service.guanshibaoscgl-1/oat/arm/base.odex (offset 0x793000)

Xcode7.3 点击button在Main.m报Thread 1:signal SIGABRT错误

错误截图: ![图片说明](https://img-ask.csdn.net/upload/201604/01/1459517138_140373.png) 原码: ![图片说明](https://img-ask.csdn.net/upload/201604/01/1459517273_106011.png) ![图片说明](https://img-ask.csdn.net/upload/201604/01/1459517292_252953.png)

caffe在cmake时候报错

在 执行 cmake -DCMAKE_BUILD_TYPE=Release -DCPU_ONLY=ON ..的时候总是报错![![图片说明](https://img-ask.csdn.net/upload/201611/28/1480328006_55044.jpg)图片说明](https://img-ask.csdn.net/upload/201611/28/1480327997_975534.jpg)

signal 6 (SIGABRT), code -6 (SI_TKILL)错误,需要addr2line定位错误代码的详细步骤

crash proc name : Thread-5 happen time : 2019-04-03 10:48:37 <<logcat trace info>> cannot get valid ams trace info this time. <<stack trace info>> pid: 2692, tid: 2733, name: Thread-5 >>> com.mxpipe.lih.mxpipe <<< signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr -------- Abort message: 'java_vm_ext.cc:534] JNI DETECTED ERROR IN APPLICATION: JNI NewStringUTF called with pending exception java.lang.NumberFormatException: empty String' r0 00000000 r1 00000aad r2 00000006 r3 00000008 r4 00000a84 r5 00000aad r6 c29ff5ac r7 0000010c r8 00000000 r9 e58991b8 sl 0000000a fp c29ff5f8 ip c9545440 sp c29ff598 lr e6ca9cad pc e6ca374e cpsr 200f0030 backtrace: #00 pc 0001a74e /system/lib/libc.so (abort+63) #01 pc 0035ba5d /system/lib/libart.so (art::Runtime::Abort(char const*)+392) #02 pc 0041b82d /system/lib/libart.so (android::base::LogMessage::~LogMessage()+452) #03 pc 0024ddf5 /system/lib/libart.so (art::JavaVMExt::JniAbort(char const*, char const*)+1212) #04 pc 0024df77 /system/lib/libart.so (art::JavaVMExt::JniAbortV(char const*, char const*, std::__va_list)+58) #05 pc 000d609b /system/lib/libart.so (art::ScopedCheck::AbortF(char const*, ...)+42) #06 pc 000d5c1b /system/lib/libart.so (art::ScopedCheck::CheckThread(_JNIEnv*)+274) #07 pc 000d45c5 /system/lib/libart.so (art::ScopedCheck::Check(art::ScopedObjectAccess&, bool, char const*, art::JniValueType*)+596) #08 pc 000ccd57 /system/lib/libart.so (art::CheckJNI::NewStringUTF(_JNIEnv*, char const*)+438) #09 pc 00bc7071 /data/app/com.mxpipe.lih.mxpipe-BLdMLJLFE4s9FKr_u1cgKA==/base.apk (offset 0x500b000) #10 pc 00bc7105 /data/app/com.mxpipe.lih.mxpipe-BLdMLJLFE4s9FKr_u1cgKA==/base.apk (offset 0x500b000) #11 pc 00bb072d /data/app/com.mxpipe.lih.mxpipe-BLdMLJLFE4s9FKr_u1cgKA==/base.apk (offset 0x500b000) #12 pc 00bb07d3 /data/app/com.mxpipe.lih.mxpipe-BLdMLJLFE4s9FKr_u1cgKA==/base.apk (offset 0x500b000) #13 pc 00bcdeb9 /data/app/com.mxpipe.lih.mxpipe-BLdMLJLFE4s9FKr_u1cgKA==/base.apk (offset 0x500b000) #14 pc 00be3f21 /data/app/com.mxpipe.lih.mxpipe-BLdMLJLFE4s9FKr_u1cgKA==/base.apk (offset 0x500b000) #15 pc 022777c5 /data/app/com.mxpipe.lih.mxpipe-BLdMLJLFE4s9FKr_u1cgKA==/base.apk (offset 0x500b000) #16 pc 022773eb /data/app/com.mxpipe.lih.mxpipe-BLdMLJLFE4s9FKr_u1cgKA==/base.apk (offset 0x500b000) #17 pc 02277779 /data/app/com.mxpipe.lih.mxpipe-BLdMLJLFE4s9FKr_u1cgKA==/base.apk (offset 0x500b000) #18 pc 02277791 /data/app/com.mxpipe.lih.mxpipe-BLdMLJLFE4s9FKr_u1cgKA==/base.apk (offset 0x500b000) #19 pc 0255854b /data/app/com.mxpipe.lih.mxpipe-BLdMLJLFE4s9FKr_u1cgKA==/base.apk (offset 0x500b000) #20 pc 00047a1f /system/lib/libc.so (__pthread_start(void*)+22) #21 pc 0001b31d /system/lib/libc.so (__start_thread+32) 想用ndk中的addr2line来定位错误代码位置,但是不知道所需要的.so文件到底是哪个到底在哪里,项目中有引用aar包。 希望有大佬能解答一下,感谢万分!

android里面调用so文件出错

08-03 10:29:33.925 32185-32215/com.example.administrator.testdome E/art: dlopen("/data/app/com.example.administrator.testdome-1/lib/arm/libSystemTransform.so", RTLD_LAZY) failed: dlopen failed: "/data/app/com.example.administrator.testdome-1/lib/arm/libSystemTransform.so" is too small to be an ELF executable: only found 0 bytes 08-03 10:29:33.926 32185-32215/com.example.administrator.testdome E/AndroidRuntime: FATAL EXCEPTION: Thread-6374 Process: com.example.administrator.testdome, PID: 32185 java.lang.UnsatisfiedLinkError: dlopen failed: "/data/app/com.example.administrator.testdome-1/lib/arm/libSystemTransform.so" is too small to be an ELF executable: only found 0 bytes at java.lang.Runtime.loadLibrary(Runtime.java:371) at java.lang.System.loadLibrary(System.java:988) at com.hikvision.netsdk.HCNetSDK.<clinit>(HCNetSDK.java:27) at com.example.administrator.testdome.HC_DVRManager.initSDK(HC_DVRManager.java:126) at com.example.administrator.testdome.MainActivity$2.run(MainActivity.java:89)

Android运行出现Fatal signal 6 (SIGABRT)的错误

在运行自己的项目时,出现以下错误 ``` heap corruption detected by dlfree 12-04 15:32:01.671 3093 3231 F libc : Fatal signal 6 (SIGABRT), code -6 in tid 3231 (Thread-287) 12-04 15:32:01.726 3232 3232 I AEE/AED : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** 12-04 15:32:01.726 3232 3232 I AEE/AED : Build fingerprint: 'alps/full_q5c/q5c:6.0/MRA58K/1510916390:user/test-keys' 12-04 15:32:01.726 3232 3232 I AEE/AED : Revision: '0' 12-04 15:32:01.727 3232 3232 I AEE/AED : ABI: 'arm' 12-04 15:32:01.727 3232 3232 I AEE/AED : pid: 3093, tid: 3231, name: Thread-287 >>> com.face.arcface <<< 12-04 15:32:01.727 3232 3232 I AEE/AED : signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr -------- 12-04 15:32:01.753 3232 3232 I AEE/AED : Abort message: 'heap corruption detected by dlfree' 12-04 15:32:01.754 3232 3232 I AEE/AED : r0 00000000 r1 00000c9f r2 00000006 r3 a05f8978 12-04 15:32:01.754 3232 3232 I AEE/AED : r4 a05f8980 r5 a05f8930 r6 00000002 r7 0000010c 12-04 15:32:01.754 3232 3232 I AEE/AED : r8 b6d0bed8 r9 b8ac25a8 sl 71272718 fp a05f86bc 12-04 15:32:01.754 3232 3232 I AEE/AED : ip 00000006 sp a05f8490 lr b6ce8b3d pc b6ce9af4 cpsr 400f0010 12-04 15:32:01.787 356 1091 D FrameworkListener: dispatchCommand data = (getaddrinfo googleads.g.doubleclick.net ^ 1024 0 1 0 0) 12-04 15:32:01.789 356 3236 D SocketClient: SocketClient sendData done: 222 12-04 15:32:01.789 356 3236 D SocketClient: SocketClient sendData done: 12-04 15:32:01.789 356 3236 D SocketClient: SocketClient sendData done: 12-04 15:32:01.790 3232 3232 I AEE/AED : 12-04 15:32:01.790 3232 3232 I AEE/AED : backtrace: 12-04 15:32:01.790 3232 3232 I AEE/AED : #00 pc 00043af4 /system/lib/libc.so (tgkill+12) 12-04 15:32:01.790 3232 3232 I AEE/AED : #01 pc 00042b39 /system/lib/libc.so (pthread_kill+32) 12-04 15:32:01.790 3232 3232 I AEE/AED : #02 pc 0001babb /system/lib/libc.so (raise+10) 12-04 15:32:01.790 3232 3232 I AEE/AED : #03 pc 00018c6d /system/lib/libc.so (__libc_android_abort+34) 12-04 15:32:01.790 3232 3232 I AEE/AED : #04 pc 00016814 /system/lib/libc.so (abort+4) 12-04 15:32:01.790 3232 3232 I AEE/AED : #05 pc 0001a6cf /system/lib/libc.so (__libc_fatal+16) 12-04 15:32:01.790 3232 3232 I AEE/AED : #06 pc 0002ef69 /system/lib/libc.so (__bionic_heap_corruption_error+8) 12-04 15:32:01.790 3232 3232 I AEE/AED : #07 pc 000311b9 /system/lib/libc.so (dlfree+308) 12-04 15:32:01.790 3232 3232 I AEE/AED : #08 pc 00000e9f /data/app/com.syxrobot.arcface-1/lib/arm/libimage.so 12-04 15:32:01.790 3232 3232 I AEE/AED : #09 pc 0027ed89 /data/app/com.syxrobot.arcface-1/oat/arm/base.odex (offset 0x1ca000) (int com.guo.android_extend.image.ImageConverter.image_uninit(int)+84) 12-04 15:32:01.790 3232 3232 I AEE/AED : #10 pc 0027eee7 /data/app/com.syxrobot.arcface-1/oat/arm/base.odex (offset 0x1ca000) (void com.guo.android_extend.image.ImageConverter.destroy()+106) 12-04 15:32:01.790 3232 3232 I AEE/AED : #11 pc 002acfa9 /data/app/com.syxrobot.arcface-1/oat/arm/base.odex (offset 0x1ca000) (void com.face.arcface.RegisterActivity$2.run()+1100) 12-04 15:32:01.791 3232 3232 I AEE/AED : #12 pc 0243e141 /system/framework/arm/boot.oat (offset 0x2420000) ``` 补充: 运行我自己的项目时,这个错误并不是一定会出现,但是出现后,会连续很多次都会崩溃,而且每次都是同一张图片,之后换图片可以继续工作,再点击会崩溃的图片时,有可能会没问题,如果没问题,之后就不会出现问题,运行官方DEMO这张图片,是一定会出问题,不知道是图片问题,还是什么,百度谷歌都没找到答案

android 长时间运行导致程序奔溃

偶发性bug,不知道哪里引起的错误,程序太大没办法贴出代码,请大神帮忙看看是哪里出错了可以给个提示。没调过这方面的bug,请大神教教方法 谢谢了 06-02 13:56:25.920: A/libc(15969): Fatal signal 6 (SIGABRT) at 0x00003e61 (code=-6), thread 15969 (.clov4r.ad.nil1) 06-02 13:56:26.030: I/DEBUG(107): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** 06-02 13:56:26.030: I/DEBUG(107): Build fingerprint: 'rockchip/rk3188/rk3188:4.4.2/KOT49H/eng.yangfeihu.20141226.153135:eng/test-keys' 06-02 13:56:26.030: I/DEBUG(107): Revision: '0' 06-02 13:56:26.030: I/DEBUG(107): pid: 15969, tid: 15969, name: .clov4r.ad.nil1 >>> com.clov4r.ad.nil1 <<< 06-02 13:56:26.030: I/DEBUG(107): signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr -------- 06-02 13:56:26.230: I/DEBUG(107): r0 00000000 r1 00003e61 r2 00000006 r3 00000000 06-02 13:56:26.230: I/DEBUG(107): r4 00000006 r5 0000000c r6 00003e61 r7 0000010c 06-02 13:56:26.230: I/DEBUG(107): r8 beec3168 r9 41504af8 sl 4015d4b8 fp beec317c 06-02 13:56:26.230: I/DEBUG(107): ip 402e53d0 sp beec30c0 lr 4018509d pc 40194048 cpsr 00030010 06-02 13:56:26.230: I/DEBUG(107): d0 000000003a70697a d1 0000000000000000 06-02 13:56:26.230: I/DEBUG(107): d2 0000000000000000 d3 0000000000000000 06-02 13:56:26.230: I/DEBUG(107): d4 0000050000000000 d5 000002a044280000 06-02 13:56:26.230: I/DEBUG(107): d6 0000000100000000 d7 414000003f800000 06-02 13:56:26.230: I/DEBUG(107): d8 000000003f800000 d9 44a0000000000000 06-02 13:56:26.230: I/DEBUG(107): d10 0000000044280000 d11 44586db842aa4925 06-02 13:56:26.230: I/DEBUG(107): d12 3f80000042904925 d13 447a0000447a0000 06-02 13:56:26.230: I/DEBUG(107): d14 000000003f800000 d15 44586db800000000 06-02 13:56:26.230: I/DEBUG(107): d16 00000000ffffffff d17 0000000000000000 06-02 13:56:26.230: I/DEBUG(107): d18 4030000000000000 d19 0000000000000000 06-02 13:56:26.230: I/DEBUG(107): d20 3ff0000000000000 d21 0000000000000000 06-02 13:56:26.230: I/DEBUG(107): d22 0000000000000000 d23 0000000000000000 06-02 13:56:26.230: I/DEBUG(107): d24 4030000000000000 d25 0000000000000000 06-02 13:56:26.230: I/DEBUG(107): d26 3ff0000000000000 d27 0000000000000000 06-02 13:56:26.230: I/DEBUG(107): d28 4030000000000000 d29 0000000000000000 06-02 13:56:26.230: I/DEBUG(107): d30 004f001400490013 d31 005b001700550016 06-02 13:56:26.230: I/DEBUG(107): scr 60000011 06-02 13:56:26.240: I/DEBUG(107): backtrace: 06-02 13:56:26.240: I/DEBUG(107): #00 pc 00022048 /system/lib/libc.so (tgkill+12) 06-02 13:56:26.240: I/DEBUG(107): #01 pc 00013099 /system/lib/libc.so (pthread_kill+48) 06-02 13:56:26.240: I/DEBUG(107): #02 pc 000132ad /system/lib/libc.so (raise+10) 06-02 13:56:26.240: I/DEBUG(107): #03 pc 00011fe3 /system/lib/libc.so 06-02 13:56:26.240: I/DEBUG(107): #04 pc 000218fc /system/lib/libc.so (abort+4) 06-02 13:56:26.240: I/DEBUG(107): #05 pc 00000921 /system/lib/libstdc++.so (operator new(unsigned int)+8) 06-02 13:56:26.240: I/DEBUG(107): #06 pc 0000c431 /system/lib/libandroidfw.so (android::_CompressedAsset::getBuffer(bool)+12) 06-02 13:56:26.240: I/DEBUG(107): #07 pc 0007ee09 /system/lib/libandroid_runtime.so 06-02 13:56:26.240: I/DEBUG(107): #08 pc 0001dbcc /system/lib/libdvm.so (dvmPlatformInvoke+112) 06-02 13:56:26.240: I/DEBUG(107): #09 pc 0004e123 /system/lib/libdvm.so (dvmCallJNIMethod(unsigned int const*, JValue*, Method const*, Thread*)+398) 06-02 13:56:26.240: I/DEBUG(107): #10 pc 00026fe0 /system/lib/libdvm.so 06-02 13:56:26.240: I/DEBUG(107): #11 pc 0002dfa0 /system/lib/libdvm.so (dvmMterpStd(Thread*)+76) 06-02 13:56:26.240: I/DEBUG(107): #12 pc 0002b638 /system/lib/libdvm.so (dvmInterpret(Thread*, Method const*, JValue*)+184) 06-02 13:56:26.240: I/DEBUG(107): #13 pc 00060865 /system/lib/libdvm.so (dvmInvokeMethod(Object*, Method const*, ArrayObject*, ArrayObject*, ClassObject*, bool)+392) 06-02 13:56:26.240: I/DEBUG(107): #14 pc 000687c7 /system/lib/libdvm.so 06-02 13:56:26.240: I/DEBUG(107): #15 pc 00026fe0 /system/lib/libdvm.so 06-02 13:56:26.240: I/DEBUG(107): #16 pc 0002dfa0 /system/lib/libdvm.so (dvmMterpStd(Thread*)+76) 06-02 13:56:26.240: I/DEBUG(107): #17 pc 0002b638 /system/lib/libdvm.so (dvmInterpret(Thread*, Method const*, JValue*)+184) 06-02 13:56:26.240: I/DEBUG(107): #18 pc 00060581 /system/lib/libdvm.so (dvmCallMethodV(Thread*, Method const*, Object*, bool, JValue*, std::__va_list)+336) 06-02 13:56:26.240: I/DEBUG(107): #19 pc 00049d0b /system/lib/libdvm.so 06-02 13:56:26.240: I/DEBUG(107): #20 pc 0004ce7f /system/lib/libandroid_runtime.so 06-02 13:56:26.240: I/DEBUG(107): #21 pc 0004dba3 /system/lib/libandroid_runtime.so (android::AndroidRuntime::start(char const*, char const*)+354) 06-02 13:56:26.240: I/DEBUG(107): #22 pc 0000105b /system/bin/app_process 06-02 13:56:26.240: I/DEBUG(107): #23 pc 0000e403 /system/lib/libc.so (__libc_init+50) 06-02 13:56:26.240: I/DEBUG(107): #24 pc 00000d7c /system/bin/app_process 06-02 13:56:26.240: I/DEBUG(107): stack: 06-02 13:56:26.240: I/DEBUG(107): beec3080 40183885 /system/lib/libc.so (dlrealloc) 06-02 13:56:26.240: I/DEBUG(107): beec3084 756e4b28 06-02 13:56:26.240: I/DEBUG(107): beec3088 0000003a 06-02 13:56:26.240: I/DEBUG(107): beec308c 756e4b10 06-02 13:56:26.240: I/DEBUG(107): beec3090 699f9a08 06-02 13:56:26.240: I/DEBUG(107): beec3094 00000000 06-02 13:56:26.240: I/DEBUG(107): beec3098 beec30f8 [stack] 06-02 13:56:26.240: I/DEBUG(107): beec309c 699f9a10 06-02 13:56:26.240: I/DEBUG(107): beec30a0 00000000 06-02 13:56:26.250: I/DEBUG(107): beec30a4 ffffffff 06-02 13:56:26.250: I/DEBUG(107): beec30a8 00000000 06-02 13:56:26.250: I/DEBUG(107): beec30ac 40184d3b /system/lib/libc.so (mmap+38) 06-02 13:56:26.250: I/DEBUG(107): beec30b0 ffffffff 06-02 13:56:26.250: I/DEBUG(107): beec30b4 00000000 06-02 13:56:26.250: I/DEBUG(107): beec30b8 00000003 06-02 13:56:26.250: I/DEBUG(107): beec30bc 0058b000 06-02 13:56:26.250: I/DEBUG(107): #00 beec30c0 00000006 06-02 13:56:26.250: I/DEBUG(107): beec30c4 0000000c 06-02 13:56:26.250: I/DEBUG(107): beec30c8 00003e61 06-02 13:56:26.250: I/DEBUG(107): beec30cc 402e53d0 /system/lib/libandroid_runtime.so 06-02 13:56:26.250: I/DEBUG(107): beec30d0 402e53d0 /system/lib/libandroid_runtime.so 06-02 13:56:26.250: I/DEBUG(107): beec30d4 4018509d /system/lib/libc.so (pthread_kill+52) 06-02 13:56:26.250: I/DEBUG(107): #01 beec30d8 00000006 06-02 13:56:26.250: I/DEBUG(107): beec30dc 00000000 06-02 13:56:26.250: I/DEBUG(107): beec30e0 756e4a78 06-02 13:56:26.250: I/DEBUG(107): beec30e4 401852b1 /system/lib/libc.so (raise+14) 06-02 13:56:26.250: I/DEBUG(107): #02 beec30e8 beec30f4 [stack] 06-02 13:56:26.250: I/DEBUG(107): beec30ec 40183fe7 /system/lib/libc.so

安卓小米终极闪退问题

08-17 18:55:31.962 27525-27525/cn.art.app A/libc: Fatal signal 6 (SIGABRT), code -6 in tid 27525 (cn.art.app) 08-17 18:55:32.071 289-289/? A/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** 08-17 18:55:32.072 289-289/? A/DEBUG: Build fingerprint: 'Xiaomi/cancro_wc_lte/cancro:6.0.1/MMB29M/V7.5.6.0.MXDCNDE:user/release-keys' 08-17 18:55:32.073 289-289/? A/DEBUG: Revision: '0' 08-17 18:55:32.073 289-289/? A/DEBUG: ABI: 'arm' 08-17 18:55:32.074 289-289/? A/DEBUG: pid: 27525, tid: 27525, name: cn.art.app >>> cn.art.app <<< 08-17 18:55:32.075 289-289/? A/DEBUG: signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr -------- 08-17 18:55:32.138 289-289/? A/DEBUG: r0 00000000 r1 00006b85 r2 00000006 r3 b6fefb7c 08-17 18:55:32.138 289-289/? A/DEBUG: r4 b6fefb84 r5 b6fefb34 r6 0000000b r7 0000010c 08-17 18:55:32.138 289-289/? A/DEBUG: r8 12c78280 r9 b4d76500 sl 12c05a40 fp 00000000 08-17 18:55:32.138 289-289/? A/DEBUG: ip 00000006 sp bec9d820 lr b6d54c51 pc b6d57040 cpsr 40070010 08-17 18:55:32.260 289-289/? A/DEBUG: backtrace: 08-17 18:55:32.261 289-289/? A/DEBUG: #00 pc 00042040 /system/lib/libc.so (tgkill+12) 08-17 18:55:32.262 289-289/? A/DEBUG: #01 pc 0003fc4d /system/lib/libc.so (pthread_kill+32) 08-17 18:55:32.262 289-289/? A/DEBUG: #02 pc 0001c3fb /system/lib/libc.so (raise+10) 08-17 18:55:32.263 289-289/? A/DEBUG: #03 pc 000195ad /system/lib/libc.so (__libc_android_abort+34) 08-17 18:55:32.263 289-289/? A/DEBUG: #04 pc 00017500 /system/lib/libc.so (abort+4) 08-17 18:55:32.264 289-289/? A/DEBUG: #05 pc 0071bb2d /data/app/cn.art.app-2/lib/arm/libSeeScoreLib.so 08-17 18:55:32.264 289-289/? A/DEBUG: #06 pc 0071bbef /data/app/cn.art.app-2/lib/arm/libSeeScoreLib.so 08-17 18:55:32.265 289-289/? A/DEBUG: #07 pc 007112cd /data/app/cn.art.app-2/lib/arm/libSeeScoreLib.so 08-17 18:55:32.266 289-289/? A/DEBUG: #08 pc 007109cb /data/app/cn.art.app-2/lib/arm/libSeeScoreLib.so (__cxa_throw+190) 08-17 18:55:32.266 289-289/? A/DEBUG: #09 pc 0042b125 /data/app/cn.art.app-2/lib/arm/libSeeScoreLib.so 08-17 18:55:32.267 289-289/? A/DEBUG: #10 pc 00437269 /data/app/cn.art.app-2/lib/arm/libSeeScoreLib.so (_ZNK15sscore_playdata7getnoteERK27sscore_pd_barnotes_iterator+136) 08-17 18:55:32.267 289-289/? A/DEBUG: #11 pc 004371d1 /data/app/cn.art.app-2/lib/arm/libSeeScoreLib.so (sscore_pd_bni_getnote+14) 08-17 18:55:32.268 289-289/? A/DEBUG: #12 pc 004279f7 /data/app/cn.art.app-2/lib/arm/libSeeScoreLib.so (Java_uk_co_dolphin_1com_sscore_playdata_NoteIterator_next+94) 08-17 18:55:32.268 289-289/? A/DEBUG: #13 pc 030da7a1 /data/app/cn.art.app-2/oat/arm/base.odex (offset 0x1423000) (uk.co.dolphin_com.sscore.playdata.Note uk.co.dolphin_com.sscore.playdata.NoteIterator.next()+76) 08-17 18:55:32.269 289-289/? A/DEBUG: #14 pc 030da725 /data/app/cn.art.app-2/oat/arm/base.odex (offset 0x1423000) (java.lang.Object uk.co.dolphin_com.sscore.playdata.NoteIterator.next()+48) 08-17 18:55:32.269 289-289/? A/DEBUG: #15 pc 02638899 /data/app/cn.art.app-2/oat/arm/base.odex (offset 0x1423000) (java.util.List uk.co.dolphin_com.seescoreandroid.Dispatcher.allNotesInBar(uk.co.dolphin_com.sscore.playdata.Bar)+260) 08-17 18:55:32.270 289-289/? A/DEBUG: #16 pc 0263959f /data/app/cn.art.app-2/oat/arm/base.odex (offset 0x1423000) (void uk.co.dolphin_com.seescoreandroid.Dispatcher.scheduleNotesForBar(uk.co.dolphin_com.sscore.playdata.Bar, java.util.Date)+122) 08-17 18:55:32.270 289-289/? A/DEBUG: #17 pc 02638be1 /data/app/cn.art.app-2/oat/arm/base.odex (offset 0x1423000) (void uk.co.dolphin_com.seescoreandroid.Dispatcher.scheduleBarEvents(uk.co.dolphin_com.sscore.playdata.Bar, java.util.Date)+140) 08-17 18:55:32.271 289-289/? A/DEBUG: #18 pc 02639efb /data/app/cn.art.app-2/oat/arm/base.odex (offset 0x1423000) (void uk.co.dolphin_com.seescoreandroid.Dispatcher.startAt(java.util.Date, int, boolean)+590) 08-17 18:55:32.271 289-289/? A/DEBUG: #19 pc 0263d46b /data/app/cn.art.app-2/oat/arm/base.odex (offset 0x1423000) (void uk.co.dolphin_com.seescoreandroid.Player.startAt(int, boolean)+1014) 08-17 18:55:32.272 289-289/? A/DEBUG: #20 pc 0168c8b3 /data/app/cn.art.app-2/oat/arm/base.odex (offset 0x1423000) (void cn.art.app.activities.common.SeeScoreActivity.play_pause()+1142) 08-17 18:55:32.273 289-289/? A/DEBUG: #21 pc 016cb405 /data/app/cn.art.app-2/oat/arm/base.odex (offset 0x1423000) (void cn.art.app.activities.student.StudentOpernPlayActivity.onToggleStartPauseScore(android.view.View)+184) 08-17 18:55:32.273 289-289/? A/DEBUG: #22 pc 02896483 /data/app/cn.art.app-2/oat/arm/base.odex (offset 0x1423000) (void cn.art.app.activities.student.StudentOpernPlayActivity$$ViewBinder$1.doClick(android.view.View)+62) 08-17 18:55:32.274 289-289/? A/DEBUG: #23 pc 0161378d /data/app/cn.art.app-2/oat/arm/base.odex (offset 0x1423000) (void butterknife.internal.DebouncingOnClickListener.onClick(android.view.View)+136) 08-17 18:55:32.275 289-289/? A/DEBUG: #24 pc 733e662d /data/dalvik-cache/arm/system@framework@boot.oat (offset 0x23c0000) 08-17 18:55:34.266 1729-2834/? E/NativeCrashListener: Exception dealing with report android.system.ErrnoException: read failed: EAGAIN (Try again) at libcore.io.Posix.readBytes(Native Method) at libcore.io.Posix.read(Posix.java:169) at libcore.io.BlockGuardOs.read(BlockGuardOs.java:230) at android.system.Os.read(Os.java:367) at com.android.server.am.NativeCrashListener.consumeNativeCrashData(NativeCrashListener.java:240) at com.android.server.am.NativeCrashListener.run(NativeCrashListener.java:138)

android app出现这个奔溃

大家好,用addr2line工具也查不到是so哪行代码出现的问题,这是不是java层奔溃导致的? 06-07 09:01:54.449 10949-10949/com.wl.andrpeer A/libc: heap corruption detected by dlmalloc 06-07 09:01:54.449 10949-10949/com.wl.andrpeer A/libc: Fatal signal 6 (SIGABRT) at 0x00002ac5 (code=-6), thread 10949 (com.wl.andrpeer) 06-07 09:01:54.504 2434-2434/? I/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** 06-07 09:01:54.504 2434-2434/? I/DEBUG: Build fingerprint: 'Huawei/PE-TL20/hwPE:4.4.2/HuaweiPE-TL20/CHNC00B200:user/ota-rel-keys,release-keys' 06-07 09:01:54.504 2434-2434/? I/DEBUG: Revision: '0' 06-07 09:01:54.504 2434-2434/? I/DEBUG: pid: 10949, tid: 10949, name: com.wl.andrpeer >>> com.wl.andrpeer <<< 06-07 09:01:54.504 2434-2434/? I/DEBUG: signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr -------- 06-07 09:01:54.504 2434-2434/? I/DEBUG: Abort message: 'heap corruption detected by dlmalloc' 06-07 09:01:54.649 2434-2434/? I/DEBUG: r0 00000000 r1 00002ac5 r2 00000006 r3 00000000 06-07 09:01:54.649 2434-2434/? I/DEBUG: r4 00000006 r5 0000000b r6 00002ac5 r7 0000010c 06-07 09:01:54.649 2434-2434/? I/DEBUG: r8 be85d330 r9 6d4aed20 sl 00000000 fp be85d344 06-07 09:01:54.649 2434-2434/? I/DEBUG: ip 00000000 sp be85d1f0 lr 400a3271 pc 400b21b0 cpsr 000f0010 06-07 09:01:54.649 2434-2434/? I/DEBUG: d0 636f6c6c616d6c64 d1 65746564206e6f69 06-07 09:01:54.649 2434-2434/? I/DEBUG: d2 0074006300410061 d3 0074006900760070 06-07 09:01:54.649 2434-2434/? I/DEBUG: d4 0000000000000000 d5 0000000000000000 06-07 09:01:54.649 2434-2434/? I/DEBUG: d6 0000000000000000 d7 0000000080000000 06-07 09:01:54.649 2434-2434/? I/DEBUG: d8 0000000043ac8000 d9 0000000000000000 06-07 09:01:54.649 2434-2434/? I/DEBUG: d10 0000000000000000 d11 0000000000000000 06-07 09:01:54.649 2434-2434/? I/DEBUG: d12 0000000000000000 d13 0000000000000000 06-07 09:01:54.649 2434-2434/? I/DEBUG: d14 0000000000000000 d15 0000000000000000 06-07 09:01:54.649 2434-2434/? I/DEBUG: d16 ffffffffffffffff d17 0000000000000000 06-07 09:01:54.649 2434-2434/? I/DEBUG: d18 000000010bbfe000 d19 00000000000001a8 06-07 09:01:54.649 2434-2434/? I/DEBUG: d20 0000000000000098 d21 0000000000800000 06-07 09:01:54.649 2434-2434/? I/DEBUG: d22 00000000008bb688 d23 0000000080c32cc0 06-07 09:01:54.649 2434-2434/? I/DEBUG: d24 0000000080c32cc1 d25 0000000000000000 06-07 09:01:54.649 2434-2434/? I/DEBUG: d26 3ff0000000000000 d27 0000000000000000 06-07 09:01:54.649 2434-2434/? I/DEBUG: d28 3ff0000000000000 d29 0000000000000001 06-07 09:01:54.649 2434-2434/? I/DEBUG: d30 0000000000000001 d31 0000000080c34640 06-07 09:01:54.654 2434-2434/? I/DEBUG: scr 60000010 06-07 09:01:54.659 2434-2434/? I/DEBUG: backtrace: 06-07 09:01:54.659 2434-2434/? I/DEBUG: #00 pc 000221b0 /system/lib/libc.so (tgkill+12) 06-07 09:01:54.659 2434-2434/? I/DEBUG: #01 pc 0001326d /system/lib/libc.so (pthread_kill+48) 06-07 09:01:54.659 2434-2434/? I/DEBUG: #02 pc 00013481 /system/lib/libc.so (raise+10) 06-07 09:01:54.659 2434-2434/? I/DEBUG: #03 pc 000121b7 /system/lib/libc.so 06-07 09:01:54.659 2434-2434/? I/DEBUG: #04 pc 00021a64 /system/lib/libc.so (abort+4) 06-07 09:01:54.659 2434-2434/? I/DEBUG: #05 pc 00012c9d /system/lib/libc.so 06-07 09:01:54.659 2434-2434/? I/DEBUG: #06 pc 0000f3bd /system/lib/libc.so 06-07 09:01:54.659 2434-2434/? I/DEBUG: #07 pc 000102c1 /system/lib/libc.so (dlmalloc+604) 06-07 09:01:54.659 2434-2434/? I/DEBUG: #08 pc 0000de9b /system/lib/libc.so (malloc+10) 06-07 09:01:54.664 2434-2434/? I/DEBUG: #09 pc 000205fd /system/lib/libbinder.so (android::Parcel::continueWrite(unsigned int)+352) 06-07 09:01:54.664 2434-2434/? I/DEBUG: #10 pc 00020d2f /system/lib/libbinder.so (int android::Parcel::writeAligned<unsigned int>(unsigned int)+36) 06-07 09:01:54.664 2434-2434/? I/DEBUG: #11 pc 00020f9d /system/lib/libbinder.so (android::Parcel::writeInterfaceToken(android::String16 const&)+20) 06-07 09:01:54.664 2434-2434/? I/DEBUG: #12 pc 0006e1ef /system/lib/libandroid_runtime.so 06-07 09:01:54.664 2434-2434/? I/DEBUG: #13 pc 0001eb8c /system/lib/libdvm.so (dvmPlatformInvoke+112) 06-07 09:01:54.664 2434-2434/? I/DEBUG: #14 pc 0004f273 /system/lib/libdvm.so (dvmCallJNIMethod(unsigned int const*, JValue*, Method const*, Thread*)+398) 06-07 09:01:54.664 2434-2434/? I/DEBUG: #15 pc 00027fa0 /system/lib/libdvm.so 06-07 09:01:54.664 2434-2434/? I/DEBUG: #16 pc 0002f130 /system/lib/libdvm.so (dvmMterpStd(Thread*)+76) 06-07 09:01:54.664 2434-2434/? I/DEBUG: #17 pc 0002c794 /system/lib/libdvm.so (dvmInterpret(Thread*, Method const*, JValue*)+184) 06-07 09:01:54.664 2434-2434/? I/DEBUG: #18 pc 00061a09 /system/lib/libdvm.so (dvmInvokeMethod(Object*, Method const*, ArrayObject*, ArrayObject*, ClassObject*, bool)+392) 06-07 09:01:54.664 2434-2434/? I/DEBUG: #19 pc 00069b17 /system/lib/libdvm.so 06-07 09:01:54.664 2434-2434/? I/DEBUG: #20 pc 00027fa0 /system/lib/libdvm.so 06-07 09:01:54.664 2434-2434/? I/DEBUG: #21 pc 0002f130 /system/lib/libdvm.so (dvmMterpStd(Thread*)+76) 06-07 09:01:54.664 2434-2434/? I/DEBUG: #22 pc 0002c794 /system/lib/libdvm.so (dvmInterpret(Thread*, Method const*, JValue*)+184) 06-07 09:01:54.664 2434-2434/? I/DEBUG: #23 pc 00061725 /system/lib/libdvm.so (dvmCallMethodV(Thread*, Method const*, Object*, bool, JValue*, std::__va_list)+336) 06-07 09:01:54.664 2434-2434/? I/DEBUG: #24 pc 0004ae3b /system/lib/libdvm.so 06-07 09:01:54.664 2434-2434/? I/DEBUG: #25 pc 00050697 /system/lib/libandroid_runtime.so 06-07 09:01:54.664 2434-2434/? I/DEBUG: #26 pc 0005145f /system/lib/libandroid_runtime.so (android::AndroidRuntime::start(char const*, char const*)+386) 06-07 09:01:54.664 2434-2434/? I/DEBUG: #27 pc 0000105b /system/bin/app_process 06-07 09:01:54.664 2434-2434/? I/DEBUG: #28 pc 0000e5ef /system/lib/libc.so (__libc_init+50) 06-07 09:01:54.664 2434-2434/? I/DEBUG: #29 pc 00000d7c /system/bin/app_process 06-07 09:01:54.664 2434-2434/? I/DEBUG: stack: 06-07 09:01:54.664 2434-2434/? I/DEBUG: be85d1b0 28e0001d 06-07 09:01:54.664 2434-2434/? I/DEBUG: be85d1b4 4158e69b /system/lib/libdvm.so (dvmDecodeIndirectRef(Thread*, _jobject*)+34) 06-07 09:01:54.664 2434-2434/? I/DEBUG: be85d1b8 28e0001d 06-07 09:01:54.664 2434-2434/? I/DEBUG: be85d1bc be85d1e4 [stack] 06-07 09:01:54.664 2434-2434/? I/DEBUG: be85d1c0 28e0001d 06-07 09:01:54.664 2434-2434/? I/DEBUG: be85d1c4 4157ca6d /system/lib/libdvm.so 06-07 09:01:54.664 2434-2434/? I/DEBUG: be85d1c8 be85d2e4 [stack] 06-07 09:01:54.664 2434-2434/? I/DEBUG: be85d1cc 4157cc79 /system/lib/libdvm.so 06-07 09:01:54.664 2434-2434/? I/DEBUG: be85d1d0 00000000 06-07 09:01:54.664 2434-2434/? I/DEBUG: be85d1d4 4009deb1 /system/lib/libc.so (free+12) 06-07 09:01:54.664 2434-2434/? I/DEBUG: be85d1d8 400df38c 06-07 09:01:54.664 2434-2434/? I/DEBUG: be85d1dc 768dd3fb /data/app-lib/com.wl.andrpeer-1/libp2p-lib.so 06-07 09:01:54.664 2434-2434/? I/DEBUG: be85d1e0 be85d2d0 [stack] 06-07 09:01:54.664 2434-2434/? I/DEBUG: be85d1e4 be85d2dc [stack] 06-07 09:01:54.664 2434-2434/? I/DEBUG: be85d1e8 be85d2d8 [stack] 06-07 09:01:54.664 2434-2434/? I/DEBUG: be85d1ec be85d2e4 [stack] 06-07 09:01:54.664 2434-2434/? I/DEBUG: #00 be85d1f0 00000006 06-07 09:01:54.664 2434-2434/? I/DEBUG: be85d1f4 0000000b 06-07 09:01:54.664 2434-2434/? I/DEBUG: be85d1f8 00002ac5 06-07 09:01:54.664 2434-2434/? I/DEBUG: be85d1fc 00000000 06-07 09:01:54.664 2434-2434/? I/DEBUG: be85d200 00000000 06-07 09:01:54.664 2434-2434/? I/DEBUG: be85d204 400a3271 /system/lib/libc.so (pthread_kill+52) 06-07 09:01:54.664 2434-2434/? I/DEBUG: #01 be85d208 00000006 06-07 09:01:54.664 2434-2434/? I/DEBUG: be85d20c 00000000 06-07 09:01:54.664 2434-2434/? I/DEBUG: be85d210 7a4a9b30 [anon:libc_malloc] 06-07 09:01:54.664 2434-2434/? I/DEBUG: be85d214 400a3485 /system/lib/libc.so (raise+14) 06-07 09:01:54.664 2434-2434/? I/DEBUG: #02 be85d218 be85d224 [stack] 06-07 09:01:54.664 2434-2434/? I/DEBUG: be85d21c 400a21bb /system/lib/libc.so

Android调用百度API写的地图不能用了

去年自己调用百度地图写了个APP,现在代码一点没变,但是地图不能用了。地图能显示“Baidu地图”的字样,也能出现网格,就是刷新不出地图,不是网络的原因,后来试着换过新的API,还是不行,这到底是怎么回事 下面是错误日志 05-08 07:54:43.660: E/dalvikvm(974): JNI ERROR (app bug): accessed stale local reference 0xb3300025 (index 9 in a table of size 0) 05-08 07:54:43.670: E/dalvikvm(974): VM aborting 05-08 07:54:43.690: A/libc(974): Fatal signal 6 (SIGABRT) at 0x000003ce (code=-6), thread 991 (com.map.myapp) 05-08 07:55:11.460: E/BluetoothAdapter(383): Bluetooth binder is null 05-08 07:55:11.460: E/BluetoothAdapter(383): Bluetooth binder is null 05-08 07:55:11.500: E/SoundPool(383): error loading /system/media/audio/ui/Effect_Tick.ogg 05-08 07:55:11.500: E/SoundPool(383): error loading /system/media/audio/ui/Effect_Tick.ogg 05-08 07:55:11.510: E/SoundPool(383): error loading /system/media/audio/ui/Effect_Tick.ogg 05-08 07:55:11.510: E/SoundPool(383): error loading /system/media/audio/ui/Effect_Tick.ogg 05-08 07:55:11.510: E/SoundPool(383): error loading /system/media/audio/ui/Effect_Tick.ogg 05-08 07:55:11.510: E/SoundPool(383): error loading /system/media/audio/ui/KeypressStandard.ogg 05-08 07:55:11.510: E/SoundPool(383): error loading /system/media/audio/ui/KeypressSpacebar.ogg 05-08 07:55:11.520: E/SoundPool(383): error loading /system/media/audio/ui/KeypressDelete.ogg 05-08 07:55:11.520: E/SoundPool(383): error loading /system/media/audio/ui/KeypressReturn.ogg 05-08 07:55:11.520: E/SoundPool(383): error loading /system/media/audio/ui/KeypressInvalid.ogg

什么是m =表示Go程序何时收到SIGABRT

<div class="post-text" itemprop="text"> <p>My Go program has received a SIGABRT error. Go dumped the error followed by go-routine dump</p> <pre><code>runtime/cgo: pthread_create failed: Resource temporarily unavailable SIGABRT: abort PC=0x7f9b19a2a1f7 m=2 </code></pre> <p>What does the value "m=2" indicate. Is it the return value of the pthread_create call?</p> </div>

搭建Kudu分布式时master节点启动不成功

在搭建kudu分布式集群的时候,设置了两个kudu master节点,在两台节点的配置文件/etc/kudu/conf/master.gflagfile中进行了如下配置: ``` # Do not modify these two lines. If you wish to change these variables, # modify them in /etc/default/kudu-master. --fromenv=rpc_bind_addresses --fromenv=log_dir --fs_wal_dir=/var/lib/kudu/master --fs_data_dirs=/var/lib/kudu/master --default_num_replicas=1 --master_addresses=node1:7051,node2:7051 ``` 当启动 service kudu-master start 之后,发现master并没有启动起来,web UIhttp://node1:8051/masters 打不开。 之后查询日志发现有如下报错: ``` E0214 14:54:05.931659 19296 master.cc:183] Master@node1:7051: Unable to init master catalog manager: Invalid argument: Unable to initialize catalog manager: Failed to initialize sys tables async: on-disk master list (node1:7051, node2:7051) and provided master list (:0) differ. Their symmetric difference is: :0, node1:7051, node2:7051 F0214 14:54:05.931685 19235 master_main.cc:71] Check failed: _s.ok() Bad status: Invalid argument: Unable to initialize catalog manager: Failed to initialize sys tables async: on-disk master list (node1:7051, node2:7051) and provided master list (:0) differ. Their symmetric difference is: :0, node1:7051, node2:7051 *** Check failure stack trace: *** Wrote minidump to /var/log/kudu/minidumps/kudu-master/76c24073-5ad1-edb7-547f2708-6bfd2961.dmp Wrote minidump to /var/log/kudu/minidumps/kudu-master/76c24073-5ad1-edb7-547f2708-6bfd2961.dmp *** Aborted at 1550127245 (unix time) try "date -d @1550127245" if you are using GNU date *** PC: @ 0x7fd2898fa428 gsignal *** SIGABRT (@0x3e600004b23) received by PID 19235 (TID 0x7fd28bd45840) from PID 19235; stack trace: *** @ 0x7fd28b701390 (unknown) @ 0x7fd2898fa428 gsignal @ 0x7fd2898fc02a abort @ 0x1b7ba09 (unknown) @ 0x8d65bd google::LogMessage::Fail() @ 0x8d84a3 google::LogMessage::SendToLog() @ 0x8d611a google::LogMessage::Flush() @ 0x8d8e6f google::LogMessageFatal::~LogMessageFatal() @ 0x87771b (unknown) @ 0x7fd2898e5830 __libc_start_main @ 0x877129 _start @ 0x0 (unknown) ```

pycharm 打开摄像头失败

# pycharm 打开摄像头失败 ## 环境 pycharm2019.2,python3.7 ,Mac OS X10.14 ```py import cv2 cap = cv2.VideoCapture(0) while True: ret, frame = cap.read() cv2.imshow("Video", frame) if cv2.waitKey(1) == 27: break cap.release() cv2.destroyAllWindows() ``` 报错 /usr/local/bin/python3.7 "/Users/pig/学习/编程练习/Pycharm/Python 2.7/cv_test/test11.py" Process finished with exit code 134 (interrupted by signal 6: SIGABRT)

Golang频道卡住了

<div class="post-text" itemprop="text"> <p>I am working with go and redis to dispatch a queue (channel) of messages to subscribers. I am aiming to create an auto scaling solution that will spawn new go routines (within a certain limit) as the queue gets larger. I have the below code:</p> <pre><code>// Set up max queued messages var maxMessages = float64(100000) // Set up max redis senders var maxSender = float64(5) // Set up message channel var messages = make(chan Message, int(maxMessages)) // Set up messages per sender count var senderRatio = maxSender / maxMessages type Message struct { ChatId int `json:"chatId"` UserId int `json:"userId"` Message string `json:"message"` Date int `json:"date"` } func RedisWriteHandler(messageChannel chan Message) { senderCount := 0 killswitch := make(chan string) for { length := float64(len(messageChannel)) neededSenders := int(math.Ceil(length * senderRatio)) if senderCount &lt; neededSenders || senderCount &lt; 1 { log.Printf("Increasing sender count to %d, need %d", senderCount+1, neededSenders) go addRedisSender(messageChannel, killswitch) senderCount++ } else if senderCount &gt; neededSenders &amp;&amp; senderCount &gt; 1 { log.Printf("Decreasing sender count to %d, need %d", senderCount-1, neededSenders) killMessage := fmt.Sprintf("only need %d senders", neededSenders) killswitch &lt;- killMessage senderCount-- } } log.Fatal("The redis handler unexpectedly went away") } func addRedisSender(messageChannel chan Message, killswitch chan string) { c, err := redis.Dial("tcp", "localhost:6379") if err != nil { log.Println(err) return } defer c.Close() for { select { case msg := &lt;-messageChannel: redisChannel := strconv.Itoa(msg.ChatId) messageBlob, err := json.Marshal(msg) if err != nil { log.Println(err) } _, err = c.Do("PUBLISH", redisChannel, messageBlob) if err != nil { log.Println(err) } case kill := &lt;-killswitch: log.Printf("Sender killed: %s", kill) return } } log.Println("Closing redis sender") } </code></pre> <p>If I run this code using a channel with a large buffer size (say 100,000 messages) it adds 5 senders one at a time and starts working down the queue - so far so good. However at a seemingly random point - <em>around</em> 1500 messages in it hangs. No more logs at all (and I think I've got all the exit points covered). My expected output would be to have the senders increase to the maxSender value and decrease periodically throughout execution. An e.g of the logs I get with 100k messages is below</p> <pre> 2018/05/02 08:21:25 Increasing sender count to 1, need 5 2018/05/02 08:21:25 Increasing sender count to 2, need 5 2018/05/02 08:21:25 Increasing sender count to 3, need 5 2018/05/02 08:21:25 Increasing sender count to 4, need 5 2018/05/02 08:21:25 Increasing sender count to 5, need 5 </pre> <p>Then nothing.</p> <p>I can see from other testing I'm running that this isn't just going slowly and that the messages just aren't being taken from the channel. Can anyone shed any light on this?</p> <p>Thanks,</p> <p>Sam</p> <p><strong>Edit</strong></p> <p>I have been lurking around some other questions regarding go hanging for no apparent reason and the suggested action was to kill the parent process to get the stack trace of each child process. The below is the output.</p> <pre><code>kill -ABRT 9162 SIGABRT: abort PC=0x65f199 m=0 sigcode=0 goroutine 6 [running]: main.RedisWriteHandler(0xc42005a180) /home/sam/repos/go/src/github.com/samisagit/go-im-server/src/main.go:116 +0x99 fp=0xc42004dfd8 sp=0xc42004dee8 pc=0x65f199 runtime.goexit() /usr/local/go/src/runtime/asm_amd64.s:2337 +0x1 fp=0xc42004dfe0 sp=0xc42004dfd8 pc=0x458f01 created by main.main /home/sam/repos/go/src/github.com/samisagit/go-im-server/src/main.go:236 +0x130 goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7f03114c5f70, 0x72, 0xffffffffffffffff) /usr/local/go/src/runtime/netpoll.go:173 +0x57 internal/poll.(*pollDesc).wait(0xc422722098, 0x72, 0xc420038b00, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_poll_runtime.go:85 +0xae internal/poll.(*pollDesc).waitRead(0xc422722098, 0xffffffffffffff00, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_poll_runtime.go:90 +0x3d internal/poll.(*FD).Accept(0xc422722080, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:334 +0x1e2 net.(*netFD).accept(0xc422722080, 0x7f0311511000, 0x0, 0x7139b0) /usr/local/go/src/net/fd_unix.go:238 +0x42 net.(*TCPListener).accept(0xc4200b2000, 0xc420038d80, 0x4122c8, 0x30) /usr/local/go/src/net/tcpsock_posix.go:136 +0x2e net.(*TCPListener).AcceptTCP(0xc4200b2000, 0xc422736120, 0xc422736120, 0x6a3b00) /usr/local/go/src/net/tcpsock.go:234 +0x49 net/http.tcpKeepAliveListener.Accept(0xc4200b2000, 0xc42001c0d8, 0x6a3b00, 0x8813d0, 0x6f2aa0) /usr/local/go/src/net/http/server.go:3120 +0x2f net/http.(*Server).Serve(0xc42007a4e0, 0x8575c0, 0xc4200b2000, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2695 +0x1b2 net/http.(*Server).ListenAndServe(0xc42007a4e0, 0xc42007a4e0, 0xc420038f00) /usr/local/go/src/net/http/server.go:2636 +0xa9 net/http.ListenAndServe(0x6ff124, 0x5, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/net/http/server.go:2882 +0x7f main.main() /home/sam/repos/go/src/github.com/samisagit/go-im-server/src/main.go:239 +0x15b goroutine 21 [runnable]: internal/poll.runtime_pollWait(0x7f03114c5eb0, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:173 +0x57 internal/poll.(*pollDesc).wait(0xc422722198, 0x72, 0xffffffffffffff00, 0x854d00, 0x851550) /usr/local/go/src/internal/poll/fd_poll_runtime.go:85 +0xae internal/poll.(*pollDesc).waitRead(0xc422722198, 0xc4227ab000, 0x1000, 0x1000) /usr/local/go/src/internal/poll/fd_poll_runtime.go:90 +0x3d internal/poll.(*FD).Read(0xc422722180, 0xc4227ab000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:125 +0x18a net.(*netFD).Read(0xc422722180, 0xc4227ab000, 0x1000, 0x1000, 0x4815d4, 0x47fd05, 0x1) /usr/local/go/src/net/fd_unix.go:202 +0x52 net.(*conn).Read(0xc4227a6000, 0xc4227ab000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:176 +0x6d bufio.(*Reader).fill(0xc4227ae000) /usr/local/go/src/bufio/bufio.go:97 +0x11a bufio.(*Reader).ReadSlice(0xc4227ae000, 0x7f03114c5e0a, 0x0, 0x459fd6, 0xc42276db60, 0x491d6d, 0xc422722180) /usr/local/go/src/bufio/bufio.go:338 +0x2c github.com/gomodule/redigo/redis.(*conn).readLine(0xc4227b0000, 0x0, 0x8000000000000000, 0xc422722180, 0x0, 0x0) /home/sam/repos/go/src/github.com/gomodule/redigo/redis/conn.go:431 +0x38 github.com/gomodule/redigo/redis.(*conn).readReply(0xc4227b0000, 0x0, 0x0, 0x0, 0x0) /home/sam/repos/go/src/github.com/gomodule/redigo/redis/conn.go:504 +0x40 github.com/gomodule/redigo/redis.(*conn).DoWithTimeout(0xc4227b0000, 0x0, 0x6ff70a, 0x7, 0xc422800d40, 0x2, 0x2, 0x68f280, 0x696f01, 0xc422800d60, ...) /home/sam/repos/go/src/github.com/gomodule/redigo/redis/conn.go:665 +0x164 github.com/gomodule/redigo/redis.(*conn).Do(0xc4227b0000, 0x6ff70a, 0x7, 0xc422800d40, 0x2, 0x2, 0x0, 0xc4227ba9a0, 0x0, 0x0) /home/sam/repos/go/src/github.com/gomodule/redigo/redis/conn.go:616 +0x73 main.addRedisSender(0xc42005a180, 0xc42001e240) /home/sam/repos/go/src/github.com/samisagit/go-im-server/src/main.go:150 +0x569 created by main.RedisWriteHandler /home/sam/repos/go/src/github.com/samisagit/go-im-server/src/main.go:119 +0x381 goroutine 22 [IO wait]: internal/poll.runtime_pollWait(0x7f03114c5c70, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:173 +0x57 internal/poll.(*pollDesc).wait(0xc422758098, 0x72, 0xffffffffffffff00, 0x854d00, 0x851550) /usr/local/go/src/internal/poll/fd_poll_runtime.go:85 +0xae internal/poll.(*pollDesc).waitRead(0xc422758098, 0xc422774000, 0x1000, 0x1000) /usr/local/go/src/internal/poll/fd_poll_runtime.go:90 +0x3d internal/poll.(*FD).Read(0xc422758080, 0xc422774000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:125 +0x18a net.(*netFD).Read(0xc422758080, 0xc422774000, 0x1000, 0x1000, 0x4815d4, 0x47fd05, 0x1) /usr/local/go/src/net/fd_unix.go:202 +0x52 net.(*conn).Read(0xc42274c020, 0xc422774000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:176 +0x6d bufio.(*Reader).fill(0xc422748120) /usr/local/go/src/bufio/bufio.go:97 +0x11a bufio.(*Reader).ReadSlice(0xc422748120, 0x7f03114c5c0a, 0x0, 0x459fd6, 0xc420049b60, 0x491d6d, 0xc422758080) /usr/local/go/src/bufio/bufio.go:338 +0x2c github.com/gomodule/redigo/redis.(*conn).readLine(0xc420084820, 0x0, 0x8000000000000000, 0xc422758080, 0x0, 0x0) /home/sam/repos/go/src/github.com/gomodule/redigo/redis/conn.go:431 +0x38 github.com/gomodule/redigo/redis.(*conn).readReply(0xc420084820, 0x0, 0x0, 0x0, 0x0) /home/sam/repos/go/src/github.com/gomodule/redigo/redis/conn.go:504 +0x40 github.com/gomodule/redigo/redis.(*conn).DoWithTimeout(0xc420084820, 0x0, 0x6ff70a, 0x7, 0xc422800dc0, 0x2, 0x2, 0x68f280, 0x696f01, 0xc422800de0, ...) /home/sam/repos/go/src/github.com/gomodule/redigo/redis/conn.go:665 +0x164 github.com/gomodule/redigo/redis.(*conn).Do(0xc420084820, 0x6ff70a, 0x7, 0xc422800dc0, 0x2, 0x2, 0x0, 0xc4227ba9b0, 0x0, 0x0) /home/sam/repos/go/src/github.com/gomodule/redigo/redis/conn.go:616 +0x73 main.addRedisSender(0xc42005a180, 0xc42001e240) /home/sam/repos/go/src/github.com/samisagit/go-im-server/src/main.go:150 +0x569 created by main.RedisWriteHandler /home/sam/repos/go/src/github.com/samisagit/go-im-server/src/main.go:119 +0x381 goroutine 23 [runnable]: syscall.Syscall(0x0, 0x7, 0xc42277a000, 0x1000, 0x4, 0x1000, 0x0) /usr/local/go/src/syscall/asm_linux_amd64.s:18 +0x5 syscall.read(0x7, 0xc42277a000, 0x1000, 0x1000, 0xc42276f900, 0x0, 0x0) /usr/local/go/src/syscall/zsyscall_linux_amd64.go:756 +0x55 syscall.Read(0x7, 0xc42277a000, 0x1000, 0x1000, 0xcb, 0xc4228072b0, 0xcb) /usr/local/go/src/syscall/syscall_unix.go:162 +0x49 internal/poll.(*FD).Read(0xc422722280, 0xc42277a000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:121 +0x125 net.(*netFD).Read(0xc422722280, 0xc42277a000, 0x1000, 0x1000, 0x4815d4, 0x47fd05, 0x1) /usr/local/go/src/net/fd_unix.go:202 +0x52 net.(*conn).Read(0xc42274c060, 0xc42277a000, 0x1000, 0x1000, 0x0, 0x0, 0x0) /usr/local/go/src/net/net.go:176 +0x6d bufio.(*Reader).fill(0xc4227481e0) /usr/local/go/src/bufio/bufio.go:97 +0x11a bufio.(*Reader).ReadSlice(0xc4227481e0, 0x7f03114c5d0a, 0x0, 0x459fd6, 0xc42276fb60, 0x491d6d, 0xc422722280) /usr/local/go/src/bufio/bufio.go:338 +0x2c github.com/gomodule/redigo/redis.(*conn).readLine(0xc420084a00, 0x0, 0x8000000000000000, 0xc422722280, 0x0, 0x0) /home/sam/repos/go/src/github.com/gomodule/redigo/redis/conn.go:431 +0x38 github.com/gomodule/redigo/redis.(*conn).readReply(0xc420084a00, 0x0, 0x0, 0x0, 0x0) /home/sam/repos/go/src/github.com/gomodule/redigo/redis/conn.go:504 +0x40 github.com/gomodule/redigo/redis.(*conn).DoWithTimeout(0xc420084a00, 0x0, 0x6ff70a, 0x7, 0xc4227f1900, 0x2, 0x2, 0x68f280, 0x696f01, 0xc4227f1920, ...) /home/sam/repos/go/src/github.com/gomodule/redigo/redis/conn.go:665 +0x164 github.com/gomodule/redigo/redis.(*conn).Do(0xc420084a00, 0x6ff70a, 0x7, 0xc4227f1900, 0x2, 0x2, 0x0, 0xc4227318e0, 0x0, 0x0) /home/sam/repos/go/src/github.com/gomodule/redigo/redis/conn.go:616 +0x73 main.addRedisSender(0xc42005a180, 0xc42001e240) /home/sam/repos/go/src/github.com/samisagit/go-im-server/src/main.go:150 +0x569 created by main.RedisWriteHandler /home/sam/repos/go/src/github.com/samisagit/go-im-server/src/main.go:119 +0x381 goroutine 24 [running]: goroutine running on other thread; stack unavailable created by main.RedisWriteHandler /home/sam/repos/go/src/github.com/samisagit/go-im-server/src/main.go:119 +0x381 goroutine 25 [runnable]: syscall.Syscall6(0x37, 0x9, 0x1, 0x4, 0xc42276b3dc, 0xc42276b3d8, 0x0, 0x0, 0x4, 0x0) /usr/local/go/src/syscall/asm_linux_amd64.s:44 +0x5 syscall.getsockopt(0x9, 0x1, 0x4, 0xc42276b3dc, 0xc42276b3d8, 0xc422722400, 0x0) /usr/local/go/src/syscall/zsyscall_linux_amd64.go:1605 +0x7c syscall.GetsockoptInt(0x9, 0x1, 0x4, 0x1, 0x0, 0x0) /usr/local/go/src/syscall/syscall_unix.go:245 +0x63 net.(*netFD).connect(0xc422722480, 0x857a00, 0xc42001c0d8, 0x0, 0x0, 0x853a80, 0xc422764100, 0x0, 0x0, 0x0, ...) /usr/local/go/src/net/fd_unix.go:160 +0x2f7 net.(*netFD).dial(0xc422722480, 0x857a00, 0xc42001c0d8, 0x858c00, 0x0, 0x858c00, 0xc422736510, 0xc42276b610, 0x54d3fe) /usr/local/go/src/net/sock_posix.go:142 +0xe9 net.socket(0x857a00, 0xc42001c0d8, 0x6fee50, 0x3, 0x2, 0x1, 0x0, 0x0, 0x858c00, 0x0, ...) /usr/local/go/src/net/sock_posix.go:93 +0x1a5 net.internetSocket(0x857a00, 0xc42001c0d8, 0x6fee50, 0x3, 0x858c00, 0x0, 0x858c00, 0xc422736510, 0x1, 0x0, ...) /usr/local/go/src/net/ipsock_posix.go:141 +0x129 net.doDialTCP(0x857a00, 0xc42001c0d8, 0x6fee50, 0x3, 0x0, 0xc422736510, 0xc42276b7e0, 0x0, 0xf2) /usr/local/go/src/net/tcpsock_posix.go:62 +0xb9 net.dialTCP(0x857a00, 0xc42001c0d8, 0x6fee50, 0x3, 0x0, 0xc422736510, 0x44a6b8, 0xad3bb25ed8, 0x2e6f67bd) /usr/local/go/src/net/tcpsock_posix.go:58 +0xe4 net.dialSingle(0x857a00, 0xc42001c0d8, 0xc422722400, 0x8559c0, 0xc422736510, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/net/dial.go:547 +0x3e2 net.dialSerial(0x857a00, 0xc42001c0d8, 0xc422722400, 0xc420010c80, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/net/dial.go:515 +0x247 net.(*Dialer).DialContext(0xc422766240, 0x857a00, 0xc42001c0d8, 0x6fee50, 0x3, 0x701517, 0xe, 0x0, 0x0, 0x0, ...) /usr/local/go/src/net/dial.go:397 +0x6ee net.(*Dialer).Dial(0xc422766240, 0x6fee50, 0x3, 0x701517, 0xe, 0x10, 0x6b5de0, 0xc420082001, 0xc420010c40) /usr/local/go/src/net/dial.go:320 +0x75 net.(*Dialer).Dial-fm(0x6fee50, 0x3, 0x701517, 0xe, 0x3, 0xc42273cc50, 0x42a568, 0xc42273cc18) /home/sam/repos/go/src/github.com/gomodule/redigo/redis/conn.go:180 +0x52 github.com/gomodule/redigo/redis.Dial(0x6fee50, 0x3, 0x701517, 0xe, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /home/sam/repos/go/src/github.com/gomodule/redigo/redis/conn.go:183 +0x182 main.addRedisSender(0xc42005a180, 0xc42001e240) /home/sam/repos/go/src/github.com/samisagit/go-im-server/src/main.go:133 +0x12e created by main.RedisWriteHandler /home/sam/repos/go/src/github.com/samisagit/go-im-server/src/main.go:119 +0x381 rax 0x5 rbx 0xf3e31 rcx 0x5 rdx 0xc42005a180 rdi 0x458f01 rsi 0x3 rbp 0xc42004dfc8 rsp 0xc42004dee8 r8 0x0 r9 0x0 r10 0x732f60 r11 0x30 r12 0x0 r13 0xf1 r14 0x11 r15 0x0 rip 0x65f199 rflags 0x246 cs 0x33 fs 0x0 gs 0x0 </code></pre> <p>Go routine 22 is somewhat interesting as it's in [IO WAIT] where as the others are runnable. I've not dealt with these statuses before, is this where the issue lies?</p> <p><em>Most up to date code here</em> <a href="https://gitlab.com/samisagit/go-im-server/blob/changed-redis-handler-buggy/src/main.go" rel="nofollow noreferrer">https://gitlab.com/samisagit/go-im-server/blob/changed-redis-handler-buggy/src/main.go</a></p> <p><strong>Edit with root cause!</strong></p> <p>One of the guys at golang-nuts gGroup suggested this might be a GC issue, and he was right (Thanks Michael)! When running the code with the below</p> <pre><code>debug.SetGCPercent(-1) </code></pre> <p>it works as expected - this isn't a long term solution but it points to where the issue lies! If anyone has any clues as to why the GC is being so zealous with it's duties I'd be super appreciative!</p> </div>

大学四年自学走来,这些私藏的实用工具/学习网站我贡献出来了

大学四年,看课本是不可能一直看课本的了,对于学习,特别是自学,善于搜索网上的一些资源来辅助,还是非常有必要的,下面我就把这几年私藏的各种资源,网站贡献出来给你们。主要有:电子书搜索、实用工具、在线视频学习网站、非视频学习网站、软件下载、面试/求职必备网站。 注意:文中提到的所有资源,文末我都给你整理好了,你们只管拿去,如果觉得不错,转发、分享就是最大的支持了。 一、电子书搜索 对于大部分程序员...

在中国程序员是青春饭吗?

今年,我也32了 ,为了不给大家误导,咨询了猎头、圈内好友,以及年过35岁的几位老程序员……舍了老脸去揭人家伤疤……希望能给大家以帮助,记得帮我点赞哦。 目录: 你以为的人生 一次又一次的伤害 猎头界的真相 如何应对互联网行业的「中年危机」 一、你以为的人生 刚入行时,拿着傲人的工资,想着好好干,以为我们的人生是这样的: 等真到了那一天,你会发现,你的人生很可能是这样的: ...

Java基础知识面试题(2020最新版)

文章目录Java概述何为编程什么是Javajdk1.5之后的三大版本JVM、JRE和JDK的关系什么是跨平台性?原理是什么Java语言有哪些特点什么是字节码?采用字节码的最大好处是什么什么是Java程序的主类?应用程序和小程序的主类有何不同?Java应用程序与小程序之间有那些差别?Java和C++的区别Oracle JDK 和 OpenJDK 的对比基础语法数据类型Java有哪些数据类型switc...

我以为我学懂了数据结构,直到看了这个导图才发现,我错了

数据结构与算法思维导图

技术大佬:我去,你写的 switch 语句也太老土了吧

昨天早上通过远程的方式 review 了两名新来同事的代码,大部分代码都写得很漂亮,严谨的同时注释也很到位,这令我非常满意。但当我看到他们当中有一个人写的 switch 语句时,还是忍不住破口大骂:“我擦,小王,你丫写的 switch 语句也太老土了吧!” 来看看小王写的代码吧,看完不要骂我装逼啊。 private static String createPlayer(PlayerTypes p...

和黑客斗争的 6 天!

互联网公司工作,很难避免不和黑客们打交道,我呆过的两家互联网公司,几乎每月每天每分钟都有黑客在公司网站上扫描。有的是寻找 Sql 注入的缺口,有的是寻找线上服务器可能存在的漏洞,大部分都...

Linux 会成为主流桌面操作系统吗?

整理 |屠敏出品 | CSDN(ID:CSDNnews)2020 年 1 月 14 日,微软正式停止了 Windows 7 系统的扩展支持,这意味着服役十年的 Windows 7,属于...

讲一个程序员如何副业月赚三万的真实故事

loonggg读完需要3分钟速读仅需 1 分钟大家好,我是你们的校长。我之前讲过,这年头,只要肯动脑,肯行动,程序员凭借自己的技术,赚钱的方式还是有很多种的。仅仅靠在公司出卖自己的劳动时...

学习总结之HTML5剑指前端(建议收藏,图文并茂)

前言学习《HTML5与CSS3权威指南》这本书很不错,学完之后我颇有感触,觉得web的世界开明了许多。这本书是需要有一定基础的web前端开发工程师。这本书主要学习HTML5和css3,看...

女程序员,为什么比男程序员少???

昨天看到一档综艺节目,讨论了两个话题:(1)中国学生的数学成绩,平均下来看,会比国外好?为什么?(2)男生的数学成绩,平均下来看,会比女生好?为什么?同时,我又联想到了一个技术圈经常讨...

搜狗输入法也在挑战国人的智商!

故事总是一个接着一个到来...上周写完《鲁大师已经彻底沦为一款垃圾流氓软件!》这篇文章之后,鲁大师的市场工作人员就找到了我,希望把这篇文章删除掉。经过一番沟通我先把这篇文章从公号中删除了...

副业收入是我做程序媛的3倍,工作外的B面人生是怎样的?

提到“程序员”,多数人脑海里首先想到的大约是:为人木讷、薪水超高、工作枯燥…… 然而,当离开工作岗位,撕去层层标签,脱下“程序员”这身外套,有的人生动又有趣,马上展现出了完全不同的A/B面人生! 不论是简单的爱好,还是正经的副业,他们都干得同样出色。偶尔,还能和程序员的特质结合,产生奇妙的“化学反应”。 @Charlotte:平日素颜示人,周末美妆博主 大家都以为程序媛也个个不修边幅,但我们也许...

MySQL数据库面试题(2020最新版)

文章目录数据库基础知识为什么要使用数据库什么是SQL?什么是MySQL?数据库三大范式是什么mysql有关权限的表都有哪几个MySQL的binlog有有几种录入格式?分别有什么区别?数据类型mysql有哪些数据类型引擎MySQL存储引擎MyISAM与InnoDB区别MyISAM索引与InnoDB索引的区别?InnoDB引擎的4大特性存储引擎选择索引什么是索引?索引有哪些优缺点?索引使用场景(重点)...

新一代神器STM32CubeMonitor介绍、下载、安装和使用教程

关注、星标公众号,不错过精彩内容作者:黄工公众号:strongerHuang最近ST官网悄悄新上线了一款比较强大的工具:STM32CubeMonitor V1.0.0。经过我研究和使用之...

记一次腾讯面试,我挂在了最熟悉不过的队列上……

腾讯后台面试,面试官问:如何自己实现队列?

如果你是老板,你会不会踢了这样的员工?

有个好朋友ZS,是技术总监,昨天问我:“有一个老下属,跟了我很多年,做事勤勤恳恳,主动性也很好。但随着公司的发展,他的进步速度,跟不上团队的步伐了,有点...

我入职阿里后,才知道原来简历这么写

私下里,有不少读者问我:“二哥,如何才能写出一份专业的技术简历呢?我总感觉自己写的简历太烂了,所以投了无数份,都石沉大海了。”说实话,我自己好多年没有写过简历了,但我认识的一个同行,他在阿里,给我说了一些他当年写简历的方法论,我感觉太牛逼了,实在是忍不住,就分享了出来,希望能够帮助到你。 01、简历的本质 作为简历的撰写者,你必须要搞清楚一点,简历的本质是什么,它就是为了来销售你的价值主张的。往深...

冒泡排序动画(基于python pygame实现)

本项目效果初始截图如下 动画见本人b站投稿:https://www.bilibili.com/video/av95491382 本项目对应github地址:https://github.com/BigShuang python版本:3.6,pygame版本:1.9.3。(python版本一致应该就没什么问题) 样例gif如下 ======================= 大爽歌作,mad

Redis核心原理与应用实践

Redis核心原理与应用实践 在很多场景下都会使用Redis,但是到了深层次的时候就了解的不是那么深刻,以至于在面试的时候经常会遇到卡壳的现象,学习知识要做到系统和深入,不要把Redis想象的过于复杂,和Mysql一样,是个读取数据的软件。 有一个理解是Redis是key value缓存服务器,更多的优点在于对value的操作更加丰富。 安装 yum install redis #yum安装 b...

现代的 “Hello, World”,可不仅仅是几行代码而已

作者 |Charles R. Martin译者 | 弯月,责编 | 夕颜头图 |付费下载自视觉中国出品 | CSDN(ID:CSDNnews)新手...

带了6个月的徒弟当了面试官,而身为高级工程师的我天天修Bug......

即将毕业的应届毕业生一枚,现在只拿到了两家offer,但最近听到一些消息,其中一个offer,我这个组据说客户很少,很有可能整组被裁掉。 想问大家: 如果我刚入职这个组就被裁了怎么办呢? 大家都是什么时候知道自己要被裁了的? 面试软技能指导: BQ/Project/Resume 试听内容: 除了刷题,还有哪些技能是拿到offer不可或缺的要素 如何提升面试软实力:简历, 行为面试,沟通能...

!大部分程序员只会写3年代码

如果世界上都是这种不思进取的软件公司,那别说大部分程序员只会写 3 年代码,恐怕就没有程序员这种职业。

离职半年了,老东家又发 offer,回不回?

有小伙伴问松哥这个问题,他在上海某公司,在离职了几个月后,前公司的领导联系到他,希望他能够返聘回去,他很纠结要不要回去? 俗话说好马不吃回头草,但是这个小伙伴既然感到纠结了,我觉得至少说明了两个问题:1.曾经的公司还不错;2.现在的日子也不是很如意。否则应该就不会纠结了。 老实说,松哥之前也有过类似的经历,今天就来和小伙伴们聊聊回头草到底吃不吃。 首先一个基本观点,就是离职了也没必要和老东家弄的苦...

2020阿里全球数学大赛:3万名高手、4道题、2天2夜未交卷

阿里巴巴全球数学竞赛( Alibaba Global Mathematics Competition)由马云发起,由中国科学技术协会、阿里巴巴基金会、阿里巴巴达摩院共同举办。大赛不设报名门槛,全世界爱好数学的人都可参与,不论是否出身数学专业、是否投身数学研究。 2020年阿里巴巴达摩院邀请北京大学、剑桥大学、浙江大学等高校的顶尖数学教师组建了出题组。中科院院士、美国艺术与科学院院士、北京国际数学...

为什么你不想学习?只想玩?人是如何一步一步废掉的

不知道是不是只有我这样子,还是你们也有过类似的经历。 上学的时候总有很多光辉历史,学年名列前茅,或者单科目大佬,但是虽然慢慢地长大了,你开始懈怠了,开始废掉了。。。 什么?你说不知道具体的情况是怎么样的? 我来告诉你: 你常常潜意识里或者心理觉得,自己真正的生活或者奋斗还没有开始。总是幻想着自己还拥有大把时间,还有无限的可能,自己还能逆风翻盘,只不是自己还没开始罢了,自己以后肯定会变得特别厉害...

HTTP与HTTPS的区别

面试官问HTTP与HTTPS的区别,我这样回答让他竖起大拇指!

程序员毕业去大公司好还是小公司好?

虽然大公司并不是人人都能进,但我仍建议还未毕业的同学,尽力地通过校招向大公司挤,但凡挤进去,你这一生会容易很多。 大公司哪里好?没能进大公司怎么办?答案都在这里了,记得帮我点赞哦。 目录: 技术氛围 内部晋升与跳槽 啥也没学会,公司倒闭了? 不同的人脉圈,注定会有不同的结果 没能去大厂怎么办? 一、技术氛围 纵观整个程序员技术领域,哪个在行业有所名气的大牛,不是在大厂? 而且众所...

男生更看重女生的身材脸蛋,还是思想?

往往,我们看不进去大段大段的逻辑。深刻的哲理,往往短而精悍,一阵见血。问:产品经理挺漂亮的,有点心动,但不知道合不合得来。男生更看重女生的身材脸蛋,还是...

程序员为什么千万不要瞎努力?

本文作者用对比非常鲜明的两个开发团队的故事,讲解了敏捷开发之道 —— 如果你的团队缺乏统一标准的环境,那么即使勤劳努力,不仅会极其耗时而且成果甚微,使用...

为什么程序员做外包会被瞧不起?

二哥,有个事想询问下您的意见,您觉得应届生值得去外包吗?公司虽然挺大的,中xx,但待遇感觉挺低,马上要报到,挺纠结的。

面试阿里p7,被按在地上摩擦,鬼知道我经历了什么?

面试阿里p7被问到的问题(当时我只知道第一个):@Conditional是做什么的?@Conditional多个条件是什么逻辑关系?条件判断在什么时候执...

立即提问
相关内容推荐