Hi Mitesh, with the information you gave as we can't say anything -- just guess. There are many possibilities: - sizeof(int) might be different for 32 and 64bit -- maybe you have some overflows? - it might be that you mix different types, like: "size_t" and "unsigned long" might be the same on one system, different on the other - it might be a bug in CentOS or gcc - it might be a Hardware-bug of your processor (if some vector units have problems, which are only used by your code in 64bit-mode;-) Well, that's VERY VERY unlikely :-)) - .... For any reasonable tips, we need a SMALL example code, which reproduces the bug... Regards, Axel On Fri, Jul 22, 2011 at 04:58:55PM +0530, Mitesh Thakkar wrote: > Interestingly, it is not crashing on 32-bit if I give -O0 (I mean do > not optimize). > What could be the reason. > > Regards, > Mitesh Thakkar > > On Fri, Jul 22, 2011 at 3:09 PM, Mitesh Thakkar <mail.mthakkar@xxxxxxxxx> wrote: > > Hi All, > > > > I have developed one custom application in C. > > It is running fine in CentOS 5.6 64-bit, but it is crashing in CentOS > > 5.6 32-bit. > > I am not finding any reason/conclusion for it. > > Can anyone help me for it. > > > > Regards, > > Mitesh Thakkar > >