public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Random Crash Observed while running program compiled with latest gcc
@ 2023-02-09 10:56 praveen ab
  2023-02-09 10:59 ` Xi Ruoyao
  2023-02-09 11:01 ` Arsen Arsenović
  0 siblings, 2 replies; 4+ messages in thread
From: praveen ab @ 2023-02-09 10:56 UTC (permalink / raw)
  To: gcc-help

[-- Attachment #1: Type: text/plain, Size: 591 bytes --]

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*

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-02-09 17:46 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-09 10:56 Random Crash Observed while running program compiled with latest gcc praveen ab
2023-02-09 10:59 ` Xi Ruoyao
2023-02-09 11:01 ` Arsen Arsenović
2023-02-09 17:45   ` praveen ab

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).