double free or corruption (fasttop) error when using plugin
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 13.4k
- Forks
- 2.4k
- Avg merge
- 5d 3h
- Merged PRs (30d)
- 2
Description
Sry to trouble.
Recently, I developed a PixelShuffle plugin in C++ and integrated it into a engine built with TensorRT's C++ API. The inference results are correct, but when the program terminates, I encounter an error: 'double free or corruption (fasttop)' followed by 'Aborted (core dumped).'
I've tested it, and if I don't use this plugin, the model outputs the result from the previous step and exits correctly without any error.
the plugin code repo: PixelShuffle
and the full code repo: Real-ESRGAN-TRT
Contributor guide
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 by reproducing the termination failure with the linked PixelShuffle plugin and Real-ESRGAN-TRT repositories, then inspect the plugin's lifecycle and cleanup paths. Done means the model still produces correct inference results and the program exits without the reported double-free or corruption error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- machine-learning
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100