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

crash proc name : Thread-5
happen time : 2019-04-03 10:48:37
<>
cannot get valid ams trace info this time.
<>
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包。
希望有大佬能解答一下,感谢万分!
Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
在android4.4添加用户
各位大神,有个需求,需要在android4.4中添加个特定的用户,分配一个uid,我在android_filesystem_config.h中对该添加的用户/用户组做了定义,并且在/data建了自有存放文件目录 ,并且该uid已经做了共享,自己的apk通过该data下的目录进行数据的共享,但是运行apk就会报 E/SELinux ( 1115): seapp_context_lookup: No match for app with uid 2100, seinfo default, I/DEBUG ( 141): pid: 1115, tid: 1115, name: zygote >>> zygote <<< ..................... I/DEBUG ( 141): signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr -------- I/DEBUG ( 141): r0 00000000 r1 0000045b r2 00000006 r3 00000000 I/DEBUG ( 141): r4 00000006 r5 00000000 r6 0000045b r7 0000010c ................ 而我在4.2上运行是正常的,是4.4还要做什么操作吗
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这张图片,是一定会出问题,不知道是图片问题,还是什么,百度谷歌都没找到答案
SIGABRT libsystem_kernel.dylib __pthread_kill错误
具体信息 ``` libsystem_kernel.dylib __pthread_kill + 8 1 libsystem_pthread.dylib pthread_kill + 112 2 libsystem_c.dylib abort + 140 3 libsystem_c.dylib basename_r + 0 4 QuartzCore CA::OGL::MetalContext::MetalContext(void*, void*, CA::OGL::MetalContext*, int, bool) + 1536 5 QuartzCore CA::CG::IOSurfaceRenderer::acquire(CA::CG::IOSurfaceDrawable&, CA::CG::IOSurfaceRenderer**, unsigned int, bool) + 556 6 QuartzCore CA::CG::Queue::render_callback(void*) + 68 7 libdispatch.dylib __dispatch_client_callout + 16 8 libdispatch.dylib __dispatch_queue_serial_drain + 240 9 libdispatch.dylib __dispatch_queue_invoke + 652 10 libdispatch.dylib __dispatch_root_queue_drain + 572 11 libdispatch.dylib __dispatch_worker_thread3 + 124 12 libsystem_pthread.dylib ``` 那位大神遇到过。
求大神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)
搭建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) ```
Android :AudioTrack 播放音频的时候出现错误
想实现udp实时语音通话,一端AudioRecord一边录制一边通过udp发送给另一端,另一端接收以后通过AudioTrack播放,可是有时候播放的时候程序突然崩溃,出现如下错误: A/AudioTrackShared: Assertion failed: !(stepCount <= mUnreleased && mUnreleased <= mFrameCount) A/libc: Fatal signal 6 (SIGABRT), code -6 in tid 26250 (RxCachedThreadS) 我有两部android设备,一部android7.0,一部android4.4,目前只在7.0的设备上频繁出现此问题
安卓小米终极闪退问题
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)
安卓 JNI回调Java 总是崩溃
java 代码: package com.example.jnitest; import android.app.Activity; import android.os.Bundle; import android.view.View; import android.view.View.OnClickListener; import android.widget.Button; import android.widget.TextView; import java.util.Date; public class MainActivity extends Activity { private TextView mTextView; private Button mCheckBtn; public native String displayHelloWorld();// java native方法申明 public native void callBack();// java native方法申明 public native void sayHello();// java native方法申明 static { System.loadLibrary("JNICall");// 装入动态链接库 } @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); mTextView = (TextView) findViewById(R.id.test); mTextView.setText(displayHelloWorld()); mCheckBtn = (Button) findViewById(R.id.check); mCheckBtn.setOnClickListener(new OnClickListener() { @Override public void onClick(View v) { callBack(); } }); } public void showMessageFromNative(String message) { System.out.println("chlu---------message=" + message); } public int signTest(int i, Date date, int[] arr) { System.out.println("chlu--------- Sign Test"); return 0; } } C++代码: #include <jni.h> #include "JNICall.h" JNIEnv* env; JavaVM *g_jm; JNIEXPORT jstring JNICALL Java_com_example_jnitest_MainActivity_displayHelloWorld( JNIEnv *env, jobject thiz) { return env->NewStringUTF("chlu---Hello from JNI !"); } JNIEXPORT void JNICALL Java_com_example_jnitest_MainActivity_callBack( JNIEnv* env, jobject obj) { const char *message = "C++传到上层JAVA"; //需要传递到Java层的字符串 jclass class_z = env->FindClass("com/example/jnitest/MainActivity"); jmethodID className_method = env->GetMethodID(class_z, "showMessageFromNative", "(Ljava/lang/String;)V"); env->CallVoidMethod(obj, className_method, message); } JNIEXPORT void JNICALL Java_com_example_jnitest_MainActivity_sayHello( JNIEnv * env, jobject obj) { //否则就传入一个jclass对象表示native()方法所在的类 jclass native_clazz = env->GetObjectClass(obj); //得到jmethodID jmethodID methodID_func = env->GetMethodID(native_clazz, "signTest", "(ILjava/util/Date;[I)I"); //调用signTest方法 env->CallIntMethod(obj, methodID_func, 1L, NULL, NULL); } jint JNI_OnLoad(JavaVM* vm, void* reserved) { jint result = -1; g_jm = vm; if (vm->GetEnv((void**) &env, JNI_VERSION_1_4) != JNI_OK) { return result; } if (env == NULL) { return result; } result = JNI_VERSION_1_4; return result; } /* DO NOT EDIT THIS FILE - it is machine generated */ #include <jni.h> #include <stdio.h> #include <string.h> /* Header for class HelloWorld */ #ifndef _Included_JNITCall #define _Included_JNITCall #ifdef __cplusplus extern "C" { #endif JNIEXPORT jstring JNICALL Java_com_example_jnitest_MainActivity_displayHelloWorld( JNIEnv *env, jobject thiz); JNIEXPORT void JNICALL Java_com_example_jnitest_MainActivity_callBack( JNIEnv* env, jobject obj); JNIEXPORT void JNICALL Java_com_example_jnitest_MainActivity_sayHello( JNIEnv * env, jobject obj); #ifdef __cplusplus } #endif #endif 错误: /libdvm.so. Error (3): No such process Stack frame #15 pc 000297e0 /system/lib/libdvm.so: Unable to open symbol file /obj/local/armeabi/libdvm.so. Error (3): No such process Stack frame #16 pc 00030c6c /system/lib/libdvm.so (dvmMterpStd(Thread*)+76): Unable to open symbol file /obj/local/armeabi/libdvm.so. Error (3): No such process Stack frame #17 pc 0002e304 /system/lib/libdvm.so (dvmInterpret(Thread*, Method const*, JValue*)+184): Unable to open symbol file /obj/local/armeabi/libdvm.so. Error (3): No such process Stack frame #18 pc 00063715 /system/lib/libdvm.so (dvmInvokeMethod(Object*, Method const*, ArrayObject*, ArrayObject*, ClassObject*, bool)+392): Unable to open symbol file /obj/local/armeabi/libdvm.so. Error (3): No such process Stack frame #19 pc 0006b627 /system/lib/libdvm.so: Unable to open symbol file /obj/local/armeabi/libdvm.so. Error (3): No such process Stack frame #20 pc 000297e0 /system/lib/libdvm.so: Unable to open symbol file /obj/local/armeabi/libdvm.so. Error (3): No such process Stack frame #21 pc 00030c6c /system/lib/libdvm.so (dvmMterpStd(Thread*)+76): Unable to open symbol file /obj/local/armeabi/libdvm.so. Error (3): No such process Stack frame #22 pc 0002e304 /system/lib/libdvm.so (dvmInterpret(Thread*, Method const*, JValue*)+184): Unable to open symbol file /obj/local/armeabi/libdvm.so. Error (3): No such process Stack frame #23 pc 00063431 /system/lib/libdvm.so (dvmCallMethodV(Thread*, Method const*, Object*, bool, JValue*, std::__va_list)+336): Unable to open symbol file /obj/local/armeabi/libdvm.so. Error (3): No such process Stack frame #24 pc 0004cbb7 /system/lib/libdvm.so: Unable to open symbol file /obj/local/armeabi/libdvm.so. Error (3): No such process Stack frame #25 pc 0004e32b /system/lib/libandroid_runtime.so: Unable to open symbol file /obj/local/armeabi/libandroid_runtime.so. Error (3): No such process Stack frame #26 pc 0004f057 /system/lib/libandroid_runtime.so (android::AndroidRuntime::start(char const*, char const*, bool)+358): Unable to open symbol file /obj/local/armeabi/libandroid_runtime.so. Error (3): No such process Stack frame #27 pc 00001063 /system/bin/app_process: Unable to open symbol file /obj/local/armeabi/app_process. Error (3): No such process Stack frame #28 pc 0000e4c3 /system/lib/libc.so (__libc_init+50): Unable to open symbol file /obj/local/armeabi/libc.so. Error (3): No such process Stack frame #29 pc 00000d80 /system/bin/app_process: Unable to open symbol file /obj/local/armeabi/app_process. Error (3): No such process Crash dump is completed ********** Crash dump: ********** Build fingerprint: 'Xiaomi/virgo/virgo:4.4.4/KTU84P/5.11.12:user/release-keys' pid: 23900, tid: 23900, name: example.jnitest >>> com.example.jnitest <<< signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr -------- Stack frame #00 pc 0002210c /system/lib/libc.so (tgkill+12): Unable to open symbol file /obj/local/armeabi/libc.so. Error (3): No such process Stack frame #01 pc 00013165 /system/lib/libc.so (pthread_kill+48): Unable to open symbol file /obj/local/armeabi/libc.so. Error (3): No such process Stack frame #02 pc 00013379 /system/lib/libc.so (raise+10): Unable to open symbol file /obj/local/armeabi/libc.so. Error (3): No such process Stack frame #03 pc 000120a3 /system/lib/libc.so: Unable to open symbol file /obj/local/armeabi/libc.so. Error (3): No such process Stack frame #04 pc 000219c0 /system/lib/libc.so (abort+4): Unable to open symbol file /obj/local/armeabi/libc.so. Error (3): No such process Stack frame #05 pc 00048b1f /system/lib/libdvm.so (dvmAbort+78): Unable to open symbol file /obj/local/armeabi/libdvm.so. Error (3): No such process Stack frame #06 pc 0004d487 /system/lib/libdvm.so (dvmDecodeIndirectRef(Thread*, _jobject*)+146): Unable to open symbol file /obj/local/armeabi/libdvm.so. Error (3): No such process Stack frame #07 pc 0006337d /system/lib/libdvm.so (dvmCallMethodV(Thread*, Method const*, Object*, bool, JValue*, std::__va_list)+156): Unable to open symbol file /obj/local/armeabi/libdvm.so. Error (3):
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
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)
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.
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)
使用MediaCodec解码H264时报错
private boolean onFrame(byte[] buf, int offset, int length){ // 获取输入buffer index ByteBuffer[] inputBuffers = mMediaCodec.getInputBuffers(); //-1表示一直等待;0表示不等待;其他大于0的参数表示等待毫秒数 int inputBufferIndex; try{ inputBufferIndex = mMediaCodec.dequeueInputBuffer(-1); }catch (Exception e){ return false; } if (inputBufferIndex >= 0) { ByteBuffer inputBuffer = inputBuffers[inputBufferIndex]; //清空buffer inputBuffer.clear(); //put需要解码的数据 inputBuffer.put(buf, offset, length); //解码 mMediaCodec.queueInputBuffer(inputBufferIndex, 0, length, System.currentTimeMillis(), 0); } else { return false; } // 获取输出buffer index MediaCodec.BufferInfo bufferInfo = new MediaCodec.BufferInfo(); int outputBufferIndex = mMediaCodec.dequeueOutputBuffer(bufferInfo, 100); //循环解码,直到数据全部解码完成 while (outputBufferIndex >= 0) { //true : 将解码的数据显示到surface上 mMediaCodec.releaseOutputBuffer(outputBufferIndex, true); outputBufferIndex = mMediaCodec.dequeueOutputBuffer(bufferInfo, 0); } return true; } ## Android4.4调用 MediaCodec.queueInputBuffer()时报错 04-30 11:11:38.028 113-113/? I/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** 04-30 11:11:38.028 113-113/? I/DEBUG: Build fingerprint: 'rockchip/M1/M1:4.4.4/KTU84Q/rk3188.20170911.162732:user/test-keys' 04-30 11:11:38.028 113-113/? I/DEBUG: Revision: '0' 04-30 11:11:38.028 113-113/? I/DEBUG: pid: 3141, tid: 3191, name: CodecLooper >>> com.zao.edu <<< 04-30 11:11:38.028 113-113/? I/DEBUG: signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr -------- 04-30 11:11:38.108 113-113/? I/DEBUG: r0 00000000 r1 00000c77 r2 00000006 r3 00000000 04-30 11:11:38.108 113-113/? I/DEBUG: r4 00000006 r5 00000000 r6 00000c77 r7 0000010c 04-30 11:11:38.108 113-113/? I/DEBUG: r8 00000001 r9 00319200 sl 00000000 fp 00000000 04-30 11:11:38.108 113-113/? I/DEBUG: ip 00000001 sp 71658748 lr 400f309d pc 40102048 cpsr 000f0010 04-30 11:11:38.108 113-113/? I/DEBUG: d0 203a64656c696166 d1 202b207465736666 04-30 11:11:38.108 113-113/? I/DEBUG: d2 61436d2c657a6973 d3 2029797469636170 04-30 11:11:38.108 113-113/? I/DEBUG: d4 646e756f662f7468 d5 42412f6e6f697461 04-30 11:11:38.108 113-113/? I/DEBUG: d6 70632e7265666675 d7 4548432038353a70 04-30 11:11:38.108 113-113/? I/DEBUG: d8 0000000000000000 d9 0000000000000000 04-30 11:11:38.108 113-113/? I/DEBUG: d10 0000000000000000 d11 0000000000000000 04-30 11:11:38.108 113-113/? I/DEBUG: d12 0000000000000000 d13 0000000000000000 04-30 11:11:38.108 113-113/? I/DEBUG: d14 0000000000000000 d15 0000000000000000 04-30 11:11:38.108 113-113/? I/DEBUG: d16 402e000000000000 d17 402f000000000000 04-30 11:11:38.118 113-113/? I/DEBUG: d18 0000000000000000 d19 0000000000000000 04-30 11:11:38.118 113-113/? I/DEBUG: d20 3ff0000000000000 d21 0000000000000000 04-30 11:11:38.118 113-113/? I/DEBUG: d22 0000000000000000 d23 0000000000000000 04-30 11:11:38.118 113-113/? I/DEBUG: d24 402c000000000000 d25 0000000000000000 04-30 11:11:38.118 113-113/? I/DEBUG: d26 3ff0000000000000 d27 0000000000000000 04-30 11:11:38.118 113-113/? I/DEBUG: d28 402c000000000000 d29 0000000000000000 04-30 11:11:38.118 113-113/? I/DEBUG: d30 000000000000001f d31 0000000000000021 04-30 11:11:38.118 113-113/? I/DEBUG: scr 60000013 04-30 11:11:38.118 113-113/? I/DEBUG: backtrace: 04-30 11:11:38.118 113-113/? I/DEBUG: #00 pc 00022048 /system/lib/libc.so (tgkill+12) 04-30 11:11:38.118 113-113/? I/DEBUG: #01 pc 00013099 /system/lib/libc.so (pthread_kill+48) 04-30 11:11:38.118 113-113/? I/DEBUG: #02 pc 000132ad /system/lib/libc.so (raise+10) 04-30 11:11:38.118 113-113/? I/DEBUG: #03 pc 00011fe3 /system/lib/libc.so 04-30 11:11:38.118 113-113/? I/DEBUG: #04 pc 000218fc /system/lib/libc.so (abort+4) 04-30 11:11:38.118 113-113/? I/DEBUG: #05 pc 000014c3 /system/lib/liblog.so (__android_log_assert+86) 04-30 11:11:38.118 113-113/? I/DEBUG: #06 pc 00008a07 /system/lib/libstagefright_foundation.so (android::ABuffer::setRange(unsigned int, unsigned int)+138) 04-30 11:11:38.118 113-113/? I/DEBUG: #07 pc 000597ff /system/lib/libstagefright.so (android::ACodec::BaseState::onOMXFillBufferDone(void*, unsigned int, unsigned int, unsigned long, long long, void*, void*)+402) 04-30 11:11:38.118 113-113/? I/DEBUG: #08 pc 00059c4b /system/lib/libstagefright.so (android::ACodec::BaseState::onOMXMessage(android::sp<android::AMessage> const&)+610) 04-30 11:11:38.118 113-113/? I/DEBUG: #09 pc 0005a0ed /system/lib/libstagefright.so (android::ACodec::ExecutingState::onMessageReceived(android::sp<android::AMessage> const&)+536) 04-30 11:11:38.118 113-113/? I/DEBUG: #10 pc 00008c7f /system/lib/libstagefright_foundation.so (android::AHierarchicalStateMachine::onMessageReceived(android::sp<android::AMessage> const&)+82) 04-30 11:11:38.118 113-113/? I/DEBUG: #11 pc 0000981d /system/lib/libstagefright_foundation.so (android::ALooperRoster::deliverMessage(android::sp<android::AMessage> const&)+152) 04-30 11:11:38.118 113-113/? I/DEBUG: #12 pc 000091e7 /system/lib/libstagefright_foundation.so (android::ALooper::loop()+198) 04-30 11:11:38.118 113-113/? I/DEBUG: #13 pc 0000e9ed /system/lib/libutils.so (android::Thread::_threadLoop(void*)+104) 04-30 11:11:38.118 113-113/? I/DEBUG: #14 pc 0000e58f /system/lib/libutils.so 04-30 11:11:38.118 113-113/? I/DEBUG: #15 pc 0000d228 /system/lib/libc.so (__thread_entry+72) 04-30 11:11:38.118 113-113/? I/DEBUG: #16 pc 0000d3c0 /system/lib/libc.so (pthread_create+240) 04-30 11:11:38.118 113-113/? I/DEBUG: stack: 04-30 11:11:38.118 113-113/? I/DEBUG: 71658708 00000000 04-30 11:11:38.118 113-113/? I/DEBUG: 7165870c 00000000 04-30 11:11:38.118 113-113/? I/DEBUG: 71658710 00000000 04-30 11:11:38.118 113-113/? I/DEBUG: 71658714 000003ff 04-30 11:11:38.118 113-113/? I/DEBUG: 71658718 00319200 04-30 11:11:38.118 113-113/? I/DEBUG: 7165871c 00000000 04-30 11:11:38.118 113-113/? I/DEBUG: 71658720 00000001 04-30 11:11:38.118 113-113/? I/DEBUG: 71658724 00000001 04-30 11:11:38.118 113-113/? I/DEBUG: 71658728 00319200 04-30 11:11:38.118 113-113/? I/DEBUG: 7165872c 00000000 04-30 11:11:38.118 113-113/? I/DEBUG: 71658730 400890b1 /system/lib/liblog.so 04-30 11:11:38.118 113-113/? I/DEBUG: 71658734 4008a5f9 /system/lib/liblog.so 04-30 11:11:38.118 113-113/? I/DEBUG: 71658738 716587ac 04-30 11:11:38.118 113-113/? I/DEBUG: 7165873c 00000000 04-30 11:11:38.118 113-113/? I/DEBUG: 71658740 4012a1d8 /system/lib/libc.so 04-30 11:11:38.118 113-113/? I/DEBUG: 71658744 66d7c6c8 04-30 11:11:38.118 113-113/? I/DEBUG: #00 71658748 00000006 04-30 11:11:38.118 113-113/? I/DEBUG: 7165874c 00000000 04-30 11:11:38.118 113-113/? I/DEBUG: 71658750 00000c77 04-30 11:11:38.118 113-113/? I/DEBUG: 71658754 00000001 04-30 11:11:38.118 113-113/? I/DEBUG: 71658758 00000001 04-30 11:11:38.118 113-113/? I/DEBUG: 7165875c 400f309d /system/lib/libc.so (pthread_kill+52) 04-30 11:11:38.118 113-113/? I/DEBUG: #01 71658760 00000006 04-30 11:11:38.118 113-113/? I/DEBUG: 71658764 00000000 04-30 11:11:38.118 113-113/? I/DEBUG: 71658768 00000000 04-30 11:11:38.118 113-113/? I/DEBUG: 7165876c 400f32b1 /system/lib/libc.so (raise+14) 04-30 11:11:38.118 113-113/? I/DEBUG: #02 71658770 7165877c 04-30 11:11:38.118 113-113/? I/DEBUG: 71658774 400f1fe7 /system/lib/libc.so 04-30 11:11:38.118 113-113/? I/DEBUG: memory near r9: 04-30 11:11:38.118 113-113/? I/DEBUG: 003191e0 ffffffff ffffffff ffffffff ffffffff 04-30 11:11:38.128 113-113/? I/DEBUG: 003191f0 ffffffff ffffffff ffffffff ffffffff 04-30 11:11:38.128 113-113/? I/DEBUG: 00319200 ffffffff ffffffff ffffffff ffffffff 04-30 11:11:38.128 113-113/? I/DEBUG: 00319210 ffffffff ffffffff ffffffff ffffffff 04-30 11:11:38.128 113-113/? I/DEBUG: 00319220 ffffffff ffffffff ffffffff ffffffff 04-30 11:11:38.128 113-113/? I/DEBUG: 00319230 ffffffff ffffffff ffffffff ffffffff 04-30 11:11:38.128 113-113/? I/DEBUG: 00319240 ffffffff ffffffff ffffffff ffffffff 04-30 11:11:38.128 113-113/? I/DEBUG: 00319250 ffffffff ffffffff ffffffff ffffffff 04-30 11:11:38.128 113-113/? I/DEBUG: 00319260 ffffffff ffffffff ffffffff ffffffff 04-30 11:11:38.128 113-113/? I/DEBUG: 00319270 ffffffff ffffffff ffffffff ffffffff 04-30 11:11:38.128 113-113/? I/DEBUG: 00319280 ffffffff ffffffff ffffffff ffffffff 04-30 11:11:38.128 113-113/? I/DEBUG: 00319290 ffffffff ffffffff ffffffff ffffffff 04-30 11:11:38.128 113-113/? I/DEBUG: 003192a0 ffffffff ffffffff ffffffff ffffffff 04-30 11:11:38.128 113-113/? I/DEBUG: 003192b0 ffffffff ffffffff ffffffff ffffffff 04-30 11:11:38.128 113-113/? I/DEBUG: 003192c0 ffffffff ffffffff ffffffff ffffffff 04-30 11:11:38.128 113-113/? I/DEBUG: 003192d0 ffffffff ffffffff ffffffff ffffffff 04-30 11:11:38.128 113-113/? I/DEBUG: memory near sp: 04-30 11:11:38.128 113-113/? I/DEBUG: 71658728 00319200 00000000 400890b1 4008a5f9 04-30 11:11:38.128 113-113/? I/DEBUG: 71658738 716587ac 00000000 4012a1d8 66d7c6c8 04-30 11:11:38.128 113-113/? I/DEBUG: 71658748 00000006 00000000 00000c77 00000001 04-30 11:11:38.128 113-113/? I/DEBUG: 71658758 00000001 400f309d 00000006 00000000 04-30 11:11:38.128 113-113/? I/DEBUG: 71658768 00000000 400f32b1 7165877c 400f1fe7 04-30 11:11:38.128 113-113/? I/DEBUG: 71658778 00004000 ffffffdf 2a2a2a2a 7165877c 04-30 11:11:38.128 113-113/? I/DEBUG: 71658788 00000001 b25da946 00000007 00000000 04-30 11:11:38.128 113-113/? I/DEBUG: 71658798 00319200 40101900 400890b1 400894c7 04-30 11:11:38.128 113-113/? I/DEBUG: 716587a8 71658bbc 6d617266 726f7765 612f736b 04-30 11:11:38.128 113-113/? I/DEBUG: 716587b8 656d2f76 2f616964 7362696c 65676174 04-30 11:11:38.128 113-113/? I/DEBUG: 716587c8 67697266 662f7468 646e756f 6f697461 04-30 11:11:38.128 113-113/? I/DEBUG: 716587d8 42412f6e 65666675 70632e72 38353a70 04-30 11:11:38.128 113-113/? I/DEBUG: 716587e8 45484320 4c5f4b43 6f202845 65736666 04-30 11:11:38.128 113-113/? I/DEBUG: 716587f8 202b2074 657a6973 61436d2c 69636170 04-30 11:11:38.128 113-113/? I/DEBUG: 71658808 20297974 6c696166 203a6465 38343233 04-30 11:11:38.128 113-113/? I/DEBUG: 71658818 20303436 202e7376 32383331 00303034 04-30 11:11:38.128 113-113/? I/DEBUG: code around pc: 04-30 11:11:38.128 113-113/? I/DEBUG: 40102028 e8bd00f0 e3700a01 912fff1e e2600000 04-30 11:11:38.128 113-113/? I/DEBUG: 40102038 ea006e3d e92d50f0 e3a07f43 ef000000 04-30 11:11:38.128 113-113/? I/DEBUG: 40102048 e8bd50f0 e3700a01 912fff1e e2600000 04-30 11:11:38.128 113-113/? I/DEBUG: 40102058 ea006e35 e92d50f0 e3a070ee ef000000 04-30 11:11:38.128 113-113/? I/DEBUG: 40102068 e8bd50f0 e3700a01 912fff1e e2600000 04-30 11:11:38.128 113-113/? I/DEBUG: 40102078 ea006e2d f200429a bf0080cf f000f891 04-30 11:11:38.128 113-113/? I/DEBUG: 40102088 4001e92d f040f891 d3532a10 0301ea80 04-30 11:11:38.128 113-113/? I/DEBUG: 40102098 0303f013 806ef000 d3262ae0 0300f1c0 04-30 11:11:38.128 113-113/? I/DEBUG: 401020a8 030ff013 eba2d021 ea5f0203 bf447cc3 04-30 11:11:38.128 113-113/? I/DEBUG: 401020b8 eb01f811 eb01f800 f811bf21 f811cb01 04-30 11:11:38.128 113-113/? I/DEBUG: 401020c8 f800eb01 f800cb01 ea5feb01 da037c43 04-30 11:11:38.128 113-113/? I/DEBUG: 401020d8 080df9a1 083df980 f921d303 f900070d 04-30 11:11:38.128 113-113/? I/DEBUG: 401020e8 f891071d f891f000 3a40f040 f891d30f 04-30 11:11:38.128 113-113/? I/DEBUG: 401020f8 f891f080 f921f0c0 f921020d f891420d 04-30 11:11:38.128 113-113/? I/DEBUG: 40102108 3a40f0c0 020df900 420df900 f102d2f3 04-30 11:11:38.128 113-113/? I/DEBUG: 40102118 3a200240 f921d305 3a20020d 020df900 04-30 11:11:38.128 113-113/? I/DEBUG: code around lr: 04-30 11:11:38.128 113-113/? I/DEBUG: 400f307c 447b4b13 42b3e010 6a1ed10e 44784811 04-30 11:11:38.128 113-113/? I/DEBUG: 400f308c ec84f7fb ea0ef00d 46224631 efd0f00e 04-30 11:11:38.128 113-113/? I/DEBUG: 400f309c d00a3001 e00b2400 2b00681b 480ad1eb 04-30 11:11:38.128 113-113/? I/DEBUG: 400f30ac 44782403 ec72f7fb f001e002 6804fa23 04-30 11:11:38.128 113-113/? I/DEBUG: 400f30bc fa20f001 46206005 bf00bd70 0003b326 04-30 11:11:38.128 113-113/? I/DEBUG: 400f30cc 0003b31a 0003b312 0003b2ee bf7ef7ff 04-30 11:11:38.128 113-113/? I/DEBUG: 400f30dc 4a3e4b3d e92d447b b08b43f0 4606589c 04-30 11:11:38.128 113-113/? I/DEBUG: 400f30ec 6823460d 930946a1 fa04f001 8000f8d0 04-30 11:11:38.128 113-113/? I/DEBUG: 400f30fc d0482d00 f00f4628 280ffe91 d8444604 04-30 11:11:38.128 113-113/? I/DEBUG: 400f310c ffe4f7ff d1064286 4629200f e8d8f00d 04-30 11:11:38.128 113-113/? I/DEBUG: 400f311c d03c2800 482ee02e f7fb4478 482debb6 04-30 11:11:38.128 113-113/? I/DEBUG: 400f312c e0154478 d11342b0 482b6a06 f7fb4478 04-30 11:11:38.128 113-113/? I/DEBUG: 400f313c 4a2aec2e 46332120 a801447a f9b2f013 04-30 11:11:38.128 113-113/? I/DEBUG: 400f314c a8012101 fcccf01a 46061c42 e011d104 04-30 11:11:38.128 113-113/? I/DEBUG: 400f315c 28006800 e02cd1e6 46294630 f00d4622 04-30 11:11:38.128 113-113/? I/DEBUG: 400f316c 1c43e914 d11e4607 f9c4f001 29046801 --------- beginning of /dev/log/system 04-30 11:11:38.328 435-456/? I/BootReceiver: Copying /data/tombstones/tombstone_06 to DropBox (SYSTEM_TOMBSTONE) 04-30 11:11:38.328 435-3215/? W/ActivityManager: Force finishing activity com.zao.edu/.activitys.OneScreenActivity 04-30 11:11:38.348 118-1000/? E/OMXNodeInstance: !!! Observer died. Quickly, do something, ... anything... 04-30 11:11:38.368 435-463/? W/InputDispatcher: channel '41d843a8 com.zao.edu/com.zao.edu.activitys.HomeActivity (server)' ~ Consumer closed input channel or an error occurred. events=0x9 04-30 11:11:38.368 435-463/? E/InputDispatcher: channel '41d843a8 com.zao.edu/com.zao.edu.activitys.HomeActivity (server)' ~ Channel is unrecoverably broken and will be disposed! 04-30 11:11:38.368 435-463/? W/InputDispatcher: channel '41d8ffb0 (server)' ~ Consumer closed input channel or an error occurred. events=0x9 04-30 11:11:38.368 435-463/? E/InputDispatcher: channel '41d8ffb0 (server)' ~ Channel is unrecoverably broken and will be disposed! 04-30 11:11:38.368 435-463/? W/InputDispatcher: channel '41deafa0 com.zao.edu/com.zao.edu.activitys.OneScreenActivity (server)' ~ Consumer closed input channel or an error occurred. events=0x9 04-30 11:11:38.368 435-463/? E/InputDispatcher: channel '41deafa0 com.zao.edu/com.zao.edu.activitys.OneScreenActivity (server)' ~ Channel is unrecoverably broken and will be disposed! 04-30 11:11:38.368 116-116/? D/Zygote: Process 3141 terminated by signal (6)
运行静态库程序失败(Glib2.48.1)
I have a big problem that confused me many weeks. For project needs, I have to rebuild the Parsefile with statically libraries. I rebuild all dependent libraries statically and modified some cmakelist.txt, and finally I rebuild it successful. But when I run it use command ./Parsefile file.xml . an error occurred and show: (process:30290): GLib-CRITICAL **: g_hash_table_lookup: assertion 'hash_table != NULL' failed (process:30290): GLib-CRITICAL **: g_hash_table_insert_internal: assertion 'hash_table != NULL' failed ** GLib:ERROR:/build/glib2.0-7IO_Yw/glib2.0-2.48.1/./glib/gquark.c:60:g_quark_init: assertion failed: (quark_seq_id == 0) Aborted (core dumped) I use gdb to debug it : [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". (process:30307): GLib-CRITICAL **: g_hash_table_lookup: assertion 'hash_table != NULL' failed (process:30307): GLib-CRITICAL **: g_hash_table_insert_internal: assertion 'hash_table != NULL' failed ** GLib:ERROR:/build/glib2.0-7IO_Yw/glib2.0-2.48.1/./glib/gquark.c:60:g_quark_init: assertion failed: (quark_seq_id == 0) Program received signal SIGABRT, Aborted. 0x00000000009f8158 in raise () (gdb) bt #0 0x00000000009f8158 in raise () #1 0x00000000009f849a in abort () #2 0x00000000007186fd in g_assertion_message () #3 0x0000000000718796 in g_assertion_message_expr () #4 0x00000000007095cd in g_quark_init () #5 0x0000000000402534 in gobject_init_ctor () #6 0x00000000009ded17 in __libc_csu_init () #7 0x00000000009de31e in generic_start_main () #8 0x00000000009de56a in __libc_start_main () #9 0x0000000000402e59 in _start () Platform information: Linux yangt-MS-7721 4.4.0-31-generic #50-Ubuntu SMP Wed Jul 13 00:07:12 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux Distributor ID: Ubuntu Description: Ubuntu 16.04.1 LTS Release: 16.04 Codename: xenial Glib:2.48.1 Hope can get your help, Thx!
JNI error accessed deleted global reference
04-18 16:10:20.420: I/dalvikvm(13815): **JNI ERROR (app bug): accessed deleted global reference 0x1d5004ea** 04-18 16:10:20.420: E/dalvikvm(13815): VM aborting 04-18 16:10:20.420: A/libc(13815): Fatal signal 6 (SIGABRT) at 0x000035f7 (code=-6), thread 13815 (rbitrarycontrol) 04-18 16:42:21.740: E/dalvikvm(15671): **JNI ERROR (app bug): accessed stale global reference 0x1d300526 (index 329 in a table of size 328)** 04-18 16:42:21.740: E/dalvikvm(15671): VM aborting 04-18 16:42:21.740: A/libc(15671): Fatal signal 6 (SIGABRT) at 0x00003d37 (code=-6), thread 15671 (rbitrarycontrol)
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
iPad应用启动的时候崩溃了
开发了一个应用,在调试阶段运行一切正常,但是到了真机就崩溃。 我设法找到了崩溃日志信息,如下: Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Crashed Thread: 0 Last Exception Backtrace: 0 CoreFoundation 0x3238329e __exceptionPreprocess + 158 1 libobjc.A.dylib 0x3a22e97a objc_exception_throw + 26 2 UIKit 0x3451837c +[UIStoryboard storyboardWithName:bundle:] + 436 3 UIKit 0x3435a58e -[UIApplication _loadMainStoryboardFileNamed:bundle:] + 38 4 UIKit 0x341e379c -[UIApplication _runWithURL:payload:launchOrientation:statusBarStyle:statusBarHidden:] + 524 5 UIKit 0x3418bc34 -[UIApplication handleEvent:withNewEvent:] + 1000 6 UIKit 0x3418b6c8 -[UIApplication sendEvent:] + 68 7 UIKit 0x3418b116 _UIApplicationHandleEvent + 6150 8 GraphicsServices 0x35e9659e _PurpleEventCallback + 586 9 GraphicsServices 0x35e961ce PurpleEventCallback + 30 10 CoreFoundation 0x3235816e __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 30 11 CoreFoundation 0x32358112 __CFRunLoopDoSource1 + 134 12 CoreFoundation 0x32356f94 __CFRunLoopRun + 1380 13 CoreFoundation 0x322c9eb8 CFRunLoopRunSpecific + 352 14 CoreFoundation 0x322c9d44 CFRunLoopRunInMode + 100 15 UIKit 0x341e2480 -[UIApplication _run] + 664 16 UIKit 0x341df2fc UIApplicationMain + 1116
在android4.4系统中添加用户组
请问怎么在在android4.4系统中添加用户组并且共享出来让apk访问?谢谢! 注:尝试添加但是总出现 E/SELinux ( 1436): seapp_context_lookup: No match for app with uid 2100, seinfo default, E/SELinux ( 1436): selinux_android_setcontext: Error setting context for app with uid 2100, seinfo default: Success E/dalvikvm( 1436): cannot set SELinux context: Success E/dalvikvm( 1436): VM aborting F/libc ( 1436): Fatal signal 6 (SIGABRT) at 0x0000059c (code=-6), thread 1436 (zygote) 应用启动不了~~
Java学习的正确打开方式
在博主认为,对于入门级学习java的最佳学习方法莫过于视频+博客+书籍+总结,前三者博主将淋漓尽致地挥毫于这篇博客文章中,至于总结在于个人,实际上越到后面你会发现学习的最好方式就是阅读参考官方文档其次就是国内的书籍,博客次之,这又是一个层次了,这里暂时不提后面再谈。博主将为各位入门java保驾护航,各位只管冲鸭!!!上天是公平的,只要不辜负时间,时间自然不会辜负你。 何谓学习?博主所理解的学习,它是一个过程,是一个不断累积、不断沉淀、不断总结、善于传达自己的个人见解以及乐于分享的过程。
程序员必须掌握的核心算法有哪些?
由于我之前一直强调数据结构以及算法学习的重要性,所以就有一些读者经常问我,数据结构与算法应该要学习到哪个程度呢?,说实话,这个问题我不知道要怎么回答你,主要取决于你想学习到哪些程度,不过针对这个问题,我稍微总结一下我学过的算法知识点,以及我觉得值得学习的算法。这些算法与数据结构的学习大多数是零散的,并没有一本把他们全部覆盖的书籍。下面是我觉得值得学习的一些算法以及数据结构,当然,我也会整理一些看过...
大学四年自学走来,这些私藏的实用工具/学习网站我贡献出来了
大学四年,看课本是不可能一直看课本的了,对于学习,特别是自学,善于搜索网上的一些资源来辅助,还是非常有必要的,下面我就把这几年私藏的各种资源,网站贡献出来给你们。主要有:电子书搜索、实用工具、在线视频学习网站、非视频学习网站、软件下载、面试/求职必备网站。 注意:文中提到的所有资源,文末我都给你整理好了,你们只管拿去,如果觉得不错,转发、分享就是最大的支持了。 一、电子书搜索 对于大部分程序员...
linux系列之常用运维命令整理笔录
本博客记录工作中需要的linux运维命令,大学时候开始接触linux,会一些基本操作,可是都没有整理起来,加上是做开发,不做运维,有些命令忘记了,所以现在整理成博客,当然vi,文件操作等就不介绍了,慢慢积累一些其它拓展的命令,博客不定时更新 free -m 其中:m表示兆,也可以用g,注意都要小写 Men:表示物理内存统计 total:表示物理内存总数(total=used+free) use...
比特币原理详解
一、什么是比特币 比特币是一种电子货币,是一种基于密码学的货币,在2008年11月1日由中本聪发表比特币白皮书,文中提出了一种去中心化的电子记账系统,我们平时的电子现金是银行来记账,因为银行的背后是国家信用。去中心化电子记账系统是参与者共同记账。比特币可以防止主权危机、信用风险。其好处不多做赘述,这一层面介绍的文章很多,本文主要从更深层的技术原理角度进行介绍。 二、问题引入 假设现有4个人...
程序员接私活怎样防止做完了不给钱?
首先跟大家说明一点,我们做 IT 类的外包开发,是非标品开发,所以很有可能在开发过程中会有这样那样的需求修改,而这种需求修改很容易造成扯皮,进而影响到费用支付,甚至出现做完了项目收不到钱的情况。 那么,怎么保证自己的薪酬安全呢? 我们在开工前,一定要做好一些证据方面的准备(也就是“讨薪”的理论依据),这其中最重要的就是需求文档和验收标准。一定要让需求方提供这两个文档资料作为开发的基础。之后开发...
网页实现一个简单的音乐播放器(大佬别看。(⊙﹏⊙))
今天闲着无事,就想写点东西。然后听了下歌,就打算写个播放器。 于是乎用h5 audio的加上js简单的播放器完工了。 演示地点演示 html代码如下` music 这个年纪 七月的风 音乐 ` 然后就是css`*{ margin: 0; padding: 0; text-decoration: none; list-...
Python十大装B语法
Python 是一种代表简单思想的语言,其语法相对简单,很容易上手。不过,如果就此小视 Python 语法的精妙和深邃,那就大错特错了。本文精心筛选了最能展现 Python 语法之精妙的十个知识点,并附上详细的实例代码。如能在实战中融会贯通、灵活使用,必将使代码更为精炼、高效,同时也会极大提升代码B格,使之看上去更老练,读起来更优雅。
数据库优化 - SQL优化
以实际SQL入手,带你一步一步走上SQL优化之路!
2019年11月中国大陆编程语言排行榜
2019年11月2日,我统计了某招聘网站,获得有效程序员招聘数据9万条。针对招聘信息,提取编程语言关键字,并统计如下: 编程语言比例 rank pl_ percentage 1 java 33.62% 2 cpp 16.42% 3 c_sharp 12.82% 4 javascript 12.31% 5 python 7.93% 6 go 7.25% 7 p...
通俗易懂地给女朋友讲:线程池的内部原理
餐盘在灯光的照耀下格外晶莹洁白,女朋友拿起红酒杯轻轻地抿了一小口,对我说:“经常听你说线程池,到底线程池到底是个什么原理?”
《奇巧淫技》系列-python!!每天早上八点自动发送天气预报邮件到QQ邮箱
将代码部署服务器,每日早上定时获取到天气数据,并发送到邮箱。 也可以说是一个小型人工智障。 知识可以运用在不同地方,不一定非是天气预报。
经典算法(5)杨辉三角
杨辉三角 是经典算法,这篇博客对它的算法思想进行了讲解,并有完整的代码实现。
英特尔不为人知的 B 面
从 PC 时代至今,众人只知在 CPU、GPU、XPU、制程、工艺等战场中,英特尔在与同行硬件芯片制造商们的竞争中杀出重围,且在不断的成长进化中,成为全球知名的半导体公司。殊不知,在「刚硬」的背后,英特尔「柔性」的软件早已经做到了全方位的支持与支撑,并持续发挥独特的生态价值,推动产业合作共赢。 而对于这一不知人知的 B 面,很多人将其称之为英特尔隐形的翅膀,虽低调,但是影响力却不容小觑。 那么,在...
腾讯算法面试题:64匹马8个跑道需要多少轮才能选出最快的四匹?
昨天,有网友私信我,说去阿里面试,彻底的被打击到了。问了为什么网上大量使用ThreadLocal的源码都会加上private static?他被难住了,因为他从来都没有考虑过这个问题。无独有偶,今天笔者又发现有网友吐槽了一道腾讯的面试题,我们一起来看看。 腾讯算法面试题:64匹马8个跑道需要多少轮才能选出最快的四匹? 在互联网职场论坛,一名程序员发帖求助到。二面腾讯,其中一个算法题:64匹...
面试官:你连RESTful都不知道我怎么敢要你?
干货,2019 RESTful最贱实践
刷了几千道算法题,这些我私藏的刷题网站都在这里了!
遥想当年,机缘巧合入了 ACM 的坑,周边巨擘林立,从此过上了"天天被虐似死狗"的生活… 然而我是谁,我可是死狗中的战斗鸡,智力不够那刷题来凑,开始了夜以继日哼哧哼哧刷题的日子,从此"读题与提交齐飞, AC 与 WA 一色 ",我惊喜的发现被题虐既刺激又有快感,那一刻我泪流满面。这么好的事儿作为一个正直的人绝不能自己独享,经过激烈的颅内斗争,我决定把我私藏的十几个 T 的,阿不,十几个刷题网...
为啥国人偏爱Mybatis,而老外喜欢Hibernate/JPA呢?
关于SQL和ORM的争论,永远都不会终止,我也一直在思考这个问题。昨天又跟群里的小伙伴进行了一番讨论,感触还是有一些,于是就有了今天这篇文。 声明:本文不会下关于Mybatis和JPA两个持久层框架哪个更好这样的结论。只是摆事实,讲道理,所以,请各位看官勿喷。 一、事件起因 关于Mybatis和JPA孰优孰劣的问题,争论已经很多年了。一直也没有结论,毕竟每个人的喜好和习惯是大不相同的。我也看...
白话阿里巴巴Java开发手册高级篇
不久前,阿里巴巴发布了《阿里巴巴Java开发手册》,总结了阿里巴巴内部实际项目开发过程中开发人员应该遵守的研发流程规范,这些流程规范在一定程度上能够保证最终的项目交付质量,通过在时间中总结模式,并推广给广大开发人员,来避免研发人员在实践中容易犯的错误,确保最终在大规模协作的项目中达成既定目标。 无独有偶,笔者去年在公司里负责升级和制定研发流程、设计模板、设计标准、代码标准等规范,并在实际工作中进行...
SQL-小白最佳入门sql查询一
不要偷偷的查询我的个人资料,即使你再喜欢我,也不要这样,真的不好;
项目中的if else太多了,该怎么重构?
介绍 最近跟着公司的大佬开发了一款IM系统,类似QQ和微信哈,就是聊天软件。我们有一部分业务逻辑是这样的 if (msgType = "文本") { // dosomething } else if(msgType = "图片") { // doshomething } else if(msgType = "视频") { // doshomething } else { // doshom...
Nginx 原理和架构
Nginx 是一个免费的,开源的,高性能的 HTTP 服务器和反向代理,以及 IMAP / POP3 代理服务器。Nginx 以其高性能,稳定性,丰富的功能,简单的配置和低资源消耗而闻名。 Nginx 的整体架构 Nginx 里有一个 master 进程和多个 worker 进程。master 进程并不处理网络请求,主要负责调度工作进程:加载配置、启动工作进程及非停升级。worker 进程负责处...
【图解经典算法题】如何用一行代码解决约瑟夫环问题
约瑟夫环问题算是很经典的题了,估计大家都听说过,然后我就在一次笔试中遇到了,下面我就用 3 种方法来详细讲解一下这道题,最后一种方法学了之后保证让你可以让你装逼。 问题描述:编号为 1-N 的 N 个士兵围坐在一起形成一个圆圈,从编号为 1 的士兵开始依次报数(1,2,3…这样依次报),数到 m 的 士兵会被杀死出列,之后的士兵再从 1 开始报数。直到最后剩下一士兵,求这个士兵的编号。 1、方...
吐血推荐珍藏的Visual Studio Code插件
作为一名Java工程师,由于工作需要,最近一个月一直在写NodeJS,这种经历可以说是一部辛酸史了。好在有神器Visual Studio Code陪伴,让我的这段经历没有更加困难。眼看这段经历要告一段落了,今天就来给大家分享一下我常用的一些VSC的插件。 VSC的插件安装方法很简单,只需要点击左侧最下方的插件栏选项,然后就可以搜索你想要的插件了。 下面我们进入正题 Material Theme ...
如何防止抄袭PCB电路板
目录 1、抄板是什么 2、抄板是否属于侵权 3、如何防止抄板 1、抄板是什么 抄板也叫克隆或仿制,是对设计出来的PCB板进行反向技术研究;目前全新的定义:从狭义上来说,抄板仅指对电子产品电路板PCB文件的提取还原和利用文件进行电路板克隆的过程;从广义上来说,抄板不仅包括对电路板文件提取、电路板克隆、电路板仿制等技术过程,而且包括对电路板文件进行修改(即改板)、对电子产品外形模具进行三维...
“狗屁不通文章生成器”登顶GitHub热榜,分分钟写出万字形式主义大作
一、垃圾文字生成器介绍 最近在浏览GitHub的时候,发现了这样一个骨骼清奇的雷人项目,而且热度还特别高。 项目中文名:狗屁不通文章生成器 项目英文名:BullshitGenerator 根据作者的介绍,他是偶尔需要一些中文文字用于GUI开发时测试文本渲染,因此开发了这个废话生成器。但由于生成的废话实在是太过富于哲理,所以最近已经被小伙伴们给玩坏了。 他的文风可能是这样的: 你发现,...
程序员:我终于知道post和get的区别
是一个老生常谈的话题,然而随着不断的学习,对于以前的认识有很多误区,所以还是需要不断地总结的,学而时习之,不亦说乎
《程序人生》系列-这个程序员只用了20行代码就拿了冠军
你知道的越多,你不知道的越多 点赞再看,养成习惯GitHub上已经开源https://github.com/JavaFamily,有一线大厂面试点脑图,欢迎Star和完善 前言 这一期不算《吊打面试官》系列的,所有没前言我直接开始。 絮叨 本来应该是没有这期的,看过我上期的小伙伴应该是知道的嘛,双十一比较忙嘛,要值班又要去帮忙拍摄年会的视频素材,还得搞个程序员一天的Vlog,还要写BU...
加快推动区块链技术和产业创新发展,2019可信区块链峰会在京召开
11月8日,由中国信息通信研究院、中国通信标准化协会、中国互联网协会、可信区块链推进计划联合主办,科技行者协办的2019可信区块链峰会将在北京悠唐皇冠假日酒店开幕。   区块链技术被认为是继蒸汽机、电力、互联网之后,下一代颠覆性的核心技术。如果说蒸汽机释放了人类的生产力,电力解决了人类基本的生活需求,互联网彻底改变了信息传递的方式,区块链作为构造信任的技术有重要的价值。   1...
Python 植物大战僵尸代码实现(2):植物卡片选择和种植
这篇文章要介绍的是: - 上方植物卡片栏的实现。 - 点击植物卡片,鼠标切换为植物图片。 - 鼠标移动时,判断当前在哪个方格中,并显示半透明的植物作为提示。
Java世界最常用的工具类库
Apache Commons Apache Commons有很多子项目 Google Guava 参考博客
相关热词 c# 二进制截断字符串 c#实现窗体设计器 c#检测是否为微信 c# plc s1200 c#里氏转换原则 c# 主界面 c# do loop c#存为组套 模板 c# 停掉协程 c# rgb 读取图片
立即提问