This note documents how to build Valgrind trunk and run the regression test on the ARMv8 Foundation Model. It also notes issues encountered along the way... Our primary reference is: [0] https://wiki.linaro.org/WorkingGroups/ToolChain/GDB/aarch64gdb Note: Ref[0]/Step[1] not needed as we will be building natively. Why do we buid natively? The cross compiler and the native host compiler have different configurations, so when you build cross but try to execute the test suite - necessarily natively - the test mechanism detects the configuration mismatch and stops. Pre-requisites: Get the ARM V8 Foundation Model: -------------------------------------------------------------------------------- https://silver.arm.com/browse/FM00A Public Downloads, ARM V8 Foundation Model and clicked on: "Download now" Got: FM000-KT-00035-r0p8-52rel06.tgz -------------------------------------------------------------------------------- b07584@atx-ub12-p64-42:~$ ARM/model/Foundation_v8pkg/models/Linux64_GCC-4.1/Foundation_v8 --version ARM V8 Foundation Model r0p0 (model build 0.8.5206) Copyright 2013 ARM Limited. All Rights Reserved. b07584@atx-ub12-p64-42:~$ -------------------------------------------------------------------------------- Get the Linaro provided file-system: -------------------------------------------------------------------------------- b07584@atx-ub12-p64-42:~/ARM/linaro-fs$ wget http://releases.linaro.org/latest/openembedded/aarch64/vexpress64-openembedded_lamp-armv8-gcc-4.8_20140530-656.img.gz # 30-May-2014 12:05 -------------------------------------------------------------------------------- Get the Linaro provided kernel: -------------------------------------------------------------------------------- b07584@atx-ub12-p64-42:~/ARM/linaro-kernel$ wget http://releases.linaro.org/latest/openembedded/aarch64/img-foundation.axf # 30-May-2014 12:05 -------------------------------------------------------------------------------- b07584@atx-ub12-p64-42:~/ARM/linaro-kernel$ ls -lrt total 10200 -rw-rw-r-- 1 b07584 b07584 10444771 May 30 07:05 img-foundation.axf b07584@atx-ub12-p64-42:~/ARM/linaro-kernel$ -------------------------------------------------------------------------------- Do Reference[0]/Step[3] except that do: -------------------------------------------------------------------------------- b07584@atx-ub12-p64-42:~$ sudo ifconfig tap0 10.10.10.11 netmask 255.255.255.0 -------------------------------------------------------------------------------- Do Reference[0]/Step[4]. Invoke simulation as follows (and setup the ip address for the model as specified there). -------------------------------------------------------------------------------- b07584@atx-ub12-p64-42:~$ sudo ARM/model/Foundation_v8pkg/models/Linux64_GCC-4.1/Foundation_v8 --image ARM/linaro-kernel/img-foundation.axf --block-device ARM/linaro-fs/vexpress64-openembedded_lamp-armv8-gcc-4.8_20140530-656.img --network bridged --network-bridge=tap0 -------------------------------------------------------------------------------- Do Reference[0]/Step[5] mount your $HOME on the model as follows: -------------------------------------------------------------------------------- root@genericarmv8:~# adduser b07584 root@genericarmv8:~# mount 10.81.116.176:/home/b07584 /home/b07584 # Note: 10.81.116.176 is the host ip addr -------------------------------------------------------------------------------- On the host, for a ***first-time set-up***, checkout the latest valgrind trunk sources: -------------------------------------------------------------------------------- b07584@atx-ub12-p64-42:~$ svn co svn://svn.valgrind.org/valgrind/trunk valgrind -------------------------------------------------------------------------------- also, do this the first time around: -------------------------------------------------------------------------------- root@genericarmv8:~# ########################################################## root@genericarmv8:~# # root@genericarmv8:~# # !!! Get sed-4.2.2 on host and build sed on the model !!! root@genericarmv8:~# # !!! The sed from busybox is just a barebones sed !!! root@genericarmv8:~# # !!! See below (feedback[2A], feedback[2B]) !!! root@genericarmv8:~# # root@genericarmv8:~# ########################################################## -------------------------------------------------------------------------------- then, on a ***day-to-day*** basis, on the host, do: -------------------------------------------------------------------------------- b07584@atx-ub12-p64-42:~/valgrind$ svn update -------------------------------------------------------------------------------- 06/18/2014: ----------- b07584@atx-ub12-p64-42:~/valgrind$ svn info Path: . Working Copy Root Path: /home/b07584/valgrind URL: svn://svn.valgrind.org/valgrind/trunk Relative URL: ^/trunk Repository Root: svn://svn.valgrind.org/valgrind Repository UUID: a5019735-40e9-0310-863c-91ae7b9d1cf9 Revision: 14049 Node Kind: directory Schedule: normal Last Changed Author: philippe Last Changed Rev: 14049 Last Changed Date: 2014-06-16 16:49:42 -0500 (Mon, 16 Jun 2014) b07584@atx-ub12-p64-42:~/valgrind$ b07584@atx-ub12-p64-42:~/valgrind$ cd VEX b07584@atx-ub12-p64-42:~/valgrind/VEX$ svn info Path: . Working Copy Root Path: /home/b07584/valgrind/VEX URL: svn://svn.valgrind.org/vex/trunk Relative URL: ^/trunk Repository Root: svn://svn.valgrind.org/vex Repository UUID: 8f6e269a-dfd6-0310-a8e1-e2731360e62c Revision: 2878 Node Kind: directory Schedule: normal Last Changed Author: sewardj Last Changed Rev: 2878 Last Changed Date: 2014-06-15 16:55:33 -0500 (Sun, 15 Jun 2014) b07584@atx-ub12-p64-42:~/valgrind/VEX$ -------------------------------------------------------------------------------- Build and run tests on the model: -------------------------------------------------------------------------------- root@genericarmv8:~# cd /home/b07584/valgrind root@genericarmv8:/home/b07584/valgrind# cat ./exec-vg.sh export PATH=/home/b07584/sed-4.2.2/bin:$PATH make clean ./autogen.sh ./configure --prefix=$PWD --host=aarch64-oe-linux --enable-only64bit make 2>&1 | tee make.log make install 2>&1 | tee make.install.log make regtest 2>&1 | tee regtest-aarch64.default-build.`date | sed 's/ /-/g'`.log root@genericarmv8:/home/b07584/valgrind# ./exec-vg.sh -------------------------------------------------------------------------------- NOTE: Also keep a valgrind-x86_64 svn repo that you update, build and test concurrently, just so that you have a standard reference. Issues: -------------------------------------------------------------------------------- [0] Skip gdbserver tests (since there is no support for the inbuilt gdbserver yet): PS: Some of these cause the kernel to crash -- Running tests in gdbserver_tests ----------------------------------- hginfo: (skipping, prereq failed: false) mcblocklistsearch: (skipping, prereq failed: false) mcbreak: (skipping, prereq failed: false) mcclean_after_fork: (skipping, prereq failed: false) mchelp: (skipping, prereq failed: false) mcinfcallRU: (skipping, prereq failed: false) mcinfcallWSRU: (skipping, prereq failed: false) mcinvokeRU: (skipping, prereq failed: false) mcinvokeWS: (skipping, prereq failed: false) mcleak: (skipping, prereq failed: false) mcmain_pic: (skipping, prereq failed: false) mcsignopass: (skipping, prereq failed: false) mcsigpass: (skipping, prereq failed: false) mcvabits: (skipping, prereq failed: false) mcwatchpoints: (skipping, prereq failed: false) mssnapshot: (skipping, prereq failed: false) nlcontrolc: (skipping, prereq failed: false) nlfork_chain: (skipping, prereq failed: false) nlgone_abrt: (skipping, prereq failed: false) nlgone_exit: (skipping, prereq failed: false) nlgone_return: (skipping, prereq failed: false) nlpasssigalrm: (skipping, prereq failed: false) nlself_invalidate: (skipping, prereq failed: false) nlsigvgdb: (skipping, prereq failed: false) nlvgdbsigqueue: (skipping, prereq failed: false) -- Finished tests in gdbserver_tests ----------------------------------- [1] Skip atomic_incs for now (I think this hangs) atomic_incs: (skipping, prereq failed: false) [2A] Busybox sed is not really sed; it causes tests to fail: t ot@genericarmv8:/home/b07584/valgrind/memcheck/tests# cat accounting.stderr.out ==8609== Memcheck, a memory error detector ==8609== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al. ==8609== Using Valgrind-3.10.0.SVN and LibVEX; rerun with -h for copyright info ==8609== Command: ./accounting ==8609== ==8609== Warning: silly arg (-1) to realloc() ==8609== ==8609== HEAP SUMMARY: ==8609== in use at exit: 0 bytes in 0 blocks ==8609== total heap usage: 1 allocs, 1 frees, 1 bytes allocated ==8609== ==8609== For a detailed leak analysis, rerun with: --leak-check=full ==8609== ==8609== For counts of detected and suppressed errors, rerun with: -v ==8609== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) root@genericarmv8:/home/b07584/valgrind/memcheck/tests# cat accounting.stderr.out | sed "/^Memcheck, a memory error detector/ , /./ d" sed: unsupported command , root@genericarmv8:/home/b07584/valgrind/memcheck/tests# [2B] Use real sed! Downloaded and built: /home/b07584/sed-4.2.2$ root@genericarmv8:/home/b07584/sed-4.2.2# export PATH=/home/b07584/sed-4.2.2/bin:$PATH [3] segfaults: -------------------------------------------------------------------------------- badjump: valgrind ./badjump sh: line 1: 2383 Segmentation fault VALGRIND_LIB=/home/b07584/valgrind/.in_place VALGRIND_LIB_INNER=/home/b07584/valgrind/.in_place /home/b07584/valgrind/./coregrind/valgrind --command-line-only=yes --memcheck:leak-check=no --tool=memcheck ./badjump > badjump.stdout.out 2> badjump.stderr.out -------------------------------------------------------------------------------- deep-backtrace: valgrind -q --num-callers=500 ./deep-backtrace sh: line 1: 3180 Segmentation fault VALGRIND_LIB=/home/b07584/valgrind/.in_place VALGRIND_LIB_INNER=/home/b07584/valgrind/.in_place /home/b07584/valgrind/./coregrind/valgrind --command-line-only=yes --memcheck:leak-check=no --tool=memcheck -q --num-callers=500 ./deep-backtrace > deep-backtrace.stdout.out 2> deep-backtrace.stderr.out -------------------------------------------------------------------------------- sigaltstack: valgrind -q ./sigaltstack sh: line 1: 8421 Segmentation fault VALGRIND_LIB=/home/b07584/valgrind/.in_place VALGRIND_LIB_INNER=/home/b07584/valgrind/.in_place /home/b07584/valgrind/./coregrind/valgrind --command-line-only=yes --memcheck:leak-check=no --tool=memcheck -q ./sigaltstack > sigaltstack.stdout.out 2> sigaltstack.stderr.out *** sigaltstack failed (stderr) *** -------------------------------------------------------------------------------- supp_unknown: valgrind -q --suppressions=supp_unknown.supp ./badjump sh: line 1: 8864 Segmentation fault VALGRIND_LIB=/home/b07584/valgrind/.in_place VALGRIND_LIB_INNER=/home/b07584/valgrind/.in_place /home/b07584/valgrind/./coregrind/valgrind --command-line-only=yes --memcheck:leak-check=no --tool=memcheck -q --suppressions=supp_unknown.supp ./badjump > supp_unknown.stdout.out 2> supp_unknown.stderr.out *** supp_unknown failed (stderr) *** -------------------------------------------------------------------------------- [4] Disable doublefree (causes kernel crash - ***undefined instruction*** - how come?!): doublefree: valgrind -q ./doublefree [67660.341047] filter_stderr_b[23102]: undefined instruction: pc=000000000041d0b0 [67660.341132] Code: 554e4720 4c504720 72657620 6e6f6973 (6f203320) [67660.345556] filter_stderr_b[23103]: undefined instruction: pc=000000000041d0b0 [67660.345641] Code: 554e4720 4c504720 72657620 6e6f6973 (6f203320) [67660.347567] filter_stderr_b[23104]: undefined instruction: pc=000000000041d0b0 [67660.347652] Code: 554e4720 4c504720 72657620 6e6f6973 (6f203320) [67660.348270] filter_stderr_b[23087]: undefined instruction: pc=000000000041d0f0 [67660.348355] Code: 73696854 20736920 65657266 666f7320 (72617774) [67660.349274] perl[23095]: undefined instruction: pc=0000000000401028 [67660.349353] Code: 0000029f 00000012 004020b0 00000000 (00000000) [67660.350841] filter_addresse[23088]: undefined instruction: pc=000000000041d040 [67660.350923] Code: 00000063 00000000 616d2d63 00656279 (61637365) [67660.351959] sed[23089]: unhandled level 2 translation fault (11) at 0x7fb03e3220, esr 0x83000006 [67660.352017] pgd = ffffffc07eefe000 [67660.352064] [7fb03e3220] *pgd=00000008ef5eb003, *pmd=0000000000000000 [67660.352124] [67660.352186] CPU: 0 PID: 23089 Comm: sed Not tainted 3.14.0-1-linaro-vexpress64 #1ubuntu1~ci+140417081059 [67660.352260] task: ffffffc079baf100 ti: ffffffc07eeb4000 task.ti: ffffffc07eeb4000 [67660.352319] PC is at 0x7fb03e3220 [67660.352365] LR is at 0x408b58 [67660.352418] pc : [<0000007fb03e3220>] lr : [<0000000000408b58>] pstate: 80000000 [67660.352471] sp : 0000007fd61bcb90 [67660.352516] x29: 0000007fd61bcb90 x28: 0000000000000000 [67660.352585] x27: 0000000000425000 x26: 0000000000425000 [67660.352655] x25: 000000000041d000 x24: 000000000041dce9 [67660.352724] x23: 0000000000000001 x22: 000000000041ddd0 [67660.352794] x21: 000000000041de30 x20: ffffffffffffffff [67660.352867] x19: 0000007fab1cf3a0 x18: 0000007fd61bc8f0 [67660.352936] x17: 000000000041d928 x16: 0000007fb03e3220 [67660.353008] x15: 0000007fab1d0598 x14: 0000000000000000 [67660.353077] x13: 0000000000000040 x12: 0000000000000000 [67660.353146] x11: 0000007fd61bca00 x10: 00000000ffffffff [67660.353215] x9 : 0000000000000000 x8 : 000000000000003f [67660.353283] x7 : 0000000000000000 x6 : 0000000000000081 [67660.353351] x5 : 0000000000000000 x4 : 00000000fbad2088 [67660.353419] x3 : 0000000000000000 x2 : 0000000000000000 [67660.353489] x1 : 0000007fab1d0588 x0 : 0000007fab1cf3a0 [67660.353550] [67660.354419] perl[23090]: undefined instruction: pc=0000000000401028 [67660.354497] Code: 0000029f 00000012 004020b0 00000000 (00000000) [67660.358853] filter_stderr[23085]: undefined instruction: pc=000000000041d1d0 [67660.358936] Code: 2520646e 000a2e73 74697257 206e6574 (25207962) [67660.360025] sh[23084]: undefined instruction: pc=000000000041d040 [67660.360104] Code: 00000063 00000000 616d2d63 00656279 (61637365) [67660.453264] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b [67660.453264] [67660.453362] CPU: 0 PID: 1 Comm: init Not tainted 3.14.0-1-linaro-vexpress64 #1ubuntu1~ci+140417081059 [67660.453416] Call trace: [67660.453484] [] dump_backtrace+0x0/0x128 [67660.453559] [] show_stack+0x10/0x1c [67660.453636] [] dump_stack+0x70/0x94 [67660.453707] [] panic+0xe4/0x208 [67660.453778] [] do_exit+0x970/0x974 [67660.453852] [] do_group_exit+0x38/0xd0 [67660.453933] [] get_signal_to_deliver+0x174/0x510 [67660.454011] [] do_signal+0x538/0x558 [67660.454086] [] do_notify_resume+0x1c/0x50 [5] proc-auxv 06/18/2014: ----------- proc-auxv: valgrind -q ./proc-auxv [11969.072943] memcheck-arm64-[19868]: syscall 1057 [11969.073029] Code: aa0603e8 d2800006 d2800007 d4000001 (d65f03c0) [11969.073116] CPU: 0 PID: 19868 Comm: memcheck-arm64- Not tainted 3.15.0-1-linaro-vexpress64 #1ubuntu1~ci+140530092655 [11969.073209] task: ffffffc8598a8540 ti: ffffffc87a964000 task.ti: ffffffc87a964000 [11969.073279] PC is at 0x3806b6a0 [11969.073333] LR is at 0x3806b838 [11969.073393] pc : [<000000003806b6a0>] lr : [<000000003806b838>] pstate: 20000000 [11969.073458] sp : 0000000802ba3b90 [11969.073511] x29: 0000000802ba3b90 x28: 0000000039dcd770 [11969.073595] x27: 0000000038b6e000 x26: 00000000000000b8 [11969.073681] x25: 0000000039dcd790 x24: 0000000039dcd770 [11969.073766] x23: 0000000039d4cf70 x22: 0000000039d4cf70 [11969.073850] x21: 0000000000000001 x20: 0000000802ba3c68 [11969.073936] x19: 0000000039dcd778 x18: 0000000040000001 [11969.074022] x17: 0000000038b9d258 x16: 0000000038b7f6c0 [11969.074107] x15: 0000000000001038 x14: 0000000000000010 [11969.074192] x13: 0000000038b7f664 x12: 000000000000a3da [11969.074277] x11: 000000000000002c x10: 0000000000000003 [11969.074359] x9 : 0000000000000000 x8 : 0000000000000421 [11969.074442] x7 : 0000000000000000 x6 : 0000000000000000 [11969.074525] x5 : 0000000000000000 x4 : 0000000000000000 [11969.074608] x3 : 0000000000000000 x2 : 0000000000000000 [11969.074690] x1 : 0000000000000000 x0 : 0000000000000003 [11969.078616] *** proc-auxv failed (stderr) *** Failure reproduces, to reproduce: root@genericarmv8:/home/b07584/valgrind# perl tests/vg_regtest memcheck/tests/linux/proc-auxv.vgtest [6] cachegrind/tests/clreq causes a kernel panic: -- Running tests in cachegrind/tests ---------------------------------- chdir: valgrind ./chdir clreq: valgrind -q ./clreq [ 5569.594299] sed[11938]: undefined instruction: pc=0000007fad920190 [ 5569.594377] Code: 00000000 00000000 ad8f3000 0000007f (00000000) [ 5569.595386] filter_stderr_b[11942]: undefined instruction: pc=000000000041d0b0 [ 5569.595470] Code: 554e4720 4c504720 72657620 6e6f6973 (6f203320) [ 5569.600599] sed[11940]: unhandled level 2 translation fault (11) at 0x7f90644190, esr 0x83000006 [ 5569.600657] pgd = ffffffc87b072000 [ 5569.600704] [7f90644190] *pgd=00000008fb4cb003, *pmd=0000000000000000 [ 5569.600764] [ 5569.600826] CPU: 0 PID: 11940 Comm: sed Not tainted 3.14.0-1-linaro-vexpress64 #1ubuntu1~ci+140417081059 [ 5569.600900] task: ffffffc87b70e4c0 ti: ffffffc87b6ac000 task.ti: ffffffc87b6ac000 [ 5569.600958] PC is at 0x7f90644190 [ 5569.601005] LR is at 0x402b9c [ 5569.601057] pc : [<0000007f90644190>] lr : [<0000000000402b9c>] pstate: 60000000 [ 5569.601110] sp : 0000007fc9136280 [ 5569.601156] x29: 0000007fc9136280 x28: 0000000000000000 [ 5569.601223] x27: 0000000000000000 x26: 0000000000000000 [ 5569.601292] x25: 0000000000000000 x24: 0000000000000000 [ 5569.601360] x23: 0000000000000000 x22: 0000000000000000 [ 5569.601430] x21: 0000000000402b70 x20: 0000000000000000 [ 5569.601498] x19: 0000000000000000 x18: 0000007fc9135fe0 [ 5569.601569] x17: 0000007f90644190 x16: 000000000041d6f0 [ 5569.601640] x15: 0000007f88bf9000 x14: 0000000000000040 [ 5569.601710] x13: 0000007f88bf9028 x12: 00000000000003b8 [ 5569.601779] x11: 0000000000000090 x10: 00000000ffffffff [ 5569.601849] x9 : 0000007f88be5de8 x8 : 0000007f88be45c8 [ 5569.601918] x7 : 000000000006416a x6 : 0000007fc9136280 [ 5569.601989] x5 : 0000007f88bda6d0 x4 : 000000000040b86c [ 5569.602057] x3 : 000000000040b7f4 x2 : 0000007fc9136288 [ 5569.602126] x1 : 0000000000000002 x0 : 000000000040276c [ 5569.602187] [ 5569.610334] filter_stderr_b[11924]: undefined instruction: pc=000000000041d0f0 [ 5569.610419] Code: 73696854 20736920 65657266 666f7320 (72617774) [ 5569.611446] init[1]: unhandled level 2 translation fault (11) at 0x7f90644190, esr 0x83000006 [ 5569.611503] pgd = ffffffc87b64f000 [ 5569.611549] [7f90644190] *pgd=00000008fb16c003, *pmd=0000000000000000 [ 5569.611609] [ 5569.611670] CPU: 0 PID: 1 Comm: init Not tainted 3.14.0-1-linaro-vexpress64 #1ubuntu1~ci+140417081059 [ 5569.611744] task: ffffffc87bc96b40 ti: ffffffc87bc98000 task.ti: ffffffc87bc98000 [ 5569.611802] PC is at 0x7f90644190 [ 5569.611849] LR is at 0x4030d8 [ 5569.611901] pc : [<0000007f90644190>] lr : [<00000000004030d8>] pstate: 20000000 [ 5569.611954] sp : 0000007ffb6781f0 [ 5569.611999] x29: 0000007ffb6781f0 x28: 0000000000406930 [ 5569.612069] x27: 00000000ffffff9d x26: 0000000000407000 [ 5569.612139] x25: 00000000ffffffff x24: 0000000000417be0 [ 5569.612209] x23: 0000000000406f50 x22: 0000000000417c60 [ 5569.612279] x21: 0000000000417868 x20: 0000000000417000 [ 5569.612350] x19: 0000007ffb679570 x18: ffffffffffffff9c [ 5569.612422] x17: 0000007f90644190 x16: 000000000041d7a0 [ 5569.612492] x15: 0027f3049a000000 x14: 0000000000000000 [ 5569.612561] x13: 00000003e8000000 x12: 0000000000000018 [ 5569.612631] x11: 00000000000a3a1d x10: 0000000053550eb9 [ 5569.612701] x9 : 000000000010fc40 x8 : 0000000000000048 [ 5569.612769] x7 : 0000000000000400 x6 : 0000000000000400 [ 5569.612837] x5 : 0000000000000000 x4 : 0000007ffb6794e0 [ 5569.612905] x3 : 0000000000000000 x2 : 0000000000000000 [ 5569.612975] x1 : 0000007ffb679680 x0 : 0000000000000011 [ 5569.613035] [ 5569.613130] init[1]: unhandled level 2 translation fault (11) at 0x7f90644190, esr 0x83000006 [ 5569.613187] pgd = ffffffc87b64f000 [ 5569.613233] [7f90644190] *pgd=00000008fb16c003, *pmd=0000000000000000 [ 5569.613293] [ 5569.613354] CPU: 0 PID: 1 Comm: init Not tainted 3.14.0-1-linaro-vexpress64 #1ubuntu1~ci+140417081059 [ 5569.613428] task: ffffffc87bc96b40 ti: ffffffc87bc98000 task.ti: ffffffc87bc98000 [ 5569.613486] PC is at 0x7f90644190 [ 5569.613532] LR is at 0x403834 [ 5569.613585] pc : [<0000007f90644190>] lr : [<0000000000403834>] pstate: 20000000 [ 5569.613638] sp : 0000007ffb676ed0 [ 5569.613683] x29: 0000007ffb676ed0 x28: 0000000000406930 [ 5569.613753] x27: 00000000ffffff9d x26: 0000000000407000 [ 5569.613823] x25: 00000000ffffffff x24: 0000000000417be0 [ 5569.613893] x23: 0000000000406f50 x22: 0000000000417c60 [ 5569.613963] x21: 0000000000417868 x20: 0000000000417000 [ 5569.614034] x19: 0000007ffb679570 x18: ffffffffffffff9c [ 5569.614106] x17: 0000007f90644190 x16: 000000000041d7a0 [ 5569.614176] x15: 0027f3049a000000 x14: 0000000000000000 [ 5569.614245] x13: 00000003e8000000 x12: 0000000000000018 [ 5569.614315] x11: 00000000000a3a1d x10: 0000000053550eb9 [ 5569.614385] x9 : 000000000010fc40 x8 : 0000000000000048 [ 5569.614453] x7 : 0000000000000400 x6 : 0000000000000400 [ 5569.614521] x5 : 0000000000000000 x4 : 0000007ffb6794e0 [ 5569.614589] x3 : 0000000000000000 x2 : 0000000000000000 [ 5569.614659] x1 : 0000007ffb679680 x0 : 000000000000000b [ 5569.614719] [ 5569.615275] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b [ 5569.615275] [ 5569.615373] CPU: 0 PID: 1 Comm: init Not tainted 3.14.0-1-linaro-vexpress64 #1ubuntu1~ci+140417081059 [ 5569.615427] Call trace: [ 5569.615495] [] dump_backtrace+0x0/0x128 [ 5569.615570] [] show_stack+0x10/0x1c [ 5569.615646] [] dump_stack+0x70/0x94 [ 5569.615717] [] panic+0xe4/0x208 [ 5569.615789] [] do_exit+0x970/0x974 [ 5569.615862] [] do_group_exit+0x38/0xd0 [ 5569.615943] [] get_signal_to_deliver+0x174/0x510 [ 5569.616021] [] do_signal+0x538/0x558 [ 5569.616096] [] do_notify_resume+0x1c/0x50 [7] Weird, we did not see pipe crash earlier? pipe: valgrind -q ./pipe [ 5429.072097] filter_stderr_b[10421]: undefined instruction: pc=000000000041d0b0 [ 5429.072181] Code: 554e4720 4c504720 72657620 6e6f6973 (6f203320) [ 5429.072850] perl[10411]: unhandled level 2 translation fault (11) at 0x02688354, esr 0x92000006 [ 5429.072907] pgd = ffffffc07f95c000 [ 5429.072954] [02688354] *pgd=00000000fecde003, *pmd=0000000000000000 [ 5429.073013] [ 5429.073074] CPU: 0 PID: 10411 Comm: perl Not tainted 3.14.0-1-linaro-vexpress64 #1ubuntu1~ci+140417081059 [ 5429.073149] task: ffffffc87b3209c0 ti: ffffffc86da54000 task.ti: ffffffc86da54000 [ 5429.073207] PC is at 0x7f8953b854 [ 5429.073254] LR is at 0x7f8953bc14 [ 5429.073308] pc : [<0000007f8953b854>] lr : [<0000007f8953bc14>] pstate: 20000000 [ 5429.073361] sp : 0000007fe9343020 [ 5429.073406] x29: 0000007fe9343020 x28: 0000000000360ae0 [ 5429.073477] x27: 0000007fe93431e0 x26: 0000007f8955e000 [ 5429.073547] x25: 0000007f8955b5c0 x24: 0000007fe93431f0 [ 5429.073617] x23: 000000000d82b830 x22: 0000000000000000 [ 5429.073685] x21: 0000000000000008 x20: 0000007f89551658 [ 5429.073757] x19: 0000007fe93430d0 x18: 0000007fe93430a0 [ 5429.073828] x17: 0000007f895459d8 x16: 0000007f8952d7f0 [ 5429.073899] x15: 0000007f893d7598 x14: 0000007f892a2a34 [ 5429.073967] x13: 0000000000000000 x12: 0000007f892a2a34 [ 5429.074038] x11: 0000000000000018 x10: 00000000ffffffff [ 5429.074108] x9 : 0000007f8954bde8 x8 : 0000007f8954a5c8 [ 5429.074176] x7 : 0000000000000009 x6 : 0000000000000000 [ 5429.074244] x5 : 0000000000000030 x4 : 00000000003a9f53 [ 5429.074314] x3 : 0000007f89560190 x2 : 0000000000400390 [ 5429.074382] x1 : 0000000002688354 x0 : 00000000008a2020 [ 5429.074443] [ 5429.075328] sed[10412]: unhandled level 2 translation fault (11) at 0x7fb599b220, esr 0x83000006 [ 5429.075385] pgd = ffffffc07f251000 [ 5429.075432] [7fb599b220] *pgd=00000000ffbc0003, *pmd=0000000000000000 [ 5429.075491] [ 5429.075553] CPU: 0 PID: 10412 Comm: sed Not tainted 3.14.0-1-linaro-vexpress64 #1ubuntu1~ci+140417081059 [ 5429.075627] task: ffffffc86d9b0b40 ti: ffffffc86d9b4000 task.ti: ffffffc86d9b4000 [ 5429.075686] PC is at 0x7fb599b220 [ 5429.075731] LR is at 0x408b58 [ 5429.075784] pc : [<0000007fb599b220>] lr : [<0000000000408b58>] pstate: 80000000 [ 5429.075887] sp : 0000007ffd0f2590 [ 5429.075932] x29: 0000007ffd0f2590 x28: 0000000000000000 [ 5429.076000] x27: 0000000000425000 x26: 0000000000425000 [ 5429.076070] x25: 000000000041d000 x24: 000000000041dce9 [ 5429.076138] x23: 0000000000000001 x22: 000000000041ddd0 [ 5429.076208] x21: 000000000041de30 x20: ffffffffffffffff [ 5429.076280] x19: 0000007f824b73a0 x18: 0000007ffd0f22f0 [ 5429.076349] x17: 000000000041d928 x16: 0000007fb599b220 [ 5429.076420] x15: 0000007f824b8598 x14: 0000007f82383a34 [ 5429.076489] x13: 0000000000010000 x12: 0000000000000018 [ 5429.076558] x11: 0000000000000038 x10: 00000000ffffffff [ 5429.076627] x9 : 000000000000003d x8 : 000000000000003f [ 5429.076694] x7 : 0000000000000000 x6 : 0000000000000081 [ 5429.076761] x5 : 0000000000000000 x4 : 00000000fbad2088 [ 5429.076829] x3 : 0000000000000000 x2 : 0000000000000000 [ 5429.076898] x1 : 0000007f824b8588 x0 : 0000007f824b73a0 [ 5429.076959] [ 5429.081221] filter_stderr_b[10395]: undefined instruction: pc=000000000041d1d0 [ 5429.081305] Code: 2520646e 000a2e73 74697257 206e6574 (25207962) [ 5429.082141] filter_stderr[10393]: undefined instruction: pc=000000000041d1d0 [ 5429.082224] Code: 2520646e 000a2e73 74697257 206e6574 (25207962) [ 5429.083341] sh[10392]: undefined instruction: pc=000000000041d040 [ 5429.083420] Code: 00000063 00000000 616d2d63 00656279 (61637365) [ 5429.093725] perl[10410]: unhandled level 2 translation fault (11) at 0x02688354, esr 0x92000006 [ 5429.093782] pgd = ffffffc07f211000 [ 5429.093827] [02688354] *pgd=00000000fed35003, *pmd=0000000000000000 [ 5429.093886] [ 5429.093947] CPU: 0 PID: 10410 Comm: perl Not tainted 3.14.0-1-linaro-vexpress64 #1ubuntu1~ci+140417081059 [ 5429.094022] task: ffffffc87b3214c0 ti: ffffffc87b7cc000 task.ti: ffffffc87b7cc000 [ 5429.094080] PC is at 0x7f99d83854 [ 5429.094126] LR is at 0x7f99d83c14 [ 5429.094180] pc : [<0000007f99d83854>] lr : [<0000007f99d83c14>] pstate: 20000000 [ 5429.094233] sp : 0000007ff4ce1e70 [ 5429.094277] x29: 0000007ff4ce1e70 x28: 0000000000360ae0 [ 5429.094347] x27: 0000007ff4ce2030 x26: 0000007f99da6000 [ 5429.094418] x25: 0000007f99da35c0 x24: 0000007ff4ce2040 [ 5429.094487] x23: 000000000d82b830 x22: 0000000000000000 [ 5429.094555] x21: 0000000000000008 x20: 0000007f99d99658 [ 5429.094626] x19: 0000007ff4ce1f20 x18: 0000007ff4ce1ef0 [ 5429.094697] x17: 0000007f99d8d9d8 x16: 0000007f99d757f0 [ 5429.094767] x15: 0000007f99c1f598 x14: 0000007f99aeaa34 [ 5429.094835] x13: 0000000000000000 x12: 0000007f99aeaa34 [ 5429.094906] x11: 0000000000000018 x10: 00000000ffffffff [ 5429.094975] x9 : 0000007f99d93de8 x8 : 0000007f99d925c8 [ 5429.095043] x7 : 0000000000000009 x6 : 0000000000000000 [ 5429.095111] x5 : 0000000000000030 x4 : 00000000003a9f53 [ 5429.095180] x3 : 0000007f99da8190 x2 : 0000000000400390 [ 5429.095248] x1 : 0000000002688354 x0 : 00000000008a2020 [ 5429.095309] [ 5429.098585] filter_libc[10413]: unhandled level 1 translation fault (11) at 0x18040a794, esr 0x92000005 [ 5429.098644] pgd = ffffffc07f21c000 [ 5429.098689] [18040a794] *pgd=0000000000000000 [ 5429.098730] [ 5429.098792] CPU: 0 PID: 10413 Comm: filter_libc Not tainted 3.14.0-1-linaro-vexpress64 #1ubuntu1~ci+140417081059 [ 5429.098868] task: ffffffc86d9b0040 ti: ffffffc87b2d0000 task.ti: ffffffc87b2d0000 [ 5429.098926] PC is at 0x7f9ad77854 [ 5429.098972] LR is at 0x7f9ad77c14 [ 5429.099026] pc : [<0000007f9ad77854>] lr : [<0000007f9ad77c14>] pstate: 20000000 [ 5429.099078] sp : 0000007fe31f78f0 [ 5429.099123] x29: 0000007fe31f78f0 x28: 0000000003fe1d82 [ 5429.099193] x27: 0000007fe31f7ab0 x26: 0000007f9ad9a000 [ 5429.099264] x25: 0000007f9ad975c0 x24: 0000007fe31f7ac0 [ 5429.099333] x23: 00000000ff8760ae x22: 0000000000000000 [ 5429.099401] x21: 0000000000000008 x20: 0000007f9ad8d658 [ 5429.099472] x19: 0000007fe31f79a0 x18: 0000007fe31f7a20 [ 5429.099543] x17: 0000007f9ad819d8 x16: 0000007f9ad697f0 [ 5429.099613] x15: 0000007f9ac13598 x14: 0000007f9aadea34 [ 5429.099682] x13: 0000000000000000 x12: 0000000000000008 [ 5429.099752] x11: 0101010101010101 x10: 00000000ffffffff [ 5429.099822] x9 : 0000007f9ad87de8 x8 : 0000007f9ad865c8 [ 5429.099891] x7 : 0000000010006021 x6 : 0000000000000000 [ 5429.099959] x5 : 000000000000002e x4 : 000000000454bc37 [ 5429.100028] x3 : 0000007f9ad9c190 x2 : 0000000000400390 [ 5429.100096] x1 : 000000018040a794 x0 : 0000000060002930 [ 5429.100158] [ 5429.101981] init[1]: unhandled level 2 translation fault (11) at 0x7fb59f496c, esr 0x83000006 [ 5429.102038] pgd = ffffffc87b64f000 [ 5429.102084] [7fb59f496c] *pgd=00000008fb16c003, *pmd=0000000000000000 [ 5429.102144] [ 5429.102204] CPU: 0 PID: 1 Comm: init Not tainted 3.14.0-1-linaro-vexpress64 #1ubuntu1~ci+140417081059 [ 5429.102278] task: ffffffc87bc96b40 ti: ffffffc87bc98000 task.ti: ffffffc87bc98000 [ 5429.102336] PC is at 0x7fb59f496c [ 5429.102382] LR is at 0x4030d8 [ 5429.102434] pc : [<0000007fb59f496c>] lr : [<00000000004030d8>] pstate: 80000000 [ 5429.102487] sp : 0000007fe4b576c0 [ 5429.102532] x29: 0000007fe4b576c0 x28: 0000000000406930 [ 5429.102601] x27: 00000000ffffff9d x26: 0000000000407000 [ 5429.102671] x25: 00000000ffffffff x24: 0000000000417be0 [ 5429.102740] x23: 0000000000406f50 x22: 0000000000417c60 [ 5429.102810] x21: 0000000000417868 x20: 0000000000417000 [ 5429.102881] x19: 0000007fe4b58a40 x18: 0000007fe4b57420 [ 5429.102950] x17: 000000000041d7a0 x16: 0000007fb59f496c [ 5429.103021] x15: 0018f93964000000 x14: 0000000000000000 [ 5429.103090] x13: 00000003e8000000 x12: 0000000000000018 [ 5429.103160] x11: 00000000000664aa x10: 00000000ffffffff [ 5429.103229] x9 : 0000000000108ea8 x8 : 0000000000000048 [ 5429.103297] x7 : 0000000000000400 x6 : 0000000000000400 [ 5429.103364] x5 : 0000000000000000 x4 : 0000007fe4b589b0 [ 5429.103433] x3 : 0000000000000000 x2 : 0000000000000000 [ 5429.103502] x1 : 0000007fe4b58b50 x0 : 0000000000000011 [ 5429.103562] [ 5429.104191] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b [ 5429.104191] [ 5429.104288] CPU: 0 PID: 1 Comm: init Not tainted 3.14.0-1-linaro-vexpress64 #1ubuntu1~ci+140417081059 [ 5429.104341] Call trace: [ 5429.104409] [] dump_backtrace+0x0/0x128 [ 5429.104484] [] show_stack+0x10/0x1c [ 5429.104560] [] dump_stack+0x70/0x94 [ 5429.104630] [] panic+0xe4/0x208 [ 5429.104702] [] do_exit+0x970/0x974 [ 5429.104775] [] do_group_exit+0x38/0xd0 [ 5429.104856] [] get_signal_to_deliver+0x174/0x510 [ 5429.104933] [] do_signal+0x538/0x558 [ 5429.105008] [] do_notify_resume+0x1c/0x50 -------------------------------------------------------------------------------- Test run log: regtest-aarch64.default-build.Mon-Apr-21-11:00:02-UTC-2014.log Compared to other architectures: x86_64 Ubuntu 14.04 LTS: == 593 tests, 3 stderr failures, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures == IBM 970 FC16: == 579 tests, 8 stderr failures, 2 stdout failures, 0 stderrB failures, 0 stdoutB failures, 2 post failures == t4240 SDK-1.6+ == 562 tests, 36 stderr failures, 30 stdout failures, 0 stderrB failures, 0 stdoutB failures, 1 post failure == ARMv8 3.14.0-1-linaro-vexpress64 == 504 tests, 88 stderr failures, 15 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures == -------------------------------------------------------------------------------- [8] Weird, we did not see stack_changes crash earlier? stack_changes: valgrind -q ./stack_changes *** stack_changes failed (stdout) *** [131829.448053] filter_stderr_b[10428]: unhandled level 3 permission fault (11) at 0x7f9ec578f4, esr 0x9200004f [131829.448114] pgd = ffffffc87b687000 [131829.448160] [7f9ec578f4] *pgd=00000008fb7d9003, *pmd=00000008fb05a003, *pte=0000000000000000 [131829.448239] [131829.448303] CPU: 0 PID: 10428 Comm: filter_stderr_b Not tainted 3.14.0-1-linaro-vexpress64 #1ubuntu1~ci+140417081059 [131829.448380] task: ffffffc87b7e7340 ti: ffffffc87b7cc000 task.ti: ffffffc87b7cc000 [131829.448438] PC is at 0x299f44c8 [131829.448485] LR is at 0x299f44c8 [131829.448538] pc : [<00000000299f44c8>] lr : [<00000000299f44c8>] pstate: 60000000 [131829.448591] sp : 0000007fc05b9140 [131829.448636] x29: 00000000299f43c8 x28: 0000000000000001 [131829.448706] x27: 00000000299f42c8 x26: 0000000000000000 [131829.448775] x25: 00000000004ea000 x24: 0000007fc05b9240 [131829.448846] x23: 00000000299f39a8 x22: 00000000004ea928 [131829.448916] x21: 0000000000471110 x20: 0000007f9ebc4ca8 [131829.448987] x19: 00000000004ec000 x18: 0000007fc05b8c90 [131829.449058] x17: 0000007f9ec57800 x16: 00000000004df378 [131829.449129] x15: ffffffffffffffff x14: 2065726f63285c20 [131829.449201] x13: 2829726f72726520 x12: 0000000000000000 [131829.449272] x11: 0101010101010101 x10: 7f7f7f7f7f7f7f7f [131829.449344] x9 : fefefefefeff5fff x8 : 00000000000000dc [131829.449413] x7 : dfdfdfdfdfdfdfdf x6 : 8000808080808080 [131829.449484] x5 : 00000000299f4300 x4 : 0000007f9ed5b0d0 [131829.449553] x3 : 0000000000000000 x2 : 0000000000000001 [131829.449622] x1 : 0000007f9ed69030 x0 : 0000000000000000 [131829.449682] [9] Not sure what - I suppose this is a simulator crash? Valgrind and VEX details: b07584@atx-ub12-p64-42:~/valgrind$ svn info Path: . Working Copy Root Path: /home/b07584/valgrind URL: svn://svn.valgrind.org/valgrind/trunk Relative URL: ^/trunk Repository Root: svn://svn.valgrind.org/valgrind Repository UUID: a5019735-40e9-0310-863c-91ae7b9d1cf9 Revision: 14017 Node Kind: directory Schedule: normal Last Changed Author: philippe Last Changed Rev: 14017 Last Changed Date: 2014-06-09 10:47:46 -0500 (Mon, 09 Jun 2014) b07584@atx-ub12-p64-42:~/valgrind$ cd VEX/ b07584@atx-ub12-p64-42:~/valgrind/VEX$ svn info Path: . Working Copy Root Path: /home/b07584/valgrind/VEX URL: svn://svn.valgrind.org/vex/trunk Relative URL: ^/trunk Repository Root: svn://svn.valgrind.org/vex Repository UUID: 8f6e269a-dfd6-0310-a8e1-e2731360e62c Revision: 2870 Node Kind: directory Schedule: normal Last Changed Author: dejanj Last Changed Rev: 2870 Last Changed Date: 2014-06-09 05:54:49 -0500 (Mon, 09 Jun 2014) b07584@atx-ub12-p64-42:~/valgrind/VEX$ Crash details: mv -f $depbase.Tpo $depbase.Po aarch64-oe-linux-gcc -Winline -Wall -Wshadow -g -Wno-long-long -Wwrite-strings -fno-stack-protector -Wno-write-strings -o buflen_check buflen_check.o depbase=`echo bug287260.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ aarch64-oe-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../include -I../../coregrind -I../../include -I../../VEX/pub -I../../VEX/pub -DVGA_arm64=1 -DVGO_linux=1 -DVGP_arm64_linux=1 -DVGPV_arm64_linux_vanilla=1 -Winline -Wall -Wshadow -g -Wno-long-long -Wwrite-strings -fno-stack-protector -Wno-write-strings -MT bug287260.o -MD -MP -MF $depbase.Tpo -c -o bug287260.o bug287260.c &&\ mv -f $depbase.Tpo $depbase.Po aarch64-oe-linux-gcc -Winline -Wall -Wshadow -g -Wno-long-long -Wwrite-strings -fno-stack-protector -Wno-write-strings -o bug287260 bug287260.o depbase=`echo calloc-overflow.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ aarch64-oe-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../include -I../../coregrind -I../../include -I../../VEX/pub -I../../VEX/pub -DVGA_arm64=1 -DVGO_linux=1 -DVGP_arm64_linux=1 -DVGPV_arm64_linux_vanilla=1 -Winline -Wall -Wshadow -g -Wno-long-long -Wwrite-strings -fno-stack-protector -Wno-write-strings -MT calloc-overflow.o -MD -MP -MF $depbase.Tpo -c -o calloc-overflow.o calloc-overflow.c &&\ mv -f $depbase.Tpo $depbase.Po [ 8055.890077] cc1[11326]: unhandled level 2 translation fault (11) at 0x00000000, esr 0x83000006 [ 8055.890134] pgd = ffffffc07f254000 [ 8055.890180] [00000000] *pgd=00000000ff940003, *pmd=0000000000000000 [ 8055.890239] [ 8055.890301] CPU: 0 PID: 11326 Comm: cc1 Not tainted 3.14.0-1-linaro-vexpress64 #1ubuntu1~ci+140417081059 [ 8055.890375] task: ffffffc07fbc2c80 ti: ffffffc07f864000 task.ti: ffffffc07f864000 [ 8055.890431] PC is at 0x0 [ 8055.890475] LR is at 0x4be014 [ 8055.890526] pc : [<0000000000000000>] lr : [<00000000004be014>] pstate: 80000000 [ 8055.890579] sp : 0000007fc77c11f0 [ 8055.890624] x29: 0000007fc77c1200 x28: 0000000000000000 [ 8055.890692] x27: 0000000000000000 x26: 0000000000000000 [ 8055.890760] x25: 0000000000000000 x24: 0000000000000000 [ 8055.890829] x23: 0000000000000000 x22: 0000000000000000 [ 8055.890898] x21: 00000000004bdfe8 x20: 0000000000000000 [ 8055.890967] x19: 0000000000000000 x18: 0000007fc77c0f60 [ 8055.891036] x17: 0000000000000000 x16: 0000000000daf4f0 [ 8055.891107] x15: 0000007f9e9cf000 x14: 0000000000000041 [ 8055.891177] x13: 0000007f9e9cf028 x12: 0000000000008728 [ 8055.891247] x11: 0000000000000090 x10: 00000000ffffffff [ 8055.891317] x9 : 0000007f9e9bbde8 x8 : 2f2f2f2f2f2f2f2f [ 8055.891388] x7 : 8a8ed2ffce9c9cd0 x6 : 0000007fc77c1200 [ 8055.891458] x5 : 0000007f9e9b06d0 x4 : 0000000000b09ba0 [ 8055.891527] x3 : 0000000000b09b28 x2 : 0000007fc77c1208 [ 8055.891596] x1 : 0000000000000032 x0 : 00000000004bdfc8 [ 8055.891657] [ 8055.892186] aarch64-oe-linu[11325]: undefined instruction: pc=0000007fab9ec190 [ 8055.892267] Code: 00000000 00000000 ab9bf000 0000007f (00000000) /bin/sh: line 2: 11325 Illegal instruction aarch64-oe-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../include -I../../coregrind -I../../include -I../../VEX/pub -I../../VEX/pub -DVGA_arm64=1 -DVGO_linux=1 -DVGP_arm64_linux=1 -DVGPV_arm64_linux_vanilla=1 -Winline -Wall -Wshadow -g -Wno-long-long -Wwrite-strings -fno-stack-protector -Wno-write-strings -MT calloc-overflow.o -MD -MP -MF $depbase.Tpo -c -o calloc-overflow.o calloc-overflow.c Makefile:2252: recipe for target 'calloc-overflow.o' failed make[5]: *** [calloc-overflow.o] Error 132 make[5]: Leaving directory '/home/b07584/valgrind/memcheck/tests' Makefile:2900: recipe for target 'check-am' failed make[4]: *** [check-am] Error 2 make[4]: Leaving directory '/home/b07584/valgrind/memcheck/tests' Makefile:2752: recipe for target 'check-recursive' failed make[3]: *** [check-recursive] Error 1 make[3]: Leaving directory '/home/b07584/valgrind/memcheck/tests' Makefile:1163: recipe for target 'check-recursive' failed make[2]: *** [check-recursive] Error 1 make[2]: Leaving directory '/home/b07584/valgrind/memcheck' Makefile:742: recipe for target 'check-recursive' failed make[1]: *** [check-recursive] Error 1 make[1]: Leaving directory '/home/b07584/valgrind' Makefile:1029: recipe for target 'check' failed make: *** [check] Error 2 root@genericarmv8:/home/b07584/valgrind# [ 8077.569404] default.script[11327]: unhandled level 1 translation fault (11) at 0xa98267bb, esr 0x92000005 [ 8077.569465] pgd = ffffffc07faf2000 [ 8077.569510] [a98267bb] *pgd=0000000000000000 [ 8077.569551] [ 8077.569614] CPU: 0 PID: 11327 Comm: default.script Not tainted 3.14.0-1-linaro-vexpress64 #1ubuntu1~ci+140417081059 [ 8077.569691] task: ffffffc87bca2080 ti: ffffffc07fbc0000 task.ti: ffffffc07fbc0000 [ 8077.569749] PC is at 0x7f8160ee48 [ 8077.569796] LR is at 0x7f81601200 [ 8077.569849] pc : [<0000007f8160ee48>] lr : [<0000007f81601200>] pstate: 00000000 [ 8077.569902] sp : 0000007fe7f8d760 [ 8077.569948] x29: 0000007fe7f8d760 x28: 0000000000418555 [ 8077.570018] x27: 0000007fe7f8d960 x26: 0000007f81624000 [ 8077.570089] x25: 0000007f81618000 x24: 0000007fe7f8d970 [ 8077.570159] x23: 0000000010615567 x22: 0000000000000000 [ 8077.570228] x21: 0000000000000005 x20: 0000007f81618560 [ 8077.570298] x19: 0000000000404720 x18: 0000007fe7f8d850 [ 8077.570370] x17: 0000007f8160c8f8 x16: 0000007f81625000 [ 8077.570441] x15: 0000007f81625000 x14: 0000000000000040 [ 8077.570511] x13: 0000007f815a8f98 x12: 0000000000008728 [ 8077.570580] x11: 0000000000002f40 x10: 0101010101010101 [ 8077.570651] x9 : 0000007f81611de8 x8 : 0000007f816105c8 [ 8077.570721] x7 : 0000007f28cac621 x6 : 0000000000000000 [ 8077.570789] x5 : 0000000000000027 x4 : 00000000000433a5 [ 8077.570857] x3 : 0000000000000069 x2 : 00000000a94153f3 [ 8077.570927] x1 : 0000007f8148a19a x0 : 00000000a98267bb [ 8077.570988] [10] As of 06/10/2014, we moved to the '30-May-2014 12:05' kernel and FS from Linaro. We saw this failure, but we cannot reproduce it again. depbase=`echo pdb-realloc.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ aarch64-oe-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../include -I../../coregrind -I../../include -I../../VEX/pub -I../../VEX/pub -DVGA_arm64=1 -DVGO_linux=1 -DVGP_arm64_linux=1 -DVGPV_arm64_linux_vanilla=1 -Winline -Wall -Wshadow -g -Wno-long-long -Wwrite-strings -fno-stack-protector -Wno-write-strings -MT pdb-realloc.o -MD -MP -MF $depbase.Tpo -c -o pdb-realloc.o pdb-realloc.c &&\ mv -f $depbase.Tpo $depbase.Po [ 7879.749594] sh[12169]: unhandled level 2 translation fault (11) at 0x00000000, esr 0x92000046 [ 7879.749665] pgd = ffffffc07d901000 [ 7879.749718] [00000000] *pgd=00000000fd8b2003, *pmd=0000000000000000 [ 7879.749793] [ 7879.749860] CPU: 0 PID: 12169 Comm: sh Not tainted 3.15.0-1-linaro-vexpress64 #1ubuntu1~ci+140530092655 [ 7879.749950] task: ffffffc87b6728c0 ti: ffffffc07d944000 task.ti: ffffffc07d944000 [ 7879.750020] PC is at 0x41fb5c [ 7879.750072] LR is at 0x445324 [ 7879.750131] pc : [<000000000041fb5c>] lr : [<0000000000445324>] pstate: 20000000 [ 7879.750196] sp : 0000007fef35b6c0 [ 7879.750249] x29: 0000007fef35b6c0 x28: 0000000000000000 [ 7879.750333] x27: 000000001f76d048 x26: 0000000000000000 [ 7879.750417] x25: 00000000004ea000 x24: 00000000004ea000 [ 7879.750503] x23: 00000000004b6c10 x22: 00000000004ea434 [ 7879.750588] x21: 0000000000002f89 x20: 00000000004df000 [ 7879.750672] x19: 0000000000000000 x18: 0000007fef35b380 [ 7879.750758] x17: 0000007f9f9b0788 x16: 00000000004df408 [ 7879.750844] x15: ffffffffffffffff x14: ffffffffffff0000 [ 7879.750932] x13: ffffffffffffffff x12: 0000000000000030 [ 7879.751018] x11: 0101010101010101 x10: 7f7f7f7f7f7f7f7f [ 7879.751105] x9 : fefefefefefefeff x8 : 00000000000000dc [ 7879.751190] x7 : 1dff6e4f2d647260 x6 : 0000000000008000 [ 7879.751273] x5 : 00000000004ceaf8 x4 : 0000007f9fab30d0 [ 7879.751357] x3 : 0000000000000000 x2 : 0000000000000001 [ 7879.751441] x1 : 0000007f9fac1030 x0 : 0000000000000000 [ 7879.751517] /bin/sh: line 2: 12169 Segmentation fault mv -f $depbase.Tpo $depbase.Po Makefile:2252: recipe for target 'pdb-realloc.o' failed make[5]: *** [pdb-realloc.o] Error 139 make[5]: Leaving directory '/home/b07584/valgrind/memcheck/tests' Makefile:2900: recipe for target 'check-am' failed make[4]: *** [check-am] Error 2 make[4]: Leaving directory '/home/b07584/valgrind/memcheck/tests' Makefile:2752: recipe for target 'check-recursive' failed make[3]: *** [check-recursive] Error 1 make[3]: Leaving directory '/home/b07584/valgrind/memcheck/tests' Makefile:1163: recipe for target 'check-recursive' failed make[2]: *** [check-recursive] Error 1 make[2]: Leaving directory '/home/b07584/valgrind/memcheck' Makefile:742: recipe for target 'check-recursive' failed make[1]: *** [check-recursive] Error 1 make[1]: Leaving directory '/home/b07584/valgrind' Makefile:1030: recipe for target 'check' failed make: *** [check] Error 2 root@genericarmv8:/home/b07584/valgrind# root@genericarmv8:/home/b07584/valgrind# [11] overlap 06/18/2014: ----------- overlap: valgrind -q ./overlap [13001.273659] perl[21712]: undefined instruction: pc=0000000000400f50 [13001.273750] Code: 0000009a 00000012 00402180 00000000 (00000000) [13001.275376] sed[21702]: unhandled level 2 translation fault (11) at 0x7fa39dd290, esr 0x83000006 [13001.275447] pgd = ffffffc07ad36000 [13001.275501] [7fa39dd290] *pgd=00000000d9858003, *pmd=0000000000000000 [13001.275577] [13001.275645] CPU: 0 PID: 21702 Comm: sed Not tainted 3.15.0-1-linaro-vexpress64 #1ubuntu1~ci+140530092655 [13001.275735] task: ffffffc07ac32e00 ti: ffffffc07f2e8000 task.ti: ffffffc07f2e8000 [13001.275806] PC is at 0x7fa39dd290 [13001.275860] LR is at 0x408b58 [13001.275920] pc : [<0000007fa39dd290>] lr : [<0000000000408b58>] pstate: 80000000 [13001.275985] sp : 0000007ffc196690 [13001.276037] x29: 0000007ffc196690 x28: 0000000000000000 [13001.276121] x27: 0000000000425000 x26: 0000000000425000 [13001.276207] x25: 000000000041d000 x24: 000000000041dce9 [13001.276291] x23: 0000000000000001 x22: 000000000041ddd0 [13001.276376] x21: 000000000041de30 x20: ffffffffffffffff [13001.276463] x19: 0000007faa5cd3a0 x18: 0000007ffc1963f0 [13001.276548] x17: 000000000041d928 x16: 0000007fa39dd290 [13001.276635] x15: 0000007faa5ce598 x14: 3930303066666678 [13001.276722] x13: 30202c3862393030 x12: 3066666678302874 [13001.276810] x11: 61636e727473206e x10: 00000000ffffffff [13001.276896] x9 : 6f206e6f6974616e x8 : 000000000000003f [13001.276980] x7 : 0000007ffc1955a8 x6 : 0000007faa464457 [13001.277065] x5 : 00000000249392c8 x4 : 0000007faa5cc560 [13001.277149] x3 : 0000000000000000 x2 : 0000000000000000 [13001.277233] x1 : 0000007faa5ce588 x0 : 0000007faa5cd3a0 [13001.277311] [13001.278398] sed[21703]: unhandled level 2 translation fault (11) at 0x7fa39dd290, esr 0x83000006 [13001.278470] pgd = ffffffc07ac6c000 [13001.278524] [7fa39dd290] *pgd=00000000fac52003, *pmd=0000000000000000 [13001.278600] [13001.278668] CPU: 0 PID: 21703 Comm: sed Not tainted 3.15.0-1-linaro-vexpress64 #1ubuntu1~ci+140530092655 [13001.278757] task: ffffffc07ac32280 ti: ffffffc07f2f0000 task.ti: ffffffc07f2f0000 [13001.278828] PC is at 0x7fa39dd290 [13001.278882] LR is at 0x408b58 [13001.278942] pc : [<0000007fa39dd290>] lr : [<0000000000408b58>] pstate: 60000000 [13001.279007] sp : 0000007fdab27d40 [13001.279060] x29: 0000007fdab27d40 x28: 0000000000000000 [13001.279144] x27: 0000000000425000 x26: 0000000000425000 [13001.279229] x25: 000000000041d000 x24: 000000000041dce9 [13001.279313] x23: 0000000000000001 x22: 000000000041ddd0 [13001.279399] x21: 000000000041de30 x20: ffffffffffffffff [13001.279486] x19: 0000007faa7f33a0 x18: 0000007fdab27aa0 [13001.279572] x17: 0000007fa39dd290 x16: 000000000041d928 [13001.279658] x15: 0000007faa7f4598 x14: 0000000000000000 [13001.279742] x13: 0000000000004000 x12: 0000000000000000 [13001.279825] x11: 0000000000000000 x10: 00000000ffffffff [13001.279909] x9 : 0000000000000000 x8 : 000000000000003f [13001.279992] x7 : 0000000000000000 x6 : 0000000000000000 [13001.280075] x5 : 0000000000000000 x4 : 00000000fbad2088 [13001.280159] x3 : 0000000000000000 x2 : 0000000000000000 [13001.280243] x1 : 0000007faa7f4588 x0 : 0000007faa7f33a0 [13001.280320] [13001.281384] sed[21704]: unhandled level 2 translation fault (11) at 0x7fa39dd290, esr 0x83000006 [13001.281455] pgd = ffffffc07ac91000 [13001.281510] [7fa39dd290] *pgd=00000000faf9b003, *pmd=0000000000000000 [13001.281586] [13001.281653] CPU: 0 PID: 21704 Comm: sed Not tainted 3.15.0-1-linaro-vexpress64 #1ubuntu1~ci+140530092655 [13001.281743] task: ffffffc0599a4e40 ti: ffffffc07acb8000 task.ti: ffffffc07acb8000 [13001.281814] PC is at 0x7fa39dd290 [13001.281868] LR is at 0x408b58 [13001.281928] pc : [<0000007fa39dd290>] lr : [<0000000000408b58>] pstate: 60000000 [13001.281993] sp : 0000007feebcde30 [13001.282045] x29: 0000007feebcde30 x28: 0000000000000000 [13001.282129] x27: 0000000000425000 x26: 0000000000425000 [13001.282215] x25: 000000000041d000 x24: 000000000041dce9 [13001.282299] x23: 0000000000000001 x22: 000000000041ddd0 [13001.282384] x21: 000000000041de30 x20: ffffffffffffffff [13001.282471] x19: 0000007f8cd6d3a0 x18: 0000007feebcdb90 [13001.282558] x17: 0000007fa39dd290 x16: 000000000041d928 [13001.282643] x15: 0000007f8cd6e598 x14: 0000000000000000 [13001.282727] x13: 0000000000004000 x12: 0000000000000000 [13001.282810] x11: 0000000000000000 x10: 00000000ffffffff [13001.282895] x9 : 0000000000000000 x8 : 000000000000003f [13001.282978] x7 : 0000000000000000 x6 : 0000000000000000 [13001.283061] x5 : 0000000000000000 x4 : 00000000fbad2088 [13001.283145] x3 : 0000000000000000 x2 : 0000000000000000 [13001.283228] x1 : 0000007f8cd6e588 x0 : 0000007f8cd6d3a0 [13001.283306] [13001.284381] sed[21705]: unhandled level 2 translation fault (11) at 0x7fa39dd290, esr 0x83000006 [13001.284452] pgd = ffffffc07ac54000 [13001.284506] [7fa39dd290] *pgd=00000008fa8b0003, *pmd=0000000000000000 [13001.284582] [13001.284650] CPU: 0 PID: 21705 Comm: sed Not tainted 3.15.0-1-linaro-vexpress64 #1ubuntu1~ci+140530092655 [13001.284740] task: ffffffc0599a42c0 ti: ffffffc07ac58000 task.ti: ffffffc07ac58000 [13001.284881] PC is at 0x7fa39dd290 [13001.284934] LR is at 0x408b58 [13001.284994] pc : [<0000007fa39dd290>] lr : [<0000000000408b58>] pstate: 60000000 [13001.285059] sp : 0000007fd3388a30 [13001.285110] x29: 0000007fd3388a30 x28: 0000000000000000 [13001.285195] x27: 0000000000425000 x26: 0000000000425000 [13001.285280] x25: 000000000041d000 x24: 000000000041dce9 [13001.285364] x23: 0000000000000001 x22: 000000000041ddd0 [13001.285448] x21: 000000000041de30 x20: ffffffffffffffff [13001.285535] x19: 0000007f818793a0 x18: 0000007fd3388790 [13001.285621] x17: 0000007fa39dd290 x16: 000000000041d928 [13001.285706] x15: 0000007f8187a598 x14: 0000000000000000 [13001.285789] x13: 0000000000000008 x12: 0000000000000000 [13001.285872] x11: 0000000000000000 x10: 0000000000000000 [13001.285955] x9 : 0000000000000000 x8 : 000000000000003f [13001.286038] x7 : 0000000000000000 x6 : 0000000000000081 [13001.286121] x5 : 0000000000000000 x4 : 00000000fbad2088 [13001.286204] x3 : 0000000000000000 x2 : 0000000000000000 [13001.286288] x1 : 0000007f8187a588 x0 : 0000007f818793a0 [13001.286364] [13001.287407] filter_stderr_b[21691]: undefined instruction: pc=000000000041d1d0 [13001.287503] Code: 2520646e 000a2e73 74697257 206e6574 (25207962) [13001.288988] filter_stderr[21689]: undefined instruction: pc=000000000041d1d0 [13001.289083] Code: 2520646e 000a2e73 74697257 206e6574 (25207962) [13001.295775] init[1]: unhandled level 2 translation fault (11) at 0x7fa3a369ac, esr 0x83000006 [13001.295845] pgd = ffffffc87b476000 [13001.295899] [7fa3a369ac] *pgd=00000008fb6d0003, *pmd=0000000000000000 [13001.295975] [13001.296041] CPU: 0 PID: 1 Comm: init Not tainted 3.15.0-1-linaro-vexpress64 #1ubuntu1~ci+140530092655 [13001.296129] task: ffffffc87bcb8bc0 ti: ffffffc87bcbc000 task.ti: ffffffc87bcbc000 [13001.296200] PC is at 0x7fa3a369ac [13001.296253] LR is at 0x4030d8 [13001.296313] pc : [<0000007fa3a369ac>] lr : [<00000000004030d8>] pstate: 80000000 [13001.296377] sp : 0000007fe5831b20 [13001.296429] x29: 0000007fe5831b20 x28: 0000000000406930 [13001.296515] x27: 00000000ffffff9d x26: 0000000000407000 [13001.296600] x25: 00000000ffffffff x24: 0000000000417be0 [13001.296685] x23: 0000000000406f50 x22: 0000000000417c60 [13001.296770] x21: 0000000000417868 x20: 0000000000417000 [13001.296854] x19: 0000007fe5832ea0 x18: 0000007fe5831880 [13001.296940] x17: 000000000041d7a0 x16: 0000007fa3a369ac [13001.297026] x15: 001e3d7386000000 x14: 0000000000000000 [13001.297111] x13: 00000003e8000000 x12: 0000000000000018 [13001.297195] x11: 000000000007bdcf x10: 00000000ffffffff [13001.297280] x9 : 000000000027a9fe x8 : 0000000000000048 [13001.297362] x7 : 0000000000000400 x6 : 0000000000000400 [13001.297445] x5 : 0000000000000000 x4 : 0000007fe5832e10 [13001.297529] x3 : 0000000000000000 x2 : 0000000000000000 [13001.297613] x1 : 0000007fe5832fb0 x0 : 0000000000000011 [13001.297688] [13001.297788] init[1]: unhandled level 2 translation fault (11) at 0x7fa3a369ac, esr 0x83000006 [13001.297858] pgd = ffffffc87b476000 [13001.297912] [7fa3a369ac] *pgd=00000008fb6d0003, *pmd=0000000000000000 [13001.297988] [13001.298054] CPU: 0 PID: 1 Comm: init Not tainted 3.15.0-1-linaro-vexpress64 #1ubuntu1~ci+140530092655 [13001.298142] task: ffffffc87bcb8bc0 ti: ffffffc87bcbc000 task.ti: ffffffc87bcbc000 [13001.298213] PC is at 0x7fa3a369ac [13001.298266] LR is at 0x403834 [13001.298326] pc : [<0000007fa3a369ac>] lr : [<0000000000403834>] pstate: 80000000 [13001.298391] sp : 0000007fe5830800 [13001.298443] x29: 0000007fe5830800 x28: 0000000000406930 [13001.298528] x27: 00000000ffffff9d x26: 0000000000407000 [13001.298613] x25: 00000000ffffffff x24: 0000000000417be0 [13001.298698] x23: 0000000000406f50 x22: 0000000000417c60 [13001.298783] x21: 0000000000417868 x20: 0000000000417000 [13001.298868] x19: 0000007fe5832ea0 x18: 0000007fe5831880 [13001.298954] x17: 0000007fa3a369ac x16: 000000000041d7a0 [13001.299040] x15: 001e3d7386000000 x14: 0000000000000000 [13001.299124] x13: 00000003e8000000 x12: 0000000000000018 [13001.299208] x11: 000000000007bdcf x10: 00000000ffffffff [13001.299293] x9 : 000000000027a9fe x8 : 0000000000000048 [13001.299375] x7 : 0000000000000400 x6 : 0000000000000400 [13001.299458] x5 : 0000000000000000 x4 : 0000007fe5832e10 [13001.299542] x3 : 0000000000000000 x2 : 0000000000000000 [13001.299626] x1 : 0000007fe5832fb0 x0 : 000000000000000b [13001.299701] [13001.300510] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b [13001.300510] [13001.300623] CPU: 0 PID: 1 Comm: init Not tainted 3.15.0-1-linaro-vexpress64 #1ubuntu1~ci+140530092655 [13001.300690] Call trace: [13001.300765] [] dump_backtrace+0x0/0x13c [13001.300851] [] show_stack+0x20/0x2c [13001.300926] [] dump_stack+0x80/0xc8 [13001.301010] [] panic+0xec/0x224 [13001.301092] [] do_exit+0x9a4/0x9a8 [13001.301177] [] do_group_exit+0x40/0xd0 [13001.301270] [] get_signal_to_deliver+0x1e0/0x548 [13001.301359] [] do_signal+0x540/0x560 [13001.301445] [] do_notify_resume+0x34/0x64 [13001.301518] ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b [13001.301518]