matrix
matrix copied to clipboard
Matrix is a plugin style, non-invasive APM system developed by WeChat.
``` 异常类型:app 运行时崩溃 非必现 手机型号:iPhone 11 手机系统版本: iPhone OS 14.7.1 (18G82) matrix版本:2.0.0 问题描述:开启内存监控,出现一次野指针崩溃 堆栈/日志: Code Type: ARM-64 (Native) Role: Foreground Parent Process: launchd [1] Coalition: cn.xckj.talk-kids-ih [1858] Date/Time: 2021-08-12 17:32:42.5807...
16系统,只要触发OOM测试代码,就会闪退。 在 memory_logging_event_buffer_pool 类中 的 137行 dispatch_semaphore_wait(buffer_pool->pool_semaphore, DISPATCH_TIME_FOREVER); 应该是信号量没匹配上,具体原因未知
异常类型:app 编译异常 matrix版本:2.0.8 gradle版本:7.0.2 问题描述:Jenkins打包出现java.lang.NoClassDefFoundError异常,导致编译失败. 堆栈/日志: 16:55:20 > Task :app:transformClassesWithMatrixTraceTransformForGoogleGgpayFeature 16:55:20 [I][Matrix.Trace] [doTransform] Step(1)[Parse]... cost:61ms 16:55:20 16:55:21 [I][MethodCollector] [saveIgnoreCollectedMethod] size:108098 path:/data/app/jenkins_master/workspace/hst-android-sa/app/build/outputs/trace/googleGgpayFeature/ignoreMethodMapping.txt 16:55:21 [I][MethodCollector] [saveCollectedMethod] size:187515 incrementCount:187514 path:/data/app/jenkins_master/workspace/hst-android-sa/app/build/outputs/trace/googleGgpayFeature/methodMapping.txt 16:55:21 16:55:22 >...
## Mac M1 编译失败 ``` 异常类型:编译失败 平台判断问题 matrix版本:2.1.0 问题描述:在max m1 设备下编译,__arm64__ 宏会被处理为 ios 系统,相关代码编译不过,例如: static const struct class_t *decodeIsaPointer(const void *const isaPointer) { #if ISA_TAG_MASK uintptr_t isa = (uintptr_t)isaPointer; if...
``` 问题描述: 为什么malloc_logger的 flag 在VM_MEMORY_MALLOC ~ VM_MEMORY_MALLOC_NANO之间则认为是malloc_zone分配的呢? ```  
原因: 当前使用 CFBundleName 构造 app name 和 app bundle name,但 CFBundleName 是支持多语言配置的,不同语言环境下读到的结果可能会不同;此时跟 image_info.dli_fname 做值比对时就不会认为是同一个,导致找不到当前 app image 修复方案: app name 和 app bundle name 使用 CFBundleExecutable 来获取二进制名,排除多语言环境的影响
异常类型:app 运行时异常 手机型号: 手机系统版本: matrix版本:2.10.0 问题描述: 问题一 LooperMonitor#dispatch方法未新增AppMethodBeat.i(AppMethodBeat.METHOD_ID_DISPATCH)相关逻辑导致卡顿监控失效 问题二 EvilMethodTracer#AnalyseTask入参,endMs,错误传递为endNs,导致卡顿堆栈时间异常 ``` |* TraceStack: |* [id count cost] |* 1048574 1 **48895239** |* .249 1 5396 ```
错误描述 将reset()方法移动到if外面调用,导致FrameTracer回调的时候,count无法满足if条件,回调失效 错误代码 com.tencent.matrix.trace.tracer.FrameTracer.SceneFrameCollectItem#tryCallBackAndReset 
请教下 电量在接入USB充电情况下是否还是准确的
异常类型:无 手机型号 手机系统版本:Androidstudio本地执行assembleRelease打包 matrix版本:如: 0.4.7 gradle版本:如: 7.3.3 问题描述:如:ParseMappingTask执行时候获取混淆mapping.txt一直不存在 是编译执行到MatrixTraceTransform::transform此时mapping.txt还没生成? Log.i(TAG, ">>>>>>>ParseMappingTask run mappingFile=${mappingFile.absolutePath} mappingFile.exist=${mappingFile.exists()} mappingFile.isFile=${mappingFile.isFile}") 输出结果: ParseMappingTask run mappingFile=D:\\MyApp\sdk_module_main\build\outputs\mapping\DC1ERelease\mapping.txt mappingFile.exist=false mappingFile.isFile=false 是否是我使用有误呢 对编译打包这块流程不是很熟悉 请教下