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

动态库编译后,yolact程序运行结束后异常退出,请问怎样才能正常退出程序 #2779

Closed
yingunjun opened this issue Mar 22, 2021 · 4 comments

Comments

@yingunjun
Copy link

现象:
yolact程序运行结束后,程序无法正常退出

图片

使用ncnn版本:release 20210124版

编译方式如下:
cmake -G"Visual Studio 16 2019" -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=D:/ncnn -DProtobuf_INCLUDE_DIR=D:/protobuf/include -DProtobuf_LIBRARIES=D:/protobuf/lib/libprotobuf.lib -DProtobuf_PROTOC_EXECUTABLE=D:/protobuf/bin/protoc.exe -DNCNN_VULKAN=ON -DNCNN_SHARED_LIB=ON ../code -DOpenCV_DIR=D:/opencv/build/x64/vc15/bin

然后用virtual studio 2019 编译

跑example 中yolact 的例子,程序运行完成后退出异常。

@yingunjun
Copy link
Author

https://github.com/Tencent/ncnn/wiki/FAQ-ncnn-throw-error#crash-when-freeing-a-ncnn-dynamic-librarydllso-built-with-openmp

感谢大神回复,不过我这边加了环境变量后退出异常仍然存在,是vulkan的原因不,如下堆栈错误信息:
图片

@nihui
Copy link
Member

nihui commented Dec 19, 2023

#5234

@nihui
Copy link
Member

nihui commented Dec 20, 2023

fixed in ded0b78

@nihui nihui closed this as completed Dec 20, 2023
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