Advertisement
Guest User

Untitled

a guest
Oct 15th, 2014
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.20 KB | None | 0 0
  1. (gdb) r
  2. Starting program: ~/test/a.out
  3.  
  4. Program received signal SIGSEGV, Segmentation fault.
  5. main () at main.cpp:7
  6. 7       v[999999] = 0;
  7. (gdb) p v
  8. $1 = std::vector of length 1, capacity 1 = {1000000}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement