[fpc-pascal] Mozilla XPCOM
Jonas Maebe
jonas.maebe at elis.ugent.be
Thu Jun 3 18:51:22 CEST 2010
On 03 Jun 2010, at 18:46, José Mejuto wrote:
> I was only able to set a break over _haltproc and it catches the exit
> with this backtrace:
>
> #0 0x082da470 in SI_C21__FPC_LIBC21_HALTPROC ()
> #1 0x080779d4 in SYSTEM_SYSTEM_EXIT ()
> #2 0x080700da in SYSTEM_DO_EXIT ()
> #3 0x080700fa in SYSTEM_HALT$LONGINT ()
> #4 0x0806d364 in fpc_catches ()
> #5 0x08419fd8 in TC_NSXPCOMGLUE_SCOMPMGR ()
> #6 0xb6b5d7c0 in ?? ()
> #7 0x082bf858 in INITWINDOWCREATOR () at CallbackInterfaces.pas:108
> #8 0x082b8747 in TCUSTOMGECKOBROWSER__INITWEBBROWSER (this=0xb6b8bd30)
> at GeckoBrowser.pas:1096
>
> I'm unable to determine which is TC_NSXPCOMGLUE_SCOMPMGR. fpc_catches
> appears just after the procedure that raises the exception or it could
> appear later ?
Since the RTL is compiled with optimisation enabled, you may be missing intermediate stack frames. You will have to recompile it without optimisations to get a full backtrace.
Jonas
More information about the fpc-pascal
mailing list