Skip to content

A bunch of "X is freed with mi_free_size but the given size 8 is less than the allocated block size ... ". #1375

Description

Hey, on latest 3.5.0 i started getting this all the time I shutdown thread at app exit. Is that's something on my side or it could be mimalloc itself ?
Allocated size is usually in a range of 10240 .. 327680. And given size is always 8.

Example errors:

mimalloc: error: thread 0x48E7141000: pointer 0x0531E01FA000 is freed with mi_free_size but the given size 8 is less than the allocated block size 10240

Error: 22 (see logs)
mimalloc: error: thread 0x48E7141000: pointer 0x0531E1DE4000 is freed with mi_free_size but the given size 8 is less than the allocated block size 81920

Error: 22 (see logs)
mimalloc: error: thread 0x48E7141000: pointer 0x0531E01F7800 is freed with mi_free_size but the given size 8 is less than the allocated block size 10240

Error: 22 (see logs)
mimalloc: error: thread 0x48E7141000: pointer 0x0531E013C800 is freed with mi_free_size but the given size 8 is less than the allocated block size 10240

Error: 22 (see logs)
mimalloc: error: thread 0x48E7141000: pointer 0x0531E1DBC000 is freed with mi_free_size but the given size 8 is less than the allocated block size 81920

Error: 22 (see logs)
mimalloc: error: thread 0x48E7141000: pointer 0x0531E0135000 is freed with mi_free_size but the given size 8 is less than the allocated block size 10240

Error: 22 (see logs)
mimalloc: error: thread 0x48E7141000: pointer 0x0531E01F2800 is freed with mi_free_size but the given size 8 is less than the allocated block size 10240

Error: 22 (see logs)
mimalloc: error: thread 0x48E7141000: pointer 0x0531E1DA8000 is freed with mi_free_size but the given size 8 is less than the allocated block size 81920

Error: 22 (see logs)
mimalloc: error: thread 0x48E7141000: pointer 0x0531E0130000 is freed with mi_free_size but the given size 8 is less than the allocated block size 10240

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions