Sorry if what i'm talking is completely silly, but the error code (ERROR_INVALID_ADDRESS - 487 (0x1E7)) returned from MapViewOfFileEx suggest the ShMem address is wrong. The Windows error codes are usually not really helpfull but can we log the UsedShmemSegAddr and UsedShmemSegID in PGSharedMemoryCreate and maybe also on successful PGSharedMemoryReAttach in DEBUG log level?
> 2009/7/7 Wojciech Strzałka <wstrza...@gmail.com>: >> >> Here ( http://www.codelabs.pl/_varia/pg.zip ) is detailed info from >> my machine (PostgreSQL 8.3.6, compiled by Visual C++ build 1400): >> >> - detailed log file with several memory attach problems >> - process activity log file (created by Process Monitor from SysInternals) >> - dll's loaded by postgres.exe (snapshot only) >> >> Maybe by comparing log entries you will be able to tell smth. > I can't spot anything obviously wrong (other than the original error > of course). My only suggestion right now is that we try putting a > retry loop in PGSharedMemoryReAttach() and see if the error is a > transient thing. > Any other ideas? -- Pozdrowienia, Wojciech Strzałka -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs