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

pnnx segment fault #5563

Open
iamfaith opened this issue Jul 4, 2024 · 1 comment
Open

pnnx segment fault #5563

iamfaith opened this issue Jul 4, 2024 · 1 comment

Comments

@iamfaith
Copy link

iamfaith commented Jul 4, 2024

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

############# pass_level2

Program received signal SIGSEGV, Segmentation fault.
pnnx::pnnx_graph_rewrite (graph=..., pass=0x555559052c60, opindex=@0x7fffffffd614: 0) at /home/faith/ncnn/tools/pnnx/src/pass_level2.cpp:984
984 cur = graph.ops[cur_index];
(gdb) where
#0 pnnx::pnnx_graph_rewrite (graph=..., pass=0x555559052c60, opindex=@0x7fffffffd614: 0) at /home/faith/ncnn/tools/pnnx/src/pass_level2.cpp:984
#1 0x00005555555ffaba in pnnx::pass_level2 (g=...) at /home/faith/ncnn/tools/pnnx/src/pass_level2.cpp:1415
#2 0x00005555555ca184 in main (argc=2, argv=0x7fffffffd9a8) at /home/faith/ncnn/tools/pnnx/src/main.cpp:335
(gdb) bt
#0 pnnx::pnnx_graph_rewrite (graph=..., pass=0x555559052c60, opindex=@0x7fffffffd614: 0) at /home/faith/ncnn/tools/pnnx/src/pass_level2.cpp:984
#1 0x00005555555ffaba in pnnx::pass_level2 (g=...) at /home/faith/ncnn/tools/pnnx/src/pass_level2.cpp:1415
#2 0x00005555555ca184 in main (argc=2, argv=0x7fffffffd9a8) at /home/faith/ncnn/tools/pnnx/src/main.cpp:335

model | 模型 | モデル

  1. original model

yolov5 6.2 onnx

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

pnnx yolov5n.onnx

@wzyforgit
Copy link
Contributor

You need input torchscript instead of onnx

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