Quantcast
Viewing all articles
Browse latest Browse all 22159

Segmentation Fault in gcc linux [closed]

I am running a C program on linux terminal using gcc, but I keep getting a segmentation fault error for various different commands. I used gdb to debug my program but I still can't figure out where the error might be coming from.This is the result when debugging with gdb:

Program received signal SIGSEGV, Segmentation fault.__strchr_avx2 () at ../sysdeps/x86_64/multiarch/strchr-avx2.S:5757  ../sysdeps/x86_64/multiarch/strchr-avx2.S: No such file or directory.(gdb) where#0  __strchr_avx2 () at ../sysdeps/x86_64/multiarch/strchr-avx2.S:57#1  0x00005555555599fe in main ()

I know gdb should show you where the error is coming from but I didn't understand this output. Could anyone explain if there is a meaning behind the result?


Viewing all articles
Browse latest Browse all 22159

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>