Peter N Lewis wrote:
Does anyone have any idea what this means:
#### #### FDE 0x2aea4 (OB 0x13fd60, fde_end 0x2affc) has zero length!Aborting. #### Abort
I am trying to use the Authorization code with GPC. If I write the code in C, it works fine. If I write the code in GPC, it works unless the user cancels the authorization dialog, in which case it gets the above error.
I'm running out of ideas as to what the problem might be.
I found this reference:
[...]
Which seems to indicate that the code has been removed from gcc
It is not present in the official gcc AFAICS. Is it part of the Apple patches (and was removed from them now)? Did you try removing it in your copy as well?
and it is related to unwiding the stack somehow, perhaps exception handling?
According to the comment in this file, yes. But GPC doesn't use EH. So either the code is also used for nonlocal gotos etc., or the Authorization code uses EH?
It's possible I've badly translated the Authorization[Tags].h files, but I'm getting a bit desperate for an idea on where the problem might lie, so if anyone has any clues, that'd be appreciated.
No real idea. Unless it's a problem with the code itself (which might be why it was removed), it could be any kind of memory corruption or whatever (which could, among other things, be due to a wrong translation in the header, such as a pointer/value (e.g., array) mixup). But I can't really tell. It might take a debugger session ...
Frank