Hi, i've got a problem with a stl vector, and i cant find any information about this error. the error is:
deque iterator not dereferencable
while(!Servers->empty()){if (RequestServerInfo(&Servers->front())!=0){
MisScanned++;
} else{
if (DealWithServerInfo(&Servers->front())!=0){ //ERROR LOCATION
MisScanned++;
}
after some debugging, i found that the error was at the DealWithServerInfo function call. however, i dont see why..
can anyone help. oh yeh, the time before this error occurs is different every time, somethimes its there in 2 secs, and the next time its there in 2 mins.

Vector: deque iterator not dereferencable
momentc
galg
Nedrum
DummyJone
thanks for the answer. however, that was my first thought... but as soon as it gave that error, i paused the app, and looked at the content of Servers, and found out that it had more then 4000 items in it....
Weird thing is that i dont get the error anymore. but as soon as it occours, i'll post it
wpcheah