[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: LuaJIT optimization bug?
- From: Pierre Chapuis <catwell@...>
- Date: Fri, 19 Aug 2011 17:30:10 +0200
I managed to reproduce the bug on a Linux 64 bits VM
and run the software in Valgrind.
I have attached to this email the result of a Valgrind run
with -O3 -O-fwd (works) and another one with -O3 only
(does not work).
--
Pierre 'catwell' Chapuis
==3861== Memcheck, a memory error detector
==3861== Copyright (C) 2002-2009, and GNU GPL'd, by Julian Seward et al.
==3861== Using Valgrind-3.5.0 and LibVEX; rerun with -h for copyright info
==3861== Command: /usr/local/bin/luajit -O3 -lluarocks.loader run.lua
==3861==
--3861-- Valgrind options:
--3861-- -v
--3861-- --track-origins=yes
--3861-- Contents of /proc/version:
--3861-- Linux version 2.6.35.11-83.9.amzn1.x86_64 (mockbuild@build-31003.build) (gcc version 4.4.4 20100726 (Red Hat 4.4.4-13) (GCC) ) #1 SMP Sat Feb 19 23:42:04 UTC 2011
--3861-- Arch and hwcaps: AMD64, amd64-sse3-cx16
--3861-- Page sizes: currently 4096, max supported 4096
--3861-- Valgrind library directory: /usr/lib64/valgrind
--3861-- Reading syms from /usr/local/bin/luajit-2.0.0-beta8 (0x400000)
--3861-- Reading syms from /lib64/ld-2.12.so (0x4000000)
--3861-- Reading syms from /usr/lib64/valgrind/memcheck-amd64-linux (0x38000000)
--3861-- object doesn't have a dynamic symbol table
--3861-- Reading suppressions file: /usr/lib64/valgrind/default.supp
--3861-- REDIR: 0x4017640 (strlen) redirected to 0x3803f6f7 (vgPlain_amd64_linux_REDIR_FOR_strlen)
--3861-- Reading syms from /usr/lib64/valgrind/vgpreload_core-amd64-linux.so (0x4a21000)
--3861-- Reading syms from /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so (0x4c22000)
==3861== WARNING: new redirection conflicts with existing -- ignoring it
--3861-- new: 0x04017640 (strlen ) R-> 0x04c26340 strlen
--3861-- REDIR: 0x4017380 (index) redirected to 0x4c25f80 (index)
--3861-- REDIR: 0x4017530 (strcmp) redirected to 0x4c26900 (strcmp)
--3861-- Reading syms from /lib64/libm-2.12.so (0x4e2a000)
--3861-- Reading syms from /lib64/libdl-2.12.so (0x50ae000)
--3861-- Reading syms from /lib64/libgcc_s-4.4.4-20100726.so.1 (0x52b2000)
--3861-- object doesn't have a symbol table
--3861-- Reading syms from /lib64/libc-2.12.so (0x54c8000)
--3861-- REDIR: 0x55497c0 (rindex) redirected to 0x4c25dd0 (rindex)
--3861-- REDIR: 0x554aee0 (memset) redirected to 0x4c27540 (memset)
--3861-- REDIR: 0x554c370 (memcpy) redirected to 0x4c269d0 (memcpy)
--3861-- REDIR: 0x5547c20 (strlen) redirected to 0x4c262e0 (strlen)
--3861-- REDIR: 0x5546200 (index) redirected to 0x4c25e90 (index)
--3861-- REDIR: 0x4018170 (stpcpy) redirected to 0x4c27470 (stpcpy)
--3861-- REDIR: 0x55416e0 (malloc) redirected to 0x4c250db (malloc)
--3861-- REDIR: 0x5542460 (free) redirected to 0x4c24ceb (free)
--3861-- REDIR: 0x5547df0 (strncmp) redirected to 0x4c267a0 (strncmp)
--3861-- REDIR: 0x554c020 (stpcpy) redirected to 0x4c27200 (stpcpy)
--3861-- REDIR: 0x554ba10 (mempcpy) redirected to 0x4c27690 (mempcpy)
==3861== Conditional jump or move depends on uninitialised value(s)
==3861== at 0x4061E9: lj_str_new (lj_str.c:54)
==3861== by 0x40B7BA: lua_pushlstring (lj_api.c:583)
==3861== by 0x41C70A: emptybuffer (lib_aux.c:122)
==3861== by 0x41C948: luaL_pushresult (lib_aux.c:166)
==3861== by 0x450E30: lj_cf_string_gsub (lib_string.c:647)
==3861== by 0x420A8C: lj_BC_FUNCC (in /usr/local/bin/luajit-2.0.0-beta8)
==3861== by 0x4543AC: lj_cf_package_require (lib_package.c:411)
==3861== by 0x420A8C: lj_BC_FUNCC (in /usr/local/bin/luajit-2.0.0-beta8)
==3861== by 0x40ABD9: lua_pcall (lj_api.c:1028)
==3861== by 0x4038A5: docall (luajit.c:121)
==3861== by 0x40497D: pmain (luajit.c:285)
==3861== by 0x420A8C: lj_BC_FUNCC (in /usr/local/bin/luajit-2.0.0-beta8)
==3861== Uninitialised value was created by a stack allocation
==3861== at 0x450BDF: lj_cf_string_gsub (lib_string.c:612)
==3861==
--3861-- REDIR: 0x5541320 (calloc) redirected to 0x4c243d3 (calloc)
--3861-- Reading syms from /usr/local/lib/lua/5.1/lfs.so (0x5c3a000)
--3861-- Reading syms from /usr/local/lib/lua/5.1/limlib2.so (0x5e3e000)
--3861-- Reading syms from /usr/local/lib/libImlib2.so.1.4.4 (0x6047000)
--3861-- Reading syms from /usr/lib64/libfreetype.so.6.3.22 (0x62c3000)
--3861-- object doesn't have a symbol table
--3861-- Reading syms from /usr/lib64/libX11.so.6.3.0 (0x655f000)
--3861-- object doesn't have a symbol table
--3861-- Reading syms from /usr/lib64/libXext.so.6.4.0 (0x689e000)
--3861-- object doesn't have a symbol table
--3861-- Reading syms from /usr/lib64/libxcb.so.1.1.0 (0x6ab0000)
--3861-- object doesn't have a symbol table
--3861-- Reading syms from /usr/lib64/libXau.so.6.0.0 (0x6ccb000)
--3861-- object doesn't have a symbol table
--3861-- REDIR: 0x5549640 (strncpy) redirected to 0x4c26500 (strncpy)
--3861-- REDIR: 0x554ed20 (strchrnul) redirected to 0x4c27620 (strchrnul)
--3861-- REDIR: 0xffffffffff600400 (???) redirected to 0x3803f6ed (vgPlain_amd64_linux_REDIR_FOR_vtime)
--3861-- REDIR: 0x554ad20 (memmove) redirected to 0x4c275b0 (memmove)
--3861-- REDIR: 0x5546280 (strcmp) redirected to 0x4c26860 (strcmp)
--3861-- REDIR: 0x55428e0 (realloc) redirected to 0x4c2518c (realloc)
--3861-- Reading syms from /usr/local/lib/imlib2/loaders/zlib.so (0x6ece000)
--3861-- Reading syms from /lib64/libz.so.1.2.3 (0x70d0000)
--3861-- object doesn't have a symbol table
--3861-- Reading syms from /usr/local/lib/imlib2/loaders/xpm.so (0x72e5000)
--3861-- Reading syms from /usr/local/lib/imlib2/loaders/tiff.so (0x74e8000)
--3861-- Reading syms from /usr/lib64/libtiff.so.3.9.4 (0x76eb000)
--3861-- object doesn't have a symbol table
--3861-- Reading syms from /usr/lib64/libjpeg.so.62.0.0 (0x794f000)
--3861-- object doesn't have a symbol table
--3861-- Reading syms from /usr/local/lib/imlib2/loaders/tga.so (0x7b73000)
--3861-- Reading syms from /usr/local/lib/imlib2/loaders/pnm.so (0x7d75000)
--3861-- Reading syms from /usr/local/lib/imlib2/loaders/png.so (0x7f78000)
--3861-- Reading syms from /usr/lib64/libpng12.so.0.44.0 (0x817b000)
--3861-- object doesn't have a symbol table
--3861-- Reading syms from /usr/local/lib/imlib2/loaders/lbm.so (0x83a1000)
--3861-- Reading syms from /usr/local/lib/imlib2/loaders/jpeg.so (0x85a4000)
--3861-- Reading syms from /usr/local/lib/imlib2/loaders/bz2.so (0x87a6000)
--3861-- Reading syms from /lib64/libbz2.so.1.0.6 (0x89a8000)
--3861-- object doesn't have a symbol table
--3861-- Reading syms from /usr/local/lib/imlib2/loaders/bmp.so (0x8bb9000)
--3861-- Reading syms from /usr/local/lib/imlib2/loaders/argb.so (0x8dbc000)
==3861== Conditional jump or move depends on uninitialised value(s)
==3861== at 0x4061E9: lj_str_new (lj_str.c:54)
==3861== by 0x40B7BA: lua_pushlstring (lj_api.c:583)
==3861== by 0x44F78E: lj_cf_bit_tohex (lib_bit.c:61)
==3861== by 0x420A8C: lj_BC_FUNCC (in /usr/local/bin/luajit-2.0.0-beta8)
==3861== by 0x40ABD9: lua_pcall (lj_api.c:1028)
==3861== by 0x4038A5: docall (luajit.c:121)
==3861== by 0x40497D: pmain (luajit.c:285)
==3861== by 0x420A8C: lj_BC_FUNCC (in /usr/local/bin/luajit-2.0.0-beta8)
==3861== by 0x40A0C1: lua_cpcall (lj_api.c:1050)
==3861== by 0x4037DE: main (luajit.c:548)
==3861== Uninitialised value was created by a stack allocation
==3861== at 0x44F730: lj_cf_bit_tohex (lib_bit.c:53)
==3861==
--3861-- Discarding syms at 0x5e41a30-0x5e44b68 in /usr/local/lib/lua/5.1/limlib2.so due to munmap()
--3861-- Discarding syms at 0x5c3b820-0x5c3c828 in /usr/local/lib/lua/5.1/lfs.so due to munmap()
==3861==
==3861== HEAP SUMMARY:
==3861== in use at exit: 179,260 bytes in 179 blocks
==3861== total heap usage: 453 allocs, 274 frees, 292,075 bytes allocated
==3861==
==3861== Searching for pointers to 179 not-freed blocks
==3861== Checked 494,792 bytes
==3861==
==3861== LEAK SUMMARY:
==3861== definitely lost: 0 bytes in 0 blocks
==3861== indirectly lost: 0 bytes in 0 blocks
==3861== possibly lost: 5,540 bytes in 42 blocks
==3861== still reachable: 173,720 bytes in 137 blocks
==3861== suppressed: 0 bytes in 0 blocks
==3861== Rerun with --leak-check=full to see details of leaked memory
==3861==
==3861== ERROR SUMMARY: 14617 errors from 2 contexts (suppressed: 76 from 7)
==3861==
==3861== 7208 errors in context 1 of 2:
==3861== Conditional jump or move depends on uninitialised value(s)
==3861== at 0x4061E9: lj_str_new (lj_str.c:54)
==3861== by 0x40B7BA: lua_pushlstring (lj_api.c:583)
==3861== by 0x44F78E: lj_cf_bit_tohex (lib_bit.c:61)
==3861== by 0x420A8C: lj_BC_FUNCC (in /usr/local/bin/luajit-2.0.0-beta8)
==3861== by 0x40ABD9: lua_pcall (lj_api.c:1028)
==3861== by 0x4038A5: docall (luajit.c:121)
==3861== by 0x40497D: pmain (luajit.c:285)
==3861== by 0x420A8C: lj_BC_FUNCC (in /usr/local/bin/luajit-2.0.0-beta8)
==3861== by 0x40A0C1: lua_cpcall (lj_api.c:1050)
==3861== by 0x4037DE: main (luajit.c:548)
==3861== Uninitialised value was created by a stack allocation
==3861== at 0x44F730: lj_cf_bit_tohex (lib_bit.c:53)
==3861==
==3861==
==3861== 7409 errors in context 2 of 2:
==3861== Conditional jump or move depends on uninitialised value(s)
==3861== at 0x4061E9: lj_str_new (lj_str.c:54)
==3861== by 0x40B7BA: lua_pushlstring (lj_api.c:583)
==3861== by 0x41C70A: emptybuffer (lib_aux.c:122)
==3861== by 0x41C948: luaL_pushresult (lib_aux.c:166)
==3861== by 0x450E30: lj_cf_string_gsub (lib_string.c:647)
==3861== by 0x420A8C: lj_BC_FUNCC (in /usr/local/bin/luajit-2.0.0-beta8)
==3861== by 0x4543AC: lj_cf_package_require (lib_package.c:411)
==3861== by 0x420A8C: lj_BC_FUNCC (in /usr/local/bin/luajit-2.0.0-beta8)
==3861== by 0x40ABD9: lua_pcall (lj_api.c:1028)
==3861== by 0x4038A5: docall (luajit.c:121)
==3861== by 0x40497D: pmain (luajit.c:285)
==3861== by 0x420A8C: lj_BC_FUNCC (in /usr/local/bin/luajit-2.0.0-beta8)
==3861== Uninitialised value was created by a stack allocation
==3861== at 0x450BDF: lj_cf_string_gsub (lib_string.c:612)
==3861==
--3861--
--3861-- used_suppression: 76 dl-hack3-cond-1
==3861==
==3861== ERROR SUMMARY: 14617 errors from 2 contexts (suppressed: 76 from 7)
==3864== Memcheck, a memory error detector
==3864== Copyright (C) 2002-2009, and GNU GPL'd, by Julian Seward et al.
==3864== Using Valgrind-3.5.0 and LibVEX; rerun with -h for copyright info
==3864== Command: /usr/local/bin/luajit -O3 -O-fwd -lluarocks.loader run.lua
--3864-- Valgrind options:
--3864-- -v
--3864-- --track-origins=yes
--3864-- Contents of /proc/version:
--3864-- Linux version 2.6.35.11-83.9.amzn1.x86_64 (mockbuild@build-31003.build) (gcc version 4.4.4 20100726 (Red Hat 4.4.4-13) (GCC) ) #1 SMP Sat Feb 19 23:42:04 UTC 2011
--3864-- Arch and hwcaps: AMD64, amd64-sse3-cx16
--3864-- Page sizes: currently 4096, max supported 4096
--3864-- Valgrind library directory: /usr/lib64/valgrind
--3864-- Reading syms from /usr/local/bin/luajit-2.0.0-beta8 (0x400000)
--3864-- Reading syms from /lib64/ld-2.12.so (0x4000000)
--3864-- Reading syms from /usr/lib64/valgrind/memcheck-amd64-linux (0x38000000)
--3864-- object doesn't have a dynamic symbol table
--3864-- Reading suppressions file: /usr/lib64/valgrind/default.supp
--3864-- REDIR: 0x4017640 (strlen) redirected to 0x3803f6f7 (vgPlain_amd64_linux_REDIR_FOR_strlen)
--3864-- Reading syms from /usr/lib64/valgrind/vgpreload_core-amd64-linux.so (0x4a21000)
--3864-- Reading syms from /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so (0x4c22000)
==3864== WARNING: new redirection conflicts with existing -- ignoring it
--3864-- new: 0x04017640 (strlen ) R-> 0x04c26340 strlen
--3864-- REDIR: 0x4017380 (index) redirected to 0x4c25f80 (index)
--3864-- REDIR: 0x4017530 (strcmp) redirected to 0x4c26900 (strcmp)
--3864-- Reading syms from /lib64/libm-2.12.so (0x4e2a000)
--3864-- Reading syms from /lib64/libdl-2.12.so (0x50ae000)
--3864-- Reading syms from /lib64/libgcc_s-4.4.4-20100726.so.1 (0x52b2000)
--3864-- object doesn't have a symbol table
--3864-- Reading syms from /lib64/libc-2.12.so (0x54c8000)
--3864-- REDIR: 0x55497c0 (rindex) redirected to 0x4c25dd0 (rindex)
--3864-- REDIR: 0x554aee0 (memset) redirected to 0x4c27540 (memset)
--3864-- REDIR: 0x554c370 (memcpy) redirected to 0x4c269d0 (memcpy)
--3864-- REDIR: 0x5547c20 (strlen) redirected to 0x4c262e0 (strlen)
--3864-- REDIR: 0x5546200 (index) redirected to 0x4c25e90 (index)
--3864-- REDIR: 0x5547df0 (strncmp) redirected to 0x4c267a0 (strncmp)
--3864-- REDIR: 0x4018170 (stpcpy) redirected to 0x4c27470 (stpcpy)
--3864-- REDIR: 0x55416e0 (malloc) redirected to 0x4c250db (malloc)
--3864-- REDIR: 0x5542460 (free) redirected to 0x4c24ceb (free)
--3864-- REDIR: 0x554c020 (stpcpy) redirected to 0x4c27200 (stpcpy)
--3864-- REDIR: 0x554ba10 (mempcpy) redirected to 0x4c27690 (mempcpy)
==3864== Conditional jump or move depends on uninitialised value(s)
==3864== at 0x4061E9: lj_str_new (lj_str.c:54)
==3864== by 0x40B7BA: lua_pushlstring (lj_api.c:583)
==3864== by 0x41C70A: emptybuffer (lib_aux.c:122)
==3864== by 0x41C948: luaL_pushresult (lib_aux.c:166)
==3864== by 0x450E30: lj_cf_string_gsub (lib_string.c:647)
==3864== by 0x420A8C: lj_BC_FUNCC (in /usr/local/bin/luajit-2.0.0-beta8)
==3864== by 0x4543AC: lj_cf_package_require (lib_package.c:411)
==3864== by 0x420A8C: lj_BC_FUNCC (in /usr/local/bin/luajit-2.0.0-beta8)
==3864== by 0x40ABD9: lua_pcall (lj_api.c:1028)
==3864== by 0x4038A5: docall (luajit.c:121)
==3864== by 0x40497D: pmain (luajit.c:285)
==3864== by 0x420A8C: lj_BC_FUNCC (in /usr/local/bin/luajit-2.0.0-beta8)
==3864== Uninitialised value was created by a stack allocation
==3864== at 0x450BDF: lj_cf_string_gsub (lib_string.c:612)
==3864==
--3864-- REDIR: 0x5541320 (calloc) redirected to 0x4c243d3 (calloc)
--3864-- Reading syms from /usr/local/lib/lua/5.1/lfs.so (0x5c3a000)
--3864-- Reading syms from /usr/local/lib/lua/5.1/limlib2.so (0x5e3e000)
--3864-- Reading syms from /usr/local/lib/libImlib2.so.1.4.4 (0x6047000)
--3864-- Reading syms from /usr/lib64/libfreetype.so.6.3.22 (0x62c3000)
--3864-- object doesn't have a symbol table
--3864-- Reading syms from /usr/lib64/libX11.so.6.3.0 (0x655f000)
--3864-- object doesn't have a symbol table
--3864-- Reading syms from /usr/lib64/libXext.so.6.4.0 (0x689e000)
--3864-- object doesn't have a symbol table
--3864-- Reading syms from /usr/lib64/libxcb.so.1.1.0 (0x6ab0000)
--3864-- object doesn't have a symbol table
--3864-- Reading syms from /usr/lib64/libXau.so.6.0.0 (0x6ccb000)
--3864-- object doesn't have a symbol table
--3864-- REDIR: 0x5549640 (strncpy) redirected to 0x4c26500 (strncpy)
--3864-- REDIR: 0x554ed20 (strchrnul) redirected to 0x4c27620 (strchrnul)
--3864-- REDIR: 0xffffffffff600400 (???) redirected to 0x3803f6ed (vgPlain_amd64_linux_REDIR_FOR_vtime)
--3864-- REDIR: 0x554ad20 (memmove) redirected to 0x4c275b0 (memmove)
--3864-- REDIR: 0x5546280 (strcmp) redirected to 0x4c26860 (strcmp)
--3864-- REDIR: 0x55428e0 (realloc) redirected to 0x4c2518c (realloc)
--3864-- Reading syms from /usr/local/lib/imlib2/loaders/zlib.so (0x6ece000)
--3864-- Reading syms from /lib64/libz.so.1.2.3 (0x70d0000)
--3864-- object doesn't have a symbol table
--3864-- Reading syms from /usr/local/lib/imlib2/loaders/xpm.so (0x72e5000)
--3864-- Reading syms from /usr/local/lib/imlib2/loaders/tiff.so (0x74e8000)
--3864-- Reading syms from /usr/lib64/libtiff.so.3.9.4 (0x76eb000)
--3864-- object doesn't have a symbol table
--3864-- Reading syms from /usr/lib64/libjpeg.so.62.0.0 (0x794f000)
--3864-- object doesn't have a symbol table
--3864-- Reading syms from /usr/local/lib/imlib2/loaders/tga.so (0x7b73000)
--3864-- Reading syms from /usr/local/lib/imlib2/loaders/pnm.so (0x7d75000)
--3864-- Reading syms from /usr/local/lib/imlib2/loaders/png.so (0x7f78000)
--3864-- Reading syms from /usr/lib64/libpng12.so.0.44.0 (0x817b000)
--3864-- object doesn't have a symbol table
--3864-- Reading syms from /usr/local/lib/imlib2/loaders/lbm.so (0x83a1000)
--3864-- Reading syms from /usr/local/lib/imlib2/loaders/jpeg.so (0x85a4000)
--3864-- Reading syms from /usr/local/lib/imlib2/loaders/bz2.so (0x87a6000)
--3864-- Reading syms from /lib64/libbz2.so.1.0.6 (0x89a8000)
--3864-- object doesn't have a symbol table
--3864-- Reading syms from /usr/local/lib/imlib2/loaders/bmp.so (0x8bb9000)
--3864-- Reading syms from /usr/local/lib/imlib2/loaders/argb.so (0x8dbc000)
==3864== Conditional jump or move depends on uninitialised value(s)
==3864== at 0x4061E9: lj_str_new (lj_str.c:54)
==3864== by 0x40B7BA: lua_pushlstring (lj_api.c:583)
==3864== by 0x44F78E: lj_cf_bit_tohex (lib_bit.c:61)
==3864== by 0x420A8C: lj_BC_FUNCC (in /usr/local/bin/luajit-2.0.0-beta8)
==3864== by 0x40ABD9: lua_pcall (lj_api.c:1028)
==3864== by 0x4038A5: docall (luajit.c:121)
==3864== by 0x40497D: pmain (luajit.c:285)
==3864== by 0x420A8C: lj_BC_FUNCC (in /usr/local/bin/luajit-2.0.0-beta8)
==3864== by 0x40A0C1: lua_cpcall (lj_api.c:1050)
==3864== by 0x4037DE: main (luajit.c:548)
==3864== Uninitialised value was created by a stack allocation
==3864== at 0x44F730: lj_cf_bit_tohex (lib_bit.c:53)
==3864==
--3864-- Discarding syms at 0x5e41a30-0x5e44b68 in /usr/local/lib/lua/5.1/limlib2.so due to munmap()
--3864-- Discarding syms at 0x5c3b820-0x5c3c828 in /usr/local/lib/lua/5.1/lfs.so due to munmap()
==3864==
==3864== HEAP SUMMARY:
==3864== in use at exit: 179,260 bytes in 179 blocks
==3864== total heap usage: 453 allocs, 274 frees, 292,075 bytes allocated
==3864==
==3864== Searching for pointers to 179 not-freed blocks
==3864== Checked 494,808 bytes
==3864==
==3864== LEAK SUMMARY:
==3864== definitely lost: 0 bytes in 0 blocks
==3864== indirectly lost: 0 bytes in 0 blocks
==3864== possibly lost: 5,540 bytes in 42 blocks
==3864== still reachable: 173,720 bytes in 137 blocks
==3864== suppressed: 0 bytes in 0 blocks
==3864== Rerun with --leak-check=full to see details of leaked memory
==3864==
==3864== ERROR SUMMARY: 14519 errors from 2 contexts (suppressed: 76 from 7)
==3864==
==3864== 7116 errors in context 1 of 2:
==3864== Conditional jump or move depends on uninitialised value(s)
==3864== at 0x4061E9: lj_str_new (lj_str.c:54)
==3864== by 0x40B7BA: lua_pushlstring (lj_api.c:583)
==3864== by 0x44F78E: lj_cf_bit_tohex (lib_bit.c:61)
==3864== by 0x420A8C: lj_BC_FUNCC (in /usr/local/bin/luajit-2.0.0-beta8)
==3864== by 0x40ABD9: lua_pcall (lj_api.c:1028)
==3864== by 0x4038A5: docall (luajit.c:121)
==3864== by 0x40497D: pmain (luajit.c:285)
==3864== by 0x420A8C: lj_BC_FUNCC (in /usr/local/bin/luajit-2.0.0-beta8)
==3864== by 0x40A0C1: lua_cpcall (lj_api.c:1050)
==3864== by 0x4037DE: main (luajit.c:548)
==3864== Uninitialised value was created by a stack allocation
==3864== at 0x44F730: lj_cf_bit_tohex (lib_bit.c:53)
==3864==
==3864==
==3864== 7403 errors in context 2 of 2:
==3864== Conditional jump or move depends on uninitialised value(s)
==3864== at 0x4061E9: lj_str_new (lj_str.c:54)
==3864== by 0x40B7BA: lua_pushlstring (lj_api.c:583)
==3864== by 0x41C70A: emptybuffer (lib_aux.c:122)
==3864== by 0x41C948: luaL_pushresult (lib_aux.c:166)
==3864== by 0x450E30: lj_cf_string_gsub (lib_string.c:647)
==3864== by 0x420A8C: lj_BC_FUNCC (in /usr/local/bin/luajit-2.0.0-beta8)
==3864== by 0x4543AC: lj_cf_package_require (lib_package.c:411)
==3864== by 0x420A8C: lj_BC_FUNCC (in /usr/local/bin/luajit-2.0.0-beta8)
==3864== by 0x40ABD9: lua_pcall (lj_api.c:1028)
==3864== by 0x4038A5: docall (luajit.c:121)
==3864== by 0x40497D: pmain (luajit.c:285)
==3864== by 0x420A8C: lj_BC_FUNCC (in /usr/local/bin/luajit-2.0.0-beta8)
==3864== Uninitialised value was created by a stack allocation
==3864== at 0x450BDF: lj_cf_string_gsub (lib_string.c:612)
==3864==
--3864--
--3864-- used_suppression: 76 dl-hack3-cond-1
==3864==
==3864== ERROR SUMMARY: 14519 errors from 2 contexts (suppressed: 76 from 7)