Skip to content

[Bug]: VG-Lite 缓冲区释放时发生用户映射泄漏,因为 vg_lite_hal_unmap_memory 提前返回 #219

Description

@zengyixiang

What happened

在 K230 RT-Smart 上反复调用 vg_lite_allocate() / vg_lite_free(),似乎会导致用户空间映射泄漏。

Reproduction steps

SDK / 环境

  • 仓库:kendryte/k230_sdk
  • SDK 版本 / 标签:v2.0
  • 平台:K230 RT-Smart
  • 组件:src/big/mpp/kernel/gpu/vg_lite_hal.c

复现步骤

在循环中反复调用 vg_lite_allocate()vg_lite_free() 分配、释放小块缓冲区,然后观察内存使用量会随着时间持续增加。

Hardware board

k230 evb board

Software version

v2.0

Bug frequency

No response

Anything else

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions