fairuz

Untitled

May 4th, 2011
211
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.38 KB | None | 0 0
  1. /data # valgrind -d -v /data/hello-arm-bionic
  2. --6854:1:debuglog DebugLog system started by Stage 1, level 1 logging requested
  3. --6854:1:launcher no tool requested, defaulting to 'memcheck'
  4. --6854:1:launcher selected platform 'arm-linux'
  5. --6854:1:launcher launching /data/psi_omap_builds_users/x0152532/valgrind/lib/valgrind/memcheck-arm-linux
  6. --6854:1:debuglog DebugLog system started by Stage 2 (main), level 1 logging requested
  7. --6854:1:main Welcome to Valgrind version 3.6.1 debug logging
  8. --6854:1:main Checking current stack is plausible
  9. --6854:1:main Checking initial stack was noted
  10. --6854:1:main Starting the address space manager
  11. --6854:1:main Address space manager is running
  12. --6854:1:main Starting the dynamic memory manager
  13. --6854:1:mallocfr newSuperblock at 0x6179A000 (pszB 4194288) owner VALGRIND/tool
  14. --6854:1:main Dynamic memory manager is running
  15. --6854:1:main Initialise m_debuginfo
  16. --6854:1:main VG_(libdir) = /data/psi_omap_builds_users/x0152532/valgrind/lib/valgrind
  17. --6854:1:main Getting launcher's name ...
  18. --6854:1:main ... /data/psi_omap_builds_users/x0152532/valgrind/bin/valgrind
  19. --6854:1:main Get hardware capabilities ...
  20. --6854:1:machine ARMv7 VFP 1 VFP2 1 VFP3 1 NEON 1
  21. --6854:1:main ... arch = ARM, hwcaps = ARMv7-vfp-neon
  22. --6854:1:main Getting the working directory at startup
  23. --6854:1:main ... /data
  24. --6854:1:main Split up command line
  25. --6854:1:main (early_) Process Valgrind's command line options
  26. --6854:1:main Create initial image
  27. --6854:1:initimg Loading client
  28. ******* DEBUG : inside readelf(...) fd = 3 filename = /data/hello-arm-bionic
  29. ******* DEBUG : case PT_PHDR(...)
  30. ******* DEBUG : case PT_INTERP(...)
  31. ******* DEBUG : inside readelf(...) fd = 4 filename = /system/bin/linker
  32. ******* DEBUG : interp->e.e_phnum = 0x5
  33. ******* DEBUG : end 0x73bc = (0xb0001000 - 0xb0001000) + 0x73bc
  34. ******* DEBUG : end 0x1169c = (0xb0009000 - 0xb0001000) + 0x969c
  35. ******* DEBUG : case PT_LOAD(...)
  36. ******* DEBUG : case PT_LOAD(...)
  37. ******* DEBUG : interp_addr != 0, 0xb0001000 0x1169c
  38. --6854:1:initimg Setup client env
  39. --6854:1:initimg Setup client stack: size will be 8388608
  40. --6854:1:initimg Setup client data (brk) segment
  41. --6854:1:main Setup file descriptors
  42. --6854:1:main Create fake /proc/<pid>/cmdline
  43. --6854:1:main Initialise the tool part 1 (pre_clo_init)
  44. --6854:1:mallocfr newSuperblock at 0x61B9A000 (pszB 1048560) owner VALGRIND/exectxt
  45. --6854:1:main Print help and quit, if requested
  46. --6854:1:main (main_) Process Valgrind's command line options, setup logging
  47. --6854:1:mallocfr newSuperblock at 0x61C9A000 (pszB 1048560) owner VALGRIND/core
  48. --6854:1:main Print the preamble...
  49. ==6854== Memcheck, a memory error detector
  50. ==6854== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al.
  51. ==6854== Using Valgrind-3.6.1 and LibVEX; rerun with -h for copyright info
  52. ==6854== Command: /data/hello-arm-bionic
  53. ==6854==
  54. --6854-- Valgrind options:
  55. --6854-- -d
  56. --6854-- -v
  57. --6854-- Contents of /proc/version:
  58. --6854-- Linux version 2.6.35.7-00265-gd2cb355 (ginger@ginger-desktop) (gcc version 4.4.1 (Sourcery G++ Lite 2010q1-202) ) #1 SMP PREEMPT Fri Apr 1 09:24:52 CST 2011
  59. --6854-- Arch and hwcaps: ARM, ARMv7-vfp-neon
  60. --6854-- Page sizes: currently 4096, max supported 4096
  61. --6854-- Valgrind library directory: /data/psi_omap_builds_users/x0152532/valgrind/lib/valgrind
  62. --6854:1:main ...finished the preamble
  63. --6854:1:main Initialise the tool part 2 (post_clo_init)
  64. --6854:1:main Initialise TT/TC
  65. --6854:1:main Initialise redirects
  66. --6854:1:mallocfr newSuperblock at 0x61E15000 (pszB 1048560) owner VALGRIND/dinfo
  67. --6854:1:main Load initial debug info
  68. --6854-- Reading syms from /data/hello-arm-bionic (0x8000)
  69. --6854-- Reading syms from /data/psi_omap_builds_users/x0152532/valgrind/lib/valgrind/memcheck-arm-linux (0x38000000)
  70. --6854-- object doesn't have a dynamic symbol table
  71. --6854:1:mallocfr newSuperblock at 0x61F15000 (pszB 1048560) owner VALGRIND/dinfo
  72. --6854:1:mallocfr newSuperblock at 0x62015000 (pszB 1048560) owner VALGRIND/dinfo
  73. --6854:1:mallocfr newSuperblock at 0x62115000 (pszB 1048560) owner VALGRIND/dinfo
  74. --6854:1:mallocfr newSuperblock at 0x62215000 (pszB 2052080) owner VALGRIND/dinfo
  75. --6854:1:mallocfr newSuperblock at 0x6240A000 (pszB 4100080) owner VALGRIND/dinfo
  76. --6854-- Reading syms from /system/bin/linker (0xb0001000)
  77. --6854-- object doesn't have a symbol table
  78. --6854-- object doesn't have a dynamic symbol table
  79. --6854:1:redir transfer ownership V -> C of 0x38044000 .. 0x38044fff
  80. --6854:1:main Initialise scheduler (phase 1)
  81. --6854:1:sched sched_init_phase1
  82. --6854:1:main Tell tool about initial permissions
  83. --6854:1:main Initialise scheduler (phase 2)
  84. --6854:1:sched sched_init_phase2: tid_main=1, cls_end=0xbdf32fff, cls_sz=8388608
  85. --6854:1:main Finalise initial image
  86. --6854:1:main Initialise signal management
  87. --6854:1:main Load suppressions
  88. --6854-- Reading suppressions file: /data/psi_omap_builds_users/x0152532/valgrind/lib/valgrind/default.supp
  89. --6854:1:main
  90. --6854:1:main
  91. --6854:1:aspacem <<< SHOW_SEGMENTS: Memory layout at client startup (28 segments, 3 segnames)
  92. --6854:1:aspacem ( 0) /data/psi_omap_builds_users/x0152532/valgrind/lib/valgrind/memcheck-arm-linux
  93. --6854:1:aspacem ( 1) /data/hello-arm-bionic
  94. --6854:1:aspacem ( 2) /system/bin/linker
  95. --6854:1:aspacem 0: RSVN 0000000000-0000007fff 32768 ----- SmFixed
  96. --6854:1:aspacem 1: file 0000008000-0000008fff 4096 r-x-- d=0xb306 i=57 o=0 (1)
  97. --6854:1:aspacem 2: file 0000009000-0000009fff 4096 rw--- d=0xb306 i=57 o=4096 (1)
  98. --6854:1:aspacem 3: RSVN 000000a000-0003ffffff 63m ----- SmFixed
  99. --6854:1:aspacem 4: anon 0004000000-0004000fff 4096 rwx--
  100. --6854:1:aspacem 5: RSVN 0004001000-00047fffff 8384512 ----- SmLower
  101. --6854:1:aspacem 6: 0004800000-0037ffffff 824m
  102. --6854:1:aspacem 7: FILE 0038000000-0038043fff 278528 r-x-- d=0xb306 i=201 o=32768 (0)
  103. --6854:1:aspacem 8: file 0038044000-0038044fff 4096 r-x-- d=0xb306 i=201 o=311296 (0)
  104. --6854:1:aspacem 9: FILE 0038045000-0038231fff 2019328 r-x-- d=0xb306 i=201 o=315392 (0)
  105. --6854:1:aspacem 10: 0038232000-0038238fff 28672
  106. --6854:1:aspacem 11: FILE 0038239000-003823afff 8192 rw--- d=0xb306 i=201 o=2330624 (0)
  107. --6854:1:aspacem 12: ANON 003823b000-0038d2cfff 10m rw---
  108. --6854:1:aspacem 13: 0038d2d000-0061798fff 650m
  109. --6854:1:aspacem 14: RSVN 0061799000-0061799fff 4096 ----- SmFixed
  110. --6854:1:aspacem 15: ANON 006179a000-006280efff 16m rwx--
  111. --6854:1:aspacem 16: 006280f000-00b0000fff 1239m
  112. --6854:1:aspacem 17: file 00b0001000-00b0008fff 32768 r-x-- d=0xb304 i=151 o=4096 (2)
  113. --6854:1:aspacem 18: file 00b0009000-00b0009fff 4096 rw--- d=0xb304 i=151 o=36864 (2)
  114. --6854:1:aspacem 19: anon 00b000a000-00b0012fff 36864 rw---
  115. --6854:1:aspacem 20: 00b0013000-00bd732fff 215m
  116. --6854:1:aspacem 21: RSVN 00bd733000-00bdf31fff 8384512 ----- SmUpper
  117. --6854:1:aspacem 22: anon 00bdf32000-00bdf32fff 4096 rwx--
  118. --6854:1:aspacem 23: 00bdf33000-00bef11fff 15m
  119. --6854:1:aspacem 24: ANON 00bef12000-00bef32fff 135168 rw---
  120. --6854:1:aspacem 25: RSVN 00bef33000-00fffeffff 1040m ----- SmFixed
  121. --6854:1:aspacem 26: anon 00ffff0000-00ffff0fff 4096 r-x--
  122. --6854:1:aspacem 27: RSVN 00ffff1000-00ffffffff 61440 ----- SmFixed
  123. --6854:1:aspacem >>>
  124. --6854:1:main
  125. --6854:1:main
  126. --6854:1:main Running thread 1
  127. --6854:1:syswrap- entering VG_(main_thread_wrapper_NORETURN)
  128. --6854:1:aspacem allocated thread stack at 0x6280f000 size 1064960
  129. --6854:1:syswrap- run_a_thread_NORETURN(tid=1): pre-thread_wrapper
  130. --6854:1:syswrap- thread_wrapper(tid=1): entry
  131. --6854:1:transtab allocate sector 0
  132. --6854:1:mallocfr newSuperblock at 0x64525000 (pszB 65520) owner VALGRIND/ttaux
  133. --6854-- Reading syms from /data/psi_omap_builds_users/x0152532/valgrind/lib/valgrind/vgpreload_core-arm-linux.so (0x80000000)
  134. --6854:1:mallocfr newSuperblock at 0x64539000 (pszB 65520) owner VALGRIND/errors
  135. ==6854== Conditional jump or move depends on uninitialised value(s)
  136. ==6854== at 0xB0005B04: ??? (in /system/bin/linker)
  137. ==6854==
  138. ==6854== Conditional jump or move depends on uninitialised value(s)
  139. ==6854== at 0xB0005B08: ??? (in /system/bin/linker)
  140. ==6854==
  141. --6854-- Discarding syms at 0x80000400-0x8000059c in /data/psi_omap_builds_users/x0152532/valgrind/lib/valgrind/vgpreload_core-arm-linux.so due to munmap()
  142. link_image[1947]: 6854 could not load needed library '/data/psi_omap_builds_users/x0152532/valgrind/lib/valgrind/vgpreload_core-arm-linux.so' for '/data/hello-arm-bionic' (reloc_library[1311]: 6854 cannot locate '__libc_freeres'...
  143. )CANNOT LINK EXECUTABLE
  144. --6854:1:syswrap- thread_wrapper(tid=1): exit
  145. --6854:1:syswrap- run_a_thread_NORETURN(tid=1): post-thread_wrapper
  146. --6854:1:syswrap- run_a_thread_NORETURN(tid=1): last one standing
  147. --6854:1:main entering VG_(shutdown_actions_NORETURN)
  148. --6854:1:aspacem <<< SHOW_SEGMENTS: Memory layout at client shutdown (32 segments, 4 segnames)
  149. --6854:1:aspacem ( 0) /data/psi_omap_builds_users/x0152532/valgrind/lib/valgrind/memcheck-arm-linux
  150. --6854:1:aspacem ( 1) /data/hello-arm-bionic
  151. --6854:1:aspacem ( 2) /system/bin/linker
  152. --6854:1:aspacem 0: RSVN 0000000000-0000007fff 32768 ----- SmFixed
  153. --6854:1:aspacem 1: file 0000008000-0000008fff 4096 r-x-- d=0xb306 i=57 o=0 (1)
  154. --6854:1:aspacem 2: file 0000009000-0000009fff 4096 rw--- d=0xb306 i=57 o=4096 (1)
  155. --6854:1:aspacem 3: RSVN 000000a000-0003ffffff 63m ----- SmFixed
  156. --6854:1:aspacem 4: anon 0004000000-0004000fff 4096 rwx--
  157. --6854:1:aspacem 5: RSVN 0004001000-00047fffff 8384512 ----- SmLower
  158. --6854:1:aspacem 6: 0004800000-0037ffffff 824m
  159. --6854:1:aspacem 7: FILE 0038000000-0038043fff 278528 r-x-- d=0xb306 i=201 o=32768 (0)
  160. --6854:1:aspacem 8: file 0038044000-0038044fff 4096 r-x-- d=0xb306 i=201 o=311296 (0)
  161. --6854:1:aspacem 9: FILE 0038045000-0038231fff 2019328 r-x-- d=0xb306 i=201 o=315392 (0)
  162. --6854:1:aspacem 10: 0038232000-0038238fff 28672
  163. --6854:1:aspacem 11: FILE 0038239000-003823afff 8192 rw--- d=0xb306 i=201 o=2330624 (0)
  164. --6854:1:aspacem 12: ANON 003823b000-0038d2cfff 10m rw---
  165. --6854:1:aspacem 13: 0038d2d000-0061798fff 650m
  166. --6854:1:aspacem 14: RSVN 0061799000-0061799fff 4096 ----- SmFixed
  167. --6854:1:aspacem 15: ANON 006179a000-006280efff 16m rwx--
  168. --6854:1:aspacem 16: ANON 006280f000-0062810fff 8192 -----
  169. --6854:1:aspacem 17: ANON 0062811000-0062910fff 1048576 rwx--
  170. --6854:1:aspacem 18: ANON 0062911000-0062912fff 8192 -----
  171. --6854:1:aspacem 19: ANON 0062913000-0064548fff 28m rwx--
  172. --6854:1:aspacem 20: 0064549000-00b0000fff 1210m
  173. --6854:1:aspacem 21: file 00b0001000-00b0008fff 32768 r-xT- d=0xb304 i=151 o=4096 (2)
  174. --6854:1:aspacem 22: file 00b0009000-00b0009fff 4096 rw--- d=0xb304 i=151 o=36864 (2)
  175. --6854:1:aspacem 23: anon 00b000a000-00b0012fff 36864 rw---
  176. --6854:1:aspacem 24: 00b0013000-00bd732fff 215m
  177. --6854:1:aspacem 25: RSVN 00bd733000-00bdf31fff 8384512 ----- SmUpper
  178. --6854:1:aspacem 26: anon 00bdf32000-00bdf32fff 4096 rwx--
  179. --6854:1:aspacem 27: 00bdf33000-00bef11fff 15m
  180. --6854:1:aspacem 28: ANON 00bef12000-00bef32fff 135168 rw---
  181. --6854:1:aspacem 29: RSVN 00bef33000-00fffeffff 1040m ----- SmFixed
  182. --6854:1:aspacem 30: anon 00ffff0000-00ffff0fff 4096 r-x--
  183. --6854:1:aspacem 31: RSVN 00ffff1000-00ffffffff 61440 ----- SmFixed
  184. --6854:1:aspacem >>>
  185. ==6854== Jump to the invalid address stated on the next line
  186. ==6854== at 0x8000052C: ???
  187. ==6854== Address 0x8000052c is not stack'd, malloc'd or (recently) free'd
  188. ==6854==
  189. ==6854==
  190. ==6854== Process terminating with default action of signal 11 (SIGSEGV)
  191. ==6854== Access not within mapped region at address 0x8000052C
  192. ==6854== at 0x8000052C: ???
  193. ==6854== If you believe this happened as a result of a stack
  194. ==6854== overflow in your program's main thread (unlikely but
  195. ==6854== possible), you can try to increase the size of the
  196. ==6854== main thread stack using the --main-stacksize= flag.
  197. ==6854== The main thread stack size used in this run was 8388608.
  198. ==6854==
  199. ==6854== HEAP SUMMARY:
  200. ==6854== in use at exit: 0 bytes in 0 blocks
  201. ==6854== total heap usage: 0 allocs, 0 frees, 0 bytes allocated
  202. ==6854==
  203. ==6854== All heap blocks were freed -- no leaks are possible
  204. ==6854==
  205. ==6854== Use --track-origins=yes to see where uninitialised values come from
  206. ==6854== ERROR SUMMARY: 9 errors from 3 contexts (suppressed: 0 from 0)
  207. ==6854==
  208. ==6854== 1 errors in context 1 of 3:
  209. ==6854== Jump to the invalid address stated on the next line
  210. ==6854== at 0x8000052C: ???
  211. ==6854== Address 0x8000052c is not stack'd, malloc'd or (recently) free'd
  212. ==6854==
  213. ==6854==
  214. ==6854== 4 errors in context 2 of 3:
  215. ==6854== Conditional jump or move depends on uninitialised value(s)
  216. ==6854== at 0xB0005B08: ??? (in /system/bin/linker)
  217. ==6854==
  218. ==6854==
  219. ==6854== 4 errors in context 3 of 3:
  220. ==6854== Conditional jump or move depends on uninitialised value(s)
  221. ==6854== at 0xB0005B04: ??? (in /system/bin/linker)
  222. ==6854==
  223. ==6854== ERROR SUMMARY: 9 errors from 3 contexts (suppressed: 0 from 0)
  224. --6854:1:core_os VG_(terminate_NORETURN)(tid=1)
Advertisement
Add Comment
Please, Sign In to add comment