[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: crash upon startup in GWorkcenter, Recycler, ProjectCenter and Gorm
From: |
Richard Frith-Macdonald |
Subject: |
Re: crash upon startup in GWorkcenter, Recycler, ProjectCenter and Gorm |
Date: |
Sat, 23 Dec 2017 09:42:41 +0000 |
> On 23 Dec 2017, at 09:32, Richard Frith-Macdonald
> <richard.frith-macdonald@theengagehub.com> wrote:
>
>
> So the difference between the offsets in the runtime (correct) and the
> compiler (wrong) was 16 bytes, with the runtime thinking the strruct size was
> 32 and trhe compiler thinking it was 16;
>
> It seems the compiler is sizing the structure as if it contained a pointer
> and two integers when it should actually be two pointers and three integers;
No, my mistake, that's rubbish ... on a 64bit processor the fieldds only occupy
28 bytes, so the 32 byte offset is produced by alignment rules rounding up to a
16byte boundery.
In that case, the offsets calculated by the compiler would be consistent with
it ignoring the two __unsafe_unretained pointers. Perhaps that is a clue?
- Re: crash upon startup in GWorkcenter, Recycler, ProjectCenter and Gorm, (continued)
- Re: crash upon startup in GWorkcenter, Recycler, ProjectCenter and Gorm, Josh Freeman, 2017/12/19
- Re: crash upon startup in GWorkcenter, Recycler, ProjectCenter and Gorm, Richard Frith-Macdonald, 2017/12/20
- Re: crash upon startup in GWorkcenter, Recycler, ProjectCenter and Gorm, Josh Freeman, 2017/12/21
- Re: crash upon startup in GWorkcenter, Recycler, ProjectCenter and Gorm, Richard Frith-Macdonald, 2017/12/21
- Re: crash upon startup in GWorkcenter, Recycler, ProjectCenter and Gorm, Ivan Vučica, 2017/12/21
- Re: crash upon startup in GWorkcenter, Recycler, ProjectCenter and Gorm, Ivan Vučica, 2017/12/21
- Re: crash upon startup in GWorkcenter, Recycler, ProjectCenter and Gorm, Richard Frith-Macdonald, 2017/12/22
- Re: crash upon startup in GWorkcenter, Recycler, ProjectCenter and Gorm, Richard Frith-Macdonald, 2017/12/22
- Re: crash upon startup in GWorkcenter, Recycler, ProjectCenter and Gorm, Josh Freeman, 2017/12/23
- Re: crash upon startup in GWorkcenter, Recycler, ProjectCenter and Gorm, Richard Frith-Macdonald, 2017/12/23
- Re: crash upon startup in GWorkcenter, Recycler, ProjectCenter and Gorm,
Richard Frith-Macdonald <=
- Re: crash upon startup in GWorkcenter, Recycler, ProjectCenter and Gorm, Richard Frith-Macdonald, 2017/12/23
- Re: crash upon startup in GWorkcenter, Recycler, ProjectCenter and Gorm, Fred Kiefer, 2017/12/28
- Re: crash upon startup in GWorkcenter, Recycler, ProjectCenter and Gorm, Richard Frith-Macdonald, 2017/12/28
- Re: crash upon startup in GWorkcenter, Recycler, ProjectCenter and Gorm, Josh Freeman, 2017/12/29
- Re: crash upon startup in GWorkcenter, Recycler, ProjectCenter and Gorm, David Chisnall, 2017/12/29
- Re: crash upon startup in GWorkcenter, Recycler, ProjectCenter and Gorm, Ivan Vučica, 2017/12/29
- Re: crash upon startup in GWorkcenter, Recycler, ProjectCenter and Gorm, Tom Sheffler, 2017/12/24