lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


hi all,

I'm having fun with running tests for lua.
I've already passed all.lua under address and undefined sanitizers.

For memory sanitizer I got the error:

p.s. Also i will try pass all.lua on Solaris 11.4 SPARC


***** FILE 'files.lua'*****
testing i/o
+
true
==22290==WARNING: MemorySanitizer: use-of-uninitialized-value
    #0 0x55aca8c72b0d in read_line /home/mpech/lua-5.3.5/src/liolib.c:490:58
    #1 0x55aca8c7164c in g_read /home/mpech/lua-5.3.5/src/liolib.c
    #2 0x55aca8c1bca5 in luaD_precall /home/mpech/lua-5.3.5/src/ldo.c:434:11
    #3 0x55aca8c457f6 in luaV_execute /home/mpech/lua-5.3.5/src/lvm.c:1134:13
    #4 0x55aca8c1c986 in luaD_call /home/mpech/lua-5.3.5/src/ldo.c:499:5
    #5 0x55aca8c1c986 in luaD_callnoyield /home/mpech/lua-5.3.5/src/ldo.c:509:3
    #6 0x55aca8c1a282 in luaD_rawrunprotected /home/mpech/lua-5.3.5/src/ldo.c:142:3
    #7 0x55aca8c1e038 in luaD_pcall /home/mpech/lua-5.3.5/src/ldo.c:729:12
    #8 0x55aca8c13dd2 in lua_pcallk /home/mpech/lua-5.3.5/src/lapi.c:969:14
    #9 0x55aca8c0977c in docall /home/mpech/lua-5.3.5/src/lua.c:205:12
    #10 0x55aca8c0977c in handle_script /home/mpech/lua-5.3.5/src/lua.c:445:14
    #11 0x55aca8c0977c in pmain /home/mpech/lua-5.3.5/src/lua.c:580:7
    #12 0x55aca8c1bca5 in luaD_precall /home/mpech/lua-5.3.5/src/ldo.c:434:11
    #13 0x55aca8c1c965 in luaD_call /home/mpech/lua-5.3.5/src/ldo.c:498:8
    #14 0x55aca8c1c965 in luaD_callnoyield /home/mpech/lua-5.3.5/src/ldo.c:509:3
    #15 0x55aca8c1a282 in luaD_rawrunprotected /home/mpech/lua-5.3.5/src/ldo.c:142:3
    #16 0x55aca8c1e038 in luaD_pcall /home/mpech/lua-5.3.5/src/ldo.c:729:12
    #17 0x55aca8c13dd2 in lua_pcallk /home/mpech/lua-5.3.5/src/lapi.c:969:14
    #18 0x55aca8c07e3e in main /home/mpech/lua-5.3.5/src/lua.c:606:12
    #19 0x7fa9b6c9e152 in __libc_start_main (/usr/lib/libc.so.6+0x27152)
    #20 0x55aca8b8c3cd in _start (/home/mpech/lua-5.3.5/src/lua+0x273cd)

SUMMARY: MemorySanitizer: use-of-uninitialized-value /home/mpech/lua-5.3.5/src/liolib.c:490:58 in read_line
Exiting

(mike)