adde88

valgrind 3

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