Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /data # valgrind -d -v /data/hello-arm-bionic
- --6299:1:debuglog DebugLog system started by Stage 1, level 1 logging requested
- --6299:1:launcher no tool requested, defaulting to 'memcheck'
- --6299:1:launcher selected platform 'arm-linux'
- --6299:1:launcher launching /data/psi_omap_builds_users/x0152532/valgrind/lib/valgrind/memcheck-arm-linux
- --6299:1:debuglog DebugLog system started by Stage 2 (main), level 1 logging requested
- --6299:1:main Welcome to Valgrind version 3.6.1 debug logging
- --6299:1:main Checking current stack is plausible
- --6299:1:main Checking initial stack was noted
- --6299:1:main Starting the address space manager
- --6299:1:main Address space manager is running
- --6299:1:main Starting the dynamic memory manager
- --6299:1:mallocfr newSuperblock at 0x6177B000 (pszB 4194288) owner VALGRIND/tool
- --6299:1:main Dynamic memory manager is running
- --6299:1:main Initialise m_debuginfo
- --6299:1:main VG_(libdir) = /data/psi_omap_builds_users/x0152532/valgrind/lib/valgrind
- --6299:1:main Getting launcher's name ...
- --6299:1:main ... /data/psi_omap_builds_users/x0152532/valgrind/bin/valgrind
- --6299:1:main Get hardware capabilities ...
- --6299:1:machine ARMv7 VFP 1 VFP2 1 VFP3 1 NEON 1
- --6299:1:main ... arch = ARM, hwcaps = ARMv7-vfp-neon
- --6299:1:main Getting the working directory at startup
- --6299:1:main ... /data
- --6299:1:main Split up command line
- --6299:1:main (early_) Process Valgrind's command line options
- --6299:1:main Create initial image
- --6299:1:initimg Loading client
- ******* DEBUG : inside readelf(...) fd = 3 filename = /data/hello-arm-bionic
- ******* DEBUG : case PT_PHDR(...)
- ******* DEBUG : case PT_INTERP(...)
- ******* DEBUG : inside readelf(...) fd = 4 filename = /system/bin/linker
- ******* DEBUG : interp->e.e_phnum = 0x5
- ******* DEBUG : end 0x0 = (0x0 - 0x0) + 0x0
- ******* DEBUG : end 0xb00083bc = (0xb0001000 - 0x0) + 0x73bc
- ******* DEBUG : end 0xb001269c = (0xb0009000 - 0x0) + 0x969c
- ******* DEBUG : case PT_LOAD(...)
- ******* DEBUG : case PT_LOAD(...)
- ******* DEBUG : interp_addr == 0, 0x0 0x1269c ANDROID
- --6299:1:initimg Setup client env
- --6299:1:initimg Setup client stack: size will be 8388608
- --6299:1:initimg Setup client data (brk) segment
- --6299:1:main Setup file descriptors
- --6299:1:main Create fake /proc/<pid>/cmdline
- --6299:1:main Initialise the tool part 1 (pre_clo_init)
- --6299:1:mallocfr newSuperblock at 0x61B7B000 (pszB 1048560) owner VALGRIND/exectxt
- --6299:1:main Print help and quit, if requested
- --6299:1:main (main_) Process Valgrind's command line options, setup logging
- --6299:1:mallocfr newSuperblock at 0x61C7B000 (pszB 1048560) owner VALGRIND/core
- --6299:1:main Print the preamble...
- ==6299== Memcheck, a memory error detector
- ==6299== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al.
- ==6299== Using Valgrind-3.6.1 and LibVEX; rerun with -h for copyright info
- ==6299== Command: /data/hello-arm-bionic
- ==6299==
- --6299-- Valgrind options:
- --6299-- -d
- --6299-- -v
- --6299-- Contents of /proc/version:
- --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
- --6299-- Arch and hwcaps: ARM, ARMv7-vfp-neon
- --6299-- Page sizes: currently 4096, max supported 4096
- --6299-- Valgrind library directory: /data/psi_omap_builds_users/x0152532/valgrind/lib/valgrind
- --6299:1:main ...finished the preamble
- --6299:1:main Initialise the tool part 2 (post_clo_init)
- --6299:1:main Initialise TT/TC
- --6299:1:main Initialise redirects
- --6299:1:mallocfr newSuperblock at 0x61DF6000 (pszB 1048560) owner VALGRIND/dinfo
- --6299:1:main Load initial debug info
- --6299-- Reading syms from /data/hello-arm-bionic (0x8000)
- --6299-- Reading syms from /data/psi_omap_builds_users/x0152532/valgrind/lib/valgrind/memcheck-arm-linux (0x38000000)
- --6299-- object doesn't have a dynamic symbol table
- --6299:1:mallocfr newSuperblock at 0x61EF6000 (pszB 1048560) owner VALGRIND/dinfo
- --6299:1:mallocfr newSuperblock at 0x61FF6000 (pszB 1048560) owner VALGRIND/dinfo
- --6299:1:mallocfr newSuperblock at 0x620F6000 (pszB 1048560) owner VALGRIND/dinfo
- --6299:1:mallocfr newSuperblock at 0x621F6000 (pszB 2052080) owner VALGRIND/dinfo
- --6299:1:mallocfr newSuperblock at 0x623EB000 (pszB 4100080) owner VALGRIND/dinfo
- --6299-- Reading syms from /system/bin/linker (0xb4001000)
- --6299-- object doesn't have a symbol table
- --6299-- object doesn't have a dynamic symbol table
- --6299:1:redir transfer ownership V -> C of 0x38044000 .. 0x38044fff
- --6299:1:main Initialise scheduler (phase 1)
- --6299:1:sched sched_init_phase1
- --6299:1:main Tell tool about initial permissions
- --6299:1:main Initialise scheduler (phase 2)
- --6299:1:sched sched_init_phase2: tid_main=1, cls_end=0xbdef4fff, cls_sz=8388608
- --6299:1:main Finalise initial image
- --6299:1:main Initialise signal management
- --6299:1:main Load suppressions
- --6299-- Reading suppressions file: /data/psi_omap_builds_users/x0152532/valgrind/lib/valgrind/default.supp
- --6299:1:main
- --6299:1:main
- --6299:1:aspacem <<< SHOW_SEGMENTS: Memory layout at client startup (28 segments, 3 segnames)
- --6299:1:aspacem ( 0) /data/psi_omap_builds_users/x0152532/valgrind/lib/valgrind/memcheck-arm-linux
- --6299:1:aspacem ( 1) /data/hello-arm-bionic
- --6299:1:aspacem ( 2) /system/bin/linker
- --6299:1:aspacem 0: RSVN 0000000000-0000007fff 32768 ----- SmFixed
- --6299:1:aspacem 1: file 0000008000-0000008fff 4096 r-x-- d=0xb306 i=57 o=0 (1)
- --6299:1:aspacem 2: file 0000009000-0000009fff 4096 rw--- d=0xb306 i=57 o=4096 (1)
- --6299:1:aspacem 3: RSVN 000000a000-0003ffffff 63m ----- SmFixed
- --6299:1:aspacem 4: anon 0004000000-0004000fff 4096 rwx--
- --6299:1:aspacem 5: RSVN 0004001000-00047fffff 8384512 ----- SmLower
- --6299:1:aspacem 6: 0004800000-0037ffffff 824m
- --6299:1:aspacem 7: FILE 0038000000-0038043fff 278528 r-x-- d=0xb306 i=201 o=32768 (0)
- --6299:1:aspacem 8: file 0038044000-0038044fff 4096 r-x-- d=0xb306 i=201 o=311296 (0)
- --6299:1:aspacem 9: FILE 0038045000-0038231fff 2019328 r-x-- d=0xb306 i=201 o=315392 (0)
- --6299:1:aspacem 10: 0038232000-0038238fff 28672
- --6299:1:aspacem 11: FILE 0038239000-003823afff 8192 rw--- d=0xb306 i=201 o=2330624 (0)
- --6299:1:aspacem 12: ANON 003823b000-0038d2cfff 10m rw---
- --6299:1:aspacem 13: 0038d2d000-0061779fff 650m
- --6299:1:aspacem 14: RSVN 006177a000-006177afff 4096 ----- SmFixed
- --6299:1:aspacem 15: ANON 006177b000-00627effff 16m rwx--
- --6299:1:aspacem 16: 00627f0000-00b4000fff 1304m
- --6299:1:aspacem 17: file 00b4001000-00b4008fff 32768 r-x-- d=0xb304 i=151 o=4096 (2)
- --6299:1:aspacem 18: file 00b4009000-00b4009fff 4096 rw--- d=0xb304 i=151 o=36864 (2)
- --6299:1:aspacem 19: anon 00b400a000-00b4012fff 36864 rw---
- --6299:1:aspacem 20: 00b4013000-00bd6f4fff 150m
- --6299:1:aspacem 21: RSVN 00bd6f5000-00bdef3fff 8384512 ----- SmUpper
- --6299:1:aspacem 22: anon 00bdef4000-00bdef4fff 4096 rwx--
- --6299:1:aspacem 23: 00bdef5000-00beed3fff 15m
- --6299:1:aspacem 24: ANON 00beed4000-00beef4fff 135168 rw---
- --6299:1:aspacem 25: RSVN 00beef5000-00fffeffff 1040m ----- SmFixed
- --6299:1:aspacem 26: anon 00ffff0000-00ffff0fff 4096 r-x--
- --6299:1:aspacem 27: RSVN 00ffff1000-00ffffffff 61440 ----- SmFixed
- --6299:1:aspacem >>>
- --6299:1:main
- --6299:1:main
- --6299:1:main Running thread 1
- --6299:1:syswrap- entering VG_(main_thread_wrapper_NORETURN)
- --6299:1:aspacem allocated thread stack at 0x627f0000 size 1064960
- --6299:1:syswrap- run_a_thread_NORETURN(tid=1): pre-thread_wrapper
- --6299:1:syswrap- thread_wrapper(tid=1): entry
- --6299:1:transtab allocate sector 0
- --6299:1:mallocfr newSuperblock at 0x64506000 (pszB 65520) owner VALGRIND/ttaux
- --6299:1:mallocfr newSuperblock at 0x64516000 (pszB 65520) owner VALGRIND/errors
- ==6299== Invalid read of size 4
- ==6299== at 0xB4004E02: ??? (in /system/bin/linker)
- ==6299== Address 0xb0012570 is not stack'd, malloc'd or (recently) free'd
- ==6299==
- ==6299==
- ==6299== Process terminating with default action of signal 11 (SIGSEGV)
- ==6299== Access not within mapped region at address 0xB0012570
- ==6299== at 0xB4004E02: ??? (in /system/bin/linker)
- ==6299== If you believe this happened as a result of a stack
- ==6299== overflow in your program's main thread (unlikely but
- ==6299== possible), you can try to increase the size of the
- ==6299== main thread stack using the --main-stacksize= flag.
- ==6299== The main thread stack size used in this run was 8388608.
- --6299:1:syswrap- thread_wrapper(tid=1): exit
- --6299:1:syswrap- run_a_thread_NORETURN(tid=1): post-thread_wrapper
- --6299:1:syswrap- run_a_thread_NORETURN(tid=1): last one standing
- --6299:1:main entering VG_(shutdown_actions_NORETURN)
- --6299:1:aspacem <<< SHOW_SEGMENTS: Memory layout at client shutdown (32 segments, 3 segnames)
- --6299:1:aspacem ( 0) /data/psi_omap_builds_users/x0152532/valgrind/lib/valgrind/memcheck-arm-linux
- --6299:1:aspacem ( 1) /data/hello-arm-bionic
- --6299:1:aspacem ( 2) /system/bin/linker
- --6299:1:aspacem 0: RSVN 0000000000-0000007fff 32768 ----- SmFixed
- --6299:1:aspacem 1: file 0000008000-0000008fff 4096 r-x-- d=0xb306 i=57 o=0 (1)
- --6299:1:aspacem 2: file 0000009000-0000009fff 4096 rw--- d=0xb306 i=57 o=4096 (1)
- --6299:1:aspacem 3: RSVN 000000a000-0003ffffff 63m ----- SmFixed
- --6299:1:aspacem 4: anon 0004000000-0004000fff 4096 rwx--
- --6299:1:aspacem 5: RSVN 0004001000-00047fffff 8384512 ----- SmLower
- --6299:1:aspacem 6: 0004800000-0037ffffff 824m
- --6299:1:aspacem 7: FILE 0038000000-0038043fff 278528 r-x-- d=0xb306 i=201 o=32768 (0)
- --6299:1:aspacem 8: file 0038044000-0038044fff 4096 r-x-- d=0xb306 i=201 o=311296 (0)
- --6299:1:aspacem 9: FILE 0038045000-0038231fff 2019328 r-x-- d=0xb306 i=201 o=315392 (0)
- --6299:1:aspacem 10: 0038232000-0038238fff 28672
- --6299:1:aspacem 11: FILE 0038239000-003823afff 8192 rw--- d=0xb306 i=201 o=2330624 (0)
- --6299:1:aspacem 12: ANON 003823b000-0038d2cfff 10m rw---
- --6299:1:aspacem 13: 0038d2d000-0061779fff 650m
- --6299:1:aspacem 14: RSVN 006177a000-006177afff 4096 ----- SmFixed
- --6299:1:aspacem 15: ANON 006177b000-00627effff 16m rwx--
- --6299:1:aspacem 16: ANON 00627f0000-00627f1fff 8192 -----
- --6299:1:aspacem 17: ANON 00627f2000-00628f1fff 1048576 rwx--
- --6299:1:aspacem 18: ANON 00628f2000-00628f3fff 8192 -----
- --6299:1:aspacem 19: ANON 00628f4000-0064525fff 28m rwx--
- --6299:1:aspacem 20: 0064526000-00b4000fff 1274m
- --6299:1:aspacem 21: file 00b4001000-00b4008fff 32768 r-xT- d=0xb304 i=151 o=4096 (2)
- --6299:1:aspacem 22: file 00b4009000-00b4009fff 4096 rw--- d=0xb304 i=151 o=36864 (2)
- --6299:1:aspacem 23: anon 00b400a000-00b4012fff 36864 rw---
- --6299:1:aspacem 24: 00b4013000-00bd6f4fff 150m
- --6299:1:aspacem 25: RSVN 00bd6f5000-00bdef3fff 8384512 ----- SmUpper
- --6299:1:aspacem 26: anon 00bdef4000-00bdef4fff 4096 rwx--
- --6299:1:aspacem 27: 00bdef5000-00beed3fff 15m
- --6299:1:aspacem 28: ANON 00beed4000-00beef4fff 135168 rw---
- --6299:1:aspacem 29: RSVN 00beef5000-00fffeffff 1040m ----- SmFixed
- --6299:1:aspacem 30: anon 00ffff0000-00ffff0fff 4096 r-x--
- --6299:1:aspacem 31: RSVN 00ffff1000-00ffffffff 61440 ----- SmFixed
- --6299:1:aspacem >>>
- ==6299==
- ==6299== HEAP SUMMARY:
- ==6299== in use at exit: 0 bytes in 0 blocks
- ==6299== total heap usage: 0 allocs, 0 frees, 0 bytes allocated
- ==6299==
- ==6299== All heap blocks were freed -- no leaks are possible
- ==6299==
- ==6299== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
- ==6299==
- ==6299== 1 errors in context 1 of 1:
- ==6299== Invalid read of size 4
- ==6299== at 0xB4004E02: ??? (in /system/bin/linker)
- ==6299== Address 0xb0012570 is not stack'd, malloc'd or (recently) free'd
- ==6299==
- ==6299== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
- --6299:1:core_os VG_(terminate_NORETURN)(tid=1)
- Segmentation fault
Advertisement
Add Comment
Please, Sign In to add comment