Advertisement
adde88

valgrind2

Oct 1st, 2019
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.83 KB | None | 0 0
  1. {root@Pineapple:~_1}$ valgrind --leak-check=full --log-file=./valgrind2.log -v wash -i wlan1mon^C
  2. {root@Pineapple:~_1}$ cat valgrind2.log
  3. ==2899== Memcheck, a memory error detector
  4. ==2899== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
  5. ==2899== Using Valgrind-3.15.0-608cb11914-20190413 and LibVEX; rerun with -h for copyright info
  6. ==2899== Command: wash -i wlan1mon
  7. ==2899== Parent PID: 25551
  8. ==2899==
  9. --2899--
  10. --2899-- Valgrind options:
  11. --2899-- --leak-check=full
  12. --2899-- --log-file=./valgrind2.log
  13. --2899-- -v
  14. --2899-- Contents of /proc/version:
  15. --2899-- Linux version 4.14.134 (@4708b150a871) (gcc version 7.4.0 (OpenWrt GCC 7.4.0 r0+10558-a2cbcfcdff)) #0 Sat Aug 31 00:30:39 2019
  16. --2899--
  17. --2899-- Arch and hwcaps: MIPS32, BigEndian, MIPS-baseline-dspr2
  18. --2899-- Page sizes: currently 4096, max supported 65536
  19. --2899-- Valgrind library directory: /usr/lib/valgrind
  20. --2899-- Reading syms from /usr/bin/wash
  21. --2899-- Reading syms from /lib/libc.so
  22. --2899-- Scheduler: using generic scheduler lock implementation.
  23. --2899-- Reading suppressions file: /usr/lib/valgrind/default.supp
  24. ==2899== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-2899-by-root-on-???
  25. ==2899== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-2899-by-root-on-???
  26. ==2899== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-2899-by-root-on-???
  27. ==2899==
  28. ==2899== TO CONTROL THIS PROCESS USING vgdb (which you probably
  29. ==2899== don't want to do, unless you know exactly what you're doing,
  30. ==2899== or are doing some strange experiment):
  31. ==2899== /usr/lib/valgrind/../../bin/vgdb --pid=2899 ...command...
  32. ==2899==
  33. ==2899== TO DEBUG THIS PROCESS USING GDB: start GDB like this
  34. ==2899== /path/to/gdb wash
  35. ==2899== and then give GDB the following command
  36. ==2899== target remote | /usr/lib/valgrind/../../bin/vgdb --pid=2899
  37. ==2899== --pid is optional if only one valgrind process is running
  38. ==2899==
  39. --2899-- Reading syms from /usr/lib/libpcap.so.1
  40. ==2899== Conditional jump or move depends on uninitialised value(s)
  41. ==2899== at 0x4072884: stpcpy (stpcpy.c:20)
  42. ==2899== by 0x4072E34: strcpy (strcpy.c:5)
  43. ==2899== by 0x4084768: load_library (dynlink.c:1130)
  44. ==2899== by 0x4084A6C: load_direct_deps (dynlink.c:1189)
  45. ==2899== by 0x4084A6C: load_deps (dynlink.c:1206)
  46. ==2899== by 0x4084A6C: load_deps (dynlink.c:1202)
  47. ==2899== by 0x4085280: __dls3 (dynlink.c:1842)
  48. ==2899== by 0x4084E74: __dls2 (dynlink.c:1647)
  49. ==2899== by 0x400D8AC: ??? (in /lib/libc.so)
  50. ==2899==
  51. --2899-- Reading syms from /lib/libgcc_s.so.1
  52. vex mips->IR: unhandled instruction bytes: 0x4 0x99 0x47 0x9A
  53.  
  54. vex: priv/guest_mips_toIR.c:1304 (jmp_lit32): Assertion `dres->whatNext == Dis_Continue' failed.
  55. vex storage: T total 31918008 bytes allocated
  56. vex storage: P total 0 bytes allocated
  57.  
  58. valgrind: the 'impossible' happened:
  59. LibVEX called failure_exit().
  60.  
  61. host stacktrace:
  62. ==2899== at 0x5803DB98: ??? (in /usr/lib/valgrind/memcheck-mips32-linux)
  63. ==2899== by 0x5803DB84: ??? (in /usr/lib/valgrind/memcheck-mips32-linux)
  64.  
  65. sched status:
  66. running_tid=1
  67.  
  68. Thread 1: status = VgTs_Runnable (lwpid 2899)
  69. ==2899== at 0x409B61: main (main.c:9)
  70. client stack range: [0x7EE1B000 0x7EE1BFFF] client SP: 0x7EE1BC78
  71. valgrind stack range: [0x42CC6000 0x42DC5FFF] top usage: 9484 of 1048576
  72.  
  73.  
  74. Note: see also the FAQ in the source distribution.
  75. It contains workarounds to several common problems.
  76. In particular, if Valgrind aborted or crashed after
  77. identifying problems in your program, there's a good chance
  78. that fixing those problems will prevent Valgrind aborting or
  79. crashing, especially if it happened in m_mallocfree.c.
  80.  
  81. If that doesn't help, please report this bug to: www.valgrind.org
  82.  
  83. In the bug report, send all the above text, the valgrind
  84. version, and what OS and version you are using. Thanks.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement