Open gezhongqi1992 opened 2 years ago
ncnn最新版本试了吗?
已经测试了 ----- 原始邮件 ----- 发件人:nihui @.> 收件人:Tencent/ncnn @.> 抄送人:gezhongqi1992 @.>, Author @.> 主题:Re:_[Tencent/ncnn]_Android12出现闪退问题(Issue_#4203) 日期:2022年09月16日 16点18分
ncnn最新版本试了吗?
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>
您好,我是楼主大号 这里定位到崩溃问题在此处: 还在定位此方法崩溃点...
问题原因已经定位: 在arm/pooling_3x3.h下的pooling3x3s2_max_neon方法中: 此方法的neon相关宏关闭后,在android 12环境下是可以通过的
关闭宏会导致识别速度大幅下降,目前只能等待官方修复。。。
目前可复现机型: IQOO Neo5 SE 三星Galaxy Note20
Android版本为12,并且项目配置build_api版本为31
新发现崩溃机型: IQOO 9 (vivo) Android版本为12,并且项目配置build_api版本为31
目前官方仍然没有修复,已经准备更换ncnn核心改为mnn(mnn目前没有发现此问题)
目前可复现机型: IQOO Neo5 SE 三星Galaxy Note20
Android版本为12,并且项目配置build_api版本为31
请寄若干台上述机型给社区成员并提供复现环境,以便于尽快给出解决方案
已经提供过
@gezhongqi 我这边也是的, 华为手机 vivo手机 android 12以上都会闪退,很奇怪小米和OPPO是正常的,实在搞不懂android 12的底层做了哪些更新,导致这个闪退问题。
我打日志查询到了位置,已经提供了官方,可能是某一处宏定义或代码块在android12上编码问题,最新的ncnn可以试试是否修复,我这里目前还没用到最新版
该问题现在还没有关闭,请问已经解决了吗?
该问题现在还没有关闭,请问已经解决了吗?
目前还没解决,最新版本我这里目前还没测试是否可行
该问题现在还没有关闭,请问已经解决了吗?
目前还没解决,最新版本我这里目前还没测试是否可行
好吧,那问下您这边现在是怎么处理的呢?
该问题现在还没有关闭,请问已经解决了吗?
目前还没解决,最新版本我这里目前还没测试是否可行
好吧,那问下您这边现在是怎么处理的呢?
目前公司产品更换了识别引擎
error log | 日志或报错信息 | ログ
Build fingerprint: 'samsung/c1qzcx/c1q:12/SP1A.210812.016/N9810ZCU3FVG3:user/release-keys' 2022-09-16 10:30:35.757 11045-11045/? A/DEBUG: Revision: '10' 2022-09-16 10:30:35.757 11045-11045/? A/DEBUG: ABI: 'arm64' 2022-09-16 10:30:35.757 11045-11045/? A/DEBUG: Processor: '7' 2022-09-16 10:30:35.757 11045-11045/? A/DEBUG: Timestamp: 2022-09-16 10:30:35.566323880+0800 2022-09-16 10:30:35.757 11045-11045/? A/DEBUG: Process uptime: 11s 2022-09-16 10:30:35.757 11045-11045/? A/DEBUG: Cmdline: com.ocrgroup.vin 2022-09-16 10:30:35.757 11045-11045/? A/DEBUG: pid: 10927, tid: 11040, name: pool-3-thread-1 >>> com.ocrgroup.vin <<< 2022-09-16 10:30:35.757 11045-11045/? A/DEBUG: uid: 10330 2022-09-16 10:30:35.757 11045-11045/? A/DEBUG: signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0 2022-09-16 10:30:35.757 11045-11045/? A/DEBUG: Cause: null pointer dereference
context | 编译/运行环境 | バックグラウンド
工具: android studio 系统环境: android 12(项目使用api 31)
how to reproduce | 复现步骤 | 再現方法
more | 其他 | その他
代码块: int input_geometry_width = 0; int input_geometry_height = 0;
注!!!!!!!!!!!!:
目前ncnn底层在android 12下的环境崩溃以及影响公司所有产品运营,希望官方可以重视这一问题,能尽快给出解决方案,大家有遇到类似的问题,可以一起讨论,有好的解决方法可以一起分享。