https://bugs.kde.org/show_bug.cgi?id=430971

--- Comment #3 from Oleg Galizin <[email protected]> ---
We have false messages like this

==13393== Invalid read of size 8
==13393==    at 0x4F8C92: io_getevents (iox_libaio.c:286)
==13393==    by 0x4F94EE: iox_cbl_receive_laio (iox_libaio.c:501)
....
==13393==  Address 0x7f3c37e5e008 is not stack'd, malloc'd or (recently) free'd

The code example that read the events from queue.

    struct aio_ring *ring = (struct aio_ring *)ctx;
    if (ring == NULL || ring->magic != AIO_RING_MAGIC)
        goto do_syscall;

    while (i < max_nr)
    {
        unsigned head = ring->head;
        if (head == ring->tail)
        {
            break;
        }
        else
        {
            events[i] = ring->events[head];
       .....
    }

A'm sorry query == queue in previous message

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to