Hey there, this is turning out to really be a tricky one for me. main.cpp #include <stdlib.h> #include <iostream>
We have code running JNI in a separate thread.We occasionally 开发者_如何转开发get segmentation faults while developing that we need to debug, but because the code is running in a separate thread the
I\'ve written a program that allocates a new object of the class T like this: T* obj = new T(tid); where tid is an int
I hava asegmentation fault. debug with gdb, the first开发者_JAVA百科 frame in the stack is in the typeinfo for MyClass()
I am having problem in getting my stack trace output to stderr or dumping to a log file. I am running the code in Kubuntu10.04 with gcc compiler (4.4.3). The issue is that in the normal running mode (
I keep getting a segmentation fault error when running my code. Everything has compiled well, but I can\'t seem to get it to do what I want.The program is to ask the user to enter 3 integers, then ask
I am getting a segmentation fault because of the assignment operation in LinearNode.cpp the line that reads previous = node in the setPrevious function.Previous is declare as LinearNode* previous;I co
I have been having a ton of trouble because I have forgotten all of the rules of pointers.I learned about pointers 3 years ago and haven\'t used them since.I am receiving a segmentation fault in the l
I have a program that using a vector (called _library) that holds objects of the class \'thread\' that I\'ve created (holds a set of data, and allocating some stuff in its Constructor).
My problem is that I am getting a segmentation fault that occurs after I call \"processList.pop_front()\".If I comment out \"processList.pop_front()\", a segmentation then occurs during the second ite