I have two crash logs from a iPhone application in XCode Organizer. Both occurred开发者_开发百科 within 20 minutes of each other, on the same device, running the same build of the application. While o
I wrote a Cocktail Sort algorithm, and am testing it by generating random vectors of size 500 up to 10,000 - running it 10 times per vector. After about the 2000-3000 length vector mark, the code segf
My original code (following) gives a seg fault at the string array assignment at about num_atoms=150,000:
The following code triggers a segmentation fault a开发者_JS百科t exit. It seems to happen only if data is allocated on the stack between the \'sigaction\' call and the loop :
Trying to get my rails 3 environment up and running and I keep encountering an error I can\'t get around. Any help would be great appreciated!
I am trying to do a pretty simple thing - it is reading a file and then turning it into a char** splitting it into lines. However when I return a struct containing the char** and size i get Segmentati
I wrote a variadic C function which mission is to allocate the needed memory for a buffer, and then sprintf the args given to this function in that buffer. But I\'m seeing a strange behavior with it.
I am using R 2.11.1 and XML package 3.1-0, and I was going through an example from R2GoogleMaps when I encountered a segfault error.
I ran valgrind on my program because of a segfault I can\'t figure out. It detected a problem here...
I seem to be having trouble with the following function: void OtherClass::copy_this( int index, MyClass &class_obj)