-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[OSS Fuzz] Building of luaL_loadbuffer_proto_test is broken on aarch64 #72
Comments
ligurio
added a commit
that referenced
this issue
Dec 29, 2023
ligurio
added a commit
that referenced
this issue
Jan 11, 2024
ligurio
added a commit
that referenced
this issue
Jan 11, 2024
ligurio
added a commit
that referenced
this issue
Jan 11, 2024
ligurio
added a commit
that referenced
this issue
Jan 11, 2024
ligurio
added a commit
that referenced
this issue
Jan 11, 2024
ligurio
added a commit
that referenced
this issue
Jan 11, 2024
ligurio
added a commit
that referenced
this issue
Jan 11, 2024
ligurio
added a commit
that referenced
this issue
Jan 11, 2024
ligurio
changed the title
Build is broken on aarch64
Building of luaL_loadbuffer_proto_test is broken on aarch64
Jan 15, 2024
ligurio
changed the title
Building of luaL_loadbuffer_proto_test is broken on aarch64
[OSS Fuzz] Building of luaL_loadbuffer_proto_test is broken on aarch64
Jan 25, 2024
ligurio
added a commit
that referenced
this issue
Apr 4, 2024
ligurio
added a commit
to ligurio/oss-fuzz
that referenced
this issue
Apr 4, 2024
Need for debugging AArch64 build. Needed for ligurio/lua-c-api-tests#72
DavidKorczynski
pushed a commit
to google/oss-fuzz
that referenced
this issue
Apr 4, 2024
Need for debugging AArch64 build. Needed for ligurio/lua-c-api-tests#72
ligurio
added a commit
that referenced
this issue
Apr 5, 2024
ligurio
added a commit
that referenced
this issue
Apr 5, 2024
The problem is not gone and seems it is related to LSAN:
|
ligurio
added a commit
to ligurio/oss-fuzz
that referenced
this issue
Apr 8, 2024
Building `luaL_loadbuffer_proto` on AArch64 has failed with unclear error: ``` [31mFAILED: �[0mtests/capi/luaL_loadbuffer_proto/preamble.lua.c /src/testdir/build/tests/capi/luaL_loadbuffer_proto/preamble.lua.c cd /src/testdir/build/tests/capi/luaL_loadbuffer_proto && /usr/bin/echo 'const char preamble_lua[] =' > /src/testdir/build/tests/capi/luaL_loadbuffer_proto/preamble.lua.new.c && /src/testdir/build/extra/txt2c /src/testdir/tests/capi/luaL_loadbuffer_proto/preamble.lua >> /src/testdir/build/tests/capi/luaL_loadbuffer_proto/preamble.lua.new.c && /usr/bin/echo ';' >> /src/testdir/build/tests/capi/luaL_loadbuffer_proto/preamble.lua.new.c && /usr/local/bin/cmake -E copy_if_different /src/testdir/build/tests/capi/luaL_loadbuffer_proto/preamble.lua.new.c /src/testdir/build/tests/capi/luaL_loadbuffer_proto/preamble.lua.c && /usr/local/bin/cmake -E remove /src/testdir/build/tests/capi/luaL_loadbuffer_proto/preamble.lua.new.c ==2425==LeakSanitizer has encountered a fatal error. ==2425==HINT: For debugging, try setting environment variable LSAN_OPTIONS=verbosity=1:log_threads=1 ==2425==HINT: LeakSanitizer does not work under ptrace (strace, gdb, etc) ``` The patch set an environment variable enabling debug mode in LeakSanitizer. Needed for ligurio/lua-c-api-tests#72
ligurio
added a commit
to ligurio/oss-fuzz
that referenced
this issue
Apr 9, 2024
Building `luaL_loadbuffer_proto` on AArch64 has failed with unclear error: ``` [31mFAILED: �[0mtests/capi/luaL_loadbuffer_proto/preamble.lua.c /src/testdir/build/tests/capi/luaL_loadbuffer_proto/preamble.lua.c cd /src/testdir/build/tests/capi/luaL_loadbuffer_proto && /usr/bin/echo 'const char preamble_lua[] =' > /src/testdir/build/tests/capi/luaL_loadbuffer_proto/preamble.lua.new.c && /src/testdir/build/extra/txt2c /src/testdir/tests/capi/luaL_loadbuffer_proto/preamble.lua >> /src/testdir/build/tests/capi/luaL_loadbuffer_proto/preamble.lua.new.c && /usr/bin/echo ';' >> /src/testdir/build/tests/capi/luaL_loadbuffer_proto/preamble.lua.new.c && /usr/local/bin/cmake -E copy_if_different /src/testdir/build/tests/capi/luaL_loadbuffer_proto/preamble.lua.new.c /src/testdir/build/tests/capi/luaL_loadbuffer_proto/preamble.lua.c && /usr/local/bin/cmake -E remove /src/testdir/build/tests/capi/luaL_loadbuffer_proto/preamble.lua.new.c ==2425==LeakSanitizer has encountered a fatal error. ==2425==HINT: For debugging, try setting environment variable LSAN_OPTIONS=verbosity=1:log_threads=1 ==2425==HINT: LeakSanitizer does not work under ptrace (strace, gdb, etc) ``` The patch set an environment variable enabling debug mode in LeakSanitizer. Needed for ligurio/lua-c-api-tests#72
DavidKorczynski
pushed a commit
to google/oss-fuzz
that referenced
this issue
Apr 9, 2024
Building `luaL_loadbuffer_proto` on AArch64 has failed with unclear error: ``` [31mFAILED: �[0mtests/capi/luaL_loadbuffer_proto/preamble.lua.c /src/testdir/build/tests/capi/luaL_loadbuffer_proto/preamble.lua.c cd /src/testdir/build/tests/capi/luaL_loadbuffer_proto && /usr/bin/echo 'const char preamble_lua[] =' > /src/testdir/build/tests/capi/luaL_loadbuffer_proto/preamble.lua.new.c && /src/testdir/build/extra/txt2c /src/testdir/tests/capi/luaL_loadbuffer_proto/preamble.lua >> /src/testdir/build/tests/capi/luaL_loadbuffer_proto/preamble.lua.new.c && /usr/bin/echo ';' >> /src/testdir/build/tests/capi/luaL_loadbuffer_proto/preamble.lua.new.c && /usr/local/bin/cmake -E copy_if_different /src/testdir/build/tests/capi/luaL_loadbuffer_proto/preamble.lua.new.c /src/testdir/build/tests/capi/luaL_loadbuffer_proto/preamble.lua.c && /usr/local/bin/cmake -E remove /src/testdir/build/tests/capi/luaL_loadbuffer_proto/preamble.lua.new.c ==2425==LeakSanitizer has encountered a fatal error. ==2425==HINT: For debugging, try setting environment variable LSAN_OPTIONS=verbosity=1:log_threads=1 ==2425==HINT: LeakSanitizer does not work under ptrace (strace, gdb, etc) ``` The patch set an environment variable enabling debug mode in LeakSanitizer. Needed for ligurio/lua-c-api-tests#72
ligurio
added a commit
to ligurio/oss-fuzz
that referenced
this issue
Apr 12, 2024
When using `-fanitize=address`, we consistently get spurious build failures on ARM64 due to some issue with the leak detection pass at the end of execution: ``` ==2413==AddressSanitizer: failed to intercept '__isoc99_printf' ==2413==AddressSanitizer: failed to intercept '__isoc99_sprintf' ==2413==AddressSanitizer: failed to intercept '__isoc99_snprintf' ==2413==AddressSanitizer: failed to intercept '__isoc99_fprintf' ==2413==AddressSanitizer: failed to intercept '__isoc99_vprintf' ==2413==AddressSanitizer: failed to intercept '__isoc99_vsprintf' ==2413==AddressSanitizer: failed to intercept '__isoc99_vsnprintf' ==2413==AddressSanitizer: failed to intercept '__isoc99_vfprintf' ==2413==AddressSanitizer: failed to intercept 'xdr_destroy' ==2413==AddressSanitizer: failed to intercept 'crypt' ==2413==AddressSanitizer: failed to intercept 'crypt_r' ==2413==AddressSanitizer: failed to intercept '__cxa_throw' ==2413==AddressSanitizer: failed to intercept '__cxa_rethrow_primary_exception' ==2413==AddressSanitizer: libc interceptors initialized || `[0x002000000000, 0x007fffffffff]` || HighMem || || `[0x001400000000, 0x001fffffffff]` || HighShadow || || `[0x001200000000, 0x0013ffffffff]` || ShadowGap || || `[0x001000000000, 0x0011ffffffff]` || LowShadow || || `[0x000000000000, 0x000fffffffff]` || LowMem || MemToShadow(shadow): 0x001200000000 0x00123fffffff 0x001280000000 0x0013ffffffff redzone=16 max_redzone=2048 quarantine_size_mb=256M thread_local_quarantine_size_kb=1024K ``` Note, it does not happen for me locally and on AWS Graviton 2 using the same build-with command line. Related to google#11798 Related to google/sanitizers#723 Related to ligurio/lua-c-api-tests#72
DavidKorczynski
pushed a commit
to google/oss-fuzz
that referenced
this issue
Apr 15, 2024
When using `-fanitize=address`, we consistently get spurious build failures on ARM64 due to some issue with the leak detection pass at the end of execution: ``` ==2413==AddressSanitizer: failed to intercept '__isoc99_printf' ==2413==AddressSanitizer: failed to intercept '__isoc99_sprintf' ==2413==AddressSanitizer: failed to intercept '__isoc99_snprintf' ==2413==AddressSanitizer: failed to intercept '__isoc99_fprintf' ==2413==AddressSanitizer: failed to intercept '__isoc99_vprintf' ==2413==AddressSanitizer: failed to intercept '__isoc99_vsprintf' ==2413==AddressSanitizer: failed to intercept '__isoc99_vsnprintf' ==2413==AddressSanitizer: failed to intercept '__isoc99_vfprintf' ==2413==AddressSanitizer: failed to intercept 'xdr_destroy' ==2413==AddressSanitizer: failed to intercept 'crypt' ==2413==AddressSanitizer: failed to intercept 'crypt_r' ==2413==AddressSanitizer: failed to intercept '__cxa_throw' ==2413==AddressSanitizer: failed to intercept '__cxa_rethrow_primary_exception' ==2413==AddressSanitizer: libc interceptors initialized || `[0x002000000000, 0x007fffffffff]` || HighMem || || `[0x001400000000, 0x001fffffffff]` || HighShadow || || `[0x001200000000, 0x0013ffffffff]` || ShadowGap || || `[0x001000000000, 0x0011ffffffff]` || LowShadow || || `[0x000000000000, 0x000fffffffff]` || LowMem || MemToShadow(shadow): 0x001200000000 0x00123fffffff 0x001280000000 0x0013ffffffff redzone=16 max_redzone=2048 quarantine_size_mb=256M thread_local_quarantine_size_kb=1024K ``` Note, it does not happen for me locally and on AWS Graviton 2 using the same build-with command line. Related to #11798 Related to google/sanitizers#723 Related to ligurio/lua-c-api-tests#72
Fixed by google/oss-fuzz@76e6f7d. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Log: https://oss-fuzz-build-logs.storage.googleapis.com/log-36437658-64d6-4c63-8c82-ed9b37c47c22.txt
The text was updated successfully, but these errors were encountered: