Re: Non-reproducible AIO failure - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Non-reproducible AIO failure
Date
Msg-id 3210726.1748143342@sss.pgh.pa.us
Whole thread Raw
In response to Re: Non-reproducible AIO failure  (Thomas Munro <thomas.munro@gmail.com>)
List pgsql-hackers
Thomas Munro <thomas.munro@gmail.com> writes:
> Can you get a core and print *ioh in the debugger?

So far, I've failed to get anything useful out of core files
from this failure.  The trace goes back no further than

(lldb) bt
* thread #1
  * frame #0: 0x000000018de39388 libsystem_kernel.dylib`__pthread_kill + 8

That's quite odd in itself: while I don't find the debugging
environment on macOS to be the greatest, it's not normally
this unhelpful.

I have managed to reproduce the "aio_ret->result.status !=
PGAIO_RS_UNKNOWN" crash about five times in total on three different
Apple Silicon machines (an M1 mini, an M4 Pro mini, and an M4 Pro
laptop).  So there is definitely something wrong.  The failure rate
is pretty tiny for me, though I've not tried running several test
instances concurrently.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Sami Imseih
Date:
Subject: Re: Relstats after VACUUM FULL and CLUSTER
Next
From: Rustam ALLAKOV
Date:
Subject: Re: Add pg_get_injection_points() for information of injection points