I\'m having this very disturbing problem when running our app in the device. Everything goes fine with the Debug scheme but with the Distribution profile (the one with the AdHoc certificate for code s
How come the following code result in seg fault?Basically after I copy the head pointer to temp, the head pointer gone.
I have a program that processes neural spike data that is broadcast in UDP packets on a local network.
So I am seg faulting when I run this function class vector <Record<value> >::iterator itr = records.begin();
char **getLines(FILE *pFile) { int nLines = 0; size_t memRes = 0; char **lines = malloc(memRes); char *current = (char*) malloc(20);
So I\'ve got a pretty basic class that has a few methods and some class variables. Everythings working great up until I add a vector to the member variables in the header file:
So I\'m seg faulting when I call printf in the following situation.I just can\'t see what I\'m doing wrong. Any ideas?Thanks a million.I\'ve marked the spot in the code where i get the seg fault with
I have been going crazy trying to figure out what is done wrong. I admit I am inexperienced when it comes to C, but I don\'t know what is wrong. Is the way that I am accessing/using the struct incorre
Ok, so I\'m not really sure what is going on here.I have a simple function, int foo(char *filename), that takes filename and counts the words in a file.
I keep getting a segmentation fault with this Bingo Board I\'m trying to create in C++. Valgrind didn\'t tell me much more than this: