Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iPhone创建ncnn::net崩溃 #5433

Open
xiaozhi003 opened this issue Apr 17, 2024 · 2 comments
Open

iPhone创建ncnn::net崩溃 #5433

xiaozhi003 opened this issue Apr 17, 2024 · 2 comments

Comments

@xiaozhi003
Copy link

xiaozhi003 commented Apr 17, 2024

error log | 日志或报错信息 | ログ

已崩溃:com.o.FaceDetectQueue
EXC_BAD_INSTRUCTION 0x00000000d5380000

Crashed: com.o.FaceDetectQueue
0  iOS_Wallet          0x15050 ruapu_some_cpuid() + 6
1  iOS_Wallet          0x15108 ruapu_detect_isa(void (*)()) + 96
2  iOS_Wallet          0x15578 try_initialize_global_cpu_info() + 900
3  iOS_Wallet          0x1597c ncnn::get_physical_big_cpu_count() + 16
4  iOS_Wallet          0x2cb0c ncnn::Option::Option() + 28
5  iOS_Wallet          0x2a180 ncnn::Net::Net() + 40
6  iOS_Wallet          0x129f4 Face::Face() + 437 (face.cpp:437)

该问题必现

context | 编译/运行环境 | バックグラウンド

使用ncnn-20240410
iPhone 12 mini,iOS 16.5.1

how to reproduce | 复现步骤 | 再現方法

  1. 创建ncnn::net就崩溃

more | 其他 | その他

补充下,多款iPhone手机都是必现的
我看到issue #5417 是同样的问题,@nihui 说是20240410解决了这个问题,但是我这边就是用的这个版本才出的问题,旧版本没事

@nihui
Copy link
Member

nihui commented Apr 17, 2024

error log | 日志或报错信息 | ログ

已崩溃:com.o.FaceDetectQueue
EXC_BAD_INSTRUCTION 0x00000000d5380000

Crashed: com.o.FaceDetectQueue
0  iOS_Wallet          0x15050 ruapu_some_cpuid() + 6
1  iOS_Wallet          0x15108 ruapu_detect_isa(void (*)()) + 96
2  iOS_Wallet          0x15578 try_initialize_global_cpu_info() + 900
3  iOS_Wallet          0x1597c ncnn::get_physical_big_cpu_count() + 16
4  iOS_Wallet          0x2cb0c ncnn::Option::Option() + 28
5  iOS_Wallet          0x2a180 ncnn::Net::Net() + 40
6  iOS_Wallet          0x129f4 Face::Face() + 437 (face.cpp:437)

该问题必现

context | 编译/运行环境 | バックグラウンド

使用ncnn-20240410 iPhone 12 mini,iOS 16.5.1

how to reproduce | 复现步骤 | 再現方法

  1. 创建ncnn::net就崩溃

more | 其他 | その他

补充下,多款iPhone手机都是必现的 我看到issue #5417 是同样的问题,@nihui 说是20240410解决了这个问题,但是我这边就是用的这个版本才出的问题,旧版本没事

是调试启动才会出现,不调试ok吗?

@xiaozhi003
Copy link
Author

error log | 日志或报错信息 | ログ

已崩溃:com.o.FaceDetectQueue
EXC_BAD_INSTRUCTION 0x00000000d5380000

Crashed: com.o.FaceDetectQueue
0  iOS_Wallet          0x15050 ruapu_some_cpuid() + 6
1  iOS_Wallet          0x15108 ruapu_detect_isa(void (*)()) + 96
2  iOS_Wallet          0x15578 try_initialize_global_cpu_info() + 900
3  iOS_Wallet          0x1597c ncnn::get_physical_big_cpu_count() + 16
4  iOS_Wallet          0x2cb0c ncnn::Option::Option() + 28
5  iOS_Wallet          0x2a180 ncnn::Net::Net() + 40
6  iOS_Wallet          0x129f4 Face::Face() + 437 (face.cpp:437)

该问题必现

context | 编译/运行环境 | バックグラウンド

使用ncnn-20240410 iPhone 12 mini,iOS 16.5.1

how to reproduce | 复现步骤 | 再現方法

  1. 创建ncnn::net就崩溃

more | 其他 | その他

补充下,多款iPhone手机都是必现的 我看到issue #5417 是同样的问题,@nihui 说是20240410解决了这个问题,但是我这边就是用的这个版本才出的问题,旧版本没事

是调试启动才会出现,不调试ok吗?

是打的debug包,二维码安装出问题;在xcode中run到手机上反而没事

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants