Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /data # valgrind -d -v /data/hello-arm-bionic
- --6854:1:debuglog DebugLog system started by Stage 1, level 1 logging requested
- --6854:1:launcher no tool requested, defaulting to 'memcheck'
- --6854:1:launcher selected platform 'arm-linux'
- --6854:1:launcher launching /data/psi_omap_builds_users/x0152532/valgrind/lib/valgrind/memcheck-arm-linux
- --6854:1:debuglog DebugLog system started by Stage 2 (main), level 1 logging requested
- --6854:1:main Welcome to Valgrind version 3.6.1 debug logging
- --6854:1:main Checking current stack is plausible
- --6854:1:main Checking initial stack was noted
- --6854:1:main Starting the address space manager
- --6854:1:main Address space manager is running
- --6854:1:main Starting the dynamic memory manager
- --6854:1:mallocfr newSuperblock at 0x6179A000 (pszB 4194288) owner VALGRIND/tool
- --6854:1:main Dynamic memory manager is running
- --6854:1:main Initialise m_debuginfo
- --6854:1:main VG_(libdir) = /data/psi_omap_builds_users/x0152532/valgrind/lib/valgrind
- --6854:1:main Getting launcher's name ...
- --6854:1:main ... /data/psi_omap_builds_users/x0152532/valgrind/bin/valgrind
- --6854:1:main Get hardware capabilities ...
- --6854:1:machine ARMv7 VFP 1 VFP2 1 VFP3 1 NEON 1
- --6854:1:main ... arch = ARM, hwcaps = ARMv7-vfp-neon
- --6854:1:main Getting the working directory at startup
- --6854:1:main ... /data
- --6854:1:main Split up command line
- --6854:1:main (early_) Process Valgrind's command line options
- --6854:1:main Create initial image
- --6854: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 0x73bc = (0xb0001000 - 0xb0001000) + 0x73bc
- ******* DEBUG : end 0x1169c = (0xb0009000 - 0xb0001000) + 0x969c
- ******* DEBUG : case PT_LOAD(...)
- ******* DEBUG : case PT_LOAD(...)
- ******* DEBUG : interp_addr != 0, 0xb0001000 0x1169c
- --6854:1:initimg Setup client env
- --6854:1:initimg Setup client stack: size will be 8388608
- --6854:1:initimg Setup client data (brk) segment
- --6854:1:main Setup file descriptors
- --6854:1:main Create fake /proc/<pid>/cmdline
- --6854:1:main Initialise the tool part 1 (pre_clo_init)
- --6854:1:mallocfr newSuperblock at 0x61B9A000 (pszB 1048560) owner VALGRIND/exectxt
- --6854:1:main Print help and quit, if requested
- --6854:1:main (main_) Process Valgrind's command line options, setup logging
- --6854:1:mallocfr newSuperblock at 0x61C9A000 (pszB 1048560) owner VALGRIND/core
- --6854:1:main Print the preamble...
- ==6854== Memcheck, a memory error detector
- ==6854== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al.
- ==6854== Using Valgrind-3.6.1 and LibVEX; rerun with -h for copyright info
- ==6854== Command: /data/hello-arm-bionic
- ==6854==
- --6854-- Valgrind options:
- --6854-- -d
- --6854-- -v
- --6854-- Contents of /proc/version:
- --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
- --6854-- Arch and hwcaps: ARM, ARMv7-vfp-neon
- --6854-- Page sizes: currently 4096, max supported 4096
- --6854-- Valgrind library directory: /data/psi_omap_builds_users/x0152532/valgrind/lib/valgrind
- --6854:1:main ...finished the preamble
- --6854:1:main Initialise the tool part 2 (post_clo_init)
- --6854:1:main Initialise TT/TC
- --6854:1:main Initialise redirects
- --6854:1:mallocfr newSuperblock at 0x61E15000 (pszB 1048560) owner VALGRIND/dinfo
- --6854:1:main Load initial debug info
- --6854-- Reading syms from /data/hello-arm-bionic (0x8000)
- --6854-- Reading syms from /data/psi_omap_builds_users/x0152532/valgrind/lib/valgrind/memcheck-arm-linux (0x38000000)
- --6854-- object doesn't have a dynamic symbol table
- --6854:1:mallocfr newSuperblock at 0x61F15000 (pszB 1048560) owner VALGRIND/dinfo
- --6854:1:mallocfr newSuperblock at 0x62015000 (pszB 1048560) owner VALGRIND/dinfo
- --6854:1:mallocfr newSuperblock at 0x62115000 (pszB 1048560) owner VALGRIND/dinfo
- --6854:1:mallocfr newSuperblock at 0x62215000 (pszB 2052080) owner VALGRIND/dinfo
- --6854:1:mallocfr newSuperblock at 0x6240A000 (pszB 4100080) owner VALGRIND/dinfo
- --6854-- Reading syms from /system/bin/linker (0xb0001000)
- --6854-- object doesn't have a symbol table
- --6854-- object doesn't have a dynamic symbol table
- --6854:1:redir transfer ownership V -> C of 0x38044000 .. 0x38044fff
- --6854:1:main Initialise scheduler (phase 1)
- --6854:1:sched sched_init_phase1
- --6854:1:main Tell tool about initial permissions
- --6854:1:main Initialise scheduler (phase 2)
- --6854:1:sched sched_init_phase2: tid_main=1, cls_end=0xbdf32fff, cls_sz=8388608
- --6854:1:main Finalise initial image
- --6854:1:main Initialise signal management
- --6854:1:main Load suppressions
- --6854-- Reading suppressions file: /data/psi_omap_builds_users/x0152532/valgrind/lib/valgrind/default.supp
- --6854:1:main
- --6854:1:main
- --6854:1:aspacem <<< SHOW_SEGMENTS: Memory layout at client startup (28 segments, 3 segnames)
- --6854:1:aspacem ( 0) /data/psi_omap_builds_users/x0152532/valgrind/lib/valgrind/memcheck-arm-linux
- --6854:1:aspacem ( 1) /data/hello-arm-bionic
- --6854:1:aspacem ( 2) /system/bin/linker
- --6854:1:aspacem 0: RSVN 0000000000-0000007fff 32768 ----- SmFixed
- --6854:1:aspacem 1: file 0000008000-0000008fff 4096 r-x-- d=0xb306 i=57 o=0 (1)
- --6854:1:aspacem 2: file 0000009000-0000009fff 4096 rw--- d=0xb306 i=57 o=4096 (1)
- --6854:1:aspacem 3: RSVN 000000a000-0003ffffff 63m ----- SmFixed
- --6854:1:aspacem 4: anon 0004000000-0004000fff 4096 rwx--
- --6854:1:aspacem 5: RSVN 0004001000-00047fffff 8384512 ----- SmLower
- --6854:1:aspacem 6: 0004800000-0037ffffff 824m
- --6854:1:aspacem 7: FILE 0038000000-0038043fff 278528 r-x-- d=0xb306 i=201 o=32768 (0)
- --6854:1:aspacem 8: file 0038044000-0038044fff 4096 r-x-- d=0xb306 i=201 o=311296 (0)
- --6854:1:aspacem 9: FILE 0038045000-0038231fff 2019328 r-x-- d=0xb306 i=201 o=315392 (0)
- --6854:1:aspacem 10: 0038232000-0038238fff 28672
- --6854:1:aspacem 11: FILE 0038239000-003823afff 8192 rw--- d=0xb306 i=201 o=2330624 (0)
- --6854:1:aspacem 12: ANON 003823b000-0038d2cfff 10m rw---
- --6854:1:aspacem 13: 0038d2d000-0061798fff 650m
- --6854:1:aspacem 14: RSVN 0061799000-0061799fff 4096 ----- SmFixed
- --6854:1:aspacem 15: ANON 006179a000-006280efff 16m rwx--
- --6854:1:aspacem 16: 006280f000-00b0000fff 1239m
- --6854:1:aspacem 17: file 00b0001000-00b0008fff 32768 r-x-- d=0xb304 i=151 o=4096 (2)
- --6854:1:aspacem 18: file 00b0009000-00b0009fff 4096 rw--- d=0xb304 i=151 o=36864 (2)
- --6854:1:aspacem 19: anon 00b000a000-00b0012fff 36864 rw---
- --6854:1:aspacem 20: 00b0013000-00bd732fff 215m
- --6854:1:aspacem 21: RSVN 00bd733000-00bdf31fff 8384512 ----- SmUpper
- --6854:1:aspacem 22: anon 00bdf32000-00bdf32fff 4096 rwx--
- --6854:1:aspacem 23: 00bdf33000-00bef11fff 15m
- --6854:1:aspacem 24: ANON 00bef12000-00bef32fff 135168 rw---
- --6854:1:aspacem 25: RSVN 00bef33000-00fffeffff 1040m ----- SmFixed
- --6854:1:aspacem 26: anon 00ffff0000-00ffff0fff 4096 r-x--
- --6854:1:aspacem 27: RSVN 00ffff1000-00ffffffff 61440 ----- SmFixed
- --6854:1:aspacem >>>
- --6854:1:main
- --6854:1:main
- --6854:1:main Running thread 1
- --6854:1:syswrap- entering VG_(main_thread_wrapper_NORETURN)
- --6854:1:aspacem allocated thread stack at 0x6280f000 size 1064960
- --6854:1:syswrap- run_a_thread_NORETURN(tid=1): pre-thread_wrapper
- --6854:1:syswrap- thread_wrapper(tid=1): entry
- --6854:1:transtab allocate sector 0
- --6854:1:mallocfr newSuperblock at 0x64525000 (pszB 65520) owner VALGRIND/ttaux
- --6854-- Reading syms from /data/psi_omap_builds_users/x0152532/valgrind/lib/valgrind/vgpreload_core-arm-linux.so (0x80000000)
- --6854:1:mallocfr newSuperblock at 0x64539000 (pszB 65520) owner VALGRIND/errors
- ==6854== Conditional jump or move depends on uninitialised value(s)
- ==6854== at 0xB0005B04: ??? (in /system/bin/linker)
- ==6854==
- ==6854== Conditional jump or move depends on uninitialised value(s)
- ==6854== at 0xB0005B08: ??? (in /system/bin/linker)
- ==6854==
- --6854-- Discarding syms at 0x80000400-0x8000059c in /data/psi_omap_builds_users/x0152532/valgrind/lib/valgrind/vgpreload_core-arm-linux.so due to munmap()
- 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'...
- )CANNOT LINK EXECUTABLE
- --6854:1:syswrap- thread_wrapper(tid=1): exit
- --6854:1:syswrap- run_a_thread_NORETURN(tid=1): post-thread_wrapper
- --6854:1:syswrap- run_a_thread_NORETURN(tid=1): last one standing
- --6854:1:main entering VG_(shutdown_actions_NORETURN)
- --6854:1:aspacem <<< SHOW_SEGMENTS: Memory layout at client shutdown (32 segments, 4 segnames)
- --6854:1:aspacem ( 0) /data/psi_omap_builds_users/x0152532/valgrind/lib/valgrind/memcheck-arm-linux
- --6854:1:aspacem ( 1) /data/hello-arm-bionic
- --6854:1:aspacem ( 2) /system/bin/linker
- --6854:1:aspacem 0: RSVN 0000000000-0000007fff 32768 ----- SmFixed
- --6854:1:aspacem 1: file 0000008000-0000008fff 4096 r-x-- d=0xb306 i=57 o=0 (1)
- --6854:1:aspacem 2: file 0000009000-0000009fff 4096 rw--- d=0xb306 i=57 o=4096 (1)
- --6854:1:aspacem 3: RSVN 000000a000-0003ffffff 63m ----- SmFixed
- --6854:1:aspacem 4: anon 0004000000-0004000fff 4096 rwx--
- --6854:1:aspacem 5: RSVN 0004001000-00047fffff 8384512 ----- SmLower
- --6854:1:aspacem 6: 0004800000-0037ffffff 824m
- --6854:1:aspacem 7: FILE 0038000000-0038043fff 278528 r-x-- d=0xb306 i=201 o=32768 (0)
- --6854:1:aspacem 8: file 0038044000-0038044fff 4096 r-x-- d=0xb306 i=201 o=311296 (0)
- --6854:1:aspacem 9: FILE 0038045000-0038231fff 2019328 r-x-- d=0xb306 i=201 o=315392 (0)
- --6854:1:aspacem 10: 0038232000-0038238fff 28672
- --6854:1:aspacem 11: FILE 0038239000-003823afff 8192 rw--- d=0xb306 i=201 o=2330624 (0)
- --6854:1:aspacem 12: ANON 003823b000-0038d2cfff 10m rw---
- --6854:1:aspacem 13: 0038d2d000-0061798fff 650m
- --6854:1:aspacem 14: RSVN 0061799000-0061799fff 4096 ----- SmFixed
- --6854:1:aspacem 15: ANON 006179a000-006280efff 16m rwx--
- --6854:1:aspacem 16: ANON 006280f000-0062810fff 8192 -----
- --6854:1:aspacem 17: ANON 0062811000-0062910fff 1048576 rwx--
- --6854:1:aspacem 18: ANON 0062911000-0062912fff 8192 -----
- --6854:1:aspacem 19: ANON 0062913000-0064548fff 28m rwx--
- --6854:1:aspacem 20: 0064549000-00b0000fff 1210m
- --6854:1:aspacem 21: file 00b0001000-00b0008fff 32768 r-xT- d=0xb304 i=151 o=4096 (2)
- --6854:1:aspacem 22: file 00b0009000-00b0009fff 4096 rw--- d=0xb304 i=151 o=36864 (2)
- --6854:1:aspacem 23: anon 00b000a000-00b0012fff 36864 rw---
- --6854:1:aspacem 24: 00b0013000-00bd732fff 215m
- --6854:1:aspacem 25: RSVN 00bd733000-00bdf31fff 8384512 ----- SmUpper
- --6854:1:aspacem 26: anon 00bdf32000-00bdf32fff 4096 rwx--
- --6854:1:aspacem 27: 00bdf33000-00bef11fff 15m
- --6854:1:aspacem 28: ANON 00bef12000-00bef32fff 135168 rw---
- --6854:1:aspacem 29: RSVN 00bef33000-00fffeffff 1040m ----- SmFixed
- --6854:1:aspacem 30: anon 00ffff0000-00ffff0fff 4096 r-x--
- --6854:1:aspacem 31: RSVN 00ffff1000-00ffffffff 61440 ----- SmFixed
- --6854:1:aspacem >>>
- ==6854== Jump to the invalid address stated on the next line
- ==6854== at 0x8000052C: ???
- ==6854== Address 0x8000052c is not stack'd, malloc'd or (recently) free'd
- ==6854==
- ==6854==
- ==6854== Process terminating with default action of signal 11 (SIGSEGV)
- ==6854== Access not within mapped region at address 0x8000052C
- ==6854== at 0x8000052C: ???
- ==6854== If you believe this happened as a result of a stack
- ==6854== overflow in your program's main thread (unlikely but
- ==6854== possible), you can try to increase the size of the
- ==6854== main thread stack using the --main-stacksize= flag.
- ==6854== The main thread stack size used in this run was 8388608.
- ==6854==
- ==6854== HEAP SUMMARY:
- ==6854== in use at exit: 0 bytes in 0 blocks
- ==6854== total heap usage: 0 allocs, 0 frees, 0 bytes allocated
- ==6854==
- ==6854== All heap blocks were freed -- no leaks are possible
- ==6854==
- ==6854== Use --track-origins=yes to see where uninitialised values come from
- ==6854== ERROR SUMMARY: 9 errors from 3 contexts (suppressed: 0 from 0)
- ==6854==
- ==6854== 1 errors in context 1 of 3:
- ==6854== Jump to the invalid address stated on the next line
- ==6854== at 0x8000052C: ???
- ==6854== Address 0x8000052c is not stack'd, malloc'd or (recently) free'd
- ==6854==
- ==6854==
- ==6854== 4 errors in context 2 of 3:
- ==6854== Conditional jump or move depends on uninitialised value(s)
- ==6854== at 0xB0005B08: ??? (in /system/bin/linker)
- ==6854==
- ==6854==
- ==6854== 4 errors in context 3 of 3:
- ==6854== Conditional jump or move depends on uninitialised value(s)
- ==6854== at 0xB0005B04: ??? (in /system/bin/linker)
- ==6854==
- ==6854== ERROR SUMMARY: 9 errors from 3 contexts (suppressed: 0 from 0)
- --6854:1:core_os VG_(terminate_NORETURN)(tid=1)
Advertisement
Add Comment
Please, Sign In to add comment