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

Segmentation Fault: 11 #40

Open
wyick opened this issue Feb 12, 2022 · 1 comment
Open

Segmentation Fault: 11 #40

wyick opened this issue Feb 12, 2022 · 1 comment

Comments

@wyick
Copy link

wyick commented Feb 12, 2022

Hi there,

Trying out the commands in my Intel Mac, but I get a segmentation fault at the end:

Winsons-MacBook-Pro:dain-ncnn-vulkan-20210210-macos wyick$ ./dain-ncnn-vulkan -i input_frames -o output_frames
[0 Intel(R) Iris(TM) Plus Graphics 655] queueC=0[1] queueG=0[1] queueT=0[1]
[0 Intel(R) Iris(TM) Plus Graphics 655] bugsbn1=0 bugbilz=0 bugcopc=0 bugihfa=0
[0 Intel(R) Iris(TM) Plus Graphics 655] fp16-p/s/a=1/1/1 int8-p/s/a=1/1/1
[0 Intel(R) Iris(TM) Plus Graphics 655] subgroup=32 basic=1 vote=1 ballot=1 shuffle=1
Segmentation fault: 11

Can you please help? =) Can't wait to see some results.

Thank you
Winson

@mattbisme
Copy link

I'm also experiencing the same thing.

$ dain-ncnn-vulkan -i input_frames -o output_frames
[1]    43325 segmentation fault  dain-ncnn-vulkan -i input_frames -o output_frames

However, I believe that I've found a workaround.

Originally, I installed this like I would any other binary… I put a symlink in my bin directory so the original would still be accessible with it's models. When that didn't work, I tried accessing the actual binary ~/Applications/dain-ncnn-vulkan-20210210-macos/dain-ncnn-vulkan. That still didn't work, so I literally just put my input_frames and output_frames folders inside the dain-ncnn-vulkan-20210210-macos directory.

…that seems to be working. It's running a job right now.

This is not particularly convenient. So, an update to allow this command to be run in any directory would be best!

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