| From: | Zdenek Kotala <Zdenek(dot)Kotala(at)Sun(dot)COM> |
|---|---|
| To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
| Cc: | Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com>, pgsql-hackers(at)postgresql(dot)org, books(at)ejurka(dot)com |
| Subject: | Re: There's some sort of race condition with the new FSM stuff |
| Date: | 2008-10-14 16:09:27 |
| Message-ID: | 48F4C437.7060909@sun.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
Tom Lane napsal(a):
> Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com> writes:
>> I still wonder, though, why we're seeing the error consistently on kudu,
>> and not on any other animal. Perhaps the forknum field that's left
>> uninitialized gets a different value there than on other platforms.
>
> Hmm ... AFAICS this mistake would mean that no forknum field of the
> requests[] array ever gets set at all, so they would stay at whatever
> the virgin value in the shmem segment had been. Perhaps Solaris doesn't
> guarantee that a shared memory block starts out as zeroes?
For security reason any OS should clean memory pages before process
first touches them.
Zdenek
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Robert Haas | 2008-10-14 16:12:03 | Re: 8.3 .4 + Vista + MingW + initdb = ACCESS_DENIED |
| Previous Message | Peter Eisentraut | 2008-10-14 16:08:54 | Re: patch: Allow the UUID type to accept non-standard formats |