All pastes #2094062 Raw Edit

Mine

public text v1 · immutable
#2094062 ·published 2011-11-13 00:50 UTC
rendered paste body
[endeavor@endeavor-desktop src]$ valgrind -v ./lua -e "print('hi')"
==20119== Memcheck, a memory error detector
==20119== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al.
==20119== Using Valgrind-3.6.1 and LibVEX; rerun with -h for copyright info
==20119== Command: ./lua -e print('hi')
==20119== 
--20119-- Valgrind options:
--20119--    -v
--20119-- Contents of /proc/version:
--20119--   Linux version 3.0-ARCH (tobias@T-POWA-LX) (gcc version 4.6.1 20110819 (prerelease) (GCC) ) #1 SMP PREEMPT Wed Oct 19 10:27:51 CEST 2011
--20119-- Arch and hwcaps: AMD64, amd64-sse3-cx16
--20119-- Page sizes: currently 4096, max supported 4096
--20119-- Valgrind library directory: /usr/lib/valgrind
--20119-- Reading syms from /home/endeavor/source/lua-5.1.4/src/lua (0x400000)
--20119-- Reading syms from /lib/ld-2.14.1.so (0x4000000)
--20119-- Reading syms from /usr/lib/valgrind/memcheck-amd64-linux (0x38000000)
--20119--    object doesn't have a symbol table
--20119--    object doesn't have a dynamic symbol table
--20119-- Reading suppressions file: /usr/lib/valgrind/default.supp
--20119-- REDIR: 0x4016c10 (strlen) redirected to 0x3805f7b7 (???)
--20119-- Reading syms from /usr/lib/valgrind/vgpreload_core-amd64-linux.so (0x4a22000)
--20119--    object doesn't have a symbol table
--20119-- Reading syms from /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so (0x4c23000)
--20119--    object doesn't have a symbol table
==20119== WARNING: new redirection conflicts with existing -- ignoring it
--20119--     new: 0x04016c10 (strlen              ) R-> 0x04c27de0 strlen
--20119-- REDIR: 0x4016a80 (index) redirected to 0x4c27a00 (index)
--20119-- REDIR: 0x4016b00 (strcmp) redirected to 0x4c289e0 (strcmp)
--20119-- Reading syms from /lib/libm-2.14.1.so (0x4e2d000)
--20119--    object doesn't have a symbol table
--20119-- Reading syms from /lib/libdl-2.14.1.so (0x50af000)
--20119--    object doesn't have a symbol table
--20119-- Reading syms from /lib/libreadline.so.6.2 (0x52b3000)
--20119-- Reading syms from /lib/libhistory.so.6.2 (0x54f9000)
--20119-- Reading syms from /lib/libncursesw.so.5.9 (0x5702000)
--20119--    object doesn't have a symbol table
--20119-- Reading syms from /lib/libc-2.14.1.so (0x595f000)
--20119--    object doesn't have a symbol table
--20119-- REDIR: 0x59df120 (strcasecmp) redirected to 0x4a225d0 (_vgnU_ifunc_wrapper)
--20119-- REDIR: 0x59e13e0 (strncasecmp) redirected to 0x4a225d0 (_vgnU_ifunc_wrapper)
--20119-- REDIR: 0x59d63b0 (realloc) redirected to 0x4c27470 (realloc)
--20119-- REDIR: 0x59d62d0 (free) redirected to 0x4c26500 (free)
--20119-- REDIR: 0x59db670 (strlen) redirected to 0x4a225d0 (_vgnU_ifunc_wrapper)
--20119-- REDIR: 0x5a713d0 (???) redirected to 0x4c27d80 (strlen)
--20119-- REDIR: 0x59e3ab0 (memcpy) redirected to 0x4a225d0 (_vgnU_ifunc_wrapper)
--20119-- REDIR: 0x5a7f690 (???) redirected to 0x4c28ae0 (memcpy)
--20119-- REDIR: 0x59dd910 (bcmp) redirected to 0x4a225d0 (_vgnU_ifunc_wrapper)
--20119-- REDIR: 0x5a8bdf0 (???) redirected to 0x4c295b0 (bcmp)
--20119-- REDIR: 0x59d9ae0 (index) redirected to 0x4a225d0 (_vgnU_ifunc_wrapper)
--20119-- REDIR: 0x5a69bb0 (???) redirected to 0x4c27870 (index)
==20119== Invalid read of size 8
==20119==    at 0x59DB6C1: ??? (in /lib/libc-2.14.1.so)
==20119==    by 0x59C362D: fputs (in /lib/libc-2.14.1.so)
==20119==    by 0x417267: luaB_print (in /home/endeavor/source/lua-5.1.4/src/lua)
==20119==    by 0x40852B: luaD_precall (in /home/endeavor/source/lua-5.1.4/src/lua)
==20119==    by 0x411A47: luaV_execute (in /home/endeavor/source/lua-5.1.4/src/lua)
==20119==    by 0x40893C: luaD_call (in /home/endeavor/source/lua-5.1.4/src/lua)
==20119==    by 0x407BF6: luaD_rawrunprotected (in /home/endeavor/source/lua-5.1.4/src/lua)
==20119==    by 0x408AD1: luaD_pcall (in /home/endeavor/source/lua-5.1.4/src/lua)
==20119==    by 0x4061FE: lua_pcall (in /home/endeavor/source/lua-5.1.4/src/lua)
==20119==    by 0x4043E5: docall (in /home/endeavor/source/lua-5.1.4/src/lua)
==20119==    by 0x40447D: dostring (in /home/endeavor/source/lua-5.1.4/src/lua)
==20119==    by 0x404986: pmain (in /home/endeavor/source/lua-5.1.4/src/lua)
==20119==  Address 0x5cf5398 is 24 bytes inside a block of size 27 alloc'd
==20119==    at 0x4C2740D: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==20119==    by 0x4C27597: realloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==20119==    by 0x40A97B: luaM_realloc_ (in /home/endeavor/source/lua-5.1.4/src/lua)
==20119==    by 0x40E565: luaS_newlstr (in /home/endeavor/source/lua-5.1.4/src/lua)
==20119==    by 0x415B31: luaX_newstring (in /home/endeavor/source/lua-5.1.4/src/lua)
==20119==    by 0x415F52: llex (in /home/endeavor/source/lua-5.1.4/src/lua)
==20119==    by 0x416828: luaX_next (in /home/endeavor/source/lua-5.1.4/src/lua)
==20119==    by 0x40C23F: funcargs (in /home/endeavor/source/lua-5.1.4/src/lua)
==20119==    by 0x40C445: primaryexp (in /home/endeavor/source/lua-5.1.4/src/lua)
==20119==    by 0x40C533: chunk (in /home/endeavor/source/lua-5.1.4/src/lua)
==20119==    by 0x40DCE4: luaY_parser (in /home/endeavor/source/lua-5.1.4/src/lua)
==20119==    by 0x407F6F: f_parser (in /home/endeavor/source/lua-5.1.4/src/lua)
==20119== 
hi
==20119== 
==20119== HEAP SUMMARY:
==20119==     in use at exit: 0 bytes in 0 blocks
==20119==   total heap usage: 430 allocs, 430 frees, 33,475 bytes allocated
==20119== 
==20119== All heap blocks were freed -- no leaks are possible
==20119== 
==20119== ERROR SUMMARY: 2 errors from 1 contexts (suppressed: 6 from 6)
==20119== 
==20119== 2 errors in context 1 of 1:
==20119== Invalid read of size 8
==20119==    at 0x59DB6C1: ??? (in /lib/libc-2.14.1.so)
==20119==    by 0x59C362D: fputs (in /lib/libc-2.14.1.so)
==20119==    by 0x417267: luaB_print (in /home/endeavor/source/lua-5.1.4/src/lua)
==20119==    by 0x40852B: luaD_precall (in /home/endeavor/source/lua-5.1.4/src/lua)
==20119==    by 0x411A47: luaV_execute (in /home/endeavor/source/lua-5.1.4/src/lua)
==20119==    by 0x40893C: luaD_call (in /home/endeavor/source/lua-5.1.4/src/lua)
==20119==    by 0x407BF6: luaD_rawrunprotected (in /home/endeavor/source/lua-5.1.4/src/lua)
==20119==    by 0x408AD1: luaD_pcall (in /home/endeavor/source/lua-5.1.4/src/lua)
==20119==    by 0x4061FE: lua_pcall (in /home/endeavor/source/lua-5.1.4/src/lua)
==20119==    by 0x4043E5: docall (in /home/endeavor/source/lua-5.1.4/src/lua)
==20119==    by 0x40447D: dostring (in /home/endeavor/source/lua-5.1.4/src/lua)
==20119==    by 0x404986: pmain (in /home/endeavor/source/lua-5.1.4/src/lua)
==20119==  Address 0x5cf5398 is 24 bytes inside a block of size 27 alloc'd
==20119==    at 0x4C2740D: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==20119==    by 0x4C27597: realloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==20119==    by 0x40A97B: luaM_realloc_ (in /home/endeavor/source/lua-5.1.4/src/lua)
==20119==    by 0x40E565: luaS_newlstr (in /home/endeavor/source/lua-5.1.4/src/lua)
==20119==    by 0x415B31: luaX_newstring (in /home/endeavor/source/lua-5.1.4/src/lua)
==20119==    by 0x415F52: llex (in /home/endeavor/source/lua-5.1.4/src/lua)
==20119==    by 0x416828: luaX_next (in /home/endeavor/source/lua-5.1.4/src/lua)
==20119==    by 0x40C23F: funcargs (in /home/endeavor/source/lua-5.1.4/src/lua)
==20119==    by 0x40C445: primaryexp (in /home/endeavor/source/lua-5.1.4/src/lua)
==20119==    by 0x40C533: chunk (in /home/endeavor/source/lua-5.1.4/src/lua)
==20119==    by 0x40DCE4: luaY_parser (in /home/endeavor/source/lua-5.1.4/src/lua)
==20119==    by 0x407F6F: f_parser (in /home/endeavor/source/lua-5.1.4/src/lua)
==20119== 
--20119-- 
--20119-- used_suppression:      4 U1004-ARM-_dl_relocate_object
--20119-- used_suppression:      2 glibc-2.5.x-on-SUSE-10.2-(PPC)-2a
==20119== 
==20119== ERROR SUMMARY: 2 errors from 1 contexts (suppressed: 6 from 6)