Getting Seg fault

I am trying to run a program that stores data using vectors. I am getting a segmentation fault (code dumped). Here is what gdb has to say :

#0 0x0000003178632625 in raise () from /lib64/libc.so.6
#1 0x0000003178633e05 in abort () from /lib64/libc.so.6
#2 0x000000317f2bea7d in __gnu_cxx::__verbose_terminate_handler() ()
from /usr/lib64/libstdc++.so.6
#3 0x000000317f2bcbd6 in ?? () from /usr/lib64/libstdc++.so.6
#4 0x000000317f2bcc03 in std::terminate() () from /usr/lib64/libstdc++.so.6
#5 0x000000317f2bcd22 in __cxa_throw () from /usr/lib64/libstdc++.so.6
#6 0x000000317f261837 in std::__throw_logic_error(char const*) ()
from /usr/lib64/libstdc++.so.6
#7 0x000000317f29ce59 in ?? () from /usr/lib64/libstdc++.so.6
#8 0x000000317f29cf33 in std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&) ()
from /usr/lib64/libstdc++.so.6
#9 0x00000000004015cd in main ()
Some code is required in order to understand the context.
Topic archived. No new replies allowed.