Re: Server crash due to SIGBUS(Bus Error) when trying to access the memory created using dsm_create().
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Thomas Munro <thomas.munro@enterprisedb.com>
Cc: Robert Haas <robertmhaas@gmail.com>, Andres Freund <andres@anarazel.de>,
amul sul <sul_amul@yahoo.co.in>,
PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2017-09-26T17:49:52Z
Lists: pgsql-hackers
Thomas Munro <thomas.munro@enterprisedb.com> writes: > See attached, which also removes the ENOSYS stuff which I believe to > be now useless. Does this make sense? Survives make check-world and > my simple test procedure on a 3.10.0-327.36.1.el7.x86_64 system. Thanks. Works on my RHEL6 box too, so pushed. This certainly explains the "could not resize ...: Success" oddity we see in the buildfarm. It's not so clear why those critters are failing in the first place. I hope that what is happening is that they are getting EINTR results and failing to retry. (Although my RHEL6 man page doesn't mention EINTR as a possible failure, I see that's been corrected in later editions.) If not, we should at least get a better fix on the nature of the failure with this patch. Awaiting buildfarm results ... regards, tom lane
Commits
-
Fix failure-to-read-man-page in commit 899bd785c.
- e5c058e2eed8 9.4.15 landed
- 06852f21544c 9.5.10 landed
- 12ac252f9014 9.6.6 landed
- d29f30d8c3b2 10.0 landed
- 5ea96efaa010 11.0 landed
-
Avoid SIGBUS on Linux when a DSM memory request overruns tmpfs.
- 3a07a6f3e8d2 9.4.15 landed
- 175061222470 9.6.6 landed
- 05297416f362 9.5.10 landed
- 899bd785c0ed 11.0 landed
- 4621c7f7a432 10.0 landed