libmicrohttpd
[Top][All Lists]
Advanced

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

[libmicrohttpd] CI Pipeline fails (address sanitizer issue)


From: Tim Rühsen
Subject: [libmicrohttpd] CI Pipeline fails (address sanitizer issue)
Date: Sun, 13 Oct 2019 15:10:57 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0

Is this wanted / expected behavior in 'test_upgrade_large' ? If yes, we
can set ASAN_OPTIONS=allocator_may_return_null=1 when running the tests.

#######
Warning: Zero size, specified for thread pool size, is ignored. Thread
pool is not used.
Using debug build of libmicrohttpd.
Warning: Zero size, specified for thread pool size, is ignored. Thread
pool is not used.
Using debug build of libmicrohttpd.
==9087==WARNING: AddressSanitizer failed to allocate 0x617000000200 bytes
==9087==AddressSanitizer's allocator is terminating the process instead
of returning 0
==9087==If you don't like this behavior set allocator_may_return_null=1
==9087==AddressSanitizer CHECK failed:
/build/llvm-toolchain-3.8-pxYbFx/llvm-toolchain-3.8-3.8.1/projects/compiler-rt/lib/sanitizer_common/sanitizer_allocator.cc:147
"((0)) != (0)" (0x0, 0x0)
    #0 0x4c377d in __asan::AsanCheckFailed(char const*, int, char
const*, unsigned long long, unsigned long long)
(/builds/libmicrohttpd/libmicrohttpd/src/microhttpd/.libs/test_upgrade_large+0x4c377d)
    #1 0x4ca113 in __sanitizer::CheckFailed(char const*, int, char
const*, unsigned long long, unsigned long long)
(/builds/libmicrohttpd/libmicrohttpd/src/microhttpd/.libs/test_upgrade_large+0x4ca113)
    #2 0x4c7f26 in __sanitizer::ReportAllocatorCannotReturnNull()
(/builds/libmicrohttpd/libmicrohttpd/src/microhttpd/.libs/test_upgrade_large+0x4c7f26)
    #3 0x421344 in __asan::asan_malloc(unsigned long,
__sanitizer::BufferedStackTrace*)
(/builds/libmicrohttpd/libmicrohttpd/src/microhttpd/.libs/test_upgrade_large+0x421344)
    #4 0x4ba195 in malloc
(/builds/libmicrohttpd/libmicrohttpd/src/microhttpd/.libs/test_upgrade_large+0x4ba195)
    #5 0x7fe70410b163 in MHD_pool_create
/builds/libmicrohttpd/libmicrohttpd/src/microhttpd/memorypool.c:183:20
    #6 0x7fe704095a07 in internal_add_connection
/builds/libmicrohttpd/libmicrohttpd/src/microhttpd/daemon.c:2485:22
    #7 0x7fe7040f8012 in MHD_accept_connection
/builds/libmicrohttpd/libmicrohttpd/src/microhttpd/daemon.c:3273:10
    #8 0x7fe7040a4122 in MHD_epoll
/builds/libmicrohttpd/libmicrohttpd/src/microhttpd/daemon.c:4484:39
    #9 0x7fe7040b5dcc in MHD_run
/builds/libmicrohttpd/libmicrohttpd/src/microhttpd/daemon.c:4635:7
    #10 0x4f5c29 in run_mhd_epoll_loop
/builds/libmicrohttpd/libmicrohttpd/src/microhttpd/test_upgrade_large.c:1013:7
    #11 0x4f0e89 in run_mhd_loop
/builds/libmicrohttpd/libmicrohttpd/src/microhttpd/test_upgrade_large.c:1039:5
    #12 0x4eda15 in test_upgrade
/builds/libmicrohttpd/libmicrohttpd/src/microhttpd/test_upgrade_large.c:1159:7
    #13 0x4eb8ed in main
/builds/libmicrohttpd/libmicrohttpd/src/microhttpd/test_upgrade_large.c:1249:9
    #14 0x7fe702d372e0 in __libc_start_main
(/lib/x86_64-linux-gnu/libc.so.6+0x202e0)
    #15 0x41bbf9 in _start
(/builds/libmicrohttpd/libmicrohttpd/src/microhttpd/.libs/test_upgrade_large+0x41bbf9)

FAIL test_upgrade_large (exit status: 1)
#######

See
https://gitlab.com/libmicrohttpd/libmicrohttpd/-/jobs/319336629/artifacts/file/src/microhttpd/test_upgrade_large.log

Regards, Tim

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]