T
tikcireviva
Hi Guys,
I am not sure what's wrong with my program. When I ran it under the
GDB, it shows the following messages , which said that the issue is
from stl_list.h. Does anyone know what's happening in here?
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1540594608 (LWP 1661)]
dist_obj::insert_list (this=0x82d3980, priority=23704) at
stl_list.h:116
116 { _M_node = _M_node->_M_next; }
In my dist_obj::insert_list() , it just insert an character array into
the list, and on the other thread, it gets a copy of the entire list,
then clear the list, and do some manipulation.
I also though about that if this is because of lack of memory on my
machine. I ain't sure how to check that though.
I am using GCC 3.3.3. on my FC2 machine.
Can any one please give me a helping hand? Sorry for any inconvenience.
Best wishes,
Kit
I am not sure what's wrong with my program. When I ran it under the
GDB, it shows the following messages , which said that the issue is
from stl_list.h. Does anyone know what's happening in here?
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1540594608 (LWP 1661)]
dist_obj::insert_list (this=0x82d3980, priority=23704) at
stl_list.h:116
116 { _M_node = _M_node->_M_next; }
In my dist_obj::insert_list() , it just insert an character array into
the list, and on the other thread, it gets a copy of the entire list,
then clear the list, and do some manipulation.
I also though about that if this is because of lack of memory on my
machine. I ain't sure how to check that though.
I am using GCC 3.3.3. on my FC2 machine.
Can any one please give me a helping hand? Sorry for any inconvenience.
Best wishes,
Kit