PaddleOCR icon indicating copy to clipboard operation
PaddleOCR copied to clipboard

Access to an undefined portion of a memory object

Open YiLin198 opened this issue 6 months ago • 1 comments

🔎 Search before asking

  • [X] I have searched the PaddleOCR Docs and found no similar bug report.
  • [X] I have searched the PaddleOCR Issues and found no similar bug report.
  • [X] I have searched the PaddleOCR Discussions and found no similar bug report.

🐛 Bug (问题描述)

识别pdf的时候报错,但识别jpg的时候没有问题。用cpu运行的,没有gpu


C++ Traceback (most recent call last):

No stack trace in paddle, may be caused by external reasons.


Error Message Summary:

FatalError: Access to an undefined portion of a memory object is detected by the operating system. [TimeInfo: *** Aborted at 1724231265 (unix time) try "date -d @1724231265" if you are using GNU date ***] [SignalInfo: *** SIGSEGV (@0x0) received by PID 43837 (TID 0x7f36481a5700) from PID 0 ***]

🏃‍♂️ Environment (运行环境)

OS linux CentOS 7 8 CPU 32G,no gpu paddleocr 2.8.1 paddlepaddle 2.6.1 python 3.8.13

🌰 Minimal Reproducible Example (最小可复现问题的Demo)

ocr = PaddleOCR(use_angle_cls=True, lang="ch", use_gpu=False) img_path = /path/to/pdf result = ocr.ocr(img_path, cls=True)

YiLin198 avatar Aug 21 '24 09:08 YiLin198