Advertisement
Guest User

Untitled

a guest
Apr 30th, 2012
162
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.31 KB | None | 0 0
  1. ==11967== Memcheck, a memory error detector
  2. ==11967== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al.
  3. ==11967== Using Valgrind-3.6.1-Debian and LibVEX; rerun with -h for copyright info
  4. ==11967== Command: bash -c ./test.sh
  5. ==11967==
  6. ==11967== Memcheck, a memory error detector
  7. ==11967== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al.
  8. ==11967== Using Valgrind-3.6.1-Debian and LibVEX; rerun with -h for copyright info
  9. ==11967== Command: ./test.sh
  10. ==11967==
  11. ==11967== Conditional jump or move depends on uninitialised value(s)
  12. ==11967== at 0x52DBEDB: __GI___strcasecmp_l (strcmp.S:243)
  13. ==11967== by 0x52761A2: __gconv_open (gconv_open.c:70)
  14. ==11967== by 0x52845B9: _nl_find_msg (dcigettext.c:990)
  15. ==11967== by 0x5284D54: __dcigettext (dcigettext.c:654)
  16. ==11967== by 0x46D6CB: sh_nojobs (in /bin/bash)
  17. ==11967== by 0x472276: fg_builtin (in /bin/bash)
  18. ==11967== by 0x43152B: execute_command_internal (in /bin/bash)
  19. ==11967== by 0x43402D: execute_command (in /bin/bash)
  20. ==11967== by 0x41E13C: reader_loop (in /bin/bash)
  21. ==11967== by 0x41C8A6: main (in /bin/bash)
  22. ==11967==
  23. ==11967== Use of uninitialised value of size 8
  24. ==11967== at 0x52DE014: __GI___strcasecmp_l (strcmp.S:2257)
  25. ==11967== by 0x52761A2: __gconv_open (gconv_open.c:70)
  26. ==11967== by 0x52845B9: _nl_find_msg (dcigettext.c:990)
  27. ==11967== by 0x5284D54: __dcigettext (dcigettext.c:654)
  28. ==11967== by 0x46D6CB: sh_nojobs (in /bin/bash)
  29. ==11967== by 0x472276: fg_builtin (in /bin/bash)
  30. ==11967== by 0x43152B: execute_command_internal (in /bin/bash)
  31. ==11967== by 0x43402D: execute_command (in /bin/bash)
  32. ==11967== by 0x41E13C: reader_loop (in /bin/bash)
  33. ==11967== by 0x41C8A6: main (in /bin/bash)
  34. ==11967==
  35. ==11967== Use of uninitialised value of size 8
  36. ==11967== at 0x52DE018: __GI___strcasecmp_l (strcmp.S:2258)
  37. ==11967== by 0x52761A2: __gconv_open (gconv_open.c:70)
  38. ==11967== by 0x52845B9: _nl_find_msg (dcigettext.c:990)
  39. ==11967== by 0x5284D54: __dcigettext (dcigettext.c:654)
  40. ==11967== by 0x46D6CB: sh_nojobs (in /bin/bash)
  41. ==11967== by 0x472276: fg_builtin (in /bin/bash)
  42. ==11967== by 0x43152B: execute_command_internal (in /bin/bash)
  43. ==11967== by 0x43402D: execute_command (in /bin/bash)
  44. ==11967== by 0x41E13C: reader_loop (in /bin/bash)
  45. ==11967== by 0x41C8A6: main (in /bin/bash)
  46. ==11967==
  47. ==11967== Invalid read of size 1
  48. ==11967== at 0x529DC65: vfprintf (vfprintf.c:1623)
  49. ==11967== by 0x534D0D7: __vfprintf_chk (vfprintf_chk.c:35)
  50. ==11967== by 0x46D175: builtin_error (in /bin/bash)
  51. ==11967== by 0x472276: fg_builtin (in /bin/bash)
  52. ==11967== by 0x43152B: execute_command_internal (in /bin/bash)
  53. ==11967== by 0x43402D: execute_command (in /bin/bash)
  54. ==11967== by 0x41E13C: reader_loop (in /bin/bash)
  55. ==11967== by 0x41C8A6: main (in /bin/bash)
  56. ==11967== Address 0x800 is not stack'd, malloc'd or (recently) free'd
  57. ==11967==
  58. ==11967==
  59. ==11967== Process terminating with default action of signal 11 (SIGSEGV)
  60. ==11967== Access not within mapped region at address 0x800
  61. ==11967== at 0x529DC65: vfprintf (vfprintf.c:1623)
  62. ==11967== by 0x534D0D7: __vfprintf_chk (vfprintf_chk.c:35)
  63. ==11967== by 0x46D175: builtin_error (in /bin/bash)
  64. ==11967== by 0x472276: fg_builtin (in /bin/bash)
  65. ==11967== by 0x43152B: execute_command_internal (in /bin/bash)
  66. ==11967== by 0x43402D: execute_command (in /bin/bash)
  67. ==11967== by 0x41E13C: reader_loop (in /bin/bash)
  68. ==11967== by 0x41C8A6: main (in /bin/bash)
  69. ==11967== If you believe this happened as a result of a stack
  70. ==11967== overflow in your program's main thread (unlikely but
  71. ==11967== possible), you can try to increase the size of the
  72. ==11967== main thread stack using the --main-stacksize= flag.
  73. ==11967== The main thread stack size used in this run was 8388608.
  74. ./test.sh: строка 3: fg: ==11967==
  75. ==11967== HEAP SUMMARY:
  76. ==11967== in use at exit: 0 bytes in 0 blocks
  77. ==11967== total heap usage: 0 allocs, 0 frees, 0 bytes allocated
  78. ==11967==
  79. ==11967== All heap blocks were freed -- no leaks are possible
  80. ==11967==
  81. ==11967== For counts of detected and suppressed errors, rerun with: -v
  82. ==11967== Use --track-origins=yes to see where uninitialised values come from
  83. ==11967== ERROR SUMMARY: 4 errors from 4 contexts (suppressed: 4 from 4)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement