SHARE
TWEET

Untitled

a guest Mar 21st, 2019 58 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ==2207== Invalid write of size 4
  2. ==2207==    at 0x4F40E31: std::istreambuf_iterator<char, std::char_traits<char> > std::num_get<char, std::istreambuf_iterator<char, std::char_traits<char> > >::_M_extract_int<unsigned int>(std::istreambuf_iterator<char, std::char_traits<char> >, std::istreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, std::_Ios_Iostate&, unsigned int&) const (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21)
  3. ==2207==    by 0x4F41250: std::num_get<char, std::istreambuf_iterator<char, std::char_traits<char> > >::do_get(std::istreambuf_iterator<char, std::char_traits<char> >, std::istreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, std::_Ios_Iostate&, unsigned int&) const (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21)
  4. ==2207==    by 0x4F3279E: std::istream& std::istream::_M_extract<unsigned int>(unsigned int&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21)
  5. ==2207==    by 0x4020AE: main (in /home/fernando/Documents/Projetos/Cpp/manipulacao_basica_de_arquivos/projeto)
  6. ==2207==  Address 0x0 is not stack'd, malloc'd or (recently) free'd
  7. ==2207==
  8. ==2207==
  9. ==2207== Process terminating with default action of signal 11 (SIGSEGV)
  10. ==2207==  Access not within mapped region at address 0x0
  11. ==2207==    at 0x4F40E31: std::istreambuf_iterator<char, std::char_traits<char> > std::num_get<char, std::istreambuf_iterator<char, std::char_traits<char> > >::_M_extract_int<unsigned int>(std::istreambuf_iterator<char, std::char_traits<char> >, std::istreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, std::_Ios_Iostate&, unsigned int&) const (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21)
  12. ==2207==    by 0x4F41250: std::num_get<char, std::istreambuf_iterator<char, std::char_traits<char> > >::do_get(std::istreambuf_iterator<char, std::char_traits<char> >, std::istreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, std::_Ios_Iostate&, unsigned int&) const (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21)
  13. ==2207==    by 0x4F3279E: std::istream& std::istream::_M_extract<unsigned int>(unsigned int&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21)
  14. ==2207==    by 0x4020AE: main (in /home/fernando/Documents/Projetos/Cpp/manipulacao_basica_de_arquivos/projeto)
  15. ==2207==  If you believe this happened as a result of a stack
  16. ==2207==  overflow in your program's main thread (unlikely but
  17. ==2207==  possible), you can try to increase the size of the
  18. ==2207==  main thread stack using the --main-stacksize= flag.
  19. ==2207==  The main thread stack size used in this run was 8388608.
  20. ==2207==
  21. ==2207== HEAP SUMMARY:
  22. ==2207==     in use at exit: 81,480 bytes in 4 blocks
  23. ==2207==   total heap usage: 6 allocs, 2 frees, 83,528 bytes allocated
  24. ==2207==
  25. ==2207== LEAK SUMMARY:
  26. ==2207==    definitely lost: 0 bytes in 0 blocks
  27. ==2207==    indirectly lost: 0 bytes in 0 blocks
  28. ==2207==      possibly lost: 0 bytes in 0 blocks
  29. ==2207==    still reachable: 81,480 bytes in 4 blocks
  30. ==2207==         suppressed: 0 bytes in 0 blocks
  31. ==2207== Reachable blocks (those to which a pointer was found) are not shown.
  32. ==2207== To see them, rerun with: --leak-check=full --show-leak-kinds=all
  33. ==2207==
  34. ==2207== For counts of detected and suppressed errors, rerun with: -v
  35. ==2207== Use --track-origins=yes to see where uninitialised values come from
  36. ==2207== ERROR SUMMARY: 188 errors from 11 contexts (suppressed: 0 from 0)
  37. Segmentation fault (imagem do nĂșcleo gravada)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top