Skip to content

[Bug]: fileservice MinIO coverage test panics with missing free #27305

Closed

Description

@gouhongshen

Is there an existing issue for the same bug?

  • I have checked the existing issues.

Branch Name

agent/issue-27091-f4a5aef0

Commit ID

a433ebc

Other Environment Information

- Hardware parameters: GitHub Actions Ubuntu/x86 coverage runner
- OS type: Linux
- Others: MatrixOne ALL CI workflow run 32208172001, attempt 1; Go 1.26.4

Actual Behavior

The all-package coverage run fails in pkg/fileservice while executing the external QCloud MinIO basic-object-storage case. The checked allocator finalizer reports an allocation that was never freed:

panic: missing free: address 0x7f5ab2200000, size 1
allocated at github.com/matrixorigin/matrixone/pkg/common/malloc.(*CheckedAllocator[...]).Allocate
...
github.com/matrixorigin/matrixone/pkg/fileservice/mem_cache_test.go:1380
FAIL github.com/matrixorigin/matrixone/pkg/fileservice 46.293s

The test report identifies TestObjectStorages/qcloud/minio/basic. No production or test file in the associated clone-routine PR touches pkg/fileservice, pkg/common/malloc, or object-storage setup.

Expected Behavior

pkg/fileservice coverage tests must release each checked allocation and complete without a finalizer panic, including the QCloud MinIO basic-object-storage case.

Steps to Reproduce

1. Run MatrixOne ALL CI coverage on commit `a433ebc62053cde8c1344b57f6cd4a22658ab83e`.
2. Execute the all-package coverage command, which includes `pkg/fileservice` and external QCloud object-storage tests.
3. Observe `TestObjectStorages/qcloud/minio/basic`; the `CheckedAllocator` finalizer panics with `missing free`.

Additional information

Activity

  1. self-assigned this
    on Aug 19, 2026
  2. added
    kind/bug
    severity/s0
    ai-easy
    and removed on Aug 19, 2026
  3. gouhongshen commented on Aug 21, 2026

    @gouhongshen
    ContributorAuthor

    PR #27426 is trying to fix this issue.

  4. gouhongshen commented on Aug 21, 2026

    @gouhongshen
    ContributorAuthor

    PR #27426 has merged and is awaiting manual validation. The issue remains open.

  5. removed their assignment
    on Aug 25, 2026
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

    ai-easykind/bugseverity/s0

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions