This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: coredump


:
:Here is a snapshot of the code...
:
:1.          pBind->pNext = (PLLBIND)( (char *)pBind + usTrueAtomSize );
:2.          (pBind->pNext)->pPrev = pBind;
:3.          pBind = pBind->pNext;
:
:statement no 2 is giving core.
:
:pBind or pNext is Not NULL.
:

alignment problem?? are you sure that (pBind->pNext) is properly aligned
for PLLBIND, after execution of stmt 1 ?

--soubhik.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]