fairuz

Untitled

May 3rd, 2011
355
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.22 KB | None | 0 0
  1. /data # valgrind -d -v /data/hello-arm-bionic
  2. --6299:1:debuglog DebugLog system started by Stage 1, level 1 logging requested
  3. --6299:1:launcher no tool requested, defaulting to 'memcheck'
  4. --6299:1:launcher selected platform 'arm-linux'
  5. --6299:1:launcher launching /data/psi_omap_builds_users/x0152532/valgrind/lib/valgrind/memcheck-arm-linux
  6. --6299:1:debuglog DebugLog system started by Stage 2 (main), level 1 logging requested
  7. --6299:1:main Welcome to Valgrind version 3.6.1 debug logging
  8. --6299:1:main Checking current stack is plausible
  9. --6299:1:main Checking initial stack was noted
  10. --6299:1:main Starting the address space manager
  11. --6299:1:main Address space manager is running
  12. --6299:1:main Starting the dynamic memory manager
  13. --6299:1:mallocfr newSuperblock at 0x6177B000 (pszB 4194288) owner VALGRIND/tool
  14. --6299:1:main Dynamic memory manager is running
  15. --6299:1:main Initialise m_debuginfo
  16. --6299:1:main VG_(libdir) = /data/psi_omap_builds_users/x0152532/valgrind/lib/valgrind
  17. --6299:1:main Getting launcher's name ...
  18. --6299:1:main ... /data/psi_omap_builds_users/x0152532/valgrind/bin/valgrind
  19. --6299:1:main Get hardware capabilities ...
  20. --6299:1:machine ARMv7 VFP 1 VFP2 1 VFP3 1 NEON 1
  21. --6299:1:main ... arch = ARM, hwcaps = ARMv7-vfp-neon
  22. --6299:1:main Getting the working directory at startup
  23. --6299:1:main ... /data
  24. --6299:1:main Split up command line
  25. --6299:1:main (early_) Process Valgrind's command line options
  26. --6299:1:main Create initial image
  27. --6299: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 0x0 = (0x0 - 0x0) + 0x0
  34. ******* DEBUG : end 0xb00083bc = (0xb0001000 - 0x0) + 0x73bc
  35. ******* DEBUG : end 0xb001269c = (0xb0009000 - 0x0) + 0x969c
  36. ******* DEBUG : case PT_LOAD(...)
  37. ******* DEBUG : case PT_LOAD(...)
  38. ******* DEBUG : interp_addr == 0, 0x0 0x1269c ANDROID
  39.  
  40. --6299:1:initimg Setup client env
  41. --6299:1:initimg Setup client stack: size will be 8388608
  42. --6299:1:initimg Setup client data (brk) segment
  43. --6299:1:main Setup file descriptors
  44. --6299:1:main Create fake /proc/<pid>/cmdline
  45. --6299:1:main Initialise the tool part 1 (pre_clo_init)
  46. --6299:1:mallocfr newSuperblock at 0x61B7B000 (pszB 1048560) owner VALGRIND/exectxt
  47. --6299:1:main Print help and quit, if requested
  48. --6299:1:main (main_) Process Valgrind's command line options, setup logging
  49. --6299:1:mallocfr newSuperblock at 0x61C7B000 (pszB 1048560) owner VALGRIND/core
  50. --6299:1:main Print the preamble...
  51. ==6299== Memcheck, a memory error detector
  52. ==6299== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al.
  53. ==6299== Using Valgrind-3.6.1 and LibVEX; rerun with -h for copyright info
  54. ==6299== Command: /data/hello-arm-bionic
  55. ==6299==
  56. --6299-- Valgrind options:
  57. --6299-- -d
  58. --6299-- -v
  59. --6299-- Contents of /proc/version:
  60. --6299-- 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
  61. --6299-- Arch and hwcaps: ARM, ARMv7-vfp-neon
  62. --6299-- Page sizes: currently 4096, max supported 4096
  63. --6299-- Valgrind library directory: /data/psi_omap_builds_users/x0152532/valgrind/lib/valgrind
  64. --6299:1:main ...finished the preamble
  65. --6299:1:main Initialise the tool part 2 (post_clo_init)
  66. --6299:1:main Initialise TT/TC
  67. --6299:1:main Initialise redirects
  68. --6299:1:mallocfr newSuperblock at 0x61DF6000 (pszB 1048560) owner VALGRIND/dinfo
  69. --6299:1:main Load initial debug info
  70. --6299-- Reading syms from /data/hello-arm-bionic (0x8000)
  71. --6299-- Reading syms from /data/psi_omap_builds_users/x0152532/valgrind/lib/valgrind/memcheck-arm-linux (0x38000000)
  72. --6299-- object doesn't have a dynamic symbol table
  73. --6299:1:mallocfr newSuperblock at 0x61EF6000 (pszB 1048560) owner VALGRIND/dinfo
  74. --6299:1:mallocfr newSuperblock at 0x61FF6000 (pszB 1048560) owner VALGRIND/dinfo
  75. --6299:1:mallocfr newSuperblock at 0x620F6000 (pszB 1048560) owner VALGRIND/dinfo
  76.  
  77. --6299:1:mallocfr newSuperblock at 0x621F6000 (pszB 2052080) owner VALGRIND/dinfo
  78. --6299:1:mallocfr newSuperblock at 0x623EB000 (pszB 4100080) owner VALGRIND/dinfo
  79. --6299-- Reading syms from /system/bin/linker (0xb4001000)
  80. --6299-- object doesn't have a symbol table
  81. --6299-- object doesn't have a dynamic symbol table
  82. --6299:1:redir transfer ownership V -> C of 0x38044000 .. 0x38044fff
  83. --6299:1:main Initialise scheduler (phase 1)
  84. --6299:1:sched sched_init_phase1
  85. --6299:1:main Tell tool about initial permissions
  86. --6299:1:main Initialise scheduler (phase 2)
  87. --6299:1:sched sched_init_phase2: tid_main=1, cls_end=0xbdef4fff, cls_sz=8388608
  88. --6299:1:main Finalise initial image
  89. --6299:1:main Initialise signal management
  90. --6299:1:main Load suppressions
  91. --6299-- Reading suppressions file: /data/psi_omap_builds_users/x0152532/valgrind/lib/valgrind/default.supp
  92. --6299:1:main
  93. --6299:1:main
  94. --6299:1:aspacem <<< SHOW_SEGMENTS: Memory layout at client startup (28 segments, 3 segnames)
  95. --6299:1:aspacem ( 0) /data/psi_omap_builds_users/x0152532/valgrind/lib/valgrind/memcheck-arm-linux
  96. --6299:1:aspacem ( 1) /data/hello-arm-bionic
  97. --6299:1:aspacem ( 2) /system/bin/linker
  98. --6299:1:aspacem 0: RSVN 0000000000-0000007fff 32768 ----- SmFixed
  99. --6299:1:aspacem 1: file 0000008000-0000008fff 4096 r-x-- d=0xb306 i=57 o=0 (1)
  100. --6299:1:aspacem 2: file 0000009000-0000009fff 4096 rw--- d=0xb306 i=57 o=4096 (1)
  101. --6299:1:aspacem 3: RSVN 000000a000-0003ffffff 63m ----- SmFixed
  102. --6299:1:aspacem 4: anon 0004000000-0004000fff 4096 rwx--
  103. --6299:1:aspacem 5: RSVN 0004001000-00047fffff 8384512 ----- SmLower
  104. --6299:1:aspacem 6: 0004800000-0037ffffff 824m
  105. --6299:1:aspacem 7: FILE 0038000000-0038043fff 278528 r-x-- d=0xb306 i=201 o=32768 (0)
  106. --6299:1:aspacem 8: file 0038044000-0038044fff 4096 r-x-- d=0xb306 i=201 o=311296 (0)
  107. --6299:1:aspacem 9: FILE 0038045000-0038231fff 2019328 r-x-- d=0xb306 i=201 o=315392 (0)
  108. --6299:1:aspacem 10: 0038232000-0038238fff 28672
  109. --6299:1:aspacem 11: FILE 0038239000-003823afff 8192 rw--- d=0xb306 i=201 o=2330624 (0)
  110. --6299:1:aspacem 12: ANON 003823b000-0038d2cfff 10m rw---
  111. --6299:1:aspacem 13: 0038d2d000-0061779fff 650m
  112. --6299:1:aspacem 14: RSVN 006177a000-006177afff 4096 ----- SmFixed
  113. --6299:1:aspacem 15: ANON 006177b000-00627effff 16m rwx--
  114. --6299:1:aspacem 16: 00627f0000-00b4000fff 1304m
  115. --6299:1:aspacem 17: file 00b4001000-00b4008fff 32768 r-x-- d=0xb304 i=151 o=4096 (2)
  116. --6299:1:aspacem 18: file 00b4009000-00b4009fff 4096 rw--- d=0xb304 i=151 o=36864 (2)
  117. --6299:1:aspacem 19: anon 00b400a000-00b4012fff 36864 rw---
  118. --6299:1:aspacem 20: 00b4013000-00bd6f4fff 150m
  119. --6299:1:aspacem 21: RSVN 00bd6f5000-00bdef3fff 8384512 ----- SmUpper
  120. --6299:1:aspacem 22: anon 00bdef4000-00bdef4fff 4096 rwx--
  121. --6299:1:aspacem 23: 00bdef5000-00beed3fff 15m
  122. --6299:1:aspacem 24: ANON 00beed4000-00beef4fff 135168 rw---
  123. --6299:1:aspacem 25: RSVN 00beef5000-00fffeffff 1040m ----- SmFixed
  124. --6299:1:aspacem 26: anon 00ffff0000-00ffff0fff 4096 r-x--
  125. --6299:1:aspacem 27: RSVN 00ffff1000-00ffffffff 61440 ----- SmFixed
  126. --6299:1:aspacem >>>
  127. --6299:1:main
  128. --6299:1:main
  129. --6299:1:main Running thread 1
  130. --6299:1:syswrap- entering VG_(main_thread_wrapper_NORETURN)
  131. --6299:1:aspacem allocated thread stack at 0x627f0000 size 1064960
  132. --6299:1:syswrap- run_a_thread_NORETURN(tid=1): pre-thread_wrapper
  133. --6299:1:syswrap- thread_wrapper(tid=1): entry
  134. --6299:1:transtab allocate sector 0
  135. --6299:1:mallocfr newSuperblock at 0x64506000 (pszB 65520) owner VALGRIND/ttaux
  136. --6299:1:mallocfr newSuperblock at 0x64516000 (pszB 65520) owner VALGRIND/errors
  137. ==6299== Invalid read of size 4
  138. ==6299== at 0xB4004E02: ??? (in /system/bin/linker)
  139. ==6299== Address 0xb0012570 is not stack'd, malloc'd or (recently) free'd
  140. ==6299==
  141. ==6299==
  142. ==6299== Process terminating with default action of signal 11 (SIGSEGV)
  143. ==6299== Access not within mapped region at address 0xB0012570
  144. ==6299== at 0xB4004E02: ??? (in /system/bin/linker)
  145. ==6299== If you believe this happened as a result of a stack
  146. ==6299== overflow in your program's main thread (unlikely but
  147. ==6299== possible), you can try to increase the size of the
  148. ==6299== main thread stack using the --main-stacksize= flag.
  149. ==6299== The main thread stack size used in this run was 8388608.
  150. --6299:1:syswrap- thread_wrapper(tid=1): exit
  151. --6299:1:syswrap- run_a_thread_NORETURN(tid=1): post-thread_wrapper
  152. --6299:1:syswrap- run_a_thread_NORETURN(tid=1): last one standing
  153. --6299:1:main entering VG_(shutdown_actions_NORETURN)
  154. --6299:1:aspacem <<< SHOW_SEGMENTS: Memory layout at client shutdown (32 segments, 3 segnames)
  155. --6299:1:aspacem ( 0) /data/psi_omap_builds_users/x0152532/valgrind/lib/valgrind/memcheck-arm-linux
  156. --6299:1:aspacem ( 1) /data/hello-arm-bionic
  157. --6299:1:aspacem ( 2) /system/bin/linker
  158. --6299:1:aspacem 0: RSVN 0000000000-0000007fff 32768 ----- SmFixed
  159. --6299:1:aspacem 1: file 0000008000-0000008fff 4096 r-x-- d=0xb306 i=57 o=0 (1)
  160. --6299:1:aspacem 2: file 0000009000-0000009fff 4096 rw--- d=0xb306 i=57 o=4096 (1)
  161. --6299:1:aspacem 3: RSVN 000000a000-0003ffffff 63m ----- SmFixed
  162. --6299:1:aspacem 4: anon 0004000000-0004000fff 4096 rwx--
  163. --6299:1:aspacem 5: RSVN 0004001000-00047fffff 8384512 ----- SmLower
  164. --6299:1:aspacem 6: 0004800000-0037ffffff 824m
  165. --6299:1:aspacem 7: FILE 0038000000-0038043fff 278528 r-x-- d=0xb306 i=201 o=32768 (0)
  166. --6299:1:aspacem 8: file 0038044000-0038044fff 4096 r-x-- d=0xb306 i=201 o=311296 (0)
  167. --6299:1:aspacem 9: FILE 0038045000-0038231fff 2019328 r-x-- d=0xb306 i=201 o=315392 (0)
  168. --6299:1:aspacem 10: 0038232000-0038238fff 28672
  169. --6299:1:aspacem 11: FILE 0038239000-003823afff 8192 rw--- d=0xb306 i=201 o=2330624 (0)
  170. --6299:1:aspacem 12: ANON 003823b000-0038d2cfff 10m rw---
  171. --6299:1:aspacem 13: 0038d2d000-0061779fff 650m
  172. --6299:1:aspacem 14: RSVN 006177a000-006177afff 4096 ----- SmFixed
  173. --6299:1:aspacem 15: ANON 006177b000-00627effff 16m rwx--
  174. --6299:1:aspacem 16: ANON 00627f0000-00627f1fff 8192 -----
  175. --6299:1:aspacem 17: ANON 00627f2000-00628f1fff 1048576 rwx--
  176. --6299:1:aspacem 18: ANON 00628f2000-00628f3fff 8192 -----
  177. --6299:1:aspacem 19: ANON 00628f4000-0064525fff 28m rwx--
  178. --6299:1:aspacem 20: 0064526000-00b4000fff 1274m
  179. --6299:1:aspacem 21: file 00b4001000-00b4008fff 32768 r-xT- d=0xb304 i=151 o=4096 (2)
  180. --6299:1:aspacem 22: file 00b4009000-00b4009fff 4096 rw--- d=0xb304 i=151 o=36864 (2)
  181. --6299:1:aspacem 23: anon 00b400a000-00b4012fff 36864 rw---
  182. --6299:1:aspacem 24: 00b4013000-00bd6f4fff 150m
  183. --6299:1:aspacem 25: RSVN 00bd6f5000-00bdef3fff 8384512 ----- SmUpper
  184. --6299:1:aspacem 26: anon 00bdef4000-00bdef4fff 4096 rwx--
  185. --6299:1:aspacem 27: 00bdef5000-00beed3fff 15m
  186. --6299:1:aspacem 28: ANON 00beed4000-00beef4fff 135168 rw---
  187. --6299:1:aspacem 29: RSVN 00beef5000-00fffeffff 1040m ----- SmFixed
  188. --6299:1:aspacem 30: anon 00ffff0000-00ffff0fff 4096 r-x--
  189. --6299:1:aspacem 31: RSVN 00ffff1000-00ffffffff 61440 ----- SmFixed
  190. --6299:1:aspacem >>>
  191. ==6299==
  192. ==6299== HEAP SUMMARY:
  193. ==6299== in use at exit: 0 bytes in 0 blocks
  194. ==6299== total heap usage: 0 allocs, 0 frees, 0 bytes allocated
  195. ==6299==
  196. ==6299== All heap blocks were freed -- no leaks are possible
  197. ==6299==
  198. ==6299== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
  199. ==6299==
  200. ==6299== 1 errors in context 1 of 1:
  201. ==6299== Invalid read of size 4
  202. ==6299== at 0xB4004E02: ??? (in /system/bin/linker)
  203. ==6299== Address 0xb0012570 is not stack'd, malloc'd or (recently) free'd
  204. ==6299==
  205. ==6299== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
  206. --6299:1:core_os VG_(terminate_NORETURN)(tid=1)
  207. Segmentation fault
Advertisement
Add Comment
Please, Sign In to add comment