I\'m running ubuntu on x86_32...and I keep getting segmentation fault while running this program. enter code here
I have a class, which has a member named _Emails. It is of the type set<PEmail*>. When I\'m in a member function, and run the following code, it works as expected:
I want to uncompress a file and write its content into a stringstream. This is the code I tried: string readGZipLog () {
I have some code, that I\'m currently porting from OS X to Linux (console tool). Somewhere in this code, I get a segmentation fault. The problem is, that if I run the program without GDB, I clearly s
I\'m trying to achieve a dynamic two dimensional array in C. Whenever the program is trying to access a value in the array I\'m checking whether or not the array is large enough. If it isn\'t more st
This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time,or an extraordinarily narrow situation that is not generally applic
My application is experiencing cashes in production. The crash dump indicates a SIGSEGV has occurred in GCTaskThread
I\'ve seen many core dumps in my life, but this one has me stumped. Context: multi-threaded Linux/x86_64 program running on a cluster of AMD Barcelona CPUs
I\'m stunned, why does this code give me a segmentation fault? #include <stdio.h> #define LIMIT 1500000
I have two questions regarding array: First one is regarding following code: int a[30];//1 a[40]=1;//2 why isn\'t the line 2 giving segfault, it should give because array has been allocated