coredump

Soubhik Bhattacharya soubhik@cse.iitk.ac.in
Sat Mar 17 07:42:00 GMT 2001


:
: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.



More information about the Gcc-help mailing list