Closed jgehw closed 3 years ago
Thanks for your report. The issue is unfortunately already known and seem to be an upstream issue between a change Apple did in Big Sur, PostgreSQL and potentially EndpointSecurity extensions. See further information and links in #610
@jgehw We've attempted to patch the issue in PostgreSQL. Could you try if the following build of Postgres.app fixes the issue for you:
https://github.com/PostgresApp/PostgresApp/releases/tag/v2.5beta1
It would also be great if you could check the server log and see if you see any messages like this:
open file "..." failed: ....; retry
@jgehw We've attempted to patch the issue in PostgreSQL. Could you try if the following build of Postgres.app fixes the issue for you:
Wow, many thanks for patching this while upstream is hesitating! I've been testing the beta build now for one day and didn't encounter the crash anymore.
It would also be great if you could check the server log and see if you see any messages like this:
open file "..." failed: ....; retry
Surprisingly, I also didn't find messages like this, and I'm wondering why. Maybe the issue has also been addressed elsewhere (I meanwhile upgraded macOS to 11.3 and IIRC my anti-virus also had an auto-update in the meantime)? Or is just logging not working as expected?
Approximately once a day, postgres keeps crashing on my machine (macOS BigSur 11.2.1). I was hoping that the recent update to 13.2 would fix this, but it didn't. So, it's time to file a bug report.
The most valuable information I could find, was this line in
postgresql.log
:which was followed by the inevitable consequences (I omit tons of repeated messages):
First I was hoping that one of the usual suspects would be causing the issue (e.g. Antivirus or Time Machine backup locking a file). To eliminate these causes I added excludes for the postgres database folder. Unfortunately, postgres kept on crashing, thus the root cause seems to be something else.
I'll attach the report found in the macOS crash reports list (I don't get a clue out of it, but maybe you do).
Questions: