PaddlePaddle / PaddlePaddle/FastDeploy
freeLibrary自封装的ocr dll 程序崩溃
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 3.7k
- Forks
- 756
- Avg merge
- 19h 28m
- Merged PRs (30d)
- 4
Description
windows10+vs2017
自定义封装了一个dll,加载这个dll,并且dll中只要创建了det或者cls或者rec指针对象,结束的时候释放这些指针对象,再freeLibrary这个dll,就会导致程序崩溃。如果不释放这些指针对象,就不会崩溃,但是会有内存泄漏。有人遇到过类似问题吗
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the custom OCR DLL on Windows 10 under VS2017 and reproduce the shutdown sequence involving det, cls, or rec objects. Compare releasing those objects before FreeLibrary with omitting release, and define done as identifying the cause of the crash while avoiding the reported memory leak.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- computer-vision, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100