A map is a collection. You are creating a vector of collections, and make_pair() is used to create a single element of the map collection. instead, you should be inserting a map. If you don't need a vector of collections and instead just a collection, just use map<int, bool>.
You don't really give enough information but I am guessing that you may have not allocated any elements in your vector, and so you are getting some kind of out-of-bounds problem?
If all you want to do is insert a <key, value> into a map stored in a vector...
1 2 3 4
vector<map<int, bool> > Table; //The vector of maps of ints and booleans
map<int, bool> Temp; //A temporary map to be used below
Table.push_back(Temp); //Add a map<int, bool> to the vector
Table.at(0)[1337/*key for the map*/] = true; //Value for the map
RUn tIME Error is coming in line 6(known in gdb back trace)
---------------------------------------------------------------------------------------------------