-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Description
bug描述 Describe the Bug
环境:linux 麒麟V10 ARM
依赖库:fastapi uvicorn sqlalchemy python-jose passlib python-multipart requests pandas paddlepaddle paddleocr opencv-python numpy
问题1:单独conda虚拟环境下,运行识别时出现如下错误:
C++ Traceback (most recent call last):
No stack trace in paddle, may be caused by external reasons.
Error Message Summary:
FatalError: Segmentation fault is detected by the operating system.
[TimeInfo: *** Aborted at 1767508484 (unix time) try "date -d @1767508484" if you are using GNU date ***]
[SignalInfo: *** SIGSEGV (@0x0) received by PID 24232 (TID 0x7f077fe1e0) from PID 0 ***]
段错误 (核心已转储)
问题2:在conda安装pyqt5中识别,会出现如下错误,不清楚与问题1是否是同一个原因
C++ Traceback (most recent call last):
0 paddle_infer::Predictor::Predictor(paddle::AnalysisConfig const&)
1 std::unique_ptr<paddle::PaddlePredictor, std::default_deletepaddle::PaddlePredictor > paddle::CreatePaddlePredictor<paddle::AnalysisConfig, (paddle::PaddleEngineKind)2>(paddle::AnalysisConfig const&)
2 paddle::AnalysisPredictor::Init(std::shared_ptrpaddle::framework::Scope const&, std::shared_ptrpaddle::framework::ProgramDesc const&)
3 paddle::AnalysisPredictor::PreparePirProgram()
4 paddle::AnalysisPredictor::SaveOrLoadPirParameters(bool)
5 std::filesystem::__cxx11::path::~path()
6 std::vector<std::filesystem::__cxx11::path::_Cmpt, std::allocatorstd::filesystem::__cxx11::path::_Cmpt >::~vector()
7 std::vector<std::filesystem::__cxx11::path::_Cmpt, std::allocatorstd::filesystem::__cxx11::path::_Cmpt >::~vector()
Error Message Summary:
FatalError: Segmentation fault is detected by the operating system.
[TimeInfo: *** Aborted at 1767017748 (unix time) try "date -d @1767017748" if you are using GNU date ***]
[SignalInfo: *** SIGSEGV (@0x5e) received by PID 22648 (TID 0x7f6c9c11e0) from PID 94 ***]
段错误 (核心已转储)
在其它问题中也看到了一些ARM下出现段错误的问题,说是缩小尺寸,但是我这边尝试用800*600左右的图片,运行还是出现上述错误,请帮忙看看是什么问题?
其他补充信息 Additional Supplementary Information
No response