Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ==11967== Memcheck, a memory error detector
- ==11967== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al.
- ==11967== Using Valgrind-3.6.1-Debian and LibVEX; rerun with -h for copyright info
- ==11967== Command: bash -c ./test.sh
- ==11967==
- ==11967== Memcheck, a memory error detector
- ==11967== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al.
- ==11967== Using Valgrind-3.6.1-Debian and LibVEX; rerun with -h for copyright info
- ==11967== Command: ./test.sh
- ==11967==
- ==11967== Conditional jump or move depends on uninitialised value(s)
- ==11967== at 0x52DBEDB: __GI___strcasecmp_l (strcmp.S:243)
- ==11967== by 0x52761A2: __gconv_open (gconv_open.c:70)
- ==11967== by 0x52845B9: _nl_find_msg (dcigettext.c:990)
- ==11967== by 0x5284D54: __dcigettext (dcigettext.c:654)
- ==11967== by 0x46D6CB: sh_nojobs (in /bin/bash)
- ==11967== by 0x472276: fg_builtin (in /bin/bash)
- ==11967== by 0x43152B: execute_command_internal (in /bin/bash)
- ==11967== by 0x43402D: execute_command (in /bin/bash)
- ==11967== by 0x41E13C: reader_loop (in /bin/bash)
- ==11967== by 0x41C8A6: main (in /bin/bash)
- ==11967==
- ==11967== Use of uninitialised value of size 8
- ==11967== at 0x52DE014: __GI___strcasecmp_l (strcmp.S:2257)
- ==11967== by 0x52761A2: __gconv_open (gconv_open.c:70)
- ==11967== by 0x52845B9: _nl_find_msg (dcigettext.c:990)
- ==11967== by 0x5284D54: __dcigettext (dcigettext.c:654)
- ==11967== by 0x46D6CB: sh_nojobs (in /bin/bash)
- ==11967== by 0x472276: fg_builtin (in /bin/bash)
- ==11967== by 0x43152B: execute_command_internal (in /bin/bash)
- ==11967== by 0x43402D: execute_command (in /bin/bash)
- ==11967== by 0x41E13C: reader_loop (in /bin/bash)
- ==11967== by 0x41C8A6: main (in /bin/bash)
- ==11967==
- ==11967== Use of uninitialised value of size 8
- ==11967== at 0x52DE018: __GI___strcasecmp_l (strcmp.S:2258)
- ==11967== by 0x52761A2: __gconv_open (gconv_open.c:70)
- ==11967== by 0x52845B9: _nl_find_msg (dcigettext.c:990)
- ==11967== by 0x5284D54: __dcigettext (dcigettext.c:654)
- ==11967== by 0x46D6CB: sh_nojobs (in /bin/bash)
- ==11967== by 0x472276: fg_builtin (in /bin/bash)
- ==11967== by 0x43152B: execute_command_internal (in /bin/bash)
- ==11967== by 0x43402D: execute_command (in /bin/bash)
- ==11967== by 0x41E13C: reader_loop (in /bin/bash)
- ==11967== by 0x41C8A6: main (in /bin/bash)
- ==11967==
- ==11967== Invalid read of size 1
- ==11967== at 0x529DC65: vfprintf (vfprintf.c:1623)
- ==11967== by 0x534D0D7: __vfprintf_chk (vfprintf_chk.c:35)
- ==11967== by 0x46D175: builtin_error (in /bin/bash)
- ==11967== by 0x472276: fg_builtin (in /bin/bash)
- ==11967== by 0x43152B: execute_command_internal (in /bin/bash)
- ==11967== by 0x43402D: execute_command (in /bin/bash)
- ==11967== by 0x41E13C: reader_loop (in /bin/bash)
- ==11967== by 0x41C8A6: main (in /bin/bash)
- ==11967== Address 0x800 is not stack'd, malloc'd or (recently) free'd
- ==11967==
- ==11967==
- ==11967== Process terminating with default action of signal 11 (SIGSEGV)
- ==11967== Access not within mapped region at address 0x800
- ==11967== at 0x529DC65: vfprintf (vfprintf.c:1623)
- ==11967== by 0x534D0D7: __vfprintf_chk (vfprintf_chk.c:35)
- ==11967== by 0x46D175: builtin_error (in /bin/bash)
- ==11967== by 0x472276: fg_builtin (in /bin/bash)
- ==11967== by 0x43152B: execute_command_internal (in /bin/bash)
- ==11967== by 0x43402D: execute_command (in /bin/bash)
- ==11967== by 0x41E13C: reader_loop (in /bin/bash)
- ==11967== by 0x41C8A6: main (in /bin/bash)
- ==11967== If you believe this happened as a result of a stack
- ==11967== overflow in your program's main thread (unlikely but
- ==11967== possible), you can try to increase the size of the
- ==11967== main thread stack using the --main-stacksize= flag.
- ==11967== The main thread stack size used in this run was 8388608.
- ./test.sh: строка 3: fg: ==11967==
- ==11967== HEAP SUMMARY:
- ==11967== in use at exit: 0 bytes in 0 blocks
- ==11967== total heap usage: 0 allocs, 0 frees, 0 bytes allocated
- ==11967==
- ==11967== All heap blocks were freed -- no leaks are possible
- ==11967==
- ==11967== For counts of detected and suppressed errors, rerun with: -v
- ==11967== Use --track-origins=yes to see where uninitialised values come from
- ==11967== ERROR SUMMARY: 4 errors from 4 contexts (suppressed: 4 from 4)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement