Segmentation fault;
possible reasons:
What is a segmentation fault?
Asked 9 years, 5 months ago
Active 5 months ago
Viewed 524k times
514
247
What is a segmentation fault? Is it different in C and C++? How are segmentation faults and dangling pointers related?
588k9797 gold badges709709 silver badges10611061 bronze badges
asked Feb 27 '10 at 9:23
8,2301111 gold badges4949 silver badges5656 bronze badges
-
75
segmentation fault makes the compiler feel bad. – Benjamin Crouzier Sep 12 '11 at 14:32
-
20
If that's the case, why in my case the compiler complained nothing, it all went smooth, but at run time the system throws a segmentation fault (core dump)? T_T – Jim Raynor Jan 5 '15 at 19:46
-
3
Just a memory dump when something goes wrong! – resultsway Apr 25 '15 at 1:18
-
6
@pinouchon: Funny, but when does a compiler have a thing to do with seg faults? Isn't it mo