Advertisement
Guest User

Untitled

a guest
Mar 29th, 2015
241
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.81 KB | None | 0 0
  1. #include <iostream>
  2. int main()
  3. {
  4. std::cout << "Hello" << std::endl;
  5. }
  6.  
  7. ==2677== Memcheck, a memory error detector
  8. ==2677== Copyright (C) 2002-2011, and GNU GPL'd, by Julian Seward et al.
  9. ==2677== Using Valgrind-3.7.0 and LibVEX; rerun with -h for copyright info
  10. ==2677== Command: ./a.out
  11. ==2677==
  12. disInstr(arm): unhandled instruction: 0xF1010200
  13. cond=15(0xF) 27:20=16(0x10) 4:4=0 3:0=0(0x0)
  14. ==2677== valgrind: Unrecognised instruction at address 0x4843588.
  15. ==2677== at 0x4843588: ??? (in /usr/lib/arm-linux-gnueabihf/libcofi_rpi.so)
  16. ==2677== Your program just tried to execute an instruction that Valgrind
  17. ==2677== did not recognise. There are two possible reasons for this.
  18. ==2677== 1. Your program has a bug and erroneously jumped to a non-code
  19. ==2677== location. If you are running Memcheck and you just saw a
  20. ==2677== warning about a bad jump, it's probably your program's fault.
  21. ==2677== 2. The instruction is legitimate but Valgrind doesn't handle it,
  22. ==2677== i.e. it's Valgrind's fault. If you think this is the case or
  23. ==2677== you are not sure, please let us know and we'll try to fix it.
  24. ==2677== Either way, Valgrind will now raise a SIGILL signal which will
  25. ==2677== probably kill your program.
  26. ==2677==
  27. ==2677== Process terminating with default action of signal 4 (SIGILL)
  28. ==2677== Illegal opcode at address 0x4843588
  29. ==2677== at 0x4843588: ??? (in /usr/lib/arm-linux-gnueabihf/libcofi_rpi.so)
  30. Hello==2677==
  31. ==2677== HEAP SUMMARY:
  32. ==2677== in use at exit: 0 bytes in 0 blocks
  33. ==2677== total heap usage: 0 allocs, 0 frees, 0 bytes allocated
  34. ==2677==
  35. ==2677== All heap blocks were freed -- no leaks are possible
  36. ==2677==
  37. ==2677== For counts of detected and suppressed errors, rerun with: -v
  38. ==2677== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 19 from 6)
  39. Illegal instruction
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement