Hi Ilya, On Sat, Jun 15, 2019 at 05:56:06PM +0500, ???? ??????? wrote: > hello, > > *** h1 0.0 debug|==8132==WARNING: MemorySanitizer: > use-of-uninitialized-value > *** h1 0.0 debug| #0 0x7f37c06f1b60 > (/usr/lib/x86_64-linux-gnu/liblua5.3.so.0+0x15b60) > *** h1 0.0 debug| #1 0x7f37c06e355e in lua_pushstring > (/usr/lib/x86_64-linux-gnu/liblua5.3.so.0+0x755e) > *** h1 0.0 debug| #2 0x7f37c06f8a5c in luaL_requiref > (/usr/lib/x86_64-linux-gnu/liblua5.3.so.0+0x1ca5c) > *** h1 0.0 debug| #3 0x7f37c0703f63 in luaL_openlibs > (/usr/lib/x86_64-linux-gnu/liblua5.3.so.0+0x27f63) > *** h1 0.0 debug| #4 0x4e92e9 in hlua_init > /home/travis/build/chipitsine/haproxy/src/hlua.c:8355:2 > *** h1 0.1 debug| #5 0x6b3f58 in init > /home/travis/build/chipitsine/haproxy/src/haproxy.c:1391:2 > *** h1 0.1 debug| #6 0x6b3f58 in main > /home/travis/build/chipitsine/haproxy/src/haproxy.c:2714 > *** h1 0.1 debug| #7 0x7f37bf9a082f in __libc_start_main > (/lib/x86_64-linux-gnu/libc.so.6+0x2082f) > *** h1 0.1 debug| #8 0x435768 in _start > (/home/travis/build/chipitsine/haproxy/haproxy+0x435768) > *** h1 0.1 debug| > *** h1 0.1 debug|SUMMARY: MemorySanitizer: > use-of-uninitialized-value > (/usr/lib/x86_64-linux-gnu/liblua5.3.so.0+0x15b60) > *** h1 0.1 debug|Exiting > > > is it something we should address before 2.0 release ?
I have absolutely no idea what is uninitialized there, as the line in question contains a call to luaL_openlibs(gL.T) after gL.T has been created by lua_newstate(). Thus it could even be possible that it's something internal to Lua itself. In any case this part hasn't changed for a while so if there's an issue there it's not new and we should not delay 2.0 just for this. > or should we ignore it ? Not yet, it still deserves some analysis I think before knowing if we can safely ignore it. Willy

