Duplicate dsm name generation leads to start service failure on Windows

Edit
ID 636
Title Duplicate dsm name generation leads to start service failure on Windows
Topic Bug Fixes
Created 2016-05-26 08:25:22
Last modified 2016-09-20 16:34:25 (8 years, 2 months ago)
Latest email 2016-09-24 03:19:51 (8 years, 2 months ago)
Status
2016-09: Committed
Target version
Authors Amit Kapila (amitkapila), Kyotaro Horiguchi (horiguti)
Reviewers Michael Paquier (michael-kun)Become reviewer
Committer Robert Haas (rhaas)
Links CFbot results (CirrusCI) CFbot GitHub
Checkout latest CFbot patchset Go to your local checkout of the PostgreSQL repository and run:
git remote add commitfest https://github.com/postgresql-cfbot/postgresql.git
git fetch commitfest cf/636
git checkout commitfest/cf/636
Emails
Windows service is not starting so there’s message in log: FATAL: "could not create shared memory segment “Global/PostgreSQL.851401618”: Permission denied”
First at 2015-10-15 14:46:27 by Dmitry Vasilyev <d.vasilyev at postgrespro.ru>
Latest at 2016-09-24 03:19:51 by Amit Kapila <amit.kapila16 at gmail.com>
Latest attachment (clear_errorcode_dsm-v1.patch) at 2016-09-23 09:57:54 from Amit Kapila <amit.kapila16 at gmail.com>
    Attachment (clear_errorcode_dsm-v1.patch) at 2016-09-23 09:57:54 from Amit Kapila <amit.kapila16 at gmail.com> (Patch: Yes)
    Attachment (dsm_win_segment_access_v1.patch) at 2016-05-25 07:11:18 from Amit Kapila <amit.kapila16 at gmail.com> (Patch: Yes)
    Attachment (dsm-win-fix.patch) at 2016-05-10 03:10:35 from Michael Paquier <michael.paquier at gmail.com> (Patch: Yes)
    Attachment (win_dsm_v2.patch) at 2015-10-16 09:23:13 from Dmitry Vasilyev <d.vasilyev at postgrespro.ru> (Patch: Yes)
    Attachment (dms_windows_fix_2.diff) at 2015-10-16 05:37:47 from Kyotaro HORIGUCHI <horiguchi.kyotaro at lab.ntt.co.jp> (Patch: Yes)
    Attachment (dms_windows_fix.diff) at 2015-10-16 05:00:01 from Kyotaro HORIGUCHI <horiguchi.kyotaro at lab.ntt.co.jp> (Patch: Yes)
    Attachment (fix_dsm_pm_startup_issue_v1.patch) at 2015-10-16 03:32:41 from Amit Kapila <amit.kapila16 at gmail.com> (Patch: Yes)
    Attachment (win_dsm.patch) at 2015-10-15 15:05:11 from Dmitry Vasilyev <d.vasilyev at postgrespro.ru> (Patch: Yes)
History
When Who What
2016-09-20 16:34:25 Robert Haas (rhaas) Closed in commitfest 2016-09 with status: Committed
2016-09-20 16:34:25 Robert Haas (rhaas) Changed committer to rhaas
2016-06-23 05:39:48 Michael Paquier (michael-kun) Added michael-kun as reviewer
2016-05-26 23:43:46 Michael Paquier (michael-kun) New status: Ready for Committer
2016-05-26 08:25:45 Amit Kapila (amitkapila) Changed authors to Amit Kapila (amitkapila), Kyotaro Horiguchi (horiguti)
2016-05-26 08:25:23 Amit Kapila (amitkapila) Attached mail thread 1444920387.3661.7.camel@postgrespro.ru
2016-05-26 08:25:22 Amit Kapila (amitkapila) Created patch record
Edit