Warning: invalid file descriptor -1 in syscall aio_read() Conditional jump or move depends on uninitialised value(s) at 0x........: main (aio.c:62) HEAP SUMMARY: in use at exit: ... bytes in ... blocks total heap usage: ... allocs, ... frees, ... bytes allocated For a detailed leak analysis, rerun with: --leak-check=full Use --track-origins=yes to see where uninitialised values come from For lists of detected and suppressed errors, rerun with: -s ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)