Random Crash Observed while running program compiled with latest gcc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi All,

We are upgrading the GCC version for our existing C/C++ project.
Earlier we were using gcc 5.4 and everything was working fine.(The
application works fine even with gcc 7.4)
When trying to build the application using gcc 8.1 and above we are
observing the random crashes mostly segmentation fault.
Any suggestions on how to debug this?

Right now I am trying the following:
Enabling the -Wall flag and trying to fix all the warnings
Using GDB to inspect memory location and variables.

Please Suggest anything else that needs to be checked?


-- 
*Thanks and Regards,*
*Praveen AB*



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux