- bash-3.2# uname -a
- Linux ecu01 3.10.108-rt123-ga2eaea8 #2 PREEMPT RT Mon Oct 28 16:06:49 CET 2019 armv5tejl GNU/Linux
- bash-3.2# valgrind /bin/bash -c 'echo $((14/3));printf "nrubsig was here\n"'
- ==1001== Memcheck, a memory error detector
- ==1001== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
- ==1001== Using Valgrind-3.14.0 and LibVEX; rerun with -h for copyright info
- ==1001== Command: /bin/bash -c echo\ $((14/3));printf\ "nrubsig\ was\ here\\n"
- ==1001==
- ==1001== Conditional jump or move depends on uninitialised value(s)
- ==1001== at 0xA60B4: rawmemchr (rawmemchr.c:145)
- ==1001== by 0x9C56B: _IO_str_init_static_internal (strops.c:44)
- ==1001== by 0xE0837: vsscanf (iovsscanf.c:43)
- ==1001== by 0xDEB73: sscanf (sscanf.c:33)
- ==1001== by 0xC152F: phys_pages_info (getsysstats.c:308)
- ==1001== by 0xAFFEF: posix_sysconf (sysconf.c:633)
- ==1001== by 0xAFFEF: sysconf (sysconf.c:145)
- ==1001== by 0x84E0B: qsort_r (msort.c:187)
- ==1001== by 0x84E9B: qsort (msort.c:307)
- ==1001== by 0xB833: shell_initialize (shell.c:1625)
- ==1001== by 0x9E87: main (shell.c:533)
- ==1001==
- ==1001== Conditional jump or move depends on uninitialised value(s)
- ==1001== at 0xAEB38: getpid (getpid.c:56)
- ==1001== by 0x20803: initialize_shell_variables (variables.c:376)
- ==1001== by 0xB88B: shell_initialize (shell.c:1659)
- ==1001== by 0x9E87: main (shell.c:533)
- ==1001==
- ==1001== Conditional jump or move depends on uninitialised value(s)
- ==1001== at 0xAEB44: really_getpid (getpid.c:30)
- ==1001== by 0xAEB44: getpid (getpid.c:57)
- ==1001== by 0x20803: initialize_shell_variables (variables.c:376)
- ==1001== by 0xB88B: shell_initialize (shell.c:1659)
- ==1001== by 0x9E87: main (shell.c:533)
- ==1001==
- ==1001== Conditional jump or move depends on uninitialised value(s)
- ==1001== at 0xAEB54: really_getpid (getpid.c:33)
- ==1001== by 0xAEB54: getpid (getpid.c:57)
- ==1001== by 0x20803: initialize_shell_variables (variables.c:376)
- ==1001== by 0xB88B: shell_initialize (shell.c:1659)
- ==1001== by 0x9E87: main (shell.c:533)
- ==1001==
- ==1001== Conditional jump or move depends on uninitialised value(s)
- ==1001== at 0xAEB64: really_getpid (getpid.c:43)
- ==1001== by 0xAEB64: getpid (getpid.c:57)
- ==1001== by 0x20803: initialize_shell_variables (variables.c:376)
- ==1001== by 0xB88B: shell_initialize (shell.c:1659)
- ==1001== by 0x9E87: main (shell.c:533)
- ==1001==
- ==1001== Conditional jump or move depends on uninitialised value(s)
- ==1001== at 0xA3A50: index (strchr.c:134)
- ==1001== by 0x5B1B3: xstrchr (xstrchr.c:77)
- ==1001== by 0x33BF7: brace_expand_word_list (subst.c:7956)
- ==1001== by 0x33BF7: expand_word_list_internal (subst.c:8145)
- ==1001== by 0x1A46F: execute_simple_command (execute_cmd.c:2871)
- ==1001== by 0x1A46F: execute_command_internal (execute_cmd.c:678)
- ==1001== by 0x1A46F: execute_command_internal (execute_cmd.c:492)
- ==1001== by 0x1CA67: execute_command (execute_cmd.c:352)
- ==1001== by 0x1AE73: execute_connection (execute_cmd.c:1556)
- ==1001== by 0x1AE73: execute_command_internal (execute_cmd.c:830)
- ==1001== by 0x1AE73: execute_command_internal (execute_cmd.c:492)
- ==1001== by 0x4AA07: parse_and_execute (evalstring.c:289)
- ==1001== by 0xB417: run_one_command (shell.c:1272)
- ==1001== by 0x9FB7: main (shell.c:654)
- ==1001==
- ==1001== Conditional jump or move depends on uninitialised value(s)
- ==1001== at 0xA3A50: index (strchr.c:134)
- ==1001== by 0x291DF: remove_quoted_nulls (subst.c:3198)
- ==1001== by 0x2D3B3: word_list_remove_quoted_nulls (subst.c:3243)
- ==1001== by 0x33B13: shell_expand_word_list (subst.c:8067)
- ==1001== by 0x33B13: expand_word_list_internal (subst.c:8151)
- ==1001== by 0x1A46F: execute_simple_command (execute_cmd.c:2871)
- ==1001== by 0x1A46F: execute_command_internal (execute_cmd.c:678)
- ==1001== by 0x1A46F: execute_command_internal (execute_cmd.c:492)
- ==1001== by 0x1CA67: execute_command (execute_cmd.c:352)
- ==1001== by 0x1AE73: execute_connection (execute_cmd.c:1556)
- ==1001== by 0x1AE73: execute_command_internal (execute_cmd.c:830)
- ==1001== by 0x1AE73: execute_command_internal (execute_cmd.c:492)
- ==1001== by 0x4AA07: parse_and_execute (evalstring.c:289)
- ==1001== by 0xB417: run_one_command (shell.c:1272)
- ==1001== by 0x9FB7: main (shell.c:654)
- ==1001==
- ==1001== Conditional jump or move depends on uninitialised value(s)
- ==1001== at 0xA3A50: index (strchr.c:134)
- ==1001== by 0x2D053: dequote_string (subst.c:3110)
- ==1001== by 0x33D3F: glob_expand_word_list (subst.c:7912)
- ==1001== by 0x33D3F: expand_word_list_internal (subst.c:8159)
- ==1001== by 0x1A46F: execute_simple_command (execute_cmd.c:2871)
- ==1001== by 0x1A46F: execute_command_internal (execute_cmd.c:678)
- ==1001== by 0x1A46F: execute_command_internal (execute_cmd.c:492)
- ==1001== by 0x1CA67: execute_command (execute_cmd.c:352)
- ==1001== by 0x1AE73: execute_connection (execute_cmd.c:1556)
- ==1001== by 0x1AE73: execute_command_internal (execute_cmd.c:830)
- ==1001== by 0x1AE73: execute_command_internal (execute_cmd.c:492)
- ==1001== by 0x4AA07: parse_and_execute (evalstring.c:289)
- ==1001== by 0xB417: run_one_command (shell.c:1272)
- ==1001== by 0x9FB7: main (shell.c:654)
- ==1001==
- 4
- nrubsig was here
- ==1001==
- ==1001== HEAP SUMMARY:
- ==1001== in use at exit: 0 bytes in 0 blocks
- ==1001== total heap usage: 0 allocs, 0 frees, 0 bytes allocated
- ==1001==
- ==1001== All heap blocks were freed -- no leaks are possible
- ==1001==
- ==1001== For counts of detected and suppressed errors, rerun with: -v
- ==1001== Use --track-origins=yes to see where uninitialised values come from
- ==1001== ERROR SUMMARY: 12 errors from 8 contexts (suppressed: 0 from 0)
- bash-3.2# cat /proc/cpuinfo
- processor : 0
- model name : ARM926EJ-S rev 4 (v5l)
- BogoMIPS : 398.13
- Features : swp half thumb fastmult edsp java
- CPU implementer : 0x41
- CPU architecture: 5TEJ
- CPU variant : 0x0
- CPU part : 0x926
- CPU revision : 4
- Hardware : Eckelmann ECU01
- Revision : 0000
- Serial : de86d00200081d2a
valgrind on Quantron (ARMv5) lives! (and works, too!)
Posted by Anonymous on Tue 29th Oct 2019 10:37
raw | new post
Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.