Re: gcc v5+ generates code that cause segment faults

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

 



Mason,

There are only 2 files of interest ..  Main.c and cJSON.c  Pardon the 
inconvenience, I removed the rest from the project, but not from the 
project folder.

Per a request from Andrew, I re-compiled the code using [ 
-fsanitize=undefined ], corrected all the errors and re-ran the code on 
F18 and F24.  There are 2 output files that indicate what Main.c should 
generate from the print statements.

Now, instead of getting a segment fault, I now get an illegal instruction.

Mike,

https://github.com/enetarch/cJSON/

--------------------------------------------------------------------
myhosting.com - Premium Microsoft? Windows? and Linux web and application
hosting - https://link.myhosting.com/myhosting






[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