Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --nodeps /builddir/build/SPECS/librdkafka.spec'], chrootPath='/home/lib/mock/dist-ocs23-loongarch64-build-188000-12842/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=983gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --nodeps /builddir/build/SPECS/librdkafka.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: loongarch64 Building for target loongarch64 Wrote: /builddir/build/SRPMS/librdkafka-2.3.0-1.ocs23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/librdkafka.spec'], chrootPath='/home/lib/mock/dist-ocs23-loongarch64-build-188000-12842/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=983gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/librdkafka.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: loongarch64 Building for target loongarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.KQBhBy + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf librdkafka-2.3.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/librdkafka-2.3.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd librdkafka-2.3.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.ezrLHf + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd librdkafka-2.3.0 + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld' ']' ++ find . -name ltmain.sh + ./configure --build=loongarch64-opencloudos-linux-gnu --host=loongarch64-opencloudos-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-zlib --enable-zstd --enable-lz4 --enable-lz4-ext --enable-ssl --enable-gssapi --enable-sasl checking for OS or distribution... ok (opencloudos) checking for C compiler from CC env... ok checking for C++ compiler from CXX env... ok checking executable ld... ok checking executable nm... ok checking executable objdump... ok checking executable strip... ok checking executable libtool... failed (disable) checking executable ranlib... ok checking for pkgconfig (by command)... ok checking for install (by command)... ok checking for GNU ar... ok checking for PIC (by compile)... ok checking for GNU-compatible linker options... ok checking for GNU linker-script ld flag... ok checking for __atomic_32 (by compile)... ok checking for __atomic_64 (by compile)... ok checking for socket (by compile)... ok parsing version '0x020300ff'... ok (2.3.0) checking for librt (by pkg-config)... failed checking for librt (by compile)... ok checking for libpthread (by pkg-config)... failed checking for libpthread (by compile)... ok checking for c11threads (by pkg-config)... failed checking for c11threads (by compile)... ok checking for libdl (by pkg-config)... failed checking for libdl (by compile)... ok checking for zlib (by pkg-config)... ok checking for libcrypto (by pkg-config)... ok checking for libssl (by pkg-config)... ok checking for libsasl2 (by pkg-config)... ok checking for libzstd (by pkg-config)... ok checking for libcurl (by pkg-config)... failed checking for libcurl (by compile)... failed (disable) checking for libm (by pkg-config)... failed checking for libm (by compile)... ok checking for liblz4 (by pkg-config)... ok checking for syslog (by compile)... ok checking for rapidjson (by compile)... ok checking for crc32chw (by compile)... failed (disable) checking for regex (by compile)... ok checking for rand_r (by compile)... ok checking for strndup (by compile)... ok checking for strlcpy (by compile)... ok checking for strerror_r (by compile)... ok checking for strcasestr (by compile)... ok checking for pthread_setname_gnu (by compile)... ok checking for nm (by env NM)... ok (cached) checking for python3 (by command)... ok checking for getrusage (by compile)... ok Generated Makefile.config Generated config.h Configuration summary: prefix /usr MKL_DISTRO opencloudos SOLIB_EXT .so ARCH loongarch64 CPU generic GEN_PKG_CONFIG y BUILD loongarch64-opencloudos-linux-gnu HOST loongarch64-opencloudos-linux-gnu PROGRAM_PREFIX COMPAT_DISABLE_DEP_TRACK y exec_prefix /usr bindir /usr/bin sbindir /usr/sbin sysconfdir /etc datadir /usr/share includedir /usr/include libdir /usr/lib64 libexecdir /usr/libexec localstatedir /var sharedstatedir /var/lib mandir /usr/share/man infodir /usr/share/info MKL_APP_NAME librdkafka MKL_APP_DESC_ONELINE The Apache Kafka C/C++ library LDFLAGS -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -L/usr/lib64 CPPFLAGS -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align CC gcc CXX g++ LD ld NM nm OBJDUMP objdump STRIP strip RANLIB ranlib CFLAGS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection CXXFLAGS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-non-virtual-dtor PKG_CONFIG pkg-config INSTALL /usr/bin/install HAS_GNU_AR y LIB_LDFLAGS -shared -Wl,-soname,$(LIBFILENAME) LDFLAG_LINKERSCRIPT -Wl,--version-script= RDKAFKA_VERSION_STR 2.3.0 MKL_APP_VERSION 2.3.0 LIBS -llz4 -lm -lzstd -lsasl2 -lssl -lcrypto -lz -ldl -lpthread -lrt -lpthread -lrt MKL_PKGCONFIG_LIBS_PRIVATE -lm -ldl -lpthread -lrt -lpthread -lrt MKL_PKGCONFIG_REQUIRES_PRIVATE zlib libcrypto libssl libsasl2 libzstd liblz4 MKL_PKGCONFIG_REQUIRES zlib libcrypto libssl libsasl2 libzstd liblz4 SYMDUMPER $(NM) -D MKL_DYNAMIC_LIBS -llz4 -lm -lzstd -lsasl2 -lssl -lcrypto -lz -ldl -lpthread -lrt -lpthread -lrt runstatedir /usr/var/run BUILT_WITH CC CXX PKGCONFIG INSTALL GNULD LDS C11THREADS LIBDL PLUGINS ZLIB SSL SASL_CYRUS ZSTD HDRHISTOGRAM LZ4_EXT SYSLOG RAPIDJSON SNAPPY SOCKEM SASL_SCRAM SASL_OAUTHBEARER Generated config.cache Now type 'make' to build + /usr/bin/make -O -j32 V=1 VERBOSE=1 make[1]: Entering directory '/builddir/build/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c rdcrc32.c -o rdcrc32.o make[1]: Leaving directory '/builddir/build/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/builddir/build/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c rdmurmur2.c -o rdmurmur2.o make[1]: Leaving directory '/builddir/build/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/builddir/build/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c crc32c.c -o crc32c.o make[1]: Leaving directory '/builddir/build/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/builddir/build/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c rdfnv1a.c -o rdfnv1a.o make[1]: Leaving directory '/builddir/build/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/builddir/build/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c tinycthread.c -o tinycthread.o make[1]: Leaving directory '/builddir/build/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/builddir/build/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c rdrand.c -o rdrand.o make[1]: Leaving directory '/builddir/build/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/builddir/build/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c tinycthread_extra.c -o tinycthread_extra.o make[1]: Leaving directory '/builddir/build/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/builddir/build/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c rdkafka_roundrobin_assignor.c -o rdkafka_roundrobin_assignor.o make[1]: Leaving directory '/builddir/build/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/builddir/build/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c rdregex.c -o rdregex.o make[1]: Leaving directory '/builddir/build/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/builddir/build/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c rdaddr.c -o rdaddr.o make[1]: Leaving directory '/builddir/build/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/builddir/build/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c rdports.c -o rdports.o make[1]: Leaving directory '/builddir/build/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/builddir/build/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c rdkafka_pattern.c -o rdkafka_pattern.o make[1]: Leaving directory '/builddir/build/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/builddir/build/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c rdlog.c -o rdlog.o make[1]: Leaving directory '/builddir/build/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/builddir/build/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c rdkafka_feature.c -o rdkafka_feature.o make[1]: Leaving directory '/builddir/build/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/builddir/build/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c rdkafka_subscription.c -o rdkafka_subscription.o make[1]: Leaving directory '/builddir/build/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/builddir/build/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c rdstring.c -o rdstring.o make[1]: Leaving directory '/builddir/build/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/builddir/build/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c rdkafka_sasl_plain.c -o rdkafka_sasl_plain.o make[1]: Leaving directory '/builddir/build/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/builddir/build/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c rdkafka_transport.c -o rdkafka_transport.o make[1]: Leaving directory '/builddir/build/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/builddir/build/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c rdlist.c -o rdlist.o make[1]: Leaving directory '/builddir/build/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/builddir/build/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c rdkafka_timer.c -o rdkafka_timer.o make[1]: Leaving directory '/builddir/build/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/builddir/build/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c rdkafka_op.c -o rdkafka_op.o make[1]: Leaving directory '/builddir/build/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/builddir/build/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c rdavl.c -o rdavl.o make[1]: Leaving directory '/builddir/build/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/builddir/build/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c rdkafka_buf.c -o rdkafka_buf.o make[1]: Leaving directory '/builddir/build/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/builddir/build/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c rdkafka_assignment.c -o rdkafka_assignment.o make[1]: Leaving directory '/builddir/build/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/builddir/build/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c rdkafka_sasl.c -o rdkafka_sasl.o make[1]: Leaving directory '/builddir/build/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/builddir/build/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c rdvarint.c -o rdvarint.o make[1]: Leaving directory '/builddir/build/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/builddir/build/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c rdkafka_header.c -o rdkafka_header.o make[1]: Leaving directory '/builddir/build/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/builddir/build/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c rdkafka_event.c -o rdkafka_event.o make[1]: Leaving directory '/builddir/build/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/builddir/build/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c rdkafka_metadata_cache.c -o rdkafka_metadata_cache.o make[1]: Leaving directory '/builddir/build/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/builddir/build/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c rdbase64.c -o rdbase64.o make[1]: Leaving directory '/builddir/build/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/builddir/build/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c rdkafka_background.c -o rdkafka_background.o make[1]: Leaving directory '/builddir/build/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/builddir/build/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c rdkafka_aux.c -o rdkafka_aux.o make[1]: Leaving directory '/builddir/build/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/builddir/build/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c rdkafka_interceptor.c -o rdkafka_interceptor.o make[1]: Leaving directory '/builddir/build/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/builddir/build/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c rdkafka_msgset_writer.c -o rdkafka_msgset_writer.o make[1]: Leaving directory '/builddir/build/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/builddir/build/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c rdkafka_range_assignor.c -o rdkafka_range_assignor.o make[1]: Leaving directory '/builddir/build/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/builddir/build/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c cJSON.c -o cJSON.o make[1]: Leaving directory '/builddir/build/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/builddir/build/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c rdkafka_cert.c -o rdkafka_cert.o make[1]: Leaving directory '/builddir/build/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/builddir/build/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c rdunittest.c -o rdunittest.o make[1]: Leaving directory '/builddir/build/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/builddir/build/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c rdkafka_offset.c -o rdkafka_offset.o make[1]: Leaving directory '/builddir/build/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/builddir/build/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c rdkafka_error.c -o rdkafka_error.o make[1]: Leaving directory '/builddir/build/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/builddir/build/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c rdkafka_queue.c -o rdkafka_queue.o make[1]: Leaving directory '/builddir/build/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/builddir/build/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c rdgz.c -o rdgz.o make[1]: Leaving directory '/builddir/build/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/builddir/build/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c rdkafka_idempotence.c -o rdkafka_idempotence.o make[1]: Leaving directory '/builddir/build/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/builddir/build/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c rdmap.c -o rdmap.o make[1]: Leaving directory '/builddir/build/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/builddir/build/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c rdkafka_coord.c -o rdkafka_coord.o make[1]: Leaving directory '/builddir/build/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/builddir/build/BUILD/librdkafka-2.3.0/src' Generating pkg-config file rdkafka.pc make[1]: Leaving directory '/builddir/build/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/builddir/build/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c rdkafka_topic.c -o rdkafka_topic.o make[1]: Leaving directory '/builddir/build/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/builddir/build/BUILD/librdkafka-2.3.0/src' Generating linker script librdkafka.lds from rdkafka.h rdkafka_mock.h make[1]: Leaving directory '/builddir/build/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/builddir/build/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c rddl.c -o rddl.o make[1]: Leaving directory '/builddir/build/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/builddir/build/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c rdkafka_zstd.c -o rdkafka_zstd.o make[1]: Leaving directory '/builddir/build/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/builddir/build/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c rdkafka_sasl_scram.c -o rdkafka_sasl_scram.o make[1]: Leaving directory '/builddir/build/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/builddir/build/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c rdkafka_plugin.c -o rdkafka_plugin.o make[1]: Leaving directory '/builddir/build/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/builddir/build/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c rdkafka_sasl_cyrus.c -o rdkafka_sasl_cyrus.o make[1]: Leaving directory '/builddir/build/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/builddir/build/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c rdkafka_msg.c -o rdkafka_msg.o make[1]: Leaving directory '/builddir/build/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/builddir/build/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c rdkafka_conf.c -o rdkafka_conf.o make[1]: Leaving directory '/builddir/build/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/builddir/build/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c rdkafka_assignor.c -o rdkafka_assignor.o make[1]: Leaving directory '/builddir/build/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/builddir/build/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c rdkafka_lz4.c -o rdkafka_lz4.o make[1]: Leaving directory '/builddir/build/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/builddir/build/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c rdhdrhistogram.c -o rdhdrhistogram.o make[1]: Leaving directory '/builddir/build/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/builddir/build/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O3 -c rdxxhash.c -o rdxxhash.o make[1]: Leaving directory '/builddir/build/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/builddir/build/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c snappy.c -o snappy.o make[1]: Leaving directory '/builddir/build/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/builddir/build/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c rdbuf.c -o rdbuf.o make[1]: Leaving directory '/builddir/build/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/builddir/build/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c rdkafka_mock_cgrp.c -o rdkafka_mock_cgrp.o make[1]: Leaving directory '/builddir/build/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/builddir/build/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c rdkafka_ssl.c -o rdkafka_ssl.o make[1]: Leaving directory '/builddir/build/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/builddir/build/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c rdkafka_sasl_oauthbearer.c -o rdkafka_sasl_oauthbearer.o make[1]: Leaving directory '/builddir/build/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/builddir/build/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c rdkafka_msgset_reader.c -o rdkafka_msgset_reader.o make[1]: Leaving directory '/builddir/build/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/builddir/build/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c rdkafka_partition.c -o rdkafka_partition.o make[1]: Leaving directory '/builddir/build/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/builddir/build/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c rdkafka_sticky_assignor.c -o rdkafka_sticky_assignor.o make[1]: Leaving directory '/builddir/build/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/builddir/build/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c rdkafka_mock.c -o rdkafka_mock.o make[1]: Leaving directory '/builddir/build/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/builddir/build/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c rdkafka_txnmgr.c -o rdkafka_txnmgr.o make[1]: Leaving directory '/builddir/build/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/builddir/build/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c rdkafka_fetcher.c -o rdkafka_fetcher.o make[1]: Leaving directory '/builddir/build/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/builddir/build/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c rdkafka_broker.c -o rdkafka_broker.o make[1]: Leaving directory '/builddir/build/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/builddir/build/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c rdkafka.c -o rdkafka.o make[1]: Leaving directory '/builddir/build/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/builddir/build/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c rdkafka_metadata.c -o rdkafka_metadata.o make[1]: Leaving directory '/builddir/build/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/builddir/build/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c rdkafka_cgrp.c -o rdkafka_cgrp.o make[1]: Leaving directory '/builddir/build/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/builddir/build/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c rdkafka_request.c -o rdkafka_request.o make[1]: Leaving directory '/builddir/build/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/builddir/build/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c rdkafka_mock_handlers.c -o rdkafka_mock_handlers.o make[1]: Leaving directory '/builddir/build/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/builddir/build/BUILD/librdkafka-2.3.0/src' gcc -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -c rdkafka_admin.c -o rdkafka_admin.o make[1]: Leaving directory '/builddir/build/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/builddir/build/BUILD/librdkafka-2.3.0/src' Creating static library librdkafka.a ar rcs librdkafka.a rdkafka.o rdkafka_broker.o rdkafka_msg.o rdkafka_topic.o rdkafka_conf.o rdkafka_timer.o rdkafka_offset.o rdkafka_transport.o rdkafka_buf.o rdkafka_queue.o rdkafka_op.o rdkafka_request.o rdkafka_cgrp.o rdkafka_pattern.o rdkafka_partition.o rdkafka_subscription.o rdkafka_assignment.o rdkafka_assignor.o rdkafka_range_assignor.o rdkafka_roundrobin_assignor.o rdkafka_sticky_assignor.o rdkafka_feature.o rdcrc32.o crc32c.o rdmurmur2.o rdfnv1a.o cJSON.o rdaddr.o rdrand.o rdlist.o tinycthread.o tinycthread_extra.o rdlog.o rdstring.o rdkafka_event.o rdkafka_metadata.o rdregex.o rdports.o rdkafka_metadata_cache.o rdavl.o rdkafka_sasl.o rdkafka_sasl_plain.o rdkafka_interceptor.o rdkafka_msgset_writer.o rdkafka_msgset_reader.o rdkafka_header.o rdkafka_admin.o rdkafka_aux.o rdkafka_background.o rdkafka_idempotence.o rdkafka_cert.o rdkafka_txnmgr.o rdkafka_coord.o rdbase64.o rdvarint.o rdbuf.o rdmap.o rdunittest.o rdkafka_mock.o rdkafka_mock_handlers.o rdkafka_mock_cgrp.o rdkafka_error.o rdkafka_fetcher.o rdkafka_sasl_cyrus.o rdkafka_sasl_scram.o rdkafka_sasl_oauthbearer.o snappy.o rdgz.o rdkafka_zstd.o rdhdrhistogram.o rdkafka_ssl.o rdkafka_lz4.o rdxxhash.o rddl.o rdkafka_plugin.o cp librdkafka.a librdkafka-dbg.a make[1]: Leaving directory '/builddir/build/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/builddir/build/BUILD/librdkafka-2.3.0/src' WARNING: librdkafka-static.a: No static libraries available/enabled for inclusion in self-contained static library librdkafka-static.a: this library will be identical to librdkafka.a WARNING: librdkafka-static.a: The following libraries were not available as static libraries and need to be linked dynamically: -llz4 -lm -lzstd -lsasl2 -lssl -lcrypto -lz -ldl -lpthread -lrt -lpthread -lrt cp librdkafka.a librdkafka-static.a cp librdkafka-dbg.a librdkafka-static-dbg.a cp librdkafka-static.a librdkafka-static-dbg.a make[1]: Leaving directory '/builddir/build/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/builddir/build/BUILD/librdkafka-2.3.0/src' Generating pkg-config file rdkafka-static.pc make[1]: Leaving directory '/builddir/build/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/builddir/build/BUILD/librdkafka-2.3.0/src' Creating shared library librdkafka.so.1 gcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -L/usr/lib64 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -L/usr/lib64 -shared -Wl,-soname,librdkafka.so.1 -Wl,--version-script=librdkafka.lds rdkafka.o rdkafka_broker.o rdkafka_msg.o rdkafka_topic.o rdkafka_conf.o rdkafka_timer.o rdkafka_offset.o rdkafka_transport.o rdkafka_buf.o rdkafka_queue.o rdkafka_op.o rdkafka_request.o rdkafka_cgrp.o rdkafka_pattern.o rdkafka_partition.o rdkafka_subscription.o rdkafka_assignment.o rdkafka_assignor.o rdkafka_range_assignor.o rdkafka_roundrobin_assignor.o rdkafka_sticky_assignor.o rdkafka_feature.o rdcrc32.o crc32c.o rdmurmur2.o rdfnv1a.o cJSON.o rdaddr.o rdrand.o rdlist.o tinycthread.o tinycthread_extra.o rdlog.o rdstring.o rdkafka_event.o rdkafka_metadata.o rdregex.o rdports.o rdkafka_metadata_cache.o rdavl.o rdkafka_sasl.o rdkafka_sasl_plain.o rdkafka_interceptor.o rdkafka_msgset_writer.o rdkafka_msgset_reader.o rdkafka_header.o rdkafka_admin.o rdkafka_aux.o rdkafka_background.o rdkafka_idempotence.o rdkafka_cert.o rdkafka_txnmgr.o rdkafka_coord.o rdbase64.o rdvarint.o rdbuf.o rdmap.o rdunittest.o rdkafka_mock.o rdkafka_mock_handlers.o rdkafka_mock_cgrp.o rdkafka_error.o rdkafka_fetcher.o rdkafka_sasl_cyrus.o rdkafka_sasl_scram.o rdkafka_sasl_oauthbearer.o snappy.o rdgz.o rdkafka_zstd.o rdhdrhistogram.o rdkafka_ssl.o rdkafka_lz4.o rdxxhash.o rddl.o rdkafka_plugin.o -o librdkafka.so.1 -llz4 -lm -lzstd -lsasl2 -lssl -lcrypto -lz -ldl -lpthread -lrt -lpthread -lrt cp librdkafka.so.1 librdkafka-dbg.so.1 make[1]: Leaving directory '/builddir/build/BUILD/librdkafka-2.3.0/src' In function 'rd_free', inlined from 'rd_list_destroy' at rdlist.c:302:17, inlined from 'rd_kafka_ListConsumerGroupsResult_destroy' at rdkafka_admin.c:7210:9, inlined from 'rd_kafka_ListConsumerGroupsResult_free' at rdkafka_admin.c:7215:9: rd.h:151:9: warning: 'free' called on pointer 'ptr_2(D)' with nonzero offset 40 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at rdlist.c:302:17, inlined from 'rd_kafka_DeleteAcls_result_response_destroy' at rdkafka_admin.c:6407:9, inlined from 'rd_kafka_DeleteAcls_result_response_free' at rdkafka_admin.c:6412:9: rd.h:151:9: warning: 'free' called on pointer 'ptr_2(D)' with nonzero offset 8 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at rdlist.c:302:17, inlined from 'rd_kafka_aborted_txn_node_destroy' at rdkafka_msgset_reader.c:1524:9: rd.h:151:9: warning: 'free' called on pointer '_node_ptr_2(D)' with nonzero offset 48 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at rdlist.c:302:17, inlined from 'rd_kafka_aborted_txns_destroy' at rdkafka_msgset_reader.c:1549:9: rd.h:151:9: warning: 'free' called on pointer 'aborted_txns_3(D)' with nonzero offset 80 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at rdkafka_op.c:408:17: rd.h:151:9: warning: 'free' called on pointer 'rko_81(D)' with nonzero offset 904 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at rdkafka_op.c:431:17: rd.h:151:9: warning: 'free' called on pointer 'rko_81(D)' with nonzero offset 776 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at rdkafka_op.c:442:17: rd.h:151:9: warning: 'free' called on pointer 'rko_81(D)' with nonzero offset 120 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at rdkafka_op.c:443:17: rd.h:151:9: warning: 'free' called on pointer 'rko_81(D)' with nonzero offset 176 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at rdlist.c:302:17, inlined from 'rd_kafka_cgrp_timeout_scan' at rdkafka_cgrp.c:4796:9, inlined from 'rd_kafka_cgrp_serve' at rdkafka_cgrp.c:5324:17: rd.h:151:9: warning: 'free' called on unallocated object 'ofc_state' [-Wfree-nonheap-object] 151 | free(ptr); | ^ rdkafka_cgrp.c: In function 'rd_kafka_cgrp_serve': rdkafka_cgrp.c:4779:42: note: declared here 4779 | struct _op_timeout_offset_commit ofc_state; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at rdlist.c:302:17, inlined from 'rd_kafka_mock_partition_destroy' at rdkafka_mock.c:556:9, inlined from 'rd_kafka_mock_topic_destroy' at rdkafka_mock.c:602:17, inlined from 'rd_kafka_mock_cluster_destroy0' at rdkafka_mock.c:2434:17, inlined from 'rd_kafka_mock_cluster_thread_main' at rdkafka_mock.c:1428:9: rd.h:151:9: warning: 'free' called on pointer 'mtopic_402->partitions' with nonzero offset [152, 446676598520] [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at rdlist.c:302:17, inlined from 'rd_kafka_mock_cluster_destroy0' at rdkafka_mock.c:2445:9, inlined from 'rd_kafka_mock_cluster_thread_main' at rdkafka_mock.c:1428:9: rd.h:151:9: warning: 'free' called on pointer 'arg_11(D)' with nonzero offset 128 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at rdlist.c:302:17, inlined from 'sortPartitions' at rdkafka_sticky_assignor.c:1788:9, inlined from 'rd_kafka_sticky_assignor_assign_cb' at rdkafka_sticky_assignor.c:1920:28: rd.h:151:9: warning: 'free' called on unallocated object 'sortedConsumers' [-Wfree-nonheap-object] 151 | free(ptr); | ^ rdkafka_sticky_assignor.c: In function 'rd_kafka_sticky_assignor_assign_cb': rdkafka_sticky_assignor.c:1619:19: note: declared here 1619 | rd_list_t sortedConsumers; /* element is the (rd_map_elem_t *) from | ^ In function 'rd_free', inlined from 'rd_list_destroy' at rdlist.c:302:17, inlined from 'rd_kafka_sticky_assignor_assign_cb' at rdkafka_sticky_assignor.c:2049:9: rd.h:151:9: warning: 'free' called on unallocated object 'sortedCurrentSubscriptions' [-Wfree-nonheap-object] 151 | free(ptr); | ^ rdkafka_sticky_assignor.c: In function 'rd_kafka_sticky_assignor_assign_cb': rdkafka_sticky_assignor.c:1890:19: note: declared here 1890 | rd_list_t sortedCurrentSubscriptions; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at rdkafka_interceptor.c:166:9: rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 928 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at rdkafka_interceptor.c:167:9: rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 968 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at rdkafka_interceptor.c:168:9: rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1008 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at rdkafka_interceptor.c:169:9: rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1048 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at rdkafka_interceptor.c:170:9: rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1088 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at rdkafka_interceptor.c:171:9: rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1128 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at rdkafka_interceptor.c:172:9: rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1168 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at rdkafka_interceptor.c:173:9: rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1208 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at rdkafka_interceptor.c:174:9: rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1248 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at rdkafka_interceptor.c:175:9: rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1288 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at rdkafka_interceptor.c:176:9: rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1328 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at rdkafka_interceptor.c:177:9: rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1368 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at rdkafka_interceptor.c:178:9: rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1408 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at rdkafka_interceptor.c:179:9: rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1448 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at rdkafka_interceptor.c:182:9: rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1488 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at rdlist.c:302:17, inlined from 'rd_kafka_plugins_conf_set0' at rdkafka_plugin.c:150:9: rd.h:151:9: warning: 'free' called on pointer 'conf_25(D)' with nonzero offset 888 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at rdlist.c:302:17, inlined from 'rd_kafka_plugins_conf_set0' at rdkafka_plugin.c:187:25: rd.h:151:9: warning: 'free' called on pointer 'conf_25(D)' with nonzero offset 888 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at rdlist.c:302:17, inlined from 'create_jws_compact_serialization' at rdkafka_sasl_oauthbearer.c:863:9, inlined from 'rd_kafka_oauthbearer_unsecured_token0.constprop' at rdkafka_sasl_oauthbearer.c:942:37: rd.h:151:9: warning: 'free' called on unallocated object 'scope' [-Wfree-nonheap-object] 151 | free(ptr); | ^ rdkafka_sasl_oauthbearer.c: In function 'rd_kafka_oauthbearer_unsecured_token0.constprop': rdkafka_sasl_oauthbearer.c:749:19: note: declared here 749 | rd_list_t scope; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at rdlist.c:302:17, inlined from 'rd_kafka_oauthbearer_unsecured_token0.constprop' at rdkafka_sasl_oauthbearer.c:968:9: rd.h:151:9: warning: 'free' called on unallocated object 'parsed' [-Wfree-nonheap-object] 151 | free(ptr); | ^ rdkafka_sasl_oauthbearer.c: In function 'rd_kafka_oauthbearer_unsecured_token0.constprop': rdkafka_sasl_oauthbearer.c:884:54: note: declared here 884 | struct rd_kafka_sasl_oauthbearer_parsed_ujws parsed = RD_ZERO_INIT; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at rdlist.c:302:17, inlined from 'rd_kafka_topic_leader_query0.constprop' at rdkafka_topic.c:1968:9: rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ rdkafka_topic.c: In function 'rd_kafka_topic_leader_query0.constprop': rdkafka_topic.c:1959:19: note: declared here 1959 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at rdlist.c:302:17, inlined from 'rd_kafka_ListConsumerGroups_response_merge' at rdkafka_admin.c:7425:17: rd.h:151:9: warning: 'free' called on unallocated object 'new_valid' [-Wfree-nonheap-object] 151 | free(ptr); | ^ rdkafka_admin.c: In function 'rd_kafka_ListConsumerGroups_response_merge': rdkafka_admin.c:7409:19: note: declared here 7409 | rd_list_t new_valid, new_errors; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at rdlist.c:302:17, inlined from 'rd_kafka_ListConsumerGroups_response_merge' at rdkafka_admin.c:7426:17: rd.h:151:9: warning: 'free' called on unallocated object 'new_errors' [-Wfree-nonheap-object] 151 | free(ptr); | ^ rdkafka_admin.c: In function 'rd_kafka_ListConsumerGroups_response_merge': rdkafka_admin.c:7409:30: note: declared here 7409 | rd_list_t new_valid, new_errors; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at rdlist.c:302:17, inlined from 'rd_kafka_ListConsumerGroupsResponse_parse' at rdkafka_admin.c:7395:9: rd.h:151:9: warning: 'free' called on unallocated object 'valid' [-Wfree-nonheap-object] 151 | free(ptr); | ^ rdkafka_admin.c: In function 'rd_kafka_ListConsumerGroupsResponse_parse': rdkafka_admin.c:7304:19: note: declared here 7304 | rd_list_t valid, errors; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at rdlist.c:302:17, inlined from 'rd_kafka_ListConsumerGroupsResponse_parse' at rdkafka_admin.c:7396:9: rd.h:151:9: warning: 'free' called on unallocated object 'errors' [-Wfree-nonheap-object] 151 | free(ptr); | ^ rdkafka_admin.c: In function 'rd_kafka_ListConsumerGroupsResponse_parse': rdkafka_admin.c:7304:26: note: declared here 7304 | rd_list_t valid, errors; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at rdlist.c:302:17, inlined from 'rd_kafka_ConsumerGroupDescription_destroy' at rdkafka_admin.c:7824:9, inlined from 'rd_kafka_ConsumerGroupDescription_free' at rdkafka_admin.c:7837:9: rd.h:151:9: warning: 'free' called on pointer 'ptr_2(D)' with nonzero offset 16 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at rdlist.c:302:17, inlined from 'rd_kafka_DescribeConsumerGroupsResponse_parse' at rdkafka_admin.c:8169:17: rd.h:151:9: warning: 'free' called on unallocated object 'members' [-Wfree-nonheap-object] 151 | free(ptr); | ^ rdkafka_admin.c: In function 'rd_kafka_DescribeConsumerGroupsResponse_parse': rdkafka_admin.c:8043:27: note: declared here 8043 | rd_list_t members; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at rdlist.c:302:17, inlined from 'rd_kafka_DescribeConsumerGroupsResponse_parse' at rdkafka_admin.c:8169:17: rd.h:151:9: warning: 'free' called on unallocated object 'members' [-Wfree-nonheap-object] 151 | free(ptr); | ^ rdkafka_admin.c: In function 'rd_kafka_DescribeConsumerGroupsResponse_parse': rdkafka_admin.c:8043:27: note: declared here 8043 | rd_list_t members; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at rdlist.c:302:17, inlined from 'rd_kafka_offsets_for_times' at rdkafka.c:3734:17: rd.h:151:9: warning: 'free' called on unallocated object 'leaders' [-Wfree-nonheap-object] 151 | free(ptr); | ^ rdkafka.c: In function 'rd_kafka_offsets_for_times': rdkafka.c:3719:19: note: declared here 3719 | rd_list_t leaders; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at rdlist.c:302:17, inlined from 'rd_kafka_offsets_for_times' at rdkafka.c:3752:9: rd.h:151:9: warning: 'free' called on unallocated object 'leaders' [-Wfree-nonheap-object] 151 | free(ptr); | ^ rdkafka.c: In function 'rd_kafka_offsets_for_times': rdkafka.c:3719:19: note: declared here 3719 | rd_list_t leaders; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at rdlist.c:302:17, inlined from 'rd_kafka_query_watermark_offsets' at rdkafka.c:3571:17: rd.h:151:9: warning: 'free' called on unallocated object 'leaders' [-Wfree-nonheap-object] 151 | free(ptr); | ^ rdkafka.c: In function 'rd_kafka_query_watermark_offsets': rdkafka.c:3558:19: note: declared here 3558 | rd_list_t leaders; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at rdlist.c:302:17, inlined from 'rd_kafka_query_watermark_offsets' at rdkafka.c:3602:9: rd.h:151:9: warning: 'free' called on unallocated object 'leaders' [-Wfree-nonheap-object] 151 | free(ptr); | ^ rdkafka.c: In function 'rd_kafka_query_watermark_offsets': rdkafka.c:3558:19: note: declared here 3558 | rd_list_t leaders; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at rdlist.c:302:17, inlined from 'rd_kafka_DescribeTopics' at rdkafka_admin.c:8770:25: rd.h:151:9: warning: 'free' called on unallocated object 'dup_list' [-Wfree-nonheap-object] 151 | free(ptr); | ^ rdkafka_admin.c: In function 'rd_kafka_DescribeTopics': rdkafka_admin.c:8736:19: note: declared here 8736 | rd_list_t dup_list; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at rdlist.c:302:17, inlined from 'rd_kafka_DescribeTopics' at rdkafka_admin.c:8782:33: rd.h:151:9: warning: 'free' called on unallocated object 'dup_list' [-Wfree-nonheap-object] 151 | free(ptr); | ^ rdkafka_admin.c: In function 'rd_kafka_DescribeTopics': rdkafka_admin.c:8736:19: note: declared here 8736 | rd_list_t dup_list; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at rdlist.c:302:17, inlined from 'rd_kafka_DescribeTopics' at rdkafka_admin.c:8794:17: rd.h:151:9: warning: 'free' called on unallocated object 'dup_list' [-Wfree-nonheap-object] 151 | free(ptr); | ^ rdkafka_admin.c: In function 'rd_kafka_DescribeTopics': rdkafka_admin.c:8736:19: note: declared here 8736 | rd_list_t dup_list; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at rdlist.c:302:17, inlined from 'rd_kafka_DescribeConsumerGroups' at rdkafka_admin.c:8266:17: rd.h:151:9: warning: 'free' called on unallocated object 'dup_list' [-Wfree-nonheap-object] 151 | free(ptr); | ^ rdkafka_admin.c: In function 'rd_kafka_DescribeConsumerGroups': rdkafka_admin.c:8225:19: note: declared here 8225 | rd_list_t dup_list; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at rdlist.c:302:17, inlined from 'rd_kafka_DescribeConsumerGroups' at rdkafka_admin.c:8275:9: rd.h:151:9: warning: 'free' called on unallocated object 'dup_list' [-Wfree-nonheap-object] 151 | free(ptr); | ^ rdkafka_admin.c: In function 'rd_kafka_DescribeConsumerGroups': rdkafka_admin.c:8225:19: note: declared here 8225 | rd_list_t dup_list; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at rdlist.c:302:17, inlined from 'rd_kafka_sasl_oauthbearer_close' at rdkafka_sasl_oauthbearer.c:1043:9: rd.h:151:9: warning: 'free' called on pointer 'rktrans_8(D)->rktrans_sasl.state' with nonzero offset 32 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at rdlist.c:302:17, inlined from 'rd_kafka_sasl_oauthbearer_term' at rdkafka_sasl_oauthbearer.c:1364:9: rd.h:151:9: warning: 'free' called on pointer 'rk_15(D)->rk_sasl.handle' with nonzero offset 96 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at rdlist.c:302:17, inlined from 'rd_kafka_NewTopic_destroy' at rdkafka_admin.c:1870:9: rd.h:151:9: warning: 'free' called on pointer 'new_topic_4(D)' with nonzero offset 16 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at rdlist.c:302:17, inlined from 'rd_kafka_NewTopic_destroy' at rdkafka_admin.c:1871:9: rd.h:151:9: warning: 'free' called on pointer 'new_topic_4(D)' with nonzero offset 56 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at rdlist.c:302:17, inlined from 'rd_kafka_NewTopic_copy' at rdkafka_admin.c:1857:9, inlined from 'rd_kafka_CreateTopics' at rdkafka_admin.c:2139:29: rd.h:151:9: warning: 'free' called on pointer '_38' with nonzero offset 16 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_kafka_NewTopic_copy', inlined from 'rd_kafka_CreateTopics' at rdkafka_admin.c:2139:29: rdkafka_admin.c:1853:15: note: returned from 'rd_kafka_NewTopic_new' 1853 | dst = rd_kafka_NewTopic_new(src->topic, src->num_partitions, | ^ rd.h: In function 'rd_kafka_NewPartitions_destroy': rd.h:151:9: warning: 'free' called on pointer 'newps_2(D)' with nonzero offset 16 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_all' at rdkafka_metadata.c:1526:9, inlined from 'rd_kafka_metadata_refresh_consumer_topics' at rdkafka_metadata.c:1441:24, inlined from 'rd_kafka_metadata_refresh_cb' at rdkafka.c:2018:23: rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_cb': rdkafka_metadata.c:1508:19: note: declared here 1508 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_consumer_topics' at rdkafka_metadata.c:1465:9, inlined from 'rd_kafka_metadata_refresh_cb' at rdkafka.c:2018:23: rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_cb': rdkafka_metadata.c:1422:19: note: declared here 1422 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_consumer_topics' at rdkafka_metadata.c:1465:9, inlined from 'rd_kafka_metadata_refresh_cb' at rdkafka.c:2018:23: rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_cb': rdkafka_metadata.c:1422:19: note: declared here 1422 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at rdlist.c:302:17, inlined from 'rd_kafka_topic_scan_all' at rdkafka_topic.c:1720:9, inlined from 'rd_kafka_1s_tmr_cb' at rdkafka.c:1986:9: rd.h:151:9: warning: 'free' called on unallocated object 'query_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ rdkafka_topic.c: In function 'rd_kafka_1s_tmr_cb': rdkafka_topic.c:1586:19: note: declared here 1586 | rd_list_t query_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at rdlist.c:302:17, inlined from 'rd_kafka_cgrp_destroy_final' at rdkafka_cgrp.c:370:9, inlined from 'rd_kafka_destroy_final' at rdkafka.c:942:17: rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)->rk_cgrp' with nonzero offset 232 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at rdlist.c:302:17, inlined from 'rd_kafka_assignors_term' at rdkafka_assignor.c:658:9, inlined from 'rd_kafka_destroy_final' at rdkafka.c:945:9: rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)' with nonzero offset 1976 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at rdlist.c:302:17, inlined from 'rd_kafka_destroy_final' at rdkafka.c:962:9: rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)' with nonzero offset 912 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at rdlist.c:302:17, inlined from 'rd_kafka_destroy_final' at rdkafka.c:998:9: rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)' with nonzero offset 32 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at rdlist.c:302:17, inlined from 'rd_kafka_destroy_internal' at rdkafka.c:1232:9: rd.h:151:9: warning: 'free' called on pointer 'rk_81(D)' with nonzero offset 240 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at rdlist.c:302:17, inlined from 'rd_kafka_destroy_internal' at rdkafka.c:1277:9: rd.h:151:9: warning: 'free' called on unallocated object 'wait_thrds' [-Wfree-nonheap-object] 151 | free(ptr); | ^ rdkafka.c: In function 'rd_kafka_destroy_internal': rdkafka.c:1138:19: note: declared here 1138 | rd_list_t wait_thrds; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at rdlist.c:302:17, inlined from 'rd_kafka_metadata_cache_destroy' at rdkafka_metadata_cache.c:615:9, inlined from 'rd_kafka_destroy_internal' at rdkafka.c:1296:9: rd.h:151:9: warning: 'free' called on pointer 'rk_81(D)' with nonzero offset 2800 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_avl_destroy' at rdavl.c:191:17, inlined from 'rd_kafka_metadata_cache_destroy' at rdkafka_metadata_cache.c:622:9, inlined from 'rd_kafka_destroy_internal' at rdkafka.c:1296:9: rd.h:151:9: warning: 'free' called on pointer 'rk_81(D)' with nonzero offset 2640 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at rdlist.c:302:17, inlined from 'rd_kafka_ssl_ctx_init' at rdkafka_ssl.c:1753:9, inlined from 'rd_kafka_new' at rdkafka.c:2426:21: rd.h:151:9: warning: 'free' called on pointer 'p_553' with nonzero offset 912 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_calloc', inlined from 'rd_kafka_new' at rdkafka.c:2210:14: rd.h:133:19: note: returned from 'calloc' 133 | void *p = calloc(num, sz); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at rdlist.c:302:17, inlined from 'rd_kafka_assignors_term' at rdkafka_assignor.c:658:9, inlined from 'rd_kafka_new' at rdkafka.c:2629:17: rd.h:151:9: warning: 'free' called on pointer 'p_553' with nonzero offset 1976 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_calloc', inlined from 'rd_kafka_new' at rdkafka.c:2210:14: rd.h:133:19: note: returned from 'calloc' 133 | void *p = calloc(num, sz); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at rdlist.c:302:17, inlined from 'rd_kafka_ConfigResource_copy' at rdkafka_admin.c:2898:9, inlined from 'rd_kafka_DescribeConfigs' at rdkafka_admin.c:3781:29: rd.h:151:9: warning: 'free' called on pointer '_51' with nonzero offset 16 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_kafka_ConfigResource_copy', inlined from 'rd_kafka_DescribeConfigs' at rdkafka_admin.c:3781:29: rdkafka_admin.c:2896:15: note: returned from 'rd_kafka_ConfigResource_new' 2896 | dst = rd_kafka_ConfigResource_new(src->restype, src->name); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at rdlist.c:302:17, inlined from 'rd_kafka_DeleteGroups' at rdkafka_admin.c:4768:17: rd.h:151:9: warning: 'free' called on unallocated object 'dup_list' [-Wfree-nonheap-object] 151 | free(ptr); | ^ rdkafka_admin.c: In function 'rd_kafka_DeleteGroups': rdkafka_admin.c:4728:19: note: declared here 4728 | rd_list_t dup_list; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at rdlist.c:302:17, inlined from 'rd_kafka_DeleteGroups' at rdkafka_admin.c:4777:9: rd.h:151:9: warning: 'free' called on unallocated object 'dup_list' [-Wfree-nonheap-object] 151 | free(ptr); | ^ rdkafka_admin.c: In function 'rd_kafka_DeleteGroups': rdkafka_admin.c:4728:19: note: declared here 4728 | rd_list_t dup_list; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at rdlist.c:302:17, inlined from 'rd_kafka_metadata_cache_hint_rktparlist' at rdkafka_metadata_cache.c:579:9, inlined from 'rd_kafka_cgrp_metadata_refresh' at rdkafka_cgrp.c:2192:9: rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ rdkafka_metadata_cache.c: In function 'rd_kafka_cgrp_metadata_refresh': rdkafka_metadata_cache.c:568:19: note: declared here 568 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at rdlist.c:302:17, inlined from 'rd_kafka_cgrp_metadata_refresh' at rdkafka_cgrp.c:2213:25: rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ rdkafka_cgrp.c: In function 'rd_kafka_cgrp_metadata_refresh': rdkafka_cgrp.c:2186:19: note: declared here 2186 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at rdlist.c:302:17, inlined from 'rd_kafka_cgrp_metadata_refresh' at rdkafka_cgrp.c:2262:9: rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ rdkafka_cgrp.c: In function 'rd_kafka_cgrp_metadata_refresh': rdkafka_cgrp.c:2186:19: note: declared here 2186 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at rdlist.c:302:17, inlined from 'rd_kafka_cgrp_metadata_refresh' at rdkafka_cgrp.c:2262:9: rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ rdkafka_cgrp.c: In function 'rd_kafka_cgrp_metadata_refresh': rdkafka_cgrp.c:2186:19: note: declared here 2186 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at rdlist.c:302:17, inlined from 'rd_kafka_cgrp_handle_JoinGroup' at rdkafka_cgrp.c:2066:17: rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ rdkafka_cgrp.c: In function 'rd_kafka_cgrp_handle_JoinGroup': rdkafka_cgrp.c:1973:27: note: declared here 1973 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at rdlist.c:302:17, inlined from 'rd_kafka_metadata' at rdkafka_metadata.c:139:9: rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ rdkafka_metadata.c: In function 'rd_kafka_metadata': rdkafka_metadata.c:96:19: note: declared here 96 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at rdlist.c:302:17, inlined from 'rd_kafka_ConfigEntry_destroy' at rdkafka_admin.c:2668:9, inlined from 'rd_kafka_ConfigEntry_free' at rdkafka_admin.c:2674:9: rd.h:151:9: warning: 'free' called on pointer 'ptr_2(D)' with nonzero offset 24 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at rdlist.c:302:17, inlined from 'rd_kafka_ConfigEntry_copy' at rdkafka_admin.c:2725:9, inlined from 'rd_kafka_ConfigEntry_list_copy' at rdkafka_admin.c:2734:16: rd.h:151:9: warning: 'free' called on pointer 'p_23' with nonzero offset 24 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_calloc', inlined from 'rd_kafka_ConfigEntry_new0' at rdkafka_admin.c:2695:21, inlined from 'rd_kafka_ConfigEntry_new' at rdkafka_admin.c:2710:16, inlined from 'rd_kafka_ConfigEntry_copy' at rdkafka_admin.c:2722:18, inlined from 'rd_kafka_ConfigEntry_list_copy' at rdkafka_admin.c:2734:16: rd.h:133:19: note: returned from 'calloc' 133 | void *p = calloc(num, sz); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at rdlist.c:302:17, inlined from 'rd_kafka_ConfigResource_destroy' at rdkafka_admin.c:2859:9: rd.h:151:9: warning: 'free' called on pointer 'config_4(D)' with nonzero offset 16 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at rdlist.c:302:17, inlined from 'rd_kafka_ConfigResource_copy' at rdkafka_admin.c:2898:9, inlined from 'rd_kafka_AlterConfigs' at rdkafka_admin.c:3213:29: rd.h:151:9: warning: 'free' called on pointer '_51' with nonzero offset 16 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_kafka_ConfigResource_copy', inlined from 'rd_kafka_AlterConfigs' at rdkafka_admin.c:3213:29: rdkafka_admin.c:2896:15: note: returned from 'rd_kafka_ConfigResource_new' 2896 | dst = rd_kafka_ConfigResource_new(src->restype, src->name); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at rdlist.c:302:17, inlined from 'rd_kafka_ConfigResource_copy' at rdkafka_admin.c:2898:9, inlined from 'rd_kafka_IncrementalAlterConfigs' at rdkafka_admin.c:3458:29: rd.h:151:9: warning: 'free' called on pointer '_181' with nonzero offset 16 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_kafka_ConfigResource_copy', inlined from 'rd_kafka_IncrementalAlterConfigs' at rdkafka_admin.c:3458:29: rdkafka_admin.c:2896:15: note: returned from 'rd_kafka_ConfigResource_new' 2896 | dst = rd_kafka_ConfigResource_new(src->restype, src->name); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at rdlist.c:302:17, inlined from 'rd_kafka_NewPartitions_copy' at rdkafka_admin.c:2426:9, inlined from 'rd_kafka_CreatePartitions' at rdkafka_admin.c:2635:29: rd.h:151:9: warning: 'free' called on pointer '_37' with nonzero offset 16 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_kafka_NewPartitions_copy', inlined from 'rd_kafka_CreatePartitions' at rdkafka_admin.c:2635:29: rdkafka_admin.c:2424:15: note: returned from 'rd_kafka_NewPartitions_new' 2424 | dst = rd_kafka_NewPartitions_new(src->topic, src->total_cnt, NULL, 0); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at rdlist.c:302:17, inlined from 'rd_kafka_topic_destroy_final' at rdkafka_topic.c:111:9: rd.h:151:9: warning: 'free' called on pointer 'rkt_30(D)' with nonzero offset 144 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at rdlist.c:302:17, inlined from 'rd_kafka_assignor_topic_destroy' at rdkafka_assignor.c:238:9: rd.h:151:9: warning: 'free' called on pointer 'at_2(D)' with nonzero offset 16 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at rdlist.c:302:17, inlined from 'rd_kafka_topic_partition_list_query_leaders_async_worker' at rdkafka_partition.c:3565:17: rd.h:151:9: warning: 'free' called on unallocated object 'query_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ rdkafka_partition.c: In function 'rd_kafka_topic_partition_list_query_leaders_async_worker': rdkafka_partition.c:3528:19: note: declared here 3528 | rd_list_t query_topics, *leaders = NULL; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at rdlist.c:302:17, inlined from 'rd_kafka_topic_partition_list_query_leaders_async_worker' at rdkafka_partition.c:3572:17: rd.h:151:9: warning: 'free' called on unallocated object 'query_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ rdkafka_partition.c: In function 'rd_kafka_topic_partition_list_query_leaders_async_worker': rdkafka_partition.c:3528:19: note: declared here 3528 | rd_list_t query_topics, *leaders = NULL; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at rdlist.c:302:17, inlined from 'rd_kafka_topic_partition_list_query_leaders_async_worker' at rdkafka_partition.c:3599:9: rd.h:151:9: warning: 'free' called on unallocated object 'query_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ rdkafka_partition.c: In function 'rd_kafka_topic_partition_list_query_leaders_async_worker': rdkafka_partition.c:3528:19: note: declared here 3528 | rd_list_t query_topics, *leaders = NULL; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at rdlist.c:302:17, inlined from 'rd_kafka_topic_partition_list_query_leaders' at rdkafka_partition.c:3759:25: rd.h:151:9: warning: 'free' called on unallocated object 'query_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ rdkafka_partition.c: In function 'rd_kafka_topic_partition_list_query_leaders': rdkafka_partition.c:3745:27: note: declared here 3745 | rd_list_t query_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at rdlist.c:302:17, inlined from 'rd_kafka_topic_partition_list_query_leaders' at rdkafka_partition.c:3797:17: rd.h:151:9: warning: 'free' called on unallocated object 'query_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ rdkafka_partition.c: In function 'rd_kafka_topic_partition_list_query_leaders': rdkafka_partition.c:3745:27: note: declared here 3745 | rd_list_t query_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at rdlist.c:302:17, inlined from 'rd_kafka_group_member_clear' at rdkafka_assignor.c:49:9: rd.h:151:9: warning: 'free' called on pointer 'rkgm_19(D)' with nonzero offset 24 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at rdlist.c:302:17, inlined from 'rd_kafka_assignor_run' at rdkafka_assignor.c:420:9: rd.h:151:9: warning: 'free' called on unallocated object 'eligible_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ rdkafka_assignor.c: In function 'rd_kafka_assignor_run': rdkafka_assignor.c:329:19: note: declared here 329 | rd_list_t eligible_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_topics' at rdkafka_metadata.c:1332:25: rd.h:151:9: warning: 'free' called on unallocated object 'q_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_topics': rdkafka_metadata.c:1282:19: note: declared here 1282 | rd_list_t q_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_topics' at rdkafka_metadata.c:1350:9: rd.h:151:9: warning: 'free' called on unallocated object 'q_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_topics': rdkafka_metadata.c:1282:19: note: declared here 1282 | rd_list_t q_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at rdlist.c:302:17, inlined from 'rd_kafka_metadata_leader_query_tmr_cb' at rdkafka_metadata.c:1637:9: rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ rdkafka_metadata.c: In function 'rd_kafka_metadata_leader_query_tmr_cb': rdkafka_metadata.c:1584:19: note: declared here 1584 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_known_topics' at rdkafka_metadata.c:1399:9: rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_known_topics': rdkafka_metadata.c:1376:19: note: declared here 1376 | rd_list_t topics; | ^ make[1]: Entering directory '/builddir/build/BUILD/librdkafka-2.3.0/src' Creating librdkafka.so symlink rm -f "librdkafka.so" && ln -s "librdkafka.so.1" "librdkafka.so" make[1]: Leaving directory '/builddir/build/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/builddir/build/BUILD/librdkafka-2.3.0/src' Checking librdkafka integrity librdkafka.so.1 OK librdkafka.a OK make[1]: Leaving directory '/builddir/build/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/builddir/build/BUILD/librdkafka-2.3.0/src' Symbol visibility OK make[1]: Leaving directory '/builddir/build/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/builddir/build/BUILD/librdkafka-2.3.0/src-cpp' Generating pkg-config file rdkafka++.pc make[1]: Leaving directory '/builddir/build/BUILD/librdkafka-2.3.0/src-cpp' make[1]: Entering directory '/builddir/build/BUILD/librdkafka-2.3.0/src-cpp' Generating pkg-config file rdkafka++-static.pc make[1]: Leaving directory '/builddir/build/BUILD/librdkafka-2.3.0/src-cpp' make[1]: Entering directory '/builddir/build/BUILD/librdkafka-2.3.0/src-cpp' g++ -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-non-virtual-dtor -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-non-virtual-dtor -c RdKafka.cpp -o RdKafka.o make[1]: Leaving directory '/builddir/build/BUILD/librdkafka-2.3.0/src-cpp' make[1]: Entering directory '/builddir/build/BUILD/librdkafka-2.3.0/src-cpp' g++ -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-non-virtual-dtor -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-non-virtual-dtor -c MessageImpl.cpp -o MessageImpl.o make[1]: Leaving directory '/builddir/build/BUILD/librdkafka-2.3.0/src-cpp' make[1]: Entering directory '/builddir/build/BUILD/librdkafka-2.3.0/src-cpp' g++ -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-non-virtual-dtor -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-non-virtual-dtor -c TopicPartitionImpl.cpp -o TopicPartitionImpl.o make[1]: Leaving directory '/builddir/build/BUILD/librdkafka-2.3.0/src-cpp' make[1]: Entering directory '/builddir/build/BUILD/librdkafka-2.3.0/src-cpp' g++ -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-non-virtual-dtor -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-non-virtual-dtor -c TopicImpl.cpp -o TopicImpl.o make[1]: Leaving directory '/builddir/build/BUILD/librdkafka-2.3.0/src-cpp' make[1]: Entering directory '/builddir/build/BUILD/librdkafka-2.3.0/src-cpp' g++ -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-non-virtual-dtor -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-non-virtual-dtor -c ConfImpl.cpp -o ConfImpl.o make[1]: Leaving directory '/builddir/build/BUILD/librdkafka-2.3.0/src-cpp' make[1]: Entering directory '/builddir/build/BUILD/librdkafka-2.3.0/src-cpp' g++ -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-non-virtual-dtor -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-non-virtual-dtor -c HeadersImpl.cpp -o HeadersImpl.o make[1]: Leaving directory '/builddir/build/BUILD/librdkafka-2.3.0/src-cpp' make[1]: Entering directory '/builddir/build/BUILD/librdkafka-2.3.0/src-cpp' g++ -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-non-virtual-dtor -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-non-virtual-dtor -c MetadataImpl.cpp -o MetadataImpl.o make[1]: Leaving directory '/builddir/build/BUILD/librdkafka-2.3.0/src-cpp' make[1]: Entering directory '/builddir/build/BUILD/librdkafka-2.3.0/src-cpp' g++ -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-non-virtual-dtor -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-non-virtual-dtor -c QueueImpl.cpp -o QueueImpl.o make[1]: Leaving directory '/builddir/build/BUILD/librdkafka-2.3.0/src-cpp' make[1]: Entering directory '/builddir/build/BUILD/librdkafka-2.3.0/src-cpp' g++ -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-non-virtual-dtor -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-non-virtual-dtor -c ConsumerImpl.cpp -o ConsumerImpl.o make[1]: Leaving directory '/builddir/build/BUILD/librdkafka-2.3.0/src-cpp' make[1]: Entering directory '/builddir/build/BUILD/librdkafka-2.3.0/src-cpp' g++ -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-non-virtual-dtor -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-non-virtual-dtor -c KafkaConsumerImpl.cpp -o KafkaConsumerImpl.o make[1]: Leaving directory '/builddir/build/BUILD/librdkafka-2.3.0/src-cpp' make[1]: Entering directory '/builddir/build/BUILD/librdkafka-2.3.0/src-cpp' g++ -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-non-virtual-dtor -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-non-virtual-dtor -c ProducerImpl.cpp -o ProducerImpl.o make[1]: Leaving directory '/builddir/build/BUILD/librdkafka-2.3.0/src-cpp' make[1]: Entering directory '/builddir/build/BUILD/librdkafka-2.3.0/src-cpp' g++ -MD -MP -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-non-virtual-dtor -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-non-virtual-dtor -c HandleImpl.cpp -o HandleImpl.o make[1]: Leaving directory '/builddir/build/BUILD/librdkafka-2.3.0/src-cpp' make[1]: Entering directory '/builddir/build/BUILD/librdkafka-2.3.0/src-cpp' Creating static library librdkafka++.a ar rcs librdkafka++.a RdKafka.o ConfImpl.o HandleImpl.o ConsumerImpl.o ProducerImpl.o KafkaConsumerImpl.o TopicImpl.o TopicPartitionImpl.o MessageImpl.o HeadersImpl.o QueueImpl.o MetadataImpl.o cp librdkafka++.a librdkafka++-dbg.a make[1]: Leaving directory '/builddir/build/BUILD/librdkafka-2.3.0/src-cpp' make[1]: Entering directory '/builddir/build/BUILD/librdkafka-2.3.0/src-cpp' Creating shared library librdkafka++.so.1 g++ -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -L/usr/lib64 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -L/usr/lib64 -shared -Wl,-soname,librdkafka++.so.1 RdKafka.o ConfImpl.o HandleImpl.o ConsumerImpl.o ProducerImpl.o KafkaConsumerImpl.o TopicImpl.o TopicPartitionImpl.o MessageImpl.o HeadersImpl.o QueueImpl.o MetadataImpl.o -o librdkafka++.so.1 -L../src -lrdkafka cp librdkafka++.so.1 librdkafka++-dbg.so.1 make[1]: Leaving directory '/builddir/build/BUILD/librdkafka-2.3.0/src-cpp' make[1]: Entering directory '/builddir/build/BUILD/librdkafka-2.3.0/src-cpp' Creating librdkafka++.so symlink rm -f "librdkafka++.so" && ln -s "librdkafka++.so.1" "librdkafka++.so" make[1]: Leaving directory '/builddir/build/BUILD/librdkafka-2.3.0/src-cpp' make[1]: Entering directory '/builddir/build/BUILD/librdkafka-2.3.0/src-cpp' Checking librdkafka++ integrity librdkafka++.so.1 OK librdkafka++.a OK make[1]: Leaving directory '/builddir/build/BUILD/librdkafka-2.3.0/src-cpp' /usr/bin/make -C examples make[1]: Entering directory '/builddir/build/BUILD/librdkafka-2.3.0/examples' gcc -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I../src delete_records.c -o delete_records -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -L/usr/lib64 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -L/usr/lib64 \ ../src/librdkafka.a -llz4 -lm -lzstd -lsasl2 -lssl -lcrypto -lz -ldl -lpthread -lrt -lpthread -lrt make[1]: Leaving directory '/builddir/build/BUILD/librdkafka-2.3.0/examples' In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignor_topic_destroy' at ../src/rdkafka_assignor.c:238:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'at_2(D)' with nonzero offset 16 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_partition_list_query_leaders_async_worker' at ../src/rdkafka_partition.c:3565:17: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'query_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_partition.c: In function 'rd_kafka_topic_partition_list_query_leaders_async_worker': ../src/rdkafka_partition.c:3528:19: note: declared here 3528 | rd_list_t query_topics, *leaders = NULL; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_partition_list_query_leaders_async_worker' at ../src/rdkafka_partition.c:3572:17: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'query_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_partition.c: In function 'rd_kafka_topic_partition_list_query_leaders_async_worker': ../src/rdkafka_partition.c:3528:19: note: declared here 3528 | rd_list_t query_topics, *leaders = NULL; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_partition_list_query_leaders_async_worker' at ../src/rdkafka_partition.c:3599:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'query_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_partition.c: In function 'rd_kafka_topic_partition_list_query_leaders_async_worker': ../src/rdkafka_partition.c:3528:19: note: declared here 3528 | rd_list_t query_topics, *leaders = NULL; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_group_member_clear' at ../src/rdkafka_assignor.c:49:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rkgm_19(D)' with nonzero offset 24 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_mock_partition_destroy' at ../src/rdkafka_mock.c:556:9, inlined from 'rd_kafka_mock_topic_destroy' at ../src/rdkafka_mock.c:602:17, inlined from 'rd_kafka_mock_cluster_destroy0' at ../src/rdkafka_mock.c:2434:17, inlined from 'rd_kafka_mock_cluster_thread_main' at ../src/rdkafka_mock.c:1428:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'mtopic_402->partitions' with nonzero offset [152, 446676598520] [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_mock_cluster_destroy0' at ../src/rdkafka_mock.c:2445:9, inlined from 'rd_kafka_mock_cluster_thread_main' at ../src/rdkafka_mock.c:1428:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'arg_11(D)' with nonzero offset 128 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_topics' at ../src/rdkafka_metadata.c:1332:25: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'q_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_topics': ../src/rdkafka_metadata.c:1282:19: note: declared here 1282 | rd_list_t q_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_topics' at ../src/rdkafka_metadata.c:1350:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'q_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_topics': ../src/rdkafka_metadata.c:1282:19: note: declared here 1282 | rd_list_t q_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_known_topics' at ../src/rdkafka_metadata.c:1399:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_known_topics': ../src/rdkafka_metadata.c:1376:19: note: declared here 1376 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_leader_query_tmr_cb' at ../src/rdkafka_metadata.c:1637:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_leader_query_tmr_cb': ../src/rdkafka_metadata.c:1584:19: note: declared here 1584 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:166:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 928 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:167:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 968 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:168:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1008 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:169:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1048 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:170:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1088 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:171:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1128 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:172:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1168 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:173:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1208 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:174:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1248 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:175:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1288 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:176:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1328 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:177:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1368 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:178:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1408 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:179:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1448 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:182:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1488 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_all' at ../src/rdkafka_metadata.c:1526:9, inlined from 'rd_kafka_metadata_refresh_consumer_topics' at ../src/rdkafka_metadata.c:1441:24, inlined from 'rd_kafka_metadata_refresh_cb' at ../src/rdkafka.c:2018:23: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_cb': ../src/rdkafka_metadata.c:1508:19: note: declared here 1508 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_consumer_topics' at ../src/rdkafka_metadata.c:1465:9, inlined from 'rd_kafka_metadata_refresh_cb' at ../src/rdkafka.c:2018:23: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_cb': ../src/rdkafka_metadata.c:1422:19: note: declared here 1422 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_consumer_topics' at ../src/rdkafka_metadata.c:1465:9, inlined from 'rd_kafka_metadata_refresh_cb' at ../src/rdkafka.c:2018:23: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_cb': ../src/rdkafka_metadata.c:1422:19: note: declared here 1422 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1232:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_81(D)' with nonzero offset 240 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1277:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'wait_thrds' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka.c: In function 'rd_kafka_destroy_internal': ../src/rdkafka.c:1138:19: note: declared here 1138 | rd_list_t wait_thrds; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_cache_destroy' at ../src/rdkafka_metadata_cache.c:615:9, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1296:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_81(D)' with nonzero offset 2800 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_avl_destroy' at ../src/rdavl.c:191:17, inlined from 'rd_kafka_metadata_cache_destroy' at ../src/rdkafka_metadata_cache.c:622:9, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1296:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_81(D)' with nonzero offset 2640 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_scan_all' at ../src/rdkafka_topic.c:1720:9, inlined from 'rd_kafka_1s_tmr_cb' at ../src/rdkafka.c:1986:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'query_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_topic.c: In function 'rd_kafka_1s_tmr_cb': ../src/rdkafka_topic.c:1586:19: note: declared here 1586 | rd_list_t query_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_destroy_final' at ../src/rdkafka_cgrp.c:370:9, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:942:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)->rk_cgrp' with nonzero offset 232 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignors_term' at ../src/rdkafka_assignor.c:658:9, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:945:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)' with nonzero offset 1976 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:962:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)' with nonzero offset 912 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:998:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)' with nonzero offset 32 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_ssl_ctx_init' at ../src/rdkafka_ssl.c:1753:9, inlined from 'rd_kafka_new' at ../src/rdkafka.c:2426:21: ../src/rd.h:151:9: warning: 'free' called on pointer 'p_554' with nonzero offset 912 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_calloc', inlined from 'rd_kafka_new' at ../src/rdkafka.c:2210:14: ../src/rd.h:133:19: note: returned from 'calloc' 133 | void *p = calloc(num, sz); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignors_term' at ../src/rdkafka_assignor.c:658:9, inlined from 'rd_kafka_new' at ../src/rdkafka.c:2629:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'p_554' with nonzero offset 1976 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_calloc', inlined from 'rd_kafka_new' at ../src/rdkafka.c:2210:14: ../src/rd.h:133:19: note: returned from 'calloc' 133 | void *p = calloc(num, sz); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'sortPartitions' at ../src/rdkafka_sticky_assignor.c:1788:9, inlined from 'rd_kafka_sticky_assignor_assign_cb' at ../src/rdkafka_sticky_assignor.c:1920:28: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'sortedConsumers' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sticky_assignor.c: In function 'rd_kafka_sticky_assignor_assign_cb': ../src/rdkafka_sticky_assignor.c:1619:19: note: declared here 1619 | rd_list_t sortedConsumers; /* element is the (rd_map_elem_t *) from | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_sticky_assignor_assign_cb' at ../src/rdkafka_sticky_assignor.c:2049:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'sortedCurrentSubscriptions' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sticky_assignor.c: In function 'rd_kafka_sticky_assignor_assign_cb': ../src/rdkafka_sticky_assignor.c:1890:19: note: declared here 1890 | rd_list_t sortedCurrentSubscriptions; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_sasl_oauthbearer_close' at ../src/rdkafka_sasl_oauthbearer.c:1043:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rktrans_8(D)->rktrans_sasl.state' with nonzero offset 32 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'create_jws_compact_serialization' at ../src/rdkafka_sasl_oauthbearer.c:863:9, inlined from 'rd_kafka_oauthbearer_unsecured_token0' at ../src/rdkafka_sasl_oauthbearer.c:942:37, inlined from 'rd_kafka_oauthbearer_unsecured_token' at ../src/rdkafka_sasl_oauthbearer.c:1017:13: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'scope' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sasl_oauthbearer.c: In function 'rd_kafka_oauthbearer_unsecured_token': ../src/rdkafka_sasl_oauthbearer.c:749:19: note: declared here 749 | rd_list_t scope; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_oauthbearer_unsecured_token0' at ../src/rdkafka_sasl_oauthbearer.c:968:9, inlined from 'rd_kafka_oauthbearer_unsecured_token' at ../src/rdkafka_sasl_oauthbearer.c:1017:13: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'parsed' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sasl_oauthbearer.c: In function 'rd_kafka_oauthbearer_unsecured_token': ../src/rdkafka_sasl_oauthbearer.c:884:54: note: declared here 884 | struct rd_kafka_sasl_oauthbearer_parsed_ujws parsed = RD_ZERO_INIT; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_destroy_final' at ../src/rdkafka_topic.c:111:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rkt_30(D)' with nonzero offset 144 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_timeout_scan' at ../src/rdkafka_cgrp.c:4796:9, inlined from 'rd_kafka_cgrp_serve' at ../src/rdkafka_cgrp.c:5324:17: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'ofc_state' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_serve': ../src/rdkafka_cgrp.c:4779:42: note: declared here 4779 | struct _op_timeout_offset_commit ofc_state; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_handle_JoinGroup' at ../src/rdkafka_cgrp.c:2066:17: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_handle_JoinGroup': ../src/rdkafka_cgrp.c:1973:27: note: declared here 1973 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_cache_hint_rktparlist' at ../src/rdkafka_metadata_cache.c:579:9, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2192:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata_cache.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_metadata_cache.c:568:19: note: declared here 568 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2213:25: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_cgrp.c:2186:19: note: declared here 2186 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2262:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_cgrp.c:2186:19: note: declared here 2186 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2262:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_cgrp.c:2186:19: note: declared here 2186 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_sasl_oauthbearer_term' at ../src/rdkafka_sasl_oauthbearer.c:1364:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_15(D)->rk_sasl.handle' with nonzero offset 96 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_plugins_conf_set0' at ../src/rdkafka_plugin.c:150:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_25(D)' with nonzero offset 888 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_plugins_conf_set0' at ../src/rdkafka_plugin.c:187:25: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_25(D)' with nonzero offset 888 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_aborted_txn_node_destroy' at ../src/rdkafka_msgset_reader.c:1524:9: ../src/rd.h:151:9: warning: 'free' called on pointer '_node_ptr_2(D)' with nonzero offset 48 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_aborted_txns_destroy' at ../src/rdkafka_msgset_reader.c:1549:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'aborted_txns_3(D)' with nonzero offset 80 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignor_run.constprop' at ../src/rdkafka_assignor.c:420:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'eligible_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_assignor.c: In function 'rd_kafka_assignor_run.constprop': ../src/rdkafka_assignor.c:329:19: note: declared here 329 | rd_list_t eligible_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:408:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_81(D)' with nonzero offset 904 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:431:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_81(D)' with nonzero offset 776 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:442:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_81(D)' with nonzero offset 120 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:443:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_81(D)' with nonzero offset 176 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_leader_query0' at ../src/rdkafka_topic.c:1968:9, inlined from 'rd_kafka_toppar_handle_OffsetForLeaderEpoch' at ../src/rdkafka_offset.c:991:25: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_topic.c: In function 'rd_kafka_toppar_handle_OffsetForLeaderEpoch': ../src/rdkafka_topic.c:1959:19: note: declared here 1959 | rd_list_t topics; | ^ make[1]: Entering directory '/builddir/build/BUILD/librdkafka-2.3.0/examples' gcc -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I../src describe_topics.c -o describe_topics -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -L/usr/lib64 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -L/usr/lib64 \ ../src/librdkafka.a -llz4 -lm -lzstd -lsasl2 -lssl -lcrypto -lz -ldl -lpthread -lrt -lpthread -lrt make[1]: Leaving directory '/builddir/build/BUILD/librdkafka-2.3.0/examples' In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_all' at ../src/rdkafka_metadata.c:1526:9, inlined from 'rd_kafka_metadata_refresh_consumer_topics' at ../src/rdkafka_metadata.c:1441:24, inlined from 'rd_kafka_metadata_refresh_cb' at ../src/rdkafka.c:2018:23: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_cb': ../src/rdkafka_metadata.c:1508:19: note: declared here 1508 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_consumer_topics' at ../src/rdkafka_metadata.c:1465:9, inlined from 'rd_kafka_metadata_refresh_cb' at ../src/rdkafka.c:2018:23: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_cb': ../src/rdkafka_metadata.c:1422:19: note: declared here 1422 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_consumer_topics' at ../src/rdkafka_metadata.c:1465:9, inlined from 'rd_kafka_metadata_refresh_cb' at ../src/rdkafka.c:2018:23: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_cb': ../src/rdkafka_metadata.c:1422:19: note: declared here 1422 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1232:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_81(D)' with nonzero offset 240 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1277:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'wait_thrds' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka.c: In function 'rd_kafka_destroy_internal': ../src/rdkafka.c:1138:19: note: declared here 1138 | rd_list_t wait_thrds; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_cache_destroy' at ../src/rdkafka_metadata_cache.c:615:9, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1296:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_81(D)' with nonzero offset 2800 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_avl_destroy' at ../src/rdavl.c:191:17, inlined from 'rd_kafka_metadata_cache_destroy' at ../src/rdkafka_metadata_cache.c:622:9, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1296:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_81(D)' with nonzero offset 2640 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_scan_all' at ../src/rdkafka_topic.c:1720:9, inlined from 'rd_kafka_1s_tmr_cb' at ../src/rdkafka.c:1986:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'query_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_topic.c: In function 'rd_kafka_1s_tmr_cb': ../src/rdkafka_topic.c:1586:19: note: declared here 1586 | rd_list_t query_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_destroy_final' at ../src/rdkafka_cgrp.c:370:9, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:942:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)->rk_cgrp' with nonzero offset 232 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignors_term' at ../src/rdkafka_assignor.c:658:9, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:945:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)' with nonzero offset 1976 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:962:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)' with nonzero offset 912 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:998:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)' with nonzero offset 32 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_ssl_ctx_init' at ../src/rdkafka_ssl.c:1753:9, inlined from 'rd_kafka_new' at ../src/rdkafka.c:2426:21: ../src/rd.h:151:9: warning: 'free' called on pointer 'p_554' with nonzero offset 912 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_calloc', inlined from 'rd_kafka_new' at ../src/rdkafka.c:2210:14: ../src/rd.h:133:19: note: returned from 'calloc' 133 | void *p = calloc(num, sz); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignors_term' at ../src/rdkafka_assignor.c:658:9, inlined from 'rd_kafka_new' at ../src/rdkafka.c:2629:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'p_554' with nonzero offset 1976 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_calloc', inlined from 'rd_kafka_new' at ../src/rdkafka.c:2210:14: ../src/rd.h:133:19: note: returned from 'calloc' 133 | void *p = calloc(num, sz); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:166:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 928 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:167:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 968 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:168:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1008 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:169:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1048 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:170:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1088 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:171:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1128 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:172:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1168 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:173:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1208 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:174:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1248 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:175:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1288 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:176:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1328 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:177:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1368 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:178:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1408 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:179:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1448 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:182:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1488 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_sasl_oauthbearer_close' at ../src/rdkafka_sasl_oauthbearer.c:1043:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rktrans_8(D)->rktrans_sasl.state' with nonzero offset 32 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'create_jws_compact_serialization' at ../src/rdkafka_sasl_oauthbearer.c:863:9, inlined from 'rd_kafka_oauthbearer_unsecured_token0' at ../src/rdkafka_sasl_oauthbearer.c:942:37, inlined from 'rd_kafka_oauthbearer_unsecured_token' at ../src/rdkafka_sasl_oauthbearer.c:1017:13: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'scope' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sasl_oauthbearer.c: In function 'rd_kafka_oauthbearer_unsecured_token': ../src/rdkafka_sasl_oauthbearer.c:749:19: note: declared here 749 | rd_list_t scope; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_oauthbearer_unsecured_token0' at ../src/rdkafka_sasl_oauthbearer.c:968:9, inlined from 'rd_kafka_oauthbearer_unsecured_token' at ../src/rdkafka_sasl_oauthbearer.c:1017:13: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'parsed' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sasl_oauthbearer.c: In function 'rd_kafka_oauthbearer_unsecured_token': ../src/rdkafka_sasl_oauthbearer.c:884:54: note: declared here 884 | struct rd_kafka_sasl_oauthbearer_parsed_ujws parsed = RD_ZERO_INIT; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_destroy_final' at ../src/rdkafka_topic.c:111:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rkt_30(D)' with nonzero offset 144 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignor_topic_destroy' at ../src/rdkafka_assignor.c:238:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'at_2(D)' with nonzero offset 16 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_group_member_clear' at ../src/rdkafka_assignor.c:49:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rkgm_19(D)' with nonzero offset 24 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_mock_partition_destroy' at ../src/rdkafka_mock.c:556:9, inlined from 'rd_kafka_mock_topic_destroy' at ../src/rdkafka_mock.c:602:17, inlined from 'rd_kafka_mock_cluster_destroy0' at ../src/rdkafka_mock.c:2434:17, inlined from 'rd_kafka_mock_cluster_thread_main' at ../src/rdkafka_mock.c:1428:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'mtopic_402->partitions' with nonzero offset [152, 446676598520] [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_mock_cluster_destroy0' at ../src/rdkafka_mock.c:2445:9, inlined from 'rd_kafka_mock_cluster_thread_main' at ../src/rdkafka_mock.c:1428:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'arg_11(D)' with nonzero offset 128 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_topics' at ../src/rdkafka_metadata.c:1332:25: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'q_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_topics': ../src/rdkafka_metadata.c:1282:19: note: declared here 1282 | rd_list_t q_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_topics' at ../src/rdkafka_metadata.c:1350:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'q_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_topics': ../src/rdkafka_metadata.c:1282:19: note: declared here 1282 | rd_list_t q_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_leader_query_tmr_cb' at ../src/rdkafka_metadata.c:1637:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_leader_query_tmr_cb': ../src/rdkafka_metadata.c:1584:19: note: declared here 1584 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_known_topics' at ../src/rdkafka_metadata.c:1399:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_known_topics': ../src/rdkafka_metadata.c:1376:19: note: declared here 1376 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'sortPartitions' at ../src/rdkafka_sticky_assignor.c:1788:9, inlined from 'rd_kafka_sticky_assignor_assign_cb' at ../src/rdkafka_sticky_assignor.c:1920:28: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'sortedConsumers' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sticky_assignor.c: In function 'rd_kafka_sticky_assignor_assign_cb': ../src/rdkafka_sticky_assignor.c:1619:19: note: declared here 1619 | rd_list_t sortedConsumers; /* element is the (rd_map_elem_t *) from | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_sticky_assignor_assign_cb' at ../src/rdkafka_sticky_assignor.c:2049:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'sortedCurrentSubscriptions' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sticky_assignor.c: In function 'rd_kafka_sticky_assignor_assign_cb': ../src/rdkafka_sticky_assignor.c:1890:19: note: declared here 1890 | rd_list_t sortedCurrentSubscriptions; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_timeout_scan' at ../src/rdkafka_cgrp.c:4796:9, inlined from 'rd_kafka_cgrp_serve' at ../src/rdkafka_cgrp.c:5324:17: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'ofc_state' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_serve': ../src/rdkafka_cgrp.c:4779:42: note: declared here 4779 | struct _op_timeout_offset_commit ofc_state; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_aborted_txn_node_destroy' at ../src/rdkafka_msgset_reader.c:1524:9: ../src/rd.h:151:9: warning: 'free' called on pointer '_node_ptr_2(D)' with nonzero offset 48 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_aborted_txns_destroy' at ../src/rdkafka_msgset_reader.c:1549:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'aborted_txns_3(D)' with nonzero offset 80 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignor_run.constprop' at ../src/rdkafka_assignor.c:420:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'eligible_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_assignor.c: In function 'rd_kafka_assignor_run.constprop': ../src/rdkafka_assignor.c:329:19: note: declared here 329 | rd_list_t eligible_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_handle_JoinGroup' at ../src/rdkafka_cgrp.c:2066:17: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_handle_JoinGroup': ../src/rdkafka_cgrp.c:1973:27: note: declared here 1973 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_cache_hint_rktparlist' at ../src/rdkafka_metadata_cache.c:579:9, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2192:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata_cache.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_metadata_cache.c:568:19: note: declared here 568 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2213:25: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_cgrp.c:2186:19: note: declared here 2186 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2262:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_cgrp.c:2186:19: note: declared here 2186 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2262:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_cgrp.c:2186:19: note: declared here 2186 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_sasl_oauthbearer_term' at ../src/rdkafka_sasl_oauthbearer.c:1364:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_15(D)->rk_sasl.handle' with nonzero offset 96 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_plugins_conf_set0' at ../src/rdkafka_plugin.c:150:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_25(D)' with nonzero offset 888 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_plugins_conf_set0' at ../src/rdkafka_plugin.c:187:25: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_25(D)' with nonzero offset 888 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:408:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_81(D)' with nonzero offset 904 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:431:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_81(D)' with nonzero offset 776 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:442:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_81(D)' with nonzero offset 120 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:443:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_81(D)' with nonzero offset 176 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_leader_query0' at ../src/rdkafka_topic.c:1968:9, inlined from 'rd_kafka_toppar_handle_OffsetForLeaderEpoch' at ../src/rdkafka_offset.c:991:25: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_topic.c: In function 'rd_kafka_toppar_handle_OffsetForLeaderEpoch': ../src/rdkafka_topic.c:1959:19: note: declared here 1959 | rd_list_t topics; | ^ make[1]: Entering directory '/builddir/build/BUILD/librdkafka-2.3.0/examples' gcc -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I../src list_consumer_groups.c -o list_consumer_groups -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -L/usr/lib64 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -L/usr/lib64 \ ../src/librdkafka.a -llz4 -lm -lzstd -lsasl2 -lssl -lcrypto -lz -ldl -lpthread -lrt -lpthread -lrt make[1]: Leaving directory '/builddir/build/BUILD/librdkafka-2.3.0/examples' In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_mock_partition_destroy' at ../src/rdkafka_mock.c:556:9, inlined from 'rd_kafka_mock_topic_destroy' at ../src/rdkafka_mock.c:602:17, inlined from 'rd_kafka_mock_cluster_destroy0' at ../src/rdkafka_mock.c:2434:17, inlined from 'rd_kafka_mock_cluster_thread_main' at ../src/rdkafka_mock.c:1428:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'mtopic_402->partitions' with nonzero offset [152, 446676598520] [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_mock_cluster_destroy0' at ../src/rdkafka_mock.c:2445:9, inlined from 'rd_kafka_mock_cluster_thread_main' at ../src/rdkafka_mock.c:1428:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'arg_11(D)' with nonzero offset 128 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_timeout_scan' at ../src/rdkafka_cgrp.c:4796:9, inlined from 'rd_kafka_cgrp_serve' at ../src/rdkafka_cgrp.c:5324:17: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'ofc_state' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_serve': ../src/rdkafka_cgrp.c:4779:42: note: declared here 4779 | struct _op_timeout_offset_commit ofc_state; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_topics' at ../src/rdkafka_metadata.c:1332:25: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'q_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_topics': ../src/rdkafka_metadata.c:1282:19: note: declared here 1282 | rd_list_t q_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_topics' at ../src/rdkafka_metadata.c:1350:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'q_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_topics': ../src/rdkafka_metadata.c:1282:19: note: declared here 1282 | rd_list_t q_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_known_topics' at ../src/rdkafka_metadata.c:1399:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_known_topics': ../src/rdkafka_metadata.c:1376:19: note: declared here 1376 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_leader_query_tmr_cb' at ../src/rdkafka_metadata.c:1637:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_leader_query_tmr_cb': ../src/rdkafka_metadata.c:1584:19: note: declared here 1584 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:166:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 928 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:167:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 968 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:168:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1008 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:169:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1048 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:170:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1088 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:171:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1128 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:172:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1168 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:173:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1208 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:174:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1248 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:175:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1288 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:176:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1328 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:177:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1368 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:178:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1408 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:179:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1448 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:182:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1488 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'sortPartitions' at ../src/rdkafka_sticky_assignor.c:1788:9, inlined from 'rd_kafka_sticky_assignor_assign_cb' at ../src/rdkafka_sticky_assignor.c:1920:28: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'sortedConsumers' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sticky_assignor.c: In function 'rd_kafka_sticky_assignor_assign_cb': ../src/rdkafka_sticky_assignor.c:1619:19: note: declared here 1619 | rd_list_t sortedConsumers; /* element is the (rd_map_elem_t *) from | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_sticky_assignor_assign_cb' at ../src/rdkafka_sticky_assignor.c:2049:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'sortedCurrentSubscriptions' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sticky_assignor.c: In function 'rd_kafka_sticky_assignor_assign_cb': ../src/rdkafka_sticky_assignor.c:1890:19: note: declared here 1890 | rd_list_t sortedCurrentSubscriptions; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:408:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_81(D)' with nonzero offset 904 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:431:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_81(D)' with nonzero offset 776 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:442:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_81(D)' with nonzero offset 120 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:443:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_81(D)' with nonzero offset 176 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_destroy_final' at ../src/rdkafka_topic.c:111:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rkt_30(D)' with nonzero offset 144 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_leader_query0' at ../src/rdkafka_topic.c:1968:9, inlined from 'rd_kafka_toppar_handle_OffsetForLeaderEpoch' at ../src/rdkafka_offset.c:991:25: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_topic.c: In function 'rd_kafka_toppar_handle_OffsetForLeaderEpoch': ../src/rdkafka_topic.c:1959:19: note: declared here 1959 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_ListConsumerGroupsResult_destroy' at ../src/rdkafka_admin.c:7210:9, inlined from 'rd_kafka_ListConsumerGroupsResult_free' at ../src/rdkafka_admin.c:7215:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'ptr_2(D)' with nonzero offset 40 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_ListConsumerGroupsResponse_parse' at ../src/rdkafka_admin.c:7395:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'valid' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_admin.c: In function 'rd_kafka_ListConsumerGroupsResponse_parse': ../src/rdkafka_admin.c:7304:19: note: declared here 7304 | rd_list_t valid, errors; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_ListConsumerGroupsResponse_parse' at ../src/rdkafka_admin.c:7396:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'errors' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_admin.c: In function 'rd_kafka_ListConsumerGroupsResponse_parse': ../src/rdkafka_admin.c:7304:26: note: declared here 7304 | rd_list_t valid, errors; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_ListConsumerGroups_response_merge' at ../src/rdkafka_admin.c:7425:17: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'new_valid' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_admin.c: In function 'rd_kafka_ListConsumerGroups_response_merge': ../src/rdkafka_admin.c:7409:19: note: declared here 7409 | rd_list_t new_valid, new_errors; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_ListConsumerGroups_response_merge' at ../src/rdkafka_admin.c:7426:17: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'new_errors' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_admin.c: In function 'rd_kafka_ListConsumerGroups_response_merge': ../src/rdkafka_admin.c:7409:30: note: declared here 7409 | rd_list_t new_valid, new_errors; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_all' at ../src/rdkafka_metadata.c:1526:9, inlined from 'rd_kafka_metadata_refresh_consumer_topics' at ../src/rdkafka_metadata.c:1441:24, inlined from 'rd_kafka_metadata_refresh_cb' at ../src/rdkafka.c:2018:23: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_cb': ../src/rdkafka_metadata.c:1508:19: note: declared here 1508 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_consumer_topics' at ../src/rdkafka_metadata.c:1465:9, inlined from 'rd_kafka_metadata_refresh_cb' at ../src/rdkafka.c:2018:23: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_cb': ../src/rdkafka_metadata.c:1422:19: note: declared here 1422 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_consumer_topics' at ../src/rdkafka_metadata.c:1465:9, inlined from 'rd_kafka_metadata_refresh_cb' at ../src/rdkafka.c:2018:23: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_cb': ../src/rdkafka_metadata.c:1422:19: note: declared here 1422 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_scan_all' at ../src/rdkafka_topic.c:1720:9, inlined from 'rd_kafka_1s_tmr_cb' at ../src/rdkafka.c:1986:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'query_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_topic.c: In function 'rd_kafka_1s_tmr_cb': ../src/rdkafka_topic.c:1586:19: note: declared here 1586 | rd_list_t query_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_destroy_final' at ../src/rdkafka_cgrp.c:370:9, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:942:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)->rk_cgrp' with nonzero offset 232 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignors_term' at ../src/rdkafka_assignor.c:658:9, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:945:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)' with nonzero offset 1976 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:962:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)' with nonzero offset 912 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:998:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)' with nonzero offset 32 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1232:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_81(D)' with nonzero offset 240 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1277:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'wait_thrds' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka.c: In function 'rd_kafka_destroy_internal': ../src/rdkafka.c:1138:19: note: declared here 1138 | rd_list_t wait_thrds; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_cache_destroy' at ../src/rdkafka_metadata_cache.c:615:9, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1296:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_81(D)' with nonzero offset 2800 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_avl_destroy' at ../src/rdavl.c:191:17, inlined from 'rd_kafka_metadata_cache_destroy' at ../src/rdkafka_metadata_cache.c:622:9, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1296:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_81(D)' with nonzero offset 2640 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_ssl_ctx_init' at ../src/rdkafka_ssl.c:1753:9, inlined from 'rd_kafka_new.constprop' at ../src/rdkafka.c:2426:21: ../src/rd.h:151:9: warning: 'free' called on pointer 'p_504' with nonzero offset 912 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_calloc', inlined from 'rd_kafka_new.constprop' at ../src/rdkafka.c:2210:14: ../src/rd.h:133:19: note: returned from 'calloc' 133 | void *p = calloc(num, sz); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignors_term' at ../src/rdkafka_assignor.c:658:9, inlined from 'rd_kafka_new.constprop' at ../src/rdkafka.c:2629:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'p_504' with nonzero offset 1976 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_calloc', inlined from 'rd_kafka_new.constprop' at ../src/rdkafka.c:2210:14: ../src/rd.h:133:19: note: returned from 'calloc' 133 | void *p = calloc(num, sz); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_sasl_oauthbearer_close' at ../src/rdkafka_sasl_oauthbearer.c:1043:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rktrans_8(D)->rktrans_sasl.state' with nonzero offset 32 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'create_jws_compact_serialization' at ../src/rdkafka_sasl_oauthbearer.c:863:9, inlined from 'rd_kafka_oauthbearer_unsecured_token0' at ../src/rdkafka_sasl_oauthbearer.c:942:37, inlined from 'rd_kafka_oauthbearer_unsecured_token' at ../src/rdkafka_sasl_oauthbearer.c:1017:13: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'scope' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sasl_oauthbearer.c: In function 'rd_kafka_oauthbearer_unsecured_token': ../src/rdkafka_sasl_oauthbearer.c:749:19: note: declared here 749 | rd_list_t scope; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_oauthbearer_unsecured_token0' at ../src/rdkafka_sasl_oauthbearer.c:968:9, inlined from 'rd_kafka_oauthbearer_unsecured_token' at ../src/rdkafka_sasl_oauthbearer.c:1017:13: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'parsed' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sasl_oauthbearer.c: In function 'rd_kafka_oauthbearer_unsecured_token': ../src/rdkafka_sasl_oauthbearer.c:884:54: note: declared here 884 | struct rd_kafka_sasl_oauthbearer_parsed_ujws parsed = RD_ZERO_INIT; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignor_topic_destroy' at ../src/rdkafka_assignor.c:238:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'at_2(D)' with nonzero offset 16 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_group_member_clear' at ../src/rdkafka_assignor.c:49:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rkgm_19(D)' with nonzero offset 24 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_aborted_txn_node_destroy' at ../src/rdkafka_msgset_reader.c:1524:9: ../src/rd.h:151:9: warning: 'free' called on pointer '_node_ptr_2(D)' with nonzero offset 48 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_aborted_txns_destroy' at ../src/rdkafka_msgset_reader.c:1549:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'aborted_txns_3(D)' with nonzero offset 80 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignor_run.constprop' at ../src/rdkafka_assignor.c:420:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'eligible_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_assignor.c: In function 'rd_kafka_assignor_run.constprop': ../src/rdkafka_assignor.c:329:19: note: declared here 329 | rd_list_t eligible_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_cache_hint_rktparlist' at ../src/rdkafka_metadata_cache.c:579:9, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2192:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata_cache.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_metadata_cache.c:568:19: note: declared here 568 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2213:25: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_cgrp.c:2186:19: note: declared here 2186 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2262:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_cgrp.c:2186:19: note: declared here 2186 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2262:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_cgrp.c:2186:19: note: declared here 2186 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_handle_JoinGroup' at ../src/rdkafka_cgrp.c:2066:17: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_handle_JoinGroup': ../src/rdkafka_cgrp.c:1973:27: note: declared here 1973 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_sasl_oauthbearer_term' at ../src/rdkafka_sasl_oauthbearer.c:1364:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_15(D)->rk_sasl.handle' with nonzero offset 96 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_plugins_conf_set0' at ../src/rdkafka_plugin.c:150:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_25(D)' with nonzero offset 888 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_plugins_conf_set0' at ../src/rdkafka_plugin.c:187:25: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_25(D)' with nonzero offset 888 [-Wfree-nonheap-object] 151 | free(ptr); | ^ make[1]: Entering directory '/builddir/build/BUILD/librdkafka-2.3.0/examples' gcc -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I../src alter_consumer_group_offsets.c -o alter_consumer_group_offsets -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -L/usr/lib64 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -L/usr/lib64 \ ../src/librdkafka.a -llz4 -lm -lzstd -lsasl2 -lssl -lcrypto -lz -ldl -lpthread -lrt -lpthread -lrt make[1]: Leaving directory '/builddir/build/BUILD/librdkafka-2.3.0/examples' In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignor_topic_destroy' at ../src/rdkafka_assignor.c:238:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'at_2(D)' with nonzero offset 16 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_group_member_clear' at ../src/rdkafka_assignor.c:49:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rkgm_19(D)' with nonzero offset 24 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_topics' at ../src/rdkafka_metadata.c:1332:25: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'q_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_topics': ../src/rdkafka_metadata.c:1282:19: note: declared here 1282 | rd_list_t q_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_topics' at ../src/rdkafka_metadata.c:1350:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'q_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_topics': ../src/rdkafka_metadata.c:1282:19: note: declared here 1282 | rd_list_t q_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_known_topics' at ../src/rdkafka_metadata.c:1399:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_known_topics': ../src/rdkafka_metadata.c:1376:19: note: declared here 1376 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_leader_query_tmr_cb' at ../src/rdkafka_metadata.c:1637:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_leader_query_tmr_cb': ../src/rdkafka_metadata.c:1584:19: note: declared here 1584 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:166:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 928 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:167:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 968 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:168:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1008 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:169:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1048 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:170:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1088 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:171:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1128 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:172:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1168 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:173:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1208 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:174:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1248 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:175:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1288 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:176:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1328 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:177:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1368 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:178:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1408 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:179:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1448 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:182:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1488 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_all' at ../src/rdkafka_metadata.c:1526:9, inlined from 'rd_kafka_metadata_refresh_consumer_topics' at ../src/rdkafka_metadata.c:1441:24, inlined from 'rd_kafka_metadata_refresh_cb' at ../src/rdkafka.c:2018:23: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_cb': ../src/rdkafka_metadata.c:1508:19: note: declared here 1508 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_consumer_topics' at ../src/rdkafka_metadata.c:1465:9, inlined from 'rd_kafka_metadata_refresh_cb' at ../src/rdkafka.c:2018:23: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_cb': ../src/rdkafka_metadata.c:1422:19: note: declared here 1422 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_consumer_topics' at ../src/rdkafka_metadata.c:1465:9, inlined from 'rd_kafka_metadata_refresh_cb' at ../src/rdkafka.c:2018:23: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_cb': ../src/rdkafka_metadata.c:1422:19: note: declared here 1422 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1232:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_81(D)' with nonzero offset 240 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1277:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'wait_thrds' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka.c: In function 'rd_kafka_destroy_internal': ../src/rdkafka.c:1138:19: note: declared here 1138 | rd_list_t wait_thrds; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_cache_destroy' at ../src/rdkafka_metadata_cache.c:615:9, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1296:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_81(D)' with nonzero offset 2800 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_avl_destroy' at ../src/rdavl.c:191:17, inlined from 'rd_kafka_metadata_cache_destroy' at ../src/rdkafka_metadata_cache.c:622:9, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1296:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_81(D)' with nonzero offset 2640 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_scan_all' at ../src/rdkafka_topic.c:1720:9, inlined from 'rd_kafka_1s_tmr_cb' at ../src/rdkafka.c:1986:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'query_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_topic.c: In function 'rd_kafka_1s_tmr_cb': ../src/rdkafka_topic.c:1586:19: note: declared here 1586 | rd_list_t query_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_destroy_final' at ../src/rdkafka_cgrp.c:370:9, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:942:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)->rk_cgrp' with nonzero offset 232 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignors_term' at ../src/rdkafka_assignor.c:658:9, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:945:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)' with nonzero offset 1976 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:962:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)' with nonzero offset 912 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:998:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)' with nonzero offset 32 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_ssl_ctx_init' at ../src/rdkafka_ssl.c:1753:9, inlined from 'rd_kafka_new' at ../src/rdkafka.c:2426:21: ../src/rd.h:151:9: warning: 'free' called on pointer 'p_554' with nonzero offset 912 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_calloc', inlined from 'rd_kafka_new' at ../src/rdkafka.c:2210:14: ../src/rd.h:133:19: note: returned from 'calloc' 133 | void *p = calloc(num, sz); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignors_term' at ../src/rdkafka_assignor.c:658:9, inlined from 'rd_kafka_new' at ../src/rdkafka.c:2629:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'p_554' with nonzero offset 1976 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_calloc', inlined from 'rd_kafka_new' at ../src/rdkafka.c:2210:14: ../src/rd.h:133:19: note: returned from 'calloc' 133 | void *p = calloc(num, sz); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_mock_partition_destroy' at ../src/rdkafka_mock.c:556:9, inlined from 'rd_kafka_mock_topic_destroy' at ../src/rdkafka_mock.c:602:17, inlined from 'rd_kafka_mock_cluster_destroy0' at ../src/rdkafka_mock.c:2434:17, inlined from 'rd_kafka_mock_cluster_thread_main' at ../src/rdkafka_mock.c:1428:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'mtopic_402->partitions' with nonzero offset [152, 446676598520] [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_mock_cluster_destroy0' at ../src/rdkafka_mock.c:2445:9, inlined from 'rd_kafka_mock_cluster_thread_main' at ../src/rdkafka_mock.c:1428:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'arg_11(D)' with nonzero offset 128 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_cache_hint_rktparlist' at ../src/rdkafka_metadata_cache.c:579:9, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2192:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata_cache.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_metadata_cache.c:568:19: note: declared here 568 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2213:25: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_cgrp.c:2186:19: note: declared here 2186 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2262:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_cgrp.c:2186:19: note: declared here 2186 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2262:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_cgrp.c:2186:19: note: declared here 2186 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_timeout_scan' at ../src/rdkafka_cgrp.c:4796:9, inlined from 'rd_kafka_cgrp_serve' at ../src/rdkafka_cgrp.c:5324:17: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'ofc_state' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_serve': ../src/rdkafka_cgrp.c:4779:42: note: declared here 4779 | struct _op_timeout_offset_commit ofc_state; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_sasl_oauthbearer_close' at ../src/rdkafka_sasl_oauthbearer.c:1043:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rktrans_8(D)->rktrans_sasl.state' with nonzero offset 32 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'create_jws_compact_serialization' at ../src/rdkafka_sasl_oauthbearer.c:863:9, inlined from 'rd_kafka_oauthbearer_unsecured_token0' at ../src/rdkafka_sasl_oauthbearer.c:942:37, inlined from 'rd_kafka_oauthbearer_unsecured_token' at ../src/rdkafka_sasl_oauthbearer.c:1017:13: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'scope' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sasl_oauthbearer.c: In function 'rd_kafka_oauthbearer_unsecured_token': ../src/rdkafka_sasl_oauthbearer.c:749:19: note: declared here 749 | rd_list_t scope; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_oauthbearer_unsecured_token0' at ../src/rdkafka_sasl_oauthbearer.c:968:9, inlined from 'rd_kafka_oauthbearer_unsecured_token' at ../src/rdkafka_sasl_oauthbearer.c:1017:13: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'parsed' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sasl_oauthbearer.c: In function 'rd_kafka_oauthbearer_unsecured_token': ../src/rdkafka_sasl_oauthbearer.c:884:54: note: declared here 884 | struct rd_kafka_sasl_oauthbearer_parsed_ujws parsed = RD_ZERO_INIT; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_handle_JoinGroup' at ../src/rdkafka_cgrp.c:2066:17: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_handle_JoinGroup': ../src/rdkafka_cgrp.c:1973:27: note: declared here 1973 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'sortPartitions' at ../src/rdkafka_sticky_assignor.c:1788:9, inlined from 'rd_kafka_sticky_assignor_assign_cb' at ../src/rdkafka_sticky_assignor.c:1920:28: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'sortedConsumers' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sticky_assignor.c: In function 'rd_kafka_sticky_assignor_assign_cb': ../src/rdkafka_sticky_assignor.c:1619:19: note: declared here 1619 | rd_list_t sortedConsumers; /* element is the (rd_map_elem_t *) from | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_sticky_assignor_assign_cb' at ../src/rdkafka_sticky_assignor.c:2049:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'sortedCurrentSubscriptions' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sticky_assignor.c: In function 'rd_kafka_sticky_assignor_assign_cb': ../src/rdkafka_sticky_assignor.c:1890:19: note: declared here 1890 | rd_list_t sortedCurrentSubscriptions; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_destroy_final' at ../src/rdkafka_topic.c:111:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rkt_30(D)' with nonzero offset 144 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_aborted_txn_node_destroy' at ../src/rdkafka_msgset_reader.c:1524:9: ../src/rd.h:151:9: warning: 'free' called on pointer '_node_ptr_2(D)' with nonzero offset 48 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_aborted_txns_destroy' at ../src/rdkafka_msgset_reader.c:1549:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'aborted_txns_3(D)' with nonzero offset 80 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignor_run.constprop' at ../src/rdkafka_assignor.c:420:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'eligible_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_assignor.c: In function 'rd_kafka_assignor_run.constprop': ../src/rdkafka_assignor.c:329:19: note: declared here 329 | rd_list_t eligible_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_sasl_oauthbearer_term' at ../src/rdkafka_sasl_oauthbearer.c:1364:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_15(D)->rk_sasl.handle' with nonzero offset 96 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_plugins_conf_set0' at ../src/rdkafka_plugin.c:150:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_25(D)' with nonzero offset 888 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_plugins_conf_set0' at ../src/rdkafka_plugin.c:187:25: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_25(D)' with nonzero offset 888 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:408:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_81(D)' with nonzero offset 904 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:431:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_81(D)' with nonzero offset 776 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:442:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_81(D)' with nonzero offset 120 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:443:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_81(D)' with nonzero offset 176 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_leader_query0' at ../src/rdkafka_topic.c:1968:9, inlined from 'rd_kafka_toppar_handle_OffsetForLeaderEpoch' at ../src/rdkafka_offset.c:991:25: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_topic.c: In function 'rd_kafka_toppar_handle_OffsetForLeaderEpoch': ../src/rdkafka_topic.c:1959:19: note: declared here 1959 | rd_list_t topics; | ^ make[1]: Entering directory '/builddir/build/BUILD/librdkafka-2.3.0/examples' gcc -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I../src list_offsets.c -o list_offsets -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -L/usr/lib64 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -L/usr/lib64 \ ../src/librdkafka.a -llz4 -lm -lzstd -lsasl2 -lssl -lcrypto -lz -ldl -lpthread -lrt -lpthread -lrt make[1]: Leaving directory '/builddir/build/BUILD/librdkafka-2.3.0/examples' In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_mock_partition_destroy' at ../src/rdkafka_mock.c:556:9, inlined from 'rd_kafka_mock_topic_destroy' at ../src/rdkafka_mock.c:602:17, inlined from 'rd_kafka_mock_cluster_destroy0' at ../src/rdkafka_mock.c:2434:17, inlined from 'rd_kafka_mock_cluster_thread_main' at ../src/rdkafka_mock.c:1428:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'mtopic_402->partitions' with nonzero offset [152, 446676598520] [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_mock_cluster_destroy0' at ../src/rdkafka_mock.c:2445:9, inlined from 'rd_kafka_mock_cluster_thread_main' at ../src/rdkafka_mock.c:1428:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'arg_11(D)' with nonzero offset 128 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_topics' at ../src/rdkafka_metadata.c:1332:25: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'q_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_topics': ../src/rdkafka_metadata.c:1282:19: note: declared here 1282 | rd_list_t q_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_topics' at ../src/rdkafka_metadata.c:1350:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'q_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_topics': ../src/rdkafka_metadata.c:1282:19: note: declared here 1282 | rd_list_t q_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_known_topics' at ../src/rdkafka_metadata.c:1399:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_known_topics': ../src/rdkafka_metadata.c:1376:19: note: declared here 1376 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_leader_query_tmr_cb' at ../src/rdkafka_metadata.c:1637:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_leader_query_tmr_cb': ../src/rdkafka_metadata.c:1584:19: note: declared here 1584 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:166:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 928 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:167:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 968 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:168:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1008 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:169:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1048 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:170:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1088 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:171:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1128 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:172:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1168 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:173:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1208 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:174:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1248 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:175:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1288 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:176:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1328 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:177:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1368 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:178:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1408 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:179:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1448 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:182:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1488 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'sortPartitions' at ../src/rdkafka_sticky_assignor.c:1788:9, inlined from 'rd_kafka_sticky_assignor_assign_cb' at ../src/rdkafka_sticky_assignor.c:1920:28: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'sortedConsumers' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sticky_assignor.c: In function 'rd_kafka_sticky_assignor_assign_cb': ../src/rdkafka_sticky_assignor.c:1619:19: note: declared here 1619 | rd_list_t sortedConsumers; /* element is the (rd_map_elem_t *) from | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_sticky_assignor_assign_cb' at ../src/rdkafka_sticky_assignor.c:2049:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'sortedCurrentSubscriptions' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sticky_assignor.c: In function 'rd_kafka_sticky_assignor_assign_cb': ../src/rdkafka_sticky_assignor.c:1890:19: note: declared here 1890 | rd_list_t sortedCurrentSubscriptions; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_partition_list_query_leaders_async_worker' at ../src/rdkafka_partition.c:3565:17: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'query_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_partition.c: In function 'rd_kafka_topic_partition_list_query_leaders_async_worker': ../src/rdkafka_partition.c:3528:19: note: declared here 3528 | rd_list_t query_topics, *leaders = NULL; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_partition_list_query_leaders_async_worker' at ../src/rdkafka_partition.c:3572:17: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'query_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_partition.c: In function 'rd_kafka_topic_partition_list_query_leaders_async_worker': ../src/rdkafka_partition.c:3528:19: note: declared here 3528 | rd_list_t query_topics, *leaders = NULL; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_partition_list_query_leaders_async_worker' at ../src/rdkafka_partition.c:3599:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'query_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_partition.c: In function 'rd_kafka_topic_partition_list_query_leaders_async_worker': ../src/rdkafka_partition.c:3528:19: note: declared here 3528 | rd_list_t query_topics, *leaders = NULL; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_timeout_scan' at ../src/rdkafka_cgrp.c:4796:9, inlined from 'rd_kafka_cgrp_serve' at ../src/rdkafka_cgrp.c:5324:17: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'ofc_state' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_serve': ../src/rdkafka_cgrp.c:4779:42: note: declared here 4779 | struct _op_timeout_offset_commit ofc_state; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_ssl_ctx_init' at ../src/rdkafka_ssl.c:1753:9, inlined from 'rd_kafka_new.constprop' at ../src/rdkafka.c:2426:21: ../src/rd.h:151:9: warning: 'free' called on pointer 'p_504' with nonzero offset 912 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_calloc', inlined from 'rd_kafka_new.constprop' at ../src/rdkafka.c:2210:14: ../src/rd.h:133:19: note: returned from 'calloc' 133 | void *p = calloc(num, sz); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignors_term' at ../src/rdkafka_assignor.c:658:9, inlined from 'rd_kafka_new.constprop' at ../src/rdkafka.c:2629:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'p_504' with nonzero offset 1976 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_calloc', inlined from 'rd_kafka_new.constprop' at ../src/rdkafka.c:2210:14: ../src/rd.h:133:19: note: returned from 'calloc' 133 | void *p = calloc(num, sz); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_all' at ../src/rdkafka_metadata.c:1526:9, inlined from 'rd_kafka_metadata_refresh_consumer_topics' at ../src/rdkafka_metadata.c:1441:24, inlined from 'rd_kafka_metadata_refresh_cb' at ../src/rdkafka.c:2018:23: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_cb': ../src/rdkafka_metadata.c:1508:19: note: declared here 1508 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_consumer_topics' at ../src/rdkafka_metadata.c:1465:9, inlined from 'rd_kafka_metadata_refresh_cb' at ../src/rdkafka.c:2018:23: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_cb': ../src/rdkafka_metadata.c:1422:19: note: declared here 1422 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_consumer_topics' at ../src/rdkafka_metadata.c:1465:9, inlined from 'rd_kafka_metadata_refresh_cb' at ../src/rdkafka.c:2018:23: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_cb': ../src/rdkafka_metadata.c:1422:19: note: declared here 1422 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_scan_all' at ../src/rdkafka_topic.c:1720:9, inlined from 'rd_kafka_1s_tmr_cb' at ../src/rdkafka.c:1986:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'query_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_topic.c: In function 'rd_kafka_1s_tmr_cb': ../src/rdkafka_topic.c:1586:19: note: declared here 1586 | rd_list_t query_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_destroy_final' at ../src/rdkafka_cgrp.c:370:9, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:942:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)->rk_cgrp' with nonzero offset 232 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignors_term' at ../src/rdkafka_assignor.c:658:9, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:945:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)' with nonzero offset 1976 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:962:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)' with nonzero offset 912 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:998:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)' with nonzero offset 32 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1232:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_81(D)' with nonzero offset 240 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1277:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'wait_thrds' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka.c: In function 'rd_kafka_destroy_internal': ../src/rdkafka.c:1138:19: note: declared here 1138 | rd_list_t wait_thrds; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_cache_destroy' at ../src/rdkafka_metadata_cache.c:615:9, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1296:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_81(D)' with nonzero offset 2800 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_avl_destroy' at ../src/rdavl.c:191:17, inlined from 'rd_kafka_metadata_cache_destroy' at ../src/rdkafka_metadata_cache.c:622:9, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1296:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_81(D)' with nonzero offset 2640 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_sasl_oauthbearer_close' at ../src/rdkafka_sasl_oauthbearer.c:1043:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rktrans_8(D)->rktrans_sasl.state' with nonzero offset 32 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'create_jws_compact_serialization' at ../src/rdkafka_sasl_oauthbearer.c:863:9, inlined from 'rd_kafka_oauthbearer_unsecured_token0' at ../src/rdkafka_sasl_oauthbearer.c:942:37, inlined from 'rd_kafka_oauthbearer_unsecured_token' at ../src/rdkafka_sasl_oauthbearer.c:1017:13: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'scope' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sasl_oauthbearer.c: In function 'rd_kafka_oauthbearer_unsecured_token': ../src/rdkafka_sasl_oauthbearer.c:749:19: note: declared here 749 | rd_list_t scope; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_oauthbearer_unsecured_token0' at ../src/rdkafka_sasl_oauthbearer.c:968:9, inlined from 'rd_kafka_oauthbearer_unsecured_token' at ../src/rdkafka_sasl_oauthbearer.c:1017:13: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'parsed' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sasl_oauthbearer.c: In function 'rd_kafka_oauthbearer_unsecured_token': ../src/rdkafka_sasl_oauthbearer.c:884:54: note: declared here 884 | struct rd_kafka_sasl_oauthbearer_parsed_ujws parsed = RD_ZERO_INIT; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignor_topic_destroy' at ../src/rdkafka_assignor.c:238:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'at_2(D)' with nonzero offset 16 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_group_member_clear' at ../src/rdkafka_assignor.c:49:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rkgm_19(D)' with nonzero offset 24 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_cache_hint_rktparlist' at ../src/rdkafka_metadata_cache.c:579:9, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2192:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata_cache.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_metadata_cache.c:568:19: note: declared here 568 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2213:25: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_cgrp.c:2186:19: note: declared here 2186 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2262:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_cgrp.c:2186:19: note: declared here 2186 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2262:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_cgrp.c:2186:19: note: declared here 2186 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_handle_JoinGroup' at ../src/rdkafka_cgrp.c:2066:17: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_handle_JoinGroup': ../src/rdkafka_cgrp.c:1973:27: note: declared here 1973 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_destroy_final' at ../src/rdkafka_topic.c:111:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rkt_30(D)' with nonzero offset 144 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_sasl_oauthbearer_term' at ../src/rdkafka_sasl_oauthbearer.c:1364:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_15(D)->rk_sasl.handle' with nonzero offset 96 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_plugins_conf_set0' at ../src/rdkafka_plugin.c:150:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_25(D)' with nonzero offset 888 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_plugins_conf_set0' at ../src/rdkafka_plugin.c:187:25: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_25(D)' with nonzero offset 888 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:408:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_81(D)' with nonzero offset 904 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:431:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_81(D)' with nonzero offset 776 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:442:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_81(D)' with nonzero offset 120 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:443:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_81(D)' with nonzero offset 176 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_leader_query0' at ../src/rdkafka_topic.c:1968:9, inlined from 'rd_kafka_toppar_handle_OffsetForLeaderEpoch' at ../src/rdkafka_offset.c:991:25: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_topic.c: In function 'rd_kafka_toppar_handle_OffsetForLeaderEpoch': ../src/rdkafka_topic.c:1959:19: note: declared here 1959 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_aborted_txn_node_destroy' at ../src/rdkafka_msgset_reader.c:1524:9: ../src/rd.h:151:9: warning: 'free' called on pointer '_node_ptr_2(D)' with nonzero offset 48 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_aborted_txns_destroy' at ../src/rdkafka_msgset_reader.c:1549:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'aborted_txns_3(D)' with nonzero offset 80 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignor_run.constprop' at ../src/rdkafka_assignor.c:420:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'eligible_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_assignor.c: In function 'rd_kafka_assignor_run.constprop': ../src/rdkafka_assignor.c:329:19: note: declared here 329 | rd_list_t eligible_topics; | ^ make[1]: Entering directory '/builddir/build/BUILD/librdkafka-2.3.0/examples' gcc -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I../src producer.c -o producer -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -L/usr/lib64 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -L/usr/lib64 \ ../src/librdkafka.a -llz4 -lm -lzstd -lsasl2 -lssl -lcrypto -lz -ldl -lpthread -lrt -lpthread -lrt make[1]: Leaving directory '/builddir/build/BUILD/librdkafka-2.3.0/examples' In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_mock_partition_destroy' at ../src/rdkafka_mock.c:556:9, inlined from 'rd_kafka_mock_topic_destroy' at ../src/rdkafka_mock.c:602:17, inlined from 'rd_kafka_mock_cluster_destroy0' at ../src/rdkafka_mock.c:2434:17, inlined from 'rd_kafka_mock_cluster_thread_main' at ../src/rdkafka_mock.c:1428:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'mtopic_402->partitions' with nonzero offset [152, 446676598520] [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_mock_cluster_destroy0' at ../src/rdkafka_mock.c:2445:9, inlined from 'rd_kafka_mock_cluster_thread_main' at ../src/rdkafka_mock.c:1428:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'arg_11(D)' with nonzero offset 128 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignor_topic_destroy' at ../src/rdkafka_assignor.c:238:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'at_2(D)' with nonzero offset 16 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_group_member_clear' at ../src/rdkafka_assignor.c:49:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rkgm_19(D)' with nonzero offset 24 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_topics' at ../src/rdkafka_metadata.c:1332:25: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'q_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_topics': ../src/rdkafka_metadata.c:1282:19: note: declared here 1282 | rd_list_t q_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_topics' at ../src/rdkafka_metadata.c:1350:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'q_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_topics': ../src/rdkafka_metadata.c:1282:19: note: declared here 1282 | rd_list_t q_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_known_topics' at ../src/rdkafka_metadata.c:1399:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_known_topics': ../src/rdkafka_metadata.c:1376:19: note: declared here 1376 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_leader_query_tmr_cb' at ../src/rdkafka_metadata.c:1637:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_leader_query_tmr_cb': ../src/rdkafka_metadata.c:1584:19: note: declared here 1584 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:166:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 928 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:167:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 968 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:168:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1008 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:169:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1048 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:170:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1088 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:171:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1128 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:172:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1168 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:173:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1208 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:174:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1248 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:175:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1288 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:176:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1328 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:177:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1368 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:178:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1408 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:179:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1448 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:182:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1488 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_all' at ../src/rdkafka_metadata.c:1526:9, inlined from 'rd_kafka_metadata_refresh_consumer_topics' at ../src/rdkafka_metadata.c:1441:24, inlined from 'rd_kafka_metadata_refresh_cb' at ../src/rdkafka.c:2018:23: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_cb': ../src/rdkafka_metadata.c:1508:19: note: declared here 1508 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_consumer_topics' at ../src/rdkafka_metadata.c:1465:9, inlined from 'rd_kafka_metadata_refresh_cb' at ../src/rdkafka.c:2018:23: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_cb': ../src/rdkafka_metadata.c:1422:19: note: declared here 1422 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_consumer_topics' at ../src/rdkafka_metadata.c:1465:9, inlined from 'rd_kafka_metadata_refresh_cb' at ../src/rdkafka.c:2018:23: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_cb': ../src/rdkafka_metadata.c:1422:19: note: declared here 1422 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1232:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_81(D)' with nonzero offset 240 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1277:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'wait_thrds' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka.c: In function 'rd_kafka_destroy_internal': ../src/rdkafka.c:1138:19: note: declared here 1138 | rd_list_t wait_thrds; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_cache_destroy' at ../src/rdkafka_metadata_cache.c:615:9, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1296:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_81(D)' with nonzero offset 2800 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_avl_destroy' at ../src/rdavl.c:191:17, inlined from 'rd_kafka_metadata_cache_destroy' at ../src/rdkafka_metadata_cache.c:622:9, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1296:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_81(D)' with nonzero offset 2640 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_scan_all' at ../src/rdkafka_topic.c:1720:9, inlined from 'rd_kafka_1s_tmr_cb' at ../src/rdkafka.c:1986:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'query_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_topic.c: In function 'rd_kafka_1s_tmr_cb': ../src/rdkafka_topic.c:1586:19: note: declared here 1586 | rd_list_t query_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_destroy_final' at ../src/rdkafka_cgrp.c:370:9, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:942:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)->rk_cgrp' with nonzero offset 232 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignors_term' at ../src/rdkafka_assignor.c:658:9, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:945:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)' with nonzero offset 1976 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:962:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)' with nonzero offset 912 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:998:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)' with nonzero offset 32 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_ssl_ctx_init' at ../src/rdkafka_ssl.c:1753:9, inlined from 'rd_kafka_new' at ../src/rdkafka.c:2426:21: ../src/rd.h:151:9: warning: 'free' called on pointer 'p_554' with nonzero offset 912 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_calloc', inlined from 'rd_kafka_new' at ../src/rdkafka.c:2210:14: ../src/rd.h:133:19: note: returned from 'calloc' 133 | void *p = calloc(num, sz); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignors_term' at ../src/rdkafka_assignor.c:658:9, inlined from 'rd_kafka_new' at ../src/rdkafka.c:2629:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'p_554' with nonzero offset 1976 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_calloc', inlined from 'rd_kafka_new' at ../src/rdkafka.c:2210:14: ../src/rd.h:133:19: note: returned from 'calloc' 133 | void *p = calloc(num, sz); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_sasl_oauthbearer_close' at ../src/rdkafka_sasl_oauthbearer.c:1043:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rktrans_8(D)->rktrans_sasl.state' with nonzero offset 32 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'create_jws_compact_serialization' at ../src/rdkafka_sasl_oauthbearer.c:863:9, inlined from 'rd_kafka_oauthbearer_unsecured_token0' at ../src/rdkafka_sasl_oauthbearer.c:942:37, inlined from 'rd_kafka_oauthbearer_unsecured_token' at ../src/rdkafka_sasl_oauthbearer.c:1017:13: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'scope' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sasl_oauthbearer.c: In function 'rd_kafka_oauthbearer_unsecured_token': ../src/rdkafka_sasl_oauthbearer.c:749:19: note: declared here 749 | rd_list_t scope; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_oauthbearer_unsecured_token0' at ../src/rdkafka_sasl_oauthbearer.c:968:9, inlined from 'rd_kafka_oauthbearer_unsecured_token' at ../src/rdkafka_sasl_oauthbearer.c:1017:13: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'parsed' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sasl_oauthbearer.c: In function 'rd_kafka_oauthbearer_unsecured_token': ../src/rdkafka_sasl_oauthbearer.c:884:54: note: declared here 884 | struct rd_kafka_sasl_oauthbearer_parsed_ujws parsed = RD_ZERO_INIT; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'sortPartitions' at ../src/rdkafka_sticky_assignor.c:1788:9, inlined from 'rd_kafka_sticky_assignor_assign_cb' at ../src/rdkafka_sticky_assignor.c:1920:28: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'sortedConsumers' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sticky_assignor.c: In function 'rd_kafka_sticky_assignor_assign_cb': ../src/rdkafka_sticky_assignor.c:1619:19: note: declared here 1619 | rd_list_t sortedConsumers; /* element is the (rd_map_elem_t *) from | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_sticky_assignor_assign_cb' at ../src/rdkafka_sticky_assignor.c:2049:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'sortedCurrentSubscriptions' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sticky_assignor.c: In function 'rd_kafka_sticky_assignor_assign_cb': ../src/rdkafka_sticky_assignor.c:1890:19: note: declared here 1890 | rd_list_t sortedCurrentSubscriptions; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_destroy_final' at ../src/rdkafka_topic.c:111:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rkt_30(D)' with nonzero offset 144 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_timeout_scan' at ../src/rdkafka_cgrp.c:4796:9, inlined from 'rd_kafka_cgrp_serve' at ../src/rdkafka_cgrp.c:5324:17: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'ofc_state' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_serve': ../src/rdkafka_cgrp.c:4779:42: note: declared here 4779 | struct _op_timeout_offset_commit ofc_state; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_handle_JoinGroup' at ../src/rdkafka_cgrp.c:2066:17: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_handle_JoinGroup': ../src/rdkafka_cgrp.c:1973:27: note: declared here 1973 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_cache_hint_rktparlist' at ../src/rdkafka_metadata_cache.c:579:9, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2192:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata_cache.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_metadata_cache.c:568:19: note: declared here 568 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2213:25: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_cgrp.c:2186:19: note: declared here 2186 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2262:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_cgrp.c:2186:19: note: declared here 2186 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2262:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_cgrp.c:2186:19: note: declared here 2186 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_aborted_txn_node_destroy' at ../src/rdkafka_msgset_reader.c:1524:9: ../src/rd.h:151:9: warning: 'free' called on pointer '_node_ptr_2(D)' with nonzero offset 48 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_aborted_txns_destroy' at ../src/rdkafka_msgset_reader.c:1549:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'aborted_txns_3(D)' with nonzero offset 80 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignor_run.constprop' at ../src/rdkafka_assignor.c:420:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'eligible_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_assignor.c: In function 'rd_kafka_assignor_run.constprop': ../src/rdkafka_assignor.c:329:19: note: declared here 329 | rd_list_t eligible_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_sasl_oauthbearer_term' at ../src/rdkafka_sasl_oauthbearer.c:1364:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_15(D)->rk_sasl.handle' with nonzero offset 96 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_plugins_conf_set0' at ../src/rdkafka_plugin.c:150:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_25(D)' with nonzero offset 888 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_plugins_conf_set0' at ../src/rdkafka_plugin.c:187:25: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_25(D)' with nonzero offset 888 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:408:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_81(D)' with nonzero offset 904 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:431:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_81(D)' with nonzero offset 776 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:442:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_81(D)' with nonzero offset 120 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:443:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_81(D)' with nonzero offset 176 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_leader_query0' at ../src/rdkafka_topic.c:1968:9, inlined from 'rd_kafka_toppar_handle_OffsetForLeaderEpoch' at ../src/rdkafka_offset.c:991:25: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_topic.c: In function 'rd_kafka_toppar_handle_OffsetForLeaderEpoch': ../src/rdkafka_topic.c:1959:19: note: declared here 1959 | rd_list_t topics; | ^ make[1]: Entering directory '/builddir/build/BUILD/librdkafka-2.3.0/examples' g++ -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-non-virtual-dtor -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-non-virtual-dtor -I../src-cpp rdkafka_complex_consumer_example.cpp -o rdkafka_complex_consumer_example_cpp -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -L/usr/lib64 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -L/usr/lib64 \ ../src-cpp/librdkafka++.a ../src/librdkafka.a -llz4 -lm -lzstd -lsasl2 -lssl -lcrypto -lz -ldl -lpthread -lrt -lpthread -lrt make[1]: Leaving directory '/builddir/build/BUILD/librdkafka-2.3.0/examples' In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_mock_partition_destroy' at ../src/rdkafka_mock.c:556:9, inlined from 'rd_kafka_mock_topic_destroy' at ../src/rdkafka_mock.c:602:17, inlined from 'rd_kafka_mock_cluster_destroy0' at ../src/rdkafka_mock.c:2434:17, inlined from 'rd_kafka_mock_cluster_thread_main' at ../src/rdkafka_mock.c:1428:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'mtopic_402->partitions' with nonzero offset [152, 446676598520] [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_mock_cluster_destroy0' at ../src/rdkafka_mock.c:2445:9, inlined from 'rd_kafka_mock_cluster_thread_main' at ../src/rdkafka_mock.c:1428:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'arg_11(D)' with nonzero offset 128 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_query_watermark_offsets' at ../src/rdkafka.c:3571:17: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'leaders' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka.c: In function 'rd_kafka_query_watermark_offsets': ../src/rdkafka.c:3558:19: note: declared here 3558 | rd_list_t leaders; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_query_watermark_offsets' at ../src/rdkafka.c:3602:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'leaders' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka.c: In function 'rd_kafka_query_watermark_offsets': ../src/rdkafka.c:3558:19: note: declared here 3558 | rd_list_t leaders; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_offsets_for_times' at ../src/rdkafka.c:3734:17: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'leaders' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka.c: In function 'rd_kafka_offsets_for_times': ../src/rdkafka.c:3719:19: note: declared here 3719 | rd_list_t leaders; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_offsets_for_times' at ../src/rdkafka.c:3752:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'leaders' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka.c: In function 'rd_kafka_offsets_for_times': ../src/rdkafka.c:3719:19: note: declared here 3719 | rd_list_t leaders; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_all' at ../src/rdkafka_metadata.c:1526:9, inlined from 'rd_kafka_metadata_refresh_consumer_topics' at ../src/rdkafka_metadata.c:1441:24, inlined from 'rd_kafka_metadata_refresh_cb' at ../src/rdkafka.c:2018:23: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_cb': ../src/rdkafka_metadata.c:1508:19: note: declared here 1508 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_consumer_topics' at ../src/rdkafka_metadata.c:1465:9, inlined from 'rd_kafka_metadata_refresh_cb' at ../src/rdkafka.c:2018:23: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_cb': ../src/rdkafka_metadata.c:1422:19: note: declared here 1422 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_consumer_topics' at ../src/rdkafka_metadata.c:1465:9, inlined from 'rd_kafka_metadata_refresh_cb' at ../src/rdkafka.c:2018:23: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_cb': ../src/rdkafka_metadata.c:1422:19: note: declared here 1422 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignor_topic_destroy' at ../src/rdkafka_assignor.c:238:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'at_2(D)' with nonzero offset 16 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_partition_list_query_leaders' at ../src/rdkafka_partition.c:3759:25: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'query_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_partition.c: In function 'rd_kafka_topic_partition_list_query_leaders': ../src/rdkafka_partition.c:3745:27: note: declared here 3745 | rd_list_t query_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_partition_list_query_leaders' at ../src/rdkafka_partition.c:3797:17: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'query_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_partition.c: In function 'rd_kafka_topic_partition_list_query_leaders': ../src/rdkafka_partition.c:3745:27: note: declared here 3745 | rd_list_t query_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_group_member_clear' at ../src/rdkafka_assignor.c:49:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rkgm_19(D)' with nonzero offset 24 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_topics' at ../src/rdkafka_metadata.c:1332:25: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'q_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_topics': ../src/rdkafka_metadata.c:1282:19: note: declared here 1282 | rd_list_t q_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_topics' at ../src/rdkafka_metadata.c:1350:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'q_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_topics': ../src/rdkafka_metadata.c:1282:19: note: declared here 1282 | rd_list_t q_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_known_topics' at ../src/rdkafka_metadata.c:1399:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_known_topics': ../src/rdkafka_metadata.c:1376:19: note: declared here 1376 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_leader_query_tmr_cb' at ../src/rdkafka_metadata.c:1637:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_leader_query_tmr_cb': ../src/rdkafka_metadata.c:1584:19: note: declared here 1584 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata' at ../src/rdkafka_metadata.c:139:9, inlined from 'metadata' at ../src-cpp/HandleImpl.cpp:195:24: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In member function 'metadata': ../src/rdkafka_metadata.c:96:19: note: declared here 96 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_scan_all' at ../src/rdkafka_topic.c:1720:9, inlined from 'rd_kafka_1s_tmr_cb' at ../src/rdkafka.c:1986:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'query_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_topic.c: In function 'rd_kafka_1s_tmr_cb': ../src/rdkafka_topic.c:1586:19: note: declared here 1586 | rd_list_t query_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_destroy_final' at ../src/rdkafka_cgrp.c:370:9, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:942:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)->rk_cgrp' with nonzero offset 232 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignors_term' at ../src/rdkafka_assignor.c:658:9, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:945:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)' with nonzero offset 1976 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:962:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)' with nonzero offset 912 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:998:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)' with nonzero offset 32 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1232:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_81(D)' with nonzero offset 240 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1277:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'wait_thrds' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka.c: In function 'rd_kafka_destroy_internal': ../src/rdkafka.c:1138:19: note: declared here 1138 | rd_list_t wait_thrds; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_cache_destroy' at ../src/rdkafka_metadata_cache.c:615:9, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1296:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_81(D)' with nonzero offset 2800 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_avl_destroy' at ../src/rdavl.c:191:17, inlined from 'rd_kafka_metadata_cache_destroy' at ../src/rdkafka_metadata_cache.c:622:9, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1296:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_81(D)' with nonzero offset 2640 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_aborted_txn_node_destroy' at ../src/rdkafka_msgset_reader.c:1524:9: ../src/rd.h:151:9: warning: 'free' called on pointer '_node_ptr_2(D)' with nonzero offset 48 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_aborted_txns_destroy' at ../src/rdkafka_msgset_reader.c:1549:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'aborted_txns_3(D)' with nonzero offset 80 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_destroy_final' at ../src/rdkafka_topic.c:111:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rkt_30(D)' with nonzero offset 144 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'sortPartitions' at ../src/rdkafka_sticky_assignor.c:1788:9, inlined from 'rd_kafka_sticky_assignor_assign_cb' at ../src/rdkafka_sticky_assignor.c:1920:28: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'sortedConsumers' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sticky_assignor.c: In function 'rd_kafka_sticky_assignor_assign_cb': ../src/rdkafka_sticky_assignor.c:1619:19: note: declared here 1619 | rd_list_t sortedConsumers; /* element is the (rd_map_elem_t *) from | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_sticky_assignor_assign_cb' at ../src/rdkafka_sticky_assignor.c:2049:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'sortedCurrentSubscriptions' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sticky_assignor.c: In function 'rd_kafka_sticky_assignor_assign_cb': ../src/rdkafka_sticky_assignor.c:1890:19: note: declared here 1890 | rd_list_t sortedCurrentSubscriptions; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_leader_query0.constprop' at ../src/rdkafka_topic.c:1968:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_topic.c: In function 'rd_kafka_topic_leader_query0.constprop': ../src/rdkafka_topic.c:1959:19: note: declared here 1959 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_ssl_ctx_init' at ../src/rdkafka_ssl.c:1753:9, inlined from 'rd_kafka_new.constprop' at ../src/rdkafka.c:2426:21: ../src/rd.h:151:9: warning: 'free' called on pointer 'p_504' with nonzero offset 912 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_calloc', inlined from 'rd_kafka_new.constprop' at ../src/rdkafka.c:2210:14: ../src/rd.h:133:19: note: returned from 'calloc' 133 | void *p = calloc(num, sz); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignors_term' at ../src/rdkafka_assignor.c:658:9, inlined from 'rd_kafka_new.constprop' at ../src/rdkafka.c:2629:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'p_504' with nonzero offset 1976 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_calloc', inlined from 'rd_kafka_new.constprop' at ../src/rdkafka.c:2210:14: ../src/rd.h:133:19: note: returned from 'calloc' 133 | void *p = calloc(num, sz); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_timeout_scan' at ../src/rdkafka_cgrp.c:4796:9, inlined from 'rd_kafka_cgrp_serve' at ../src/rdkafka_cgrp.c:5324:17: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'ofc_state' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_serve': ../src/rdkafka_cgrp.c:4779:42: note: declared here 4779 | struct _op_timeout_offset_commit ofc_state; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_handle_JoinGroup' at ../src/rdkafka_cgrp.c:2066:17: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_handle_JoinGroup': ../src/rdkafka_cgrp.c:1973:27: note: declared here 1973 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_cache_hint_rktparlist' at ../src/rdkafka_metadata_cache.c:579:9, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2192:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata_cache.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_metadata_cache.c:568:19: note: declared here 568 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2213:25: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_cgrp.c:2186:19: note: declared here 2186 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2262:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_cgrp.c:2186:19: note: declared here 2186 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2262:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_cgrp.c:2186:19: note: declared here 2186 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:166:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 928 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:167:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 968 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:168:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1008 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:169:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1048 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:170:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1088 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:171:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1128 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:172:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1168 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:173:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1208 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:174:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1248 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:175:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1288 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:176:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1328 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:177:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1368 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:178:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1408 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:179:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1448 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:182:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1488 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_sasl_oauthbearer_close' at ../src/rdkafka_sasl_oauthbearer.c:1043:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rktrans_8(D)->rktrans_sasl.state' with nonzero offset 32 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_sasl_oauthbearer_term' at ../src/rdkafka_sasl_oauthbearer.c:1364:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_15(D)->rk_sasl.handle' with nonzero offset 96 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_plugins_conf_set0' at ../src/rdkafka_plugin.c:150:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_25(D)' with nonzero offset 888 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_plugins_conf_set0' at ../src/rdkafka_plugin.c:187:25: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_25(D)' with nonzero offset 888 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'create_jws_compact_serialization' at ../src/rdkafka_sasl_oauthbearer.c:863:9, inlined from 'rd_kafka_oauthbearer_unsecured_token0' at ../src/rdkafka_sasl_oauthbearer.c:942:37, inlined from 'rd_kafka_oauthbearer_unsecured_token' at ../src/rdkafka_sasl_oauthbearer.c:1017:13: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'scope' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sasl_oauthbearer.c: In function 'rd_kafka_oauthbearer_unsecured_token': ../src/rdkafka_sasl_oauthbearer.c:749:19: note: declared here 749 | rd_list_t scope; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_oauthbearer_unsecured_token0' at ../src/rdkafka_sasl_oauthbearer.c:968:9, inlined from 'rd_kafka_oauthbearer_unsecured_token' at ../src/rdkafka_sasl_oauthbearer.c:1017:13: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'parsed' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sasl_oauthbearer.c: In function 'rd_kafka_oauthbearer_unsecured_token': ../src/rdkafka_sasl_oauthbearer.c:884:54: note: declared here 884 | struct rd_kafka_sasl_oauthbearer_parsed_ujws parsed = RD_ZERO_INIT; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:408:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_81(D)' with nonzero offset 904 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:431:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_81(D)' with nonzero offset 776 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:442:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_81(D)' with nonzero offset 120 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:443:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_81(D)' with nonzero offset 176 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignor_run.constprop' at ../src/rdkafka_assignor.c:420:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'eligible_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_assignor.c: In function 'rd_kafka_assignor_run.constprop': ../src/rdkafka_assignor.c:329:19: note: declared here 329 | rd_list_t eligible_topics; | ^ make[1]: Entering directory '/builddir/build/BUILD/librdkafka-2.3.0/examples' gcc -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I../src list_consumer_group_offsets.c -o list_consumer_group_offsets -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -L/usr/lib64 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -L/usr/lib64 \ ../src/librdkafka.a -llz4 -lm -lzstd -lsasl2 -lssl -lcrypto -lz -ldl -lpthread -lrt -lpthread -lrt make[1]: Leaving directory '/builddir/build/BUILD/librdkafka-2.3.0/examples' In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignor_topic_destroy' at ../src/rdkafka_assignor.c:238:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'at_2(D)' with nonzero offset 16 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_group_member_clear' at ../src/rdkafka_assignor.c:49:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rkgm_19(D)' with nonzero offset 24 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_mock_partition_destroy' at ../src/rdkafka_mock.c:556:9, inlined from 'rd_kafka_mock_topic_destroy' at ../src/rdkafka_mock.c:602:17, inlined from 'rd_kafka_mock_cluster_destroy0' at ../src/rdkafka_mock.c:2434:17, inlined from 'rd_kafka_mock_cluster_thread_main' at ../src/rdkafka_mock.c:1428:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'mtopic_402->partitions' with nonzero offset [152, 446676598520] [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_mock_cluster_destroy0' at ../src/rdkafka_mock.c:2445:9, inlined from 'rd_kafka_mock_cluster_thread_main' at ../src/rdkafka_mock.c:1428:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'arg_11(D)' with nonzero offset 128 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_topics' at ../src/rdkafka_metadata.c:1332:25: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'q_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_topics': ../src/rdkafka_metadata.c:1282:19: note: declared here 1282 | rd_list_t q_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_topics' at ../src/rdkafka_metadata.c:1350:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'q_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_topics': ../src/rdkafka_metadata.c:1282:19: note: declared here 1282 | rd_list_t q_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_known_topics' at ../src/rdkafka_metadata.c:1399:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_known_topics': ../src/rdkafka_metadata.c:1376:19: note: declared here 1376 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_leader_query_tmr_cb' at ../src/rdkafka_metadata.c:1637:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_leader_query_tmr_cb': ../src/rdkafka_metadata.c:1584:19: note: declared here 1584 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:166:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 928 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:167:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 968 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:168:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1008 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:169:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1048 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:170:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1088 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:171:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1128 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:172:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1168 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:173:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1208 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:174:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1248 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:175:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1288 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:176:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1328 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:177:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1368 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:178:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1408 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:179:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1448 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:182:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1488 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_all' at ../src/rdkafka_metadata.c:1526:9, inlined from 'rd_kafka_metadata_refresh_consumer_topics' at ../src/rdkafka_metadata.c:1441:24, inlined from 'rd_kafka_metadata_refresh_cb' at ../src/rdkafka.c:2018:23: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_cb': ../src/rdkafka_metadata.c:1508:19: note: declared here 1508 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_consumer_topics' at ../src/rdkafka_metadata.c:1465:9, inlined from 'rd_kafka_metadata_refresh_cb' at ../src/rdkafka.c:2018:23: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_cb': ../src/rdkafka_metadata.c:1422:19: note: declared here 1422 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_consumer_topics' at ../src/rdkafka_metadata.c:1465:9, inlined from 'rd_kafka_metadata_refresh_cb' at ../src/rdkafka.c:2018:23: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_cb': ../src/rdkafka_metadata.c:1422:19: note: declared here 1422 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1232:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_81(D)' with nonzero offset 240 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1277:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'wait_thrds' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka.c: In function 'rd_kafka_destroy_internal': ../src/rdkafka.c:1138:19: note: declared here 1138 | rd_list_t wait_thrds; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_cache_destroy' at ../src/rdkafka_metadata_cache.c:615:9, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1296:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_81(D)' with nonzero offset 2800 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_avl_destroy' at ../src/rdavl.c:191:17, inlined from 'rd_kafka_metadata_cache_destroy' at ../src/rdkafka_metadata_cache.c:622:9, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1296:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_81(D)' with nonzero offset 2640 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_scan_all' at ../src/rdkafka_topic.c:1720:9, inlined from 'rd_kafka_1s_tmr_cb' at ../src/rdkafka.c:1986:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'query_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_topic.c: In function 'rd_kafka_1s_tmr_cb': ../src/rdkafka_topic.c:1586:19: note: declared here 1586 | rd_list_t query_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_destroy_final' at ../src/rdkafka_cgrp.c:370:9, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:942:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)->rk_cgrp' with nonzero offset 232 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignors_term' at ../src/rdkafka_assignor.c:658:9, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:945:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)' with nonzero offset 1976 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:962:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)' with nonzero offset 912 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:998:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)' with nonzero offset 32 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_ssl_ctx_init' at ../src/rdkafka_ssl.c:1753:9, inlined from 'rd_kafka_new' at ../src/rdkafka.c:2426:21: ../src/rd.h:151:9: warning: 'free' called on pointer 'p_554' with nonzero offset 912 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_calloc', inlined from 'rd_kafka_new' at ../src/rdkafka.c:2210:14: ../src/rd.h:133:19: note: returned from 'calloc' 133 | void *p = calloc(num, sz); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignors_term' at ../src/rdkafka_assignor.c:658:9, inlined from 'rd_kafka_new' at ../src/rdkafka.c:2629:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'p_554' with nonzero offset 1976 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_calloc', inlined from 'rd_kafka_new' at ../src/rdkafka.c:2210:14: ../src/rd.h:133:19: note: returned from 'calloc' 133 | void *p = calloc(num, sz); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_destroy_final' at ../src/rdkafka_topic.c:111:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rkt_30(D)' with nonzero offset 144 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_sasl_oauthbearer_close' at ../src/rdkafka_sasl_oauthbearer.c:1043:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rktrans_8(D)->rktrans_sasl.state' with nonzero offset 32 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'create_jws_compact_serialization' at ../src/rdkafka_sasl_oauthbearer.c:863:9, inlined from 'rd_kafka_oauthbearer_unsecured_token0' at ../src/rdkafka_sasl_oauthbearer.c:942:37, inlined from 'rd_kafka_oauthbearer_unsecured_token' at ../src/rdkafka_sasl_oauthbearer.c:1017:13: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'scope' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sasl_oauthbearer.c: In function 'rd_kafka_oauthbearer_unsecured_token': ../src/rdkafka_sasl_oauthbearer.c:749:19: note: declared here 749 | rd_list_t scope; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_oauthbearer_unsecured_token0' at ../src/rdkafka_sasl_oauthbearer.c:968:9, inlined from 'rd_kafka_oauthbearer_unsecured_token' at ../src/rdkafka_sasl_oauthbearer.c:1017:13: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'parsed' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sasl_oauthbearer.c: In function 'rd_kafka_oauthbearer_unsecured_token': ../src/rdkafka_sasl_oauthbearer.c:884:54: note: declared here 884 | struct rd_kafka_sasl_oauthbearer_parsed_ujws parsed = RD_ZERO_INIT; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'sortPartitions' at ../src/rdkafka_sticky_assignor.c:1788:9, inlined from 'rd_kafka_sticky_assignor_assign_cb' at ../src/rdkafka_sticky_assignor.c:1920:28: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'sortedConsumers' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sticky_assignor.c: In function 'rd_kafka_sticky_assignor_assign_cb': ../src/rdkafka_sticky_assignor.c:1619:19: note: declared here 1619 | rd_list_t sortedConsumers; /* element is the (rd_map_elem_t *) from | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_sticky_assignor_assign_cb' at ../src/rdkafka_sticky_assignor.c:2049:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'sortedCurrentSubscriptions' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sticky_assignor.c: In function 'rd_kafka_sticky_assignor_assign_cb': ../src/rdkafka_sticky_assignor.c:1890:19: note: declared here 1890 | rd_list_t sortedCurrentSubscriptions; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_timeout_scan' at ../src/rdkafka_cgrp.c:4796:9, inlined from 'rd_kafka_cgrp_serve' at ../src/rdkafka_cgrp.c:5324:17: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'ofc_state' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_serve': ../src/rdkafka_cgrp.c:4779:42: note: declared here 4779 | struct _op_timeout_offset_commit ofc_state; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_aborted_txn_node_destroy' at ../src/rdkafka_msgset_reader.c:1524:9: ../src/rd.h:151:9: warning: 'free' called on pointer '_node_ptr_2(D)' with nonzero offset 48 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_aborted_txns_destroy' at ../src/rdkafka_msgset_reader.c:1549:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'aborted_txns_3(D)' with nonzero offset 80 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignor_run.constprop' at ../src/rdkafka_assignor.c:420:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'eligible_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_assignor.c: In function 'rd_kafka_assignor_run.constprop': ../src/rdkafka_assignor.c:329:19: note: declared here 329 | rd_list_t eligible_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_handle_JoinGroup' at ../src/rdkafka_cgrp.c:2066:17: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_handle_JoinGroup': ../src/rdkafka_cgrp.c:1973:27: note: declared here 1973 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_cache_hint_rktparlist' at ../src/rdkafka_metadata_cache.c:579:9, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2192:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata_cache.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_metadata_cache.c:568:19: note: declared here 568 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2213:25: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_cgrp.c:2186:19: note: declared here 2186 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2262:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_cgrp.c:2186:19: note: declared here 2186 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2262:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_cgrp.c:2186:19: note: declared here 2186 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_sasl_oauthbearer_term' at ../src/rdkafka_sasl_oauthbearer.c:1364:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_15(D)->rk_sasl.handle' with nonzero offset 96 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_plugins_conf_set0' at ../src/rdkafka_plugin.c:150:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_25(D)' with nonzero offset 888 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_plugins_conf_set0' at ../src/rdkafka_plugin.c:187:25: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_25(D)' with nonzero offset 888 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:408:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_81(D)' with nonzero offset 904 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:431:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_81(D)' with nonzero offset 776 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:442:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_81(D)' with nonzero offset 120 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:443:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_81(D)' with nonzero offset 176 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_leader_query0' at ../src/rdkafka_topic.c:1968:9, inlined from 'rd_kafka_toppar_handle_OffsetForLeaderEpoch' at ../src/rdkafka_offset.c:991:25: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_topic.c: In function 'rd_kafka_toppar_handle_OffsetForLeaderEpoch': ../src/rdkafka_topic.c:1959:19: note: declared here 1959 | rd_list_t topics; | ^ make[1]: Entering directory '/builddir/build/BUILD/librdkafka-2.3.0/examples' gcc -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I../src misc.c -o misc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -L/usr/lib64 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -L/usr/lib64 \ ../src/librdkafka.a -llz4 -lm -lzstd -lsasl2 -lssl -lcrypto -lz -ldl -lpthread -lrt -lpthread -lrt make[1]: Leaving directory '/builddir/build/BUILD/librdkafka-2.3.0/examples' In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_mock_partition_destroy' at ../src/rdkafka_mock.c:556:9, inlined from 'rd_kafka_mock_topic_destroy' at ../src/rdkafka_mock.c:602:17, inlined from 'rd_kafka_mock_cluster_destroy0' at ../src/rdkafka_mock.c:2434:17, inlined from 'rd_kafka_mock_cluster_thread_main' at ../src/rdkafka_mock.c:1428:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'mtopic_402->partitions' with nonzero offset [152, 446676598520] [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_mock_cluster_destroy0' at ../src/rdkafka_mock.c:2445:9, inlined from 'rd_kafka_mock_cluster_thread_main' at ../src/rdkafka_mock.c:1428:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'arg_11(D)' with nonzero offset 128 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_topics' at ../src/rdkafka_metadata.c:1332:25: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'q_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_topics': ../src/rdkafka_metadata.c:1282:19: note: declared here 1282 | rd_list_t q_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_topics' at ../src/rdkafka_metadata.c:1350:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'q_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_topics': ../src/rdkafka_metadata.c:1282:19: note: declared here 1282 | rd_list_t q_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_known_topics' at ../src/rdkafka_metadata.c:1399:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_known_topics': ../src/rdkafka_metadata.c:1376:19: note: declared here 1376 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_leader_query_tmr_cb' at ../src/rdkafka_metadata.c:1637:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_leader_query_tmr_cb': ../src/rdkafka_metadata.c:1584:19: note: declared here 1584 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:166:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 928 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:167:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 968 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:168:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1008 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:169:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1048 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:170:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1088 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:171:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1128 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:172:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1168 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:173:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1208 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:174:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1248 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:175:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1288 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:176:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1328 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:177:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1368 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:178:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1408 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:179:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1448 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:182:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1488 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_destroy_final' at ../src/rdkafka_topic.c:111:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rkt_30(D)' with nonzero offset 144 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignor_topic_destroy' at ../src/rdkafka_assignor.c:238:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'at_2(D)' with nonzero offset 16 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_group_member_clear' at ../src/rdkafka_assignor.c:49:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rkgm_19(D)' with nonzero offset 24 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_ssl_ctx_init' at ../src/rdkafka_ssl.c:1753:9, inlined from 'rd_kafka_new.constprop' at ../src/rdkafka.c:2426:21: ../src/rd.h:151:9: warning: 'free' called on pointer 'p_505' with nonzero offset 912 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_calloc', inlined from 'rd_kafka_new.constprop' at ../src/rdkafka.c:2210:14: ../src/rd.h:133:19: note: returned from 'calloc' 133 | void *p = calloc(num, sz); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignors_term' at ../src/rdkafka_assignor.c:658:9, inlined from 'rd_kafka_new.constprop' at ../src/rdkafka.c:2629:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'p_505' with nonzero offset 1976 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_calloc', inlined from 'rd_kafka_new.constprop' at ../src/rdkafka.c:2210:14: ../src/rd.h:133:19: note: returned from 'calloc' 133 | void *p = calloc(num, sz); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_sasl_oauthbearer_close' at ../src/rdkafka_sasl_oauthbearer.c:1043:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rktrans_8(D)->rktrans_sasl.state' with nonzero offset 32 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'create_jws_compact_serialization' at ../src/rdkafka_sasl_oauthbearer.c:863:9, inlined from 'rd_kafka_oauthbearer_unsecured_token0' at ../src/rdkafka_sasl_oauthbearer.c:942:37, inlined from 'rd_kafka_oauthbearer_unsecured_token' at ../src/rdkafka_sasl_oauthbearer.c:1017:13: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'scope' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sasl_oauthbearer.c: In function 'rd_kafka_oauthbearer_unsecured_token': ../src/rdkafka_sasl_oauthbearer.c:749:19: note: declared here 749 | rd_list_t scope; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_oauthbearer_unsecured_token0' at ../src/rdkafka_sasl_oauthbearer.c:968:9, inlined from 'rd_kafka_oauthbearer_unsecured_token' at ../src/rdkafka_sasl_oauthbearer.c:1017:13: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'parsed' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sasl_oauthbearer.c: In function 'rd_kafka_oauthbearer_unsecured_token': ../src/rdkafka_sasl_oauthbearer.c:884:54: note: declared here 884 | struct rd_kafka_sasl_oauthbearer_parsed_ujws parsed = RD_ZERO_INIT; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:408:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_81(D)' with nonzero offset 904 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:431:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_81(D)' with nonzero offset 776 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:442:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_81(D)' with nonzero offset 120 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:443:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_81(D)' with nonzero offset 176 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_leader_query0' at ../src/rdkafka_topic.c:1968:9, inlined from 'rd_kafka_toppar_handle_OffsetForLeaderEpoch' at ../src/rdkafka_offset.c:991:25: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_topic.c: In function 'rd_kafka_toppar_handle_OffsetForLeaderEpoch': ../src/rdkafka_topic.c:1959:19: note: declared here 1959 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_timeout_scan' at ../src/rdkafka_cgrp.c:4796:9, inlined from 'rd_kafka_cgrp_serve' at ../src/rdkafka_cgrp.c:5324:17: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'ofc_state' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_serve': ../src/rdkafka_cgrp.c:4779:42: note: declared here 4779 | struct _op_timeout_offset_commit ofc_state; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'sortPartitions' at ../src/rdkafka_sticky_assignor.c:1788:9, inlined from 'rd_kafka_sticky_assignor_assign_cb' at ../src/rdkafka_sticky_assignor.c:1920:28: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'sortedConsumers' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sticky_assignor.c: In function 'rd_kafka_sticky_assignor_assign_cb': ../src/rdkafka_sticky_assignor.c:1619:19: note: declared here 1619 | rd_list_t sortedConsumers; /* element is the (rd_map_elem_t *) from | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_sticky_assignor_assign_cb' at ../src/rdkafka_sticky_assignor.c:2049:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'sortedCurrentSubscriptions' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sticky_assignor.c: In function 'rd_kafka_sticky_assignor_assign_cb': ../src/rdkafka_sticky_assignor.c:1890:19: note: declared here 1890 | rd_list_t sortedCurrentSubscriptions; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_handle_JoinGroup' at ../src/rdkafka_cgrp.c:2066:17: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_handle_JoinGroup': ../src/rdkafka_cgrp.c:1973:27: note: declared here 1973 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_cache_hint_rktparlist' at ../src/rdkafka_metadata_cache.c:579:9, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2192:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata_cache.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_metadata_cache.c:568:19: note: declared here 568 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2213:25: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_cgrp.c:2186:19: note: declared here 2186 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2262:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_cgrp.c:2186:19: note: declared here 2186 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2262:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_cgrp.c:2186:19: note: declared here 2186 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_all' at ../src/rdkafka_metadata.c:1526:9, inlined from 'rd_kafka_metadata_refresh_consumer_topics' at ../src/rdkafka_metadata.c:1441:24, inlined from 'rd_kafka_metadata_refresh_cb' at ../src/rdkafka.c:2018:23: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_cb': ../src/rdkafka_metadata.c:1508:19: note: declared here 1508 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_consumer_topics' at ../src/rdkafka_metadata.c:1465:9, inlined from 'rd_kafka_metadata_refresh_cb' at ../src/rdkafka.c:2018:23: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_cb': ../src/rdkafka_metadata.c:1422:19: note: declared here 1422 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_consumer_topics' at ../src/rdkafka_metadata.c:1465:9, inlined from 'rd_kafka_metadata_refresh_cb' at ../src/rdkafka.c:2018:23: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_cb': ../src/rdkafka_metadata.c:1422:19: note: declared here 1422 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_scan_all' at ../src/rdkafka_topic.c:1720:9, inlined from 'rd_kafka_1s_tmr_cb' at ../src/rdkafka.c:1986:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'query_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_topic.c: In function 'rd_kafka_1s_tmr_cb': ../src/rdkafka_topic.c:1586:19: note: declared here 1586 | rd_list_t query_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_destroy_final' at ../src/rdkafka_cgrp.c:370:9, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:942:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)->rk_cgrp' with nonzero offset 232 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignors_term' at ../src/rdkafka_assignor.c:658:9, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:945:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)' with nonzero offset 1976 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:962:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)' with nonzero offset 912 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:998:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)' with nonzero offset 32 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1232:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_81(D)' with nonzero offset 240 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1277:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'wait_thrds' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka.c: In function 'rd_kafka_destroy_internal': ../src/rdkafka.c:1138:19: note: declared here 1138 | rd_list_t wait_thrds; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_cache_destroy' at ../src/rdkafka_metadata_cache.c:615:9, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1296:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_81(D)' with nonzero offset 2800 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_avl_destroy' at ../src/rdavl.c:191:17, inlined from 'rd_kafka_metadata_cache_destroy' at ../src/rdkafka_metadata_cache.c:622:9, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1296:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_81(D)' with nonzero offset 2640 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_aborted_txn_node_destroy' at ../src/rdkafka_msgset_reader.c:1524:9: ../src/rd.h:151:9: warning: 'free' called on pointer '_node_ptr_2(D)' with nonzero offset 48 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_aborted_txns_destroy' at ../src/rdkafka_msgset_reader.c:1549:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'aborted_txns_3(D)' with nonzero offset 80 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignor_run.constprop' at ../src/rdkafka_assignor.c:420:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'eligible_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_assignor.c: In function 'rd_kafka_assignor_run.constprop': ../src/rdkafka_assignor.c:329:19: note: declared here 329 | rd_list_t eligible_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_sasl_oauthbearer_term' at ../src/rdkafka_sasl_oauthbearer.c:1364:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_15(D)->rk_sasl.handle' with nonzero offset 96 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_plugins_conf_set0' at ../src/rdkafka_plugin.c:150:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_25(D)' with nonzero offset 888 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_plugins_conf_set0' at ../src/rdkafka_plugin.c:187:25: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_25(D)' with nonzero offset 888 [-Wfree-nonheap-object] 151 | free(ptr); | ^ make[1]: Entering directory '/builddir/build/BUILD/librdkafka-2.3.0/examples' gcc -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I../src idempotent_producer.c -o idempotent_producer -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -L/usr/lib64 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -L/usr/lib64 \ ../src/librdkafka.a -llz4 -lm -lzstd -lsasl2 -lssl -lcrypto -lz -ldl -lpthread -lrt -lpthread -lrt make[1]: Leaving directory '/builddir/build/BUILD/librdkafka-2.3.0/examples' In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_mock_partition_destroy' at ../src/rdkafka_mock.c:556:9, inlined from 'rd_kafka_mock_topic_destroy' at ../src/rdkafka_mock.c:602:17, inlined from 'rd_kafka_mock_cluster_destroy0' at ../src/rdkafka_mock.c:2434:17, inlined from 'rd_kafka_mock_cluster_thread_main' at ../src/rdkafka_mock.c:1428:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'mtopic_402->partitions' with nonzero offset [152, 446676598520] [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_mock_cluster_destroy0' at ../src/rdkafka_mock.c:2445:9, inlined from 'rd_kafka_mock_cluster_thread_main' at ../src/rdkafka_mock.c:1428:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'arg_11(D)' with nonzero offset 128 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignor_topic_destroy' at ../src/rdkafka_assignor.c:238:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'at_2(D)' with nonzero offset 16 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_group_member_clear' at ../src/rdkafka_assignor.c:49:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rkgm_19(D)' with nonzero offset 24 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_topics' at ../src/rdkafka_metadata.c:1332:25: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'q_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_topics': ../src/rdkafka_metadata.c:1282:19: note: declared here 1282 | rd_list_t q_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_topics' at ../src/rdkafka_metadata.c:1350:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'q_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_topics': ../src/rdkafka_metadata.c:1282:19: note: declared here 1282 | rd_list_t q_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_known_topics' at ../src/rdkafka_metadata.c:1399:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_known_topics': ../src/rdkafka_metadata.c:1376:19: note: declared here 1376 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_leader_query_tmr_cb' at ../src/rdkafka_metadata.c:1637:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_leader_query_tmr_cb': ../src/rdkafka_metadata.c:1584:19: note: declared here 1584 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:166:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 928 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:167:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 968 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:168:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1008 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:169:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1048 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:170:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1088 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:171:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1128 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:172:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1168 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:173:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1208 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:174:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1248 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:175:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1288 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:176:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1328 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:177:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1368 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:178:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1408 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:179:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1448 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:182:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1488 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_all' at ../src/rdkafka_metadata.c:1526:9, inlined from 'rd_kafka_metadata_refresh_consumer_topics' at ../src/rdkafka_metadata.c:1441:24, inlined from 'rd_kafka_metadata_refresh_cb' at ../src/rdkafka.c:2018:23: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_cb': ../src/rdkafka_metadata.c:1508:19: note: declared here 1508 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_consumer_topics' at ../src/rdkafka_metadata.c:1465:9, inlined from 'rd_kafka_metadata_refresh_cb' at ../src/rdkafka.c:2018:23: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_cb': ../src/rdkafka_metadata.c:1422:19: note: declared here 1422 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_consumer_topics' at ../src/rdkafka_metadata.c:1465:9, inlined from 'rd_kafka_metadata_refresh_cb' at ../src/rdkafka.c:2018:23: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_cb': ../src/rdkafka_metadata.c:1422:19: note: declared here 1422 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1232:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_81(D)' with nonzero offset 240 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1277:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'wait_thrds' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka.c: In function 'rd_kafka_destroy_internal': ../src/rdkafka.c:1138:19: note: declared here 1138 | rd_list_t wait_thrds; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_cache_destroy' at ../src/rdkafka_metadata_cache.c:615:9, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1296:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_81(D)' with nonzero offset 2800 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_avl_destroy' at ../src/rdavl.c:191:17, inlined from 'rd_kafka_metadata_cache_destroy' at ../src/rdkafka_metadata_cache.c:622:9, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1296:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_81(D)' with nonzero offset 2640 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_scan_all' at ../src/rdkafka_topic.c:1720:9, inlined from 'rd_kafka_1s_tmr_cb' at ../src/rdkafka.c:1986:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'query_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_topic.c: In function 'rd_kafka_1s_tmr_cb': ../src/rdkafka_topic.c:1586:19: note: declared here 1586 | rd_list_t query_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_destroy_final' at ../src/rdkafka_cgrp.c:370:9, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:942:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)->rk_cgrp' with nonzero offset 232 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignors_term' at ../src/rdkafka_assignor.c:658:9, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:945:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)' with nonzero offset 1976 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:962:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)' with nonzero offset 912 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:998:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)' with nonzero offset 32 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_ssl_ctx_init' at ../src/rdkafka_ssl.c:1753:9, inlined from 'rd_kafka_new' at ../src/rdkafka.c:2426:21: ../src/rd.h:151:9: warning: 'free' called on pointer 'p_554' with nonzero offset 912 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_calloc', inlined from 'rd_kafka_new' at ../src/rdkafka.c:2210:14: ../src/rd.h:133:19: note: returned from 'calloc' 133 | void *p = calloc(num, sz); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignors_term' at ../src/rdkafka_assignor.c:658:9, inlined from 'rd_kafka_new' at ../src/rdkafka.c:2629:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'p_554' with nonzero offset 1976 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_calloc', inlined from 'rd_kafka_new' at ../src/rdkafka.c:2210:14: ../src/rd.h:133:19: note: returned from 'calloc' 133 | void *p = calloc(num, sz); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_sasl_oauthbearer_close' at ../src/rdkafka_sasl_oauthbearer.c:1043:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rktrans_8(D)->rktrans_sasl.state' with nonzero offset 32 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'create_jws_compact_serialization' at ../src/rdkafka_sasl_oauthbearer.c:863:9, inlined from 'rd_kafka_oauthbearer_unsecured_token0' at ../src/rdkafka_sasl_oauthbearer.c:942:37, inlined from 'rd_kafka_oauthbearer_unsecured_token' at ../src/rdkafka_sasl_oauthbearer.c:1017:13: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'scope' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sasl_oauthbearer.c: In function 'rd_kafka_oauthbearer_unsecured_token': ../src/rdkafka_sasl_oauthbearer.c:749:19: note: declared here 749 | rd_list_t scope; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_oauthbearer_unsecured_token0' at ../src/rdkafka_sasl_oauthbearer.c:968:9, inlined from 'rd_kafka_oauthbearer_unsecured_token' at ../src/rdkafka_sasl_oauthbearer.c:1017:13: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'parsed' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sasl_oauthbearer.c: In function 'rd_kafka_oauthbearer_unsecured_token': ../src/rdkafka_sasl_oauthbearer.c:884:54: note: declared here 884 | struct rd_kafka_sasl_oauthbearer_parsed_ujws parsed = RD_ZERO_INIT; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'sortPartitions' at ../src/rdkafka_sticky_assignor.c:1788:9, inlined from 'rd_kafka_sticky_assignor_assign_cb' at ../src/rdkafka_sticky_assignor.c:1920:28: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'sortedConsumers' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sticky_assignor.c: In function 'rd_kafka_sticky_assignor_assign_cb': ../src/rdkafka_sticky_assignor.c:1619:19: note: declared here 1619 | rd_list_t sortedConsumers; /* element is the (rd_map_elem_t *) from | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_sticky_assignor_assign_cb' at ../src/rdkafka_sticky_assignor.c:2049:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'sortedCurrentSubscriptions' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sticky_assignor.c: In function 'rd_kafka_sticky_assignor_assign_cb': ../src/rdkafka_sticky_assignor.c:1890:19: note: declared here 1890 | rd_list_t sortedCurrentSubscriptions; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_destroy_final' at ../src/rdkafka_topic.c:111:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rkt_30(D)' with nonzero offset 144 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_timeout_scan' at ../src/rdkafka_cgrp.c:4796:9, inlined from 'rd_kafka_cgrp_serve' at ../src/rdkafka_cgrp.c:5324:17: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'ofc_state' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_serve': ../src/rdkafka_cgrp.c:4779:42: note: declared here 4779 | struct _op_timeout_offset_commit ofc_state; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_handle_JoinGroup' at ../src/rdkafka_cgrp.c:2066:17: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_handle_JoinGroup': ../src/rdkafka_cgrp.c:1973:27: note: declared here 1973 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_cache_hint_rktparlist' at ../src/rdkafka_metadata_cache.c:579:9, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2192:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata_cache.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_metadata_cache.c:568:19: note: declared here 568 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2213:25: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_cgrp.c:2186:19: note: declared here 2186 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2262:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_cgrp.c:2186:19: note: declared here 2186 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2262:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_cgrp.c:2186:19: note: declared here 2186 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_aborted_txn_node_destroy' at ../src/rdkafka_msgset_reader.c:1524:9: ../src/rd.h:151:9: warning: 'free' called on pointer '_node_ptr_2(D)' with nonzero offset 48 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_aborted_txns_destroy' at ../src/rdkafka_msgset_reader.c:1549:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'aborted_txns_3(D)' with nonzero offset 80 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignor_run.constprop' at ../src/rdkafka_assignor.c:420:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'eligible_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_assignor.c: In function 'rd_kafka_assignor_run.constprop': ../src/rdkafka_assignor.c:329:19: note: declared here 329 | rd_list_t eligible_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_sasl_oauthbearer_term' at ../src/rdkafka_sasl_oauthbearer.c:1364:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_15(D)->rk_sasl.handle' with nonzero offset 96 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_plugins_conf_set0' at ../src/rdkafka_plugin.c:150:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_25(D)' with nonzero offset 888 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_plugins_conf_set0' at ../src/rdkafka_plugin.c:187:25: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_25(D)' with nonzero offset 888 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:408:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_81(D)' with nonzero offset 904 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:431:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_81(D)' with nonzero offset 776 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:442:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_81(D)' with nonzero offset 120 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:443:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_81(D)' with nonzero offset 176 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_leader_query0' at ../src/rdkafka_topic.c:1968:9, inlined from 'rd_kafka_toppar_handle_OffsetForLeaderEpoch' at ../src/rdkafka_offset.c:991:25: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_topic.c: In function 'rd_kafka_toppar_handle_OffsetForLeaderEpoch': ../src/rdkafka_topic.c:1959:19: note: declared here 1959 | rd_list_t topics; | ^ make[1]: Entering directory '/builddir/build/BUILD/librdkafka-2.3.0/examples' gcc -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I../src describe_consumer_groups.c -o describe_consumer_groups -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -L/usr/lib64 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -L/usr/lib64 \ ../src/librdkafka.a -llz4 -lm -lzstd -lsasl2 -lssl -lcrypto -lz -ldl -lpthread -lrt -lpthread -lrt make[1]: Leaving directory '/builddir/build/BUILD/librdkafka-2.3.0/examples' In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_mock_partition_destroy' at ../src/rdkafka_mock.c:556:9, inlined from 'rd_kafka_mock_topic_destroy' at ../src/rdkafka_mock.c:602:17, inlined from 'rd_kafka_mock_cluster_destroy0' at ../src/rdkafka_mock.c:2434:17, inlined from 'rd_kafka_mock_cluster_thread_main' at ../src/rdkafka_mock.c:1428:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'mtopic_402->partitions' with nonzero offset [152, 446676598520] [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_mock_cluster_destroy0' at ../src/rdkafka_mock.c:2445:9, inlined from 'rd_kafka_mock_cluster_thread_main' at ../src/rdkafka_mock.c:1428:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'arg_11(D)' with nonzero offset 128 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignor_topic_destroy' at ../src/rdkafka_assignor.c:238:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'at_2(D)' with nonzero offset 16 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_group_member_clear' at ../src/rdkafka_assignor.c:49:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rkgm_19(D)' with nonzero offset 24 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_topics' at ../src/rdkafka_metadata.c:1332:25: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'q_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_topics': ../src/rdkafka_metadata.c:1282:19: note: declared here 1282 | rd_list_t q_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_topics' at ../src/rdkafka_metadata.c:1350:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'q_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_topics': ../src/rdkafka_metadata.c:1282:19: note: declared here 1282 | rd_list_t q_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_known_topics' at ../src/rdkafka_metadata.c:1399:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_known_topics': ../src/rdkafka_metadata.c:1376:19: note: declared here 1376 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_leader_query_tmr_cb' at ../src/rdkafka_metadata.c:1637:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_leader_query_tmr_cb': ../src/rdkafka_metadata.c:1584:19: note: declared here 1584 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:166:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 928 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:167:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 968 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:168:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1008 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:169:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1048 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:170:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1088 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:171:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1128 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:172:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1168 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:173:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1208 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:174:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1248 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:175:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1288 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:176:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1328 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:177:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1368 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:178:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1408 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:179:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1448 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:182:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1488 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_ssl_ctx_init' at ../src/rdkafka_ssl.c:1753:9, inlined from 'rd_kafka_new.constprop' at ../src/rdkafka.c:2426:21: ../src/rd.h:151:9: warning: 'free' called on pointer 'p_504' with nonzero offset 912 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_calloc', inlined from 'rd_kafka_new.constprop' at ../src/rdkafka.c:2210:14: ../src/rd.h:133:19: note: returned from 'calloc' 133 | void *p = calloc(num, sz); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignors_term' at ../src/rdkafka_assignor.c:658:9, inlined from 'rd_kafka_new.constprop' at ../src/rdkafka.c:2629:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'p_504' with nonzero offset 1976 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_calloc', inlined from 'rd_kafka_new.constprop' at ../src/rdkafka.c:2210:14: ../src/rd.h:133:19: note: returned from 'calloc' 133 | void *p = calloc(num, sz); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_destroy_final' at ../src/rdkafka_topic.c:111:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rkt_30(D)' with nonzero offset 144 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_aborted_txn_node_destroy' at ../src/rdkafka_msgset_reader.c:1524:9: ../src/rd.h:151:9: warning: 'free' called on pointer '_node_ptr_2(D)' with nonzero offset 48 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_aborted_txns_destroy' at ../src/rdkafka_msgset_reader.c:1549:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'aborted_txns_3(D)' with nonzero offset 80 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_DescribeConsumerGroupsResponse_parse' at ../src/rdkafka_admin.c:8169:17: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'members' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_admin.c: In function 'rd_kafka_DescribeConsumerGroupsResponse_parse': ../src/rdkafka_admin.c:8043:27: note: declared here 8043 | rd_list_t members; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_DescribeConsumerGroupsResponse_parse' at ../src/rdkafka_admin.c:8169:17: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'members' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_admin.c: In function 'rd_kafka_DescribeConsumerGroupsResponse_parse': ../src/rdkafka_admin.c:8043:27: note: declared here 8043 | rd_list_t members; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_all' at ../src/rdkafka_metadata.c:1526:9, inlined from 'rd_kafka_metadata_refresh_consumer_topics' at ../src/rdkafka_metadata.c:1441:24, inlined from 'rd_kafka_metadata_refresh_cb' at ../src/rdkafka.c:2018:23: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_cb': ../src/rdkafka_metadata.c:1508:19: note: declared here 1508 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_consumer_topics' at ../src/rdkafka_metadata.c:1465:9, inlined from 'rd_kafka_metadata_refresh_cb' at ../src/rdkafka.c:2018:23: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_cb': ../src/rdkafka_metadata.c:1422:19: note: declared here 1422 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_consumer_topics' at ../src/rdkafka_metadata.c:1465:9, inlined from 'rd_kafka_metadata_refresh_cb' at ../src/rdkafka.c:2018:23: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_cb': ../src/rdkafka_metadata.c:1422:19: note: declared here 1422 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_scan_all' at ../src/rdkafka_topic.c:1720:9, inlined from 'rd_kafka_1s_tmr_cb' at ../src/rdkafka.c:1986:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'query_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_topic.c: In function 'rd_kafka_1s_tmr_cb': ../src/rdkafka_topic.c:1586:19: note: declared here 1586 | rd_list_t query_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_destroy_final' at ../src/rdkafka_cgrp.c:370:9, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:942:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)->rk_cgrp' with nonzero offset 232 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignors_term' at ../src/rdkafka_assignor.c:658:9, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:945:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)' with nonzero offset 1976 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:962:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)' with nonzero offset 912 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:998:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)' with nonzero offset 32 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1232:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_81(D)' with nonzero offset 240 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1277:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'wait_thrds' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka.c: In function 'rd_kafka_destroy_internal': ../src/rdkafka.c:1138:19: note: declared here 1138 | rd_list_t wait_thrds; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_cache_destroy' at ../src/rdkafka_metadata_cache.c:615:9, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1296:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_81(D)' with nonzero offset 2800 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_avl_destroy' at ../src/rdavl.c:191:17, inlined from 'rd_kafka_metadata_cache_destroy' at ../src/rdkafka_metadata_cache.c:622:9, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1296:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_81(D)' with nonzero offset 2640 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'sortPartitions' at ../src/rdkafka_sticky_assignor.c:1788:9, inlined from 'rd_kafka_sticky_assignor_assign_cb' at ../src/rdkafka_sticky_assignor.c:1920:28: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'sortedConsumers' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sticky_assignor.c: In function 'rd_kafka_sticky_assignor_assign_cb': ../src/rdkafka_sticky_assignor.c:1619:19: note: declared here 1619 | rd_list_t sortedConsumers; /* element is the (rd_map_elem_t *) from | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_sticky_assignor_assign_cb' at ../src/rdkafka_sticky_assignor.c:2049:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'sortedCurrentSubscriptions' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sticky_assignor.c: In function 'rd_kafka_sticky_assignor_assign_cb': ../src/rdkafka_sticky_assignor.c:1890:19: note: declared here 1890 | rd_list_t sortedCurrentSubscriptions; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_timeout_scan' at ../src/rdkafka_cgrp.c:4796:9, inlined from 'rd_kafka_cgrp_serve' at ../src/rdkafka_cgrp.c:5324:17: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'ofc_state' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_serve': ../src/rdkafka_cgrp.c:4779:42: note: declared here 4779 | struct _op_timeout_offset_commit ofc_state; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_handle_JoinGroup' at ../src/rdkafka_cgrp.c:2066:17: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_handle_JoinGroup': ../src/rdkafka_cgrp.c:1973:27: note: declared here 1973 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_cache_hint_rktparlist' at ../src/rdkafka_metadata_cache.c:579:9, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2192:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata_cache.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_metadata_cache.c:568:19: note: declared here 568 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2213:25: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_cgrp.c:2186:19: note: declared here 2186 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2262:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_cgrp.c:2186:19: note: declared here 2186 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2262:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_cgrp.c:2186:19: note: declared here 2186 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_sasl_oauthbearer_close' at ../src/rdkafka_sasl_oauthbearer.c:1043:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rktrans_8(D)->rktrans_sasl.state' with nonzero offset 32 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'create_jws_compact_serialization' at ../src/rdkafka_sasl_oauthbearer.c:863:9, inlined from 'rd_kafka_oauthbearer_unsecured_token0' at ../src/rdkafka_sasl_oauthbearer.c:942:37, inlined from 'rd_kafka_oauthbearer_unsecured_token' at ../src/rdkafka_sasl_oauthbearer.c:1017:13: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'scope' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sasl_oauthbearer.c: In function 'rd_kafka_oauthbearer_unsecured_token': ../src/rdkafka_sasl_oauthbearer.c:749:19: note: declared here 749 | rd_list_t scope; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_oauthbearer_unsecured_token0' at ../src/rdkafka_sasl_oauthbearer.c:968:9, inlined from 'rd_kafka_oauthbearer_unsecured_token' at ../src/rdkafka_sasl_oauthbearer.c:1017:13: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'parsed' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sasl_oauthbearer.c: In function 'rd_kafka_oauthbearer_unsecured_token': ../src/rdkafka_sasl_oauthbearer.c:884:54: note: declared here 884 | struct rd_kafka_sasl_oauthbearer_parsed_ujws parsed = RD_ZERO_INIT; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_sasl_oauthbearer_term' at ../src/rdkafka_sasl_oauthbearer.c:1364:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_15(D)->rk_sasl.handle' with nonzero offset 96 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_plugins_conf_set0' at ../src/rdkafka_plugin.c:150:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_25(D)' with nonzero offset 888 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_plugins_conf_set0' at ../src/rdkafka_plugin.c:187:25: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_25(D)' with nonzero offset 888 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:408:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_81(D)' with nonzero offset 904 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:431:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_81(D)' with nonzero offset 776 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:442:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_81(D)' with nonzero offset 120 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:443:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_81(D)' with nonzero offset 176 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_leader_query0' at ../src/rdkafka_topic.c:1968:9, inlined from 'rd_kafka_toppar_handle_OffsetForLeaderEpoch' at ../src/rdkafka_offset.c:991:25: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_topic.c: In function 'rd_kafka_toppar_handle_OffsetForLeaderEpoch': ../src/rdkafka_topic.c:1959:19: note: declared here 1959 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_ConsumerGroupDescription_destroy' at ../src/rdkafka_admin.c:7824:9, inlined from 'rd_kafka_ConsumerGroupDescription_free' at ../src/rdkafka_admin.c:7837:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'ptr_2(D)' with nonzero offset 16 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignor_run.constprop' at ../src/rdkafka_assignor.c:420:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'eligible_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_assignor.c: In function 'rd_kafka_assignor_run.constprop': ../src/rdkafka_assignor.c:329:19: note: declared here 329 | rd_list_t eligible_topics; | ^ make[1]: Entering directory '/builddir/build/BUILD/librdkafka-2.3.0/examples' gcc -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I../src describe_cluster.c -o describe_cluster -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -L/usr/lib64 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -L/usr/lib64 \ ../src/librdkafka.a -llz4 -lm -lzstd -lsasl2 -lssl -lcrypto -lz -ldl -lpthread -lrt -lpthread -lrt make[1]: Leaving directory '/builddir/build/BUILD/librdkafka-2.3.0/examples' In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignor_topic_destroy' at ../src/rdkafka_assignor.c:238:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'at_2(D)' with nonzero offset 16 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_group_member_clear' at ../src/rdkafka_assignor.c:49:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rkgm_19(D)' with nonzero offset 24 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_all' at ../src/rdkafka_metadata.c:1526:9, inlined from 'rd_kafka_metadata_refresh_consumer_topics' at ../src/rdkafka_metadata.c:1441:24, inlined from 'rd_kafka_metadata_refresh_cb' at ../src/rdkafka.c:2018:23: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_cb': ../src/rdkafka_metadata.c:1508:19: note: declared here 1508 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_consumer_topics' at ../src/rdkafka_metadata.c:1465:9, inlined from 'rd_kafka_metadata_refresh_cb' at ../src/rdkafka.c:2018:23: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_cb': ../src/rdkafka_metadata.c:1422:19: note: declared here 1422 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_consumer_topics' at ../src/rdkafka_metadata.c:1465:9, inlined from 'rd_kafka_metadata_refresh_cb' at ../src/rdkafka.c:2018:23: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_cb': ../src/rdkafka_metadata.c:1422:19: note: declared here 1422 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1232:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_81(D)' with nonzero offset 240 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1277:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'wait_thrds' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka.c: In function 'rd_kafka_destroy_internal': ../src/rdkafka.c:1138:19: note: declared here 1138 | rd_list_t wait_thrds; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_cache_destroy' at ../src/rdkafka_metadata_cache.c:615:9, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1296:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_81(D)' with nonzero offset 2800 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_avl_destroy' at ../src/rdavl.c:191:17, inlined from 'rd_kafka_metadata_cache_destroy' at ../src/rdkafka_metadata_cache.c:622:9, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1296:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_81(D)' with nonzero offset 2640 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_scan_all' at ../src/rdkafka_topic.c:1720:9, inlined from 'rd_kafka_1s_tmr_cb' at ../src/rdkafka.c:1986:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'query_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_topic.c: In function 'rd_kafka_1s_tmr_cb': ../src/rdkafka_topic.c:1586:19: note: declared here 1586 | rd_list_t query_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_destroy_final' at ../src/rdkafka_cgrp.c:370:9, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:942:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)->rk_cgrp' with nonzero offset 232 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignors_term' at ../src/rdkafka_assignor.c:658:9, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:945:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)' with nonzero offset 1976 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:962:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)' with nonzero offset 912 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:998:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)' with nonzero offset 32 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_ssl_ctx_init' at ../src/rdkafka_ssl.c:1753:9, inlined from 'rd_kafka_new' at ../src/rdkafka.c:2426:21: ../src/rd.h:151:9: warning: 'free' called on pointer 'p_554' with nonzero offset 912 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_calloc', inlined from 'rd_kafka_new' at ../src/rdkafka.c:2210:14: ../src/rd.h:133:19: note: returned from 'calloc' 133 | void *p = calloc(num, sz); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignors_term' at ../src/rdkafka_assignor.c:658:9, inlined from 'rd_kafka_new' at ../src/rdkafka.c:2629:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'p_554' with nonzero offset 1976 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_calloc', inlined from 'rd_kafka_new' at ../src/rdkafka.c:2210:14: ../src/rd.h:133:19: note: returned from 'calloc' 133 | void *p = calloc(num, sz); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_mock_partition_destroy' at ../src/rdkafka_mock.c:556:9, inlined from 'rd_kafka_mock_topic_destroy' at ../src/rdkafka_mock.c:602:17, inlined from 'rd_kafka_mock_cluster_destroy0' at ../src/rdkafka_mock.c:2434:17, inlined from 'rd_kafka_mock_cluster_thread_main' at ../src/rdkafka_mock.c:1428:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'mtopic_402->partitions' with nonzero offset [152, 446676598520] [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_mock_cluster_destroy0' at ../src/rdkafka_mock.c:2445:9, inlined from 'rd_kafka_mock_cluster_thread_main' at ../src/rdkafka_mock.c:1428:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'arg_11(D)' with nonzero offset 128 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:166:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 928 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:167:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 968 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:168:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1008 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:169:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1048 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:170:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1088 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:171:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1128 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:172:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1168 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:173:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1208 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:174:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1248 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:175:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1288 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:176:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1328 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:177:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1368 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:178:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1408 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:179:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1448 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:182:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1488 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_destroy_final' at ../src/rdkafka_topic.c:111:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rkt_30(D)' with nonzero offset 144 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_topics' at ../src/rdkafka_metadata.c:1332:25: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'q_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_topics': ../src/rdkafka_metadata.c:1282:19: note: declared here 1282 | rd_list_t q_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_topics' at ../src/rdkafka_metadata.c:1350:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'q_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_topics': ../src/rdkafka_metadata.c:1282:19: note: declared here 1282 | rd_list_t q_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_leader_query_tmr_cb' at ../src/rdkafka_metadata.c:1637:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_leader_query_tmr_cb': ../src/rdkafka_metadata.c:1584:19: note: declared here 1584 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_known_topics' at ../src/rdkafka_metadata.c:1399:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_known_topics': ../src/rdkafka_metadata.c:1376:19: note: declared here 1376 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_sasl_oauthbearer_close' at ../src/rdkafka_sasl_oauthbearer.c:1043:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rktrans_8(D)->rktrans_sasl.state' with nonzero offset 32 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'create_jws_compact_serialization' at ../src/rdkafka_sasl_oauthbearer.c:863:9, inlined from 'rd_kafka_oauthbearer_unsecured_token0' at ../src/rdkafka_sasl_oauthbearer.c:942:37, inlined from 'rd_kafka_oauthbearer_unsecured_token' at ../src/rdkafka_sasl_oauthbearer.c:1017:13: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'scope' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sasl_oauthbearer.c: In function 'rd_kafka_oauthbearer_unsecured_token': ../src/rdkafka_sasl_oauthbearer.c:749:19: note: declared here 749 | rd_list_t scope; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_oauthbearer_unsecured_token0' at ../src/rdkafka_sasl_oauthbearer.c:968:9, inlined from 'rd_kafka_oauthbearer_unsecured_token' at ../src/rdkafka_sasl_oauthbearer.c:1017:13: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'parsed' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sasl_oauthbearer.c: In function 'rd_kafka_oauthbearer_unsecured_token': ../src/rdkafka_sasl_oauthbearer.c:884:54: note: declared here 884 | struct rd_kafka_sasl_oauthbearer_parsed_ujws parsed = RD_ZERO_INIT; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'sortPartitions' at ../src/rdkafka_sticky_assignor.c:1788:9, inlined from 'rd_kafka_sticky_assignor_assign_cb' at ../src/rdkafka_sticky_assignor.c:1920:28: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'sortedConsumers' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sticky_assignor.c: In function 'rd_kafka_sticky_assignor_assign_cb': ../src/rdkafka_sticky_assignor.c:1619:19: note: declared here 1619 | rd_list_t sortedConsumers; /* element is the (rd_map_elem_t *) from | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_sticky_assignor_assign_cb' at ../src/rdkafka_sticky_assignor.c:2049:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'sortedCurrentSubscriptions' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sticky_assignor.c: In function 'rd_kafka_sticky_assignor_assign_cb': ../src/rdkafka_sticky_assignor.c:1890:19: note: declared here 1890 | rd_list_t sortedCurrentSubscriptions; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_timeout_scan' at ../src/rdkafka_cgrp.c:4796:9, inlined from 'rd_kafka_cgrp_serve' at ../src/rdkafka_cgrp.c:5324:17: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'ofc_state' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_serve': ../src/rdkafka_cgrp.c:4779:42: note: declared here 4779 | struct _op_timeout_offset_commit ofc_state; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_aborted_txn_node_destroy' at ../src/rdkafka_msgset_reader.c:1524:9: ../src/rd.h:151:9: warning: 'free' called on pointer '_node_ptr_2(D)' with nonzero offset 48 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_aborted_txns_destroy' at ../src/rdkafka_msgset_reader.c:1549:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'aborted_txns_3(D)' with nonzero offset 80 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignor_run.constprop' at ../src/rdkafka_assignor.c:420:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'eligible_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_assignor.c: In function 'rd_kafka_assignor_run.constprop': ../src/rdkafka_assignor.c:329:19: note: declared here 329 | rd_list_t eligible_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_handle_JoinGroup' at ../src/rdkafka_cgrp.c:2066:17: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_handle_JoinGroup': ../src/rdkafka_cgrp.c:1973:27: note: declared here 1973 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_cache_hint_rktparlist' at ../src/rdkafka_metadata_cache.c:579:9, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2192:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata_cache.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_metadata_cache.c:568:19: note: declared here 568 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2213:25: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_cgrp.c:2186:19: note: declared here 2186 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2262:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_cgrp.c:2186:19: note: declared here 2186 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2262:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_cgrp.c:2186:19: note: declared here 2186 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_sasl_oauthbearer_term' at ../src/rdkafka_sasl_oauthbearer.c:1364:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_15(D)->rk_sasl.handle' with nonzero offset 96 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_plugins_conf_set0' at ../src/rdkafka_plugin.c:150:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_25(D)' with nonzero offset 888 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_plugins_conf_set0' at ../src/rdkafka_plugin.c:187:25: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_25(D)' with nonzero offset 888 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:408:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_81(D)' with nonzero offset 904 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:431:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_81(D)' with nonzero offset 776 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:442:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_81(D)' with nonzero offset 120 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:443:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_81(D)' with nonzero offset 176 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_leader_query0' at ../src/rdkafka_topic.c:1968:9, inlined from 'rd_kafka_toppar_handle_OffsetForLeaderEpoch' at ../src/rdkafka_offset.c:991:25: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_topic.c: In function 'rd_kafka_toppar_handle_OffsetForLeaderEpoch': ../src/rdkafka_topic.c:1959:19: note: declared here 1959 | rd_list_t topics; | ^ make[1]: Entering directory '/builddir/build/BUILD/librdkafka-2.3.0/examples' gcc -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I../src incremental_alter_configs.c -o incremental_alter_configs -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -L/usr/lib64 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -L/usr/lib64 \ ../src/librdkafka.a -llz4 -lm -lzstd -lsasl2 -lssl -lcrypto -lz -ldl -lpthread -lrt -lpthread -lrt make[1]: Leaving directory '/builddir/build/BUILD/librdkafka-2.3.0/examples' In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_mock_partition_destroy' at ../src/rdkafka_mock.c:556:9, inlined from 'rd_kafka_mock_topic_destroy' at ../src/rdkafka_mock.c:602:17, inlined from 'rd_kafka_mock_cluster_destroy0' at ../src/rdkafka_mock.c:2434:17, inlined from 'rd_kafka_mock_cluster_thread_main' at ../src/rdkafka_mock.c:1428:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'mtopic_402->partitions' with nonzero offset [152, 446676598520] [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_mock_cluster_destroy0' at ../src/rdkafka_mock.c:2445:9, inlined from 'rd_kafka_mock_cluster_thread_main' at ../src/rdkafka_mock.c:1428:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'arg_11(D)' with nonzero offset 128 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_ConfigEntry_destroy' at ../src/rdkafka_admin.c:2668:9, inlined from 'rd_kafka_ConfigEntry_free' at ../src/rdkafka_admin.c:2674:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'ptr_2(D)' with nonzero offset 24 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_ConfigEntry_copy' at ../src/rdkafka_admin.c:2725:9, inlined from 'rd_kafka_ConfigEntry_list_copy' at ../src/rdkafka_admin.c:2734:16: ../src/rd.h:151:9: warning: 'free' called on pointer 'p_23' with nonzero offset 24 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_calloc', inlined from 'rd_kafka_ConfigEntry_new0' at ../src/rdkafka_admin.c:2695:21, inlined from 'rd_kafka_ConfigEntry_new' at ../src/rdkafka_admin.c:2710:16, inlined from 'rd_kafka_ConfigEntry_copy' at ../src/rdkafka_admin.c:2722:18, inlined from 'rd_kafka_ConfigEntry_list_copy' at ../src/rdkafka_admin.c:2734:16: ../src/rd.h:133:19: note: returned from 'calloc' 133 | void *p = calloc(num, sz); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_topics' at ../src/rdkafka_metadata.c:1332:25: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'q_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_topics': ../src/rdkafka_metadata.c:1282:19: note: declared here 1282 | rd_list_t q_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_topics' at ../src/rdkafka_metadata.c:1350:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'q_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_topics': ../src/rdkafka_metadata.c:1282:19: note: declared here 1282 | rd_list_t q_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_known_topics' at ../src/rdkafka_metadata.c:1399:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_known_topics': ../src/rdkafka_metadata.c:1376:19: note: declared here 1376 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_leader_query_tmr_cb' at ../src/rdkafka_metadata.c:1637:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_leader_query_tmr_cb': ../src/rdkafka_metadata.c:1584:19: note: declared here 1584 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:166:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 928 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:167:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 968 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:168:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1008 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:169:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1048 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:170:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1088 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:171:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1128 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:172:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1168 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:173:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1208 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:174:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1248 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:175:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1288 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:176:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1328 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:177:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1368 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:178:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1408 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:179:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1448 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:182:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1488 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_timeout_scan' at ../src/rdkafka_cgrp.c:4796:9, inlined from 'rd_kafka_cgrp_serve' at ../src/rdkafka_cgrp.c:5324:17: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'ofc_state' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_serve': ../src/rdkafka_cgrp.c:4779:42: note: declared here 4779 | struct _op_timeout_offset_commit ofc_state; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'sortPartitions' at ../src/rdkafka_sticky_assignor.c:1788:9, inlined from 'rd_kafka_sticky_assignor_assign_cb' at ../src/rdkafka_sticky_assignor.c:1920:28: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'sortedConsumers' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sticky_assignor.c: In function 'rd_kafka_sticky_assignor_assign_cb': ../src/rdkafka_sticky_assignor.c:1619:19: note: declared here 1619 | rd_list_t sortedConsumers; /* element is the (rd_map_elem_t *) from | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_sticky_assignor_assign_cb' at ../src/rdkafka_sticky_assignor.c:2049:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'sortedCurrentSubscriptions' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sticky_assignor.c: In function 'rd_kafka_sticky_assignor_assign_cb': ../src/rdkafka_sticky_assignor.c:1890:19: note: declared here 1890 | rd_list_t sortedCurrentSubscriptions; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:408:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_81(D)' with nonzero offset 904 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:431:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_81(D)' with nonzero offset 776 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:442:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_81(D)' with nonzero offset 120 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:443:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_81(D)' with nonzero offset 176 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_destroy_final' at ../src/rdkafka_topic.c:111:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rkt_30(D)' with nonzero offset 144 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_leader_query0' at ../src/rdkafka_topic.c:1968:9, inlined from 'rd_kafka_toppar_handle_OffsetForLeaderEpoch' at ../src/rdkafka_offset.c:991:25: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_topic.c: In function 'rd_kafka_toppar_handle_OffsetForLeaderEpoch': ../src/rdkafka_topic.c:1959:19: note: declared here 1959 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_all' at ../src/rdkafka_metadata.c:1526:9, inlined from 'rd_kafka_metadata_refresh_consumer_topics' at ../src/rdkafka_metadata.c:1441:24, inlined from 'rd_kafka_metadata_refresh_cb' at ../src/rdkafka.c:2018:23: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_cb': ../src/rdkafka_metadata.c:1508:19: note: declared here 1508 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_consumer_topics' at ../src/rdkafka_metadata.c:1465:9, inlined from 'rd_kafka_metadata_refresh_cb' at ../src/rdkafka.c:2018:23: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_cb': ../src/rdkafka_metadata.c:1422:19: note: declared here 1422 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_consumer_topics' at ../src/rdkafka_metadata.c:1465:9, inlined from 'rd_kafka_metadata_refresh_cb' at ../src/rdkafka.c:2018:23: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_cb': ../src/rdkafka_metadata.c:1422:19: note: declared here 1422 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_scan_all' at ../src/rdkafka_topic.c:1720:9, inlined from 'rd_kafka_1s_tmr_cb' at ../src/rdkafka.c:1986:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'query_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_topic.c: In function 'rd_kafka_1s_tmr_cb': ../src/rdkafka_topic.c:1586:19: note: declared here 1586 | rd_list_t query_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_destroy_final' at ../src/rdkafka_cgrp.c:370:9, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:942:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)->rk_cgrp' with nonzero offset 232 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignors_term' at ../src/rdkafka_assignor.c:658:9, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:945:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)' with nonzero offset 1976 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:962:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)' with nonzero offset 912 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:998:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)' with nonzero offset 32 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1232:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_81(D)' with nonzero offset 240 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1277:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'wait_thrds' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka.c: In function 'rd_kafka_destroy_internal': ../src/rdkafka.c:1138:19: note: declared here 1138 | rd_list_t wait_thrds; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_cache_destroy' at ../src/rdkafka_metadata_cache.c:615:9, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1296:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_81(D)' with nonzero offset 2800 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_avl_destroy' at ../src/rdavl.c:191:17, inlined from 'rd_kafka_metadata_cache_destroy' at ../src/rdkafka_metadata_cache.c:622:9, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1296:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_81(D)' with nonzero offset 2640 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_cache_hint_rktparlist' at ../src/rdkafka_metadata_cache.c:579:9, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2192:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata_cache.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_metadata_cache.c:568:19: note: declared here 568 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2213:25: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_cgrp.c:2186:19: note: declared here 2186 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2262:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_cgrp.c:2186:19: note: declared here 2186 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2262:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_cgrp.c:2186:19: note: declared here 2186 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_handle_JoinGroup' at ../src/rdkafka_cgrp.c:2066:17: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_handle_JoinGroup': ../src/rdkafka_cgrp.c:1973:27: note: declared here 1973 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_ssl_ctx_init' at ../src/rdkafka_ssl.c:1753:9, inlined from 'rd_kafka_new.constprop' at ../src/rdkafka.c:2426:21: ../src/rd.h:151:9: warning: 'free' called on pointer 'p_504' with nonzero offset 912 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_calloc', inlined from 'rd_kafka_new.constprop' at ../src/rdkafka.c:2210:14: ../src/rd.h:133:19: note: returned from 'calloc' 133 | void *p = calloc(num, sz); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignors_term' at ../src/rdkafka_assignor.c:658:9, inlined from 'rd_kafka_new.constprop' at ../src/rdkafka.c:2629:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'p_504' with nonzero offset 1976 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_calloc', inlined from 'rd_kafka_new.constprop' at ../src/rdkafka.c:2210:14: ../src/rd.h:133:19: note: returned from 'calloc' 133 | void *p = calloc(num, sz); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_sasl_oauthbearer_close' at ../src/rdkafka_sasl_oauthbearer.c:1043:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rktrans_8(D)->rktrans_sasl.state' with nonzero offset 32 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'create_jws_compact_serialization' at ../src/rdkafka_sasl_oauthbearer.c:863:9, inlined from 'rd_kafka_oauthbearer_unsecured_token0' at ../src/rdkafka_sasl_oauthbearer.c:942:37, inlined from 'rd_kafka_oauthbearer_unsecured_token' at ../src/rdkafka_sasl_oauthbearer.c:1017:13: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'scope' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sasl_oauthbearer.c: In function 'rd_kafka_oauthbearer_unsecured_token': ../src/rdkafka_sasl_oauthbearer.c:749:19: note: declared here 749 | rd_list_t scope; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_oauthbearer_unsecured_token0' at ../src/rdkafka_sasl_oauthbearer.c:968:9, inlined from 'rd_kafka_oauthbearer_unsecured_token' at ../src/rdkafka_sasl_oauthbearer.c:1017:13: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'parsed' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sasl_oauthbearer.c: In function 'rd_kafka_oauthbearer_unsecured_token': ../src/rdkafka_sasl_oauthbearer.c:884:54: note: declared here 884 | struct rd_kafka_sasl_oauthbearer_parsed_ujws parsed = RD_ZERO_INIT; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_ConfigResource_destroy' at ../src/rdkafka_admin.c:2859:9, inlined from 'rd_kafka_ConfigResource_free' at ../src/rdkafka_admin.c:2866:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'ptr_2(D)' with nonzero offset 16 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_ConfigResource_copy' at ../src/rdkafka_admin.c:2898:9, inlined from 'rd_kafka_IncrementalAlterConfigs' at ../src/rdkafka_admin.c:3458:29: ../src/rd.h:151:9: warning: 'free' called on pointer '_188' with nonzero offset 16 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_kafka_ConfigResource_copy', inlined from 'rd_kafka_IncrementalAlterConfigs' at ../src/rdkafka_admin.c:3458:29: ../src/rdkafka_admin.c:2896:15: note: returned from 'rd_kafka_ConfigResource_new' 2896 | dst = rd_kafka_ConfigResource_new(src->restype, src->name); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignor_topic_destroy' at ../src/rdkafka_assignor.c:238:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'at_2(D)' with nonzero offset 16 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_group_member_clear' at ../src/rdkafka_assignor.c:49:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rkgm_19(D)' with nonzero offset 24 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_aborted_txn_node_destroy' at ../src/rdkafka_msgset_reader.c:1524:9: ../src/rd.h:151:9: warning: 'free' called on pointer '_node_ptr_2(D)' with nonzero offset 48 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_aborted_txns_destroy' at ../src/rdkafka_msgset_reader.c:1549:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'aborted_txns_3(D)' with nonzero offset 80 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignor_run.constprop' at ../src/rdkafka_assignor.c:420:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'eligible_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_assignor.c: In function 'rd_kafka_assignor_run.constprop': ../src/rdkafka_assignor.c:329:19: note: declared here 329 | rd_list_t eligible_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_sasl_oauthbearer_term' at ../src/rdkafka_sasl_oauthbearer.c:1364:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_15(D)->rk_sasl.handle' with nonzero offset 96 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_plugins_conf_set0' at ../src/rdkafka_plugin.c:150:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_25(D)' with nonzero offset 888 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_plugins_conf_set0' at ../src/rdkafka_plugin.c:187:25: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_25(D)' with nonzero offset 888 [-Wfree-nonheap-object] 151 | free(ptr); | ^ make[1]: Entering directory '/builddir/build/BUILD/librdkafka-2.3.0/examples' gcc -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I../src transactions.c -o transactions -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -L/usr/lib64 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -L/usr/lib64 \ ../src/librdkafka.a -llz4 -lm -lzstd -lsasl2 -lssl -lcrypto -lz -ldl -lpthread -lrt -lpthread -lrt make[1]: Leaving directory '/builddir/build/BUILD/librdkafka-2.3.0/examples' In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_mock_partition_destroy' at ../src/rdkafka_mock.c:556:9, inlined from 'rd_kafka_mock_topic_destroy' at ../src/rdkafka_mock.c:602:17, inlined from 'rd_kafka_mock_cluster_destroy0' at ../src/rdkafka_mock.c:2434:17, inlined from 'rd_kafka_mock_cluster_thread_main' at ../src/rdkafka_mock.c:1428:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'mtopic_402->partitions' with nonzero offset [152, 446676598520] [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_mock_cluster_destroy0' at ../src/rdkafka_mock.c:2445:9, inlined from 'rd_kafka_mock_cluster_thread_main' at ../src/rdkafka_mock.c:1428:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'arg_11(D)' with nonzero offset 128 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignor_topic_destroy' at ../src/rdkafka_assignor.c:238:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'at_2(D)' with nonzero offset 16 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_group_member_clear' at ../src/rdkafka_assignor.c:49:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rkgm_19(D)' with nonzero offset 24 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_topics' at ../src/rdkafka_metadata.c:1332:25: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'q_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_topics': ../src/rdkafka_metadata.c:1282:19: note: declared here 1282 | rd_list_t q_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_topics' at ../src/rdkafka_metadata.c:1350:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'q_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_topics': ../src/rdkafka_metadata.c:1282:19: note: declared here 1282 | rd_list_t q_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_known_topics' at ../src/rdkafka_metadata.c:1399:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_known_topics': ../src/rdkafka_metadata.c:1376:19: note: declared here 1376 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_leader_query_tmr_cb' at ../src/rdkafka_metadata.c:1637:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_leader_query_tmr_cb': ../src/rdkafka_metadata.c:1584:19: note: declared here 1584 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:166:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 928 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:167:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 968 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:168:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1008 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:169:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1048 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:170:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1088 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:171:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1128 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:172:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1168 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:173:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1208 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:174:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1248 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:175:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1288 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:176:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1328 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:177:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1368 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:178:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1408 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:179:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1448 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:182:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1488 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_ssl_ctx_init' at ../src/rdkafka_ssl.c:1753:9, inlined from 'rd_kafka_new.constprop' at ../src/rdkafka.c:2426:21: ../src/rd.h:151:9: warning: 'free' called on pointer 'p_377' with nonzero offset 912 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_calloc', inlined from 'rd_kafka_new.constprop' at ../src/rdkafka.c:2210:14: ../src/rd.h:133:19: note: returned from 'calloc' 133 | void *p = calloc(num, sz); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignors_term' at ../src/rdkafka_assignor.c:658:9, inlined from 'rd_kafka_new.constprop' at ../src/rdkafka.c:2629:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'p_377' with nonzero offset 1976 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_calloc', inlined from 'rd_kafka_new.constprop' at ../src/rdkafka.c:2210:14: ../src/rd.h:133:19: note: returned from 'calloc' 133 | void *p = calloc(num, sz); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_sasl_oauthbearer_close' at ../src/rdkafka_sasl_oauthbearer.c:1043:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rktrans_8(D)->rktrans_sasl.state' with nonzero offset 32 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'create_jws_compact_serialization' at ../src/rdkafka_sasl_oauthbearer.c:863:9, inlined from 'rd_kafka_oauthbearer_unsecured_token0' at ../src/rdkafka_sasl_oauthbearer.c:942:37, inlined from 'rd_kafka_oauthbearer_unsecured_token' at ../src/rdkafka_sasl_oauthbearer.c:1017:13: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'scope' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sasl_oauthbearer.c: In function 'rd_kafka_oauthbearer_unsecured_token': ../src/rdkafka_sasl_oauthbearer.c:749:19: note: declared here 749 | rd_list_t scope; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_oauthbearer_unsecured_token0' at ../src/rdkafka_sasl_oauthbearer.c:968:9, inlined from 'rd_kafka_oauthbearer_unsecured_token' at ../src/rdkafka_sasl_oauthbearer.c:1017:13: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'parsed' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sasl_oauthbearer.c: In function 'rd_kafka_oauthbearer_unsecured_token': ../src/rdkafka_sasl_oauthbearer.c:884:54: note: declared here 884 | struct rd_kafka_sasl_oauthbearer_parsed_ujws parsed = RD_ZERO_INIT; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_sasl_oauthbearer_term' at ../src/rdkafka_sasl_oauthbearer.c:1364:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_15(D)->rk_sasl.handle' with nonzero offset 96 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_plugins_conf_set0' at ../src/rdkafka_plugin.c:150:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_25(D)' with nonzero offset 888 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_plugins_conf_set0' at ../src/rdkafka_plugin.c:187:25: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_25(D)' with nonzero offset 888 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_timeout_scan' at ../src/rdkafka_cgrp.c:4796:9, inlined from 'rd_kafka_cgrp_serve' at ../src/rdkafka_cgrp.c:5324:17: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'ofc_state' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_serve': ../src/rdkafka_cgrp.c:4779:42: note: declared here 4779 | struct _op_timeout_offset_commit ofc_state; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_all' at ../src/rdkafka_metadata.c:1526:9, inlined from 'rd_kafka_metadata_refresh_consumer_topics' at ../src/rdkafka_metadata.c:1441:24, inlined from 'rd_kafka_metadata_refresh_cb' at ../src/rdkafka.c:2018:23: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_cb': ../src/rdkafka_metadata.c:1508:19: note: declared here 1508 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_consumer_topics' at ../src/rdkafka_metadata.c:1465:9, inlined from 'rd_kafka_metadata_refresh_cb' at ../src/rdkafka.c:2018:23: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_cb': ../src/rdkafka_metadata.c:1422:19: note: declared here 1422 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_consumer_topics' at ../src/rdkafka_metadata.c:1465:9, inlined from 'rd_kafka_metadata_refresh_cb' at ../src/rdkafka.c:2018:23: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_cb': ../src/rdkafka_metadata.c:1422:19: note: declared here 1422 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_scan_all' at ../src/rdkafka_topic.c:1720:9, inlined from 'rd_kafka_1s_tmr_cb' at ../src/rdkafka.c:1986:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'query_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_topic.c: In function 'rd_kafka_1s_tmr_cb': ../src/rdkafka_topic.c:1586:19: note: declared here 1586 | rd_list_t query_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_destroy_final' at ../src/rdkafka_cgrp.c:370:9, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:942:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)->rk_cgrp' with nonzero offset 232 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignors_term' at ../src/rdkafka_assignor.c:658:9, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:945:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)' with nonzero offset 1976 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:962:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)' with nonzero offset 912 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:998:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)' with nonzero offset 32 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1232:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_81(D)' with nonzero offset 240 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1277:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'wait_thrds' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka.c: In function 'rd_kafka_destroy_internal': ../src/rdkafka.c:1138:19: note: declared here 1138 | rd_list_t wait_thrds; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_cache_destroy' at ../src/rdkafka_metadata_cache.c:615:9, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1296:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_81(D)' with nonzero offset 2800 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_avl_destroy' at ../src/rdavl.c:191:17, inlined from 'rd_kafka_metadata_cache_destroy' at ../src/rdkafka_metadata_cache.c:622:9, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1296:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_81(D)' with nonzero offset 2640 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'sortPartitions' at ../src/rdkafka_sticky_assignor.c:1788:9, inlined from 'rd_kafka_sticky_assignor_assign_cb' at ../src/rdkafka_sticky_assignor.c:1920:28: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'sortedConsumers' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sticky_assignor.c: In function 'rd_kafka_sticky_assignor_assign_cb': ../src/rdkafka_sticky_assignor.c:1619:19: note: declared here 1619 | rd_list_t sortedConsumers; /* element is the (rd_map_elem_t *) from | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_sticky_assignor_assign_cb' at ../src/rdkafka_sticky_assignor.c:2049:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'sortedCurrentSubscriptions' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sticky_assignor.c: In function 'rd_kafka_sticky_assignor_assign_cb': ../src/rdkafka_sticky_assignor.c:1890:19: note: declared here 1890 | rd_list_t sortedCurrentSubscriptions; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_aborted_txn_node_destroy' at ../src/rdkafka_msgset_reader.c:1524:9: ../src/rd.h:151:9: warning: 'free' called on pointer '_node_ptr_2(D)' with nonzero offset 48 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_aborted_txns_destroy' at ../src/rdkafka_msgset_reader.c:1549:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'aborted_txns_3(D)' with nonzero offset 80 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignor_run.constprop' at ../src/rdkafka_assignor.c:420:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'eligible_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_assignor.c: In function 'rd_kafka_assignor_run.constprop': ../src/rdkafka_assignor.c:329:19: note: declared here 329 | rd_list_t eligible_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_handle_JoinGroup' at ../src/rdkafka_cgrp.c:2066:17: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_handle_JoinGroup': ../src/rdkafka_cgrp.c:1973:27: note: declared here 1973 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_cache_hint_rktparlist' at ../src/rdkafka_metadata_cache.c:579:9, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2192:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata_cache.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_metadata_cache.c:568:19: note: declared here 568 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2213:25: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_cgrp.c:2186:19: note: declared here 2186 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2262:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_cgrp.c:2186:19: note: declared here 2186 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2262:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_cgrp.c:2186:19: note: declared here 2186 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_destroy_final' at ../src/rdkafka_topic.c:111:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rkt_30(D)' with nonzero offset 144 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:408:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_81(D)' with nonzero offset 904 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:431:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_81(D)' with nonzero offset 776 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:442:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_81(D)' with nonzero offset 120 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:443:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_81(D)' with nonzero offset 176 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_leader_query0' at ../src/rdkafka_topic.c:1968:9, inlined from 'rd_kafka_toppar_handle_OffsetForLeaderEpoch' at ../src/rdkafka_offset.c:991:25: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_topic.c: In function 'rd_kafka_toppar_handle_OffsetForLeaderEpoch': ../src/rdkafka_topic.c:1959:19: note: declared here 1959 | rd_list_t topics; | ^ make[1]: Entering directory '/builddir/build/BUILD/librdkafka-2.3.0/examples' gcc -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I../src rdkafka_complex_consumer_example.c -o rdkafka_complex_consumer_example -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -L/usr/lib64 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -L/usr/lib64 \ ../src/librdkafka.a -llz4 -lm -lzstd -lsasl2 -lssl -lcrypto -lz -ldl -lpthread -lrt -lpthread -lrt # rdkafka_complex_consumer_example is ready # ./rdkafka_complex_consumer_example .. # # More usage options: ./rdkafka_complex_consumer_example -h make[1]: Leaving directory '/builddir/build/BUILD/librdkafka-2.3.0/examples' In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignor_topic_destroy' at ../src/rdkafka_assignor.c:238:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'at_2(D)' with nonzero offset 16 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_group_member_clear' at ../src/rdkafka_assignor.c:49:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rkgm_19(D)' with nonzero offset 24 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_timeout_scan' at ../src/rdkafka_cgrp.c:4796:9, inlined from 'rd_kafka_cgrp_serve' at ../src/rdkafka_cgrp.c:5324:17: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'ofc_state' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_serve': ../src/rdkafka_cgrp.c:4779:42: note: declared here 4779 | struct _op_timeout_offset_commit ofc_state; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_mock_partition_destroy' at ../src/rdkafka_mock.c:556:9, inlined from 'rd_kafka_mock_topic_destroy' at ../src/rdkafka_mock.c:602:17, inlined from 'rd_kafka_mock_cluster_destroy0' at ../src/rdkafka_mock.c:2434:17, inlined from 'rd_kafka_mock_cluster_thread_main' at ../src/rdkafka_mock.c:1428:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'mtopic_402->partitions' with nonzero offset [152, 446676598520] [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_mock_cluster_destroy0' at ../src/rdkafka_mock.c:2445:9, inlined from 'rd_kafka_mock_cluster_thread_main' at ../src/rdkafka_mock.c:1428:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'arg_11(D)' with nonzero offset 128 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_topics' at ../src/rdkafka_metadata.c:1332:25: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'q_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_topics': ../src/rdkafka_metadata.c:1282:19: note: declared here 1282 | rd_list_t q_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_topics' at ../src/rdkafka_metadata.c:1350:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'q_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_topics': ../src/rdkafka_metadata.c:1282:19: note: declared here 1282 | rd_list_t q_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_known_topics' at ../src/rdkafka_metadata.c:1399:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_known_topics': ../src/rdkafka_metadata.c:1376:19: note: declared here 1376 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_leader_query_tmr_cb' at ../src/rdkafka_metadata.c:1637:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_leader_query_tmr_cb': ../src/rdkafka_metadata.c:1584:19: note: declared here 1584 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:166:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 928 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:167:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 968 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:168:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1008 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:169:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1048 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:170:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1088 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:171:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1128 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:172:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1168 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:173:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1208 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:174:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1248 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:175:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1288 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:176:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1328 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:177:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1368 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:178:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1408 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:179:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1448 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:182:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1488 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_ssl_ctx_init' at ../src/rdkafka_ssl.c:1753:9, inlined from 'rd_kafka_new.constprop' at ../src/rdkafka.c:2426:21: ../src/rd.h:151:9: warning: 'free' called on pointer 'p_504' with nonzero offset 912 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_calloc', inlined from 'rd_kafka_new.constprop' at ../src/rdkafka.c:2210:14: ../src/rd.h:133:19: note: returned from 'calloc' 133 | void *p = calloc(num, sz); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignors_term' at ../src/rdkafka_assignor.c:658:9, inlined from 'rd_kafka_new.constprop' at ../src/rdkafka.c:2629:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'p_504' with nonzero offset 1976 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_calloc', inlined from 'rd_kafka_new.constprop' at ../src/rdkafka.c:2210:14: ../src/rd.h:133:19: note: returned from 'calloc' 133 | void *p = calloc(num, sz); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:408:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_81(D)' with nonzero offset 904 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:431:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_81(D)' with nonzero offset 776 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:442:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_81(D)' with nonzero offset 120 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:443:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_81(D)' with nonzero offset 176 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'sortPartitions' at ../src/rdkafka_sticky_assignor.c:1788:9, inlined from 'rd_kafka_sticky_assignor_assign_cb' at ../src/rdkafka_sticky_assignor.c:1920:28: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'sortedConsumers' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sticky_assignor.c: In function 'rd_kafka_sticky_assignor_assign_cb': ../src/rdkafka_sticky_assignor.c:1619:19: note: declared here 1619 | rd_list_t sortedConsumers; /* element is the (rd_map_elem_t *) from | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_sticky_assignor_assign_cb' at ../src/rdkafka_sticky_assignor.c:2049:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'sortedCurrentSubscriptions' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sticky_assignor.c: In function 'rd_kafka_sticky_assignor_assign_cb': ../src/rdkafka_sticky_assignor.c:1890:19: note: declared here 1890 | rd_list_t sortedCurrentSubscriptions; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_sasl_oauthbearer_close' at ../src/rdkafka_sasl_oauthbearer.c:1043:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rktrans_8(D)->rktrans_sasl.state' with nonzero offset 32 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'create_jws_compact_serialization' at ../src/rdkafka_sasl_oauthbearer.c:863:9, inlined from 'rd_kafka_oauthbearer_unsecured_token0' at ../src/rdkafka_sasl_oauthbearer.c:942:37, inlined from 'rd_kafka_oauthbearer_unsecured_token' at ../src/rdkafka_sasl_oauthbearer.c:1017:13: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'scope' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sasl_oauthbearer.c: In function 'rd_kafka_oauthbearer_unsecured_token': ../src/rdkafka_sasl_oauthbearer.c:749:19: note: declared here 749 | rd_list_t scope; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_oauthbearer_unsecured_token0' at ../src/rdkafka_sasl_oauthbearer.c:968:9, inlined from 'rd_kafka_oauthbearer_unsecured_token' at ../src/rdkafka_sasl_oauthbearer.c:1017:13: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'parsed' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sasl_oauthbearer.c: In function 'rd_kafka_oauthbearer_unsecured_token': ../src/rdkafka_sasl_oauthbearer.c:884:54: note: declared here 884 | struct rd_kafka_sasl_oauthbearer_parsed_ujws parsed = RD_ZERO_INIT; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_cache_hint_rktparlist' at ../src/rdkafka_metadata_cache.c:579:9, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2192:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata_cache.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_metadata_cache.c:568:19: note: declared here 568 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2213:25: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_cgrp.c:2186:19: note: declared here 2186 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2262:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_cgrp.c:2186:19: note: declared here 2186 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2262:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_cgrp.c:2186:19: note: declared here 2186 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_handle_JoinGroup' at ../src/rdkafka_cgrp.c:2066:17: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_handle_JoinGroup': ../src/rdkafka_cgrp.c:1973:27: note: declared here 1973 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_destroy_final' at ../src/rdkafka_topic.c:111:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rkt_30(D)' with nonzero offset 144 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_leader_query0' at ../src/rdkafka_topic.c:1968:9, inlined from 'rd_kafka_toppar_handle_OffsetForLeaderEpoch' at ../src/rdkafka_offset.c:991:25: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_topic.c: In function 'rd_kafka_toppar_handle_OffsetForLeaderEpoch': ../src/rdkafka_topic.c:1959:19: note: declared here 1959 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_all' at ../src/rdkafka_metadata.c:1526:9, inlined from 'rd_kafka_metadata_refresh_consumer_topics' at ../src/rdkafka_metadata.c:1441:24, inlined from 'rd_kafka_metadata_refresh_cb' at ../src/rdkafka.c:2018:23: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_cb': ../src/rdkafka_metadata.c:1508:19: note: declared here 1508 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_consumer_topics' at ../src/rdkafka_metadata.c:1465:9, inlined from 'rd_kafka_metadata_refresh_cb' at ../src/rdkafka.c:2018:23: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_cb': ../src/rdkafka_metadata.c:1422:19: note: declared here 1422 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_consumer_topics' at ../src/rdkafka_metadata.c:1465:9, inlined from 'rd_kafka_metadata_refresh_cb' at ../src/rdkafka.c:2018:23: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_cb': ../src/rdkafka_metadata.c:1422:19: note: declared here 1422 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_scan_all' at ../src/rdkafka_topic.c:1720:9, inlined from 'rd_kafka_1s_tmr_cb' at ../src/rdkafka.c:1986:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'query_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_topic.c: In function 'rd_kafka_1s_tmr_cb': ../src/rdkafka_topic.c:1586:19: note: declared here 1586 | rd_list_t query_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_destroy_final' at ../src/rdkafka_cgrp.c:370:9, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:942:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)->rk_cgrp' with nonzero offset 232 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignors_term' at ../src/rdkafka_assignor.c:658:9, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:945:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)' with nonzero offset 1976 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:962:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)' with nonzero offset 912 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:998:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)' with nonzero offset 32 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1232:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_81(D)' with nonzero offset 240 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1277:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'wait_thrds' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka.c: In function 'rd_kafka_destroy_internal': ../src/rdkafka.c:1138:19: note: declared here 1138 | rd_list_t wait_thrds; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_cache_destroy' at ../src/rdkafka_metadata_cache.c:615:9, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1296:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_81(D)' with nonzero offset 2800 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_avl_destroy' at ../src/rdavl.c:191:17, inlined from 'rd_kafka_metadata_cache_destroy' at ../src/rdkafka_metadata_cache.c:622:9, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1296:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_81(D)' with nonzero offset 2640 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_aborted_txn_node_destroy' at ../src/rdkafka_msgset_reader.c:1524:9: ../src/rd.h:151:9: warning: 'free' called on pointer '_node_ptr_2(D)' with nonzero offset 48 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_aborted_txns_destroy' at ../src/rdkafka_msgset_reader.c:1549:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'aborted_txns_3(D)' with nonzero offset 80 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignor_run.constprop' at ../src/rdkafka_assignor.c:420:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'eligible_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_assignor.c: In function 'rd_kafka_assignor_run.constprop': ../src/rdkafka_assignor.c:329:19: note: declared here 329 | rd_list_t eligible_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_sasl_oauthbearer_term' at ../src/rdkafka_sasl_oauthbearer.c:1364:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_15(D)->rk_sasl.handle' with nonzero offset 96 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_plugins_conf_set0' at ../src/rdkafka_plugin.c:150:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_25(D)' with nonzero offset 888 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_plugins_conf_set0' at ../src/rdkafka_plugin.c:187:25: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_25(D)' with nonzero offset 888 [-Wfree-nonheap-object] 151 | free(ptr); | ^ make[1]: Entering directory '/builddir/build/BUILD/librdkafka-2.3.0/examples' gcc -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I../src consumer.c -o consumer -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -L/usr/lib64 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -L/usr/lib64 \ ../src/librdkafka.a -llz4 -lm -lzstd -lsasl2 -lssl -lcrypto -lz -ldl -lpthread -lrt -lpthread -lrt make[1]: Leaving directory '/builddir/build/BUILD/librdkafka-2.3.0/examples' In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_all' at ../src/rdkafka_metadata.c:1526:9, inlined from 'rd_kafka_metadata_refresh_consumer_topics' at ../src/rdkafka_metadata.c:1441:24, inlined from 'rd_kafka_metadata_refresh_cb' at ../src/rdkafka.c:2018:23: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_cb': ../src/rdkafka_metadata.c:1508:19: note: declared here 1508 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_consumer_topics' at ../src/rdkafka_metadata.c:1465:9, inlined from 'rd_kafka_metadata_refresh_cb' at ../src/rdkafka.c:2018:23: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_cb': ../src/rdkafka_metadata.c:1422:19: note: declared here 1422 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_consumer_topics' at ../src/rdkafka_metadata.c:1465:9, inlined from 'rd_kafka_metadata_refresh_cb' at ../src/rdkafka.c:2018:23: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_cb': ../src/rdkafka_metadata.c:1422:19: note: declared here 1422 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_scan_all' at ../src/rdkafka_topic.c:1720:9, inlined from 'rd_kafka_1s_tmr_cb' at ../src/rdkafka.c:1986:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'query_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_topic.c: In function 'rd_kafka_1s_tmr_cb': ../src/rdkafka_topic.c:1586:19: note: declared here 1586 | rd_list_t query_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_destroy_final' at ../src/rdkafka_cgrp.c:370:9, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:942:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)->rk_cgrp' with nonzero offset 232 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignors_term' at ../src/rdkafka_assignor.c:658:9, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:945:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)' with nonzero offset 1976 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:962:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)' with nonzero offset 912 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:998:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)' with nonzero offset 32 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1232:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_81(D)' with nonzero offset 240 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1277:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'wait_thrds' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka.c: In function 'rd_kafka_destroy_internal': ../src/rdkafka.c:1138:19: note: declared here 1138 | rd_list_t wait_thrds; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_cache_destroy' at ../src/rdkafka_metadata_cache.c:615:9, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1296:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_81(D)' with nonzero offset 2800 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_avl_destroy' at ../src/rdavl.c:191:17, inlined from 'rd_kafka_metadata_cache_destroy' at ../src/rdkafka_metadata_cache.c:622:9, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1296:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_81(D)' with nonzero offset 2640 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignor_topic_destroy' at ../src/rdkafka_assignor.c:238:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'at_2(D)' with nonzero offset 16 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_group_member_clear' at ../src/rdkafka_assignor.c:49:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rkgm_19(D)' with nonzero offset 24 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_timeout_scan' at ../src/rdkafka_cgrp.c:4796:9, inlined from 'rd_kafka_cgrp_serve' at ../src/rdkafka_cgrp.c:5324:17: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'ofc_state' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_serve': ../src/rdkafka_cgrp.c:4779:42: note: declared here 4779 | struct _op_timeout_offset_commit ofc_state; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_destroy_final' at ../src/rdkafka_topic.c:111:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rkt_30(D)' with nonzero offset 144 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_mock_partition_destroy' at ../src/rdkafka_mock.c:556:9, inlined from 'rd_kafka_mock_topic_destroy' at ../src/rdkafka_mock.c:602:17, inlined from 'rd_kafka_mock_cluster_destroy0' at ../src/rdkafka_mock.c:2434:17, inlined from 'rd_kafka_mock_cluster_thread_main' at ../src/rdkafka_mock.c:1428:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'mtopic_402->partitions' with nonzero offset [152, 446676598520] [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_mock_cluster_destroy0' at ../src/rdkafka_mock.c:2445:9, inlined from 'rd_kafka_mock_cluster_thread_main' at ../src/rdkafka_mock.c:1428:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'arg_11(D)' with nonzero offset 128 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_topics' at ../src/rdkafka_metadata.c:1332:25: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'q_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_topics': ../src/rdkafka_metadata.c:1282:19: note: declared here 1282 | rd_list_t q_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_topics' at ../src/rdkafka_metadata.c:1350:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'q_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_topics': ../src/rdkafka_metadata.c:1282:19: note: declared here 1282 | rd_list_t q_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_known_topics' at ../src/rdkafka_metadata.c:1399:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_known_topics': ../src/rdkafka_metadata.c:1376:19: note: declared here 1376 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_leader_query_tmr_cb' at ../src/rdkafka_metadata.c:1637:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_leader_query_tmr_cb': ../src/rdkafka_metadata.c:1584:19: note: declared here 1584 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:166:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 928 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:167:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 968 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:168:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1008 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:169:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1048 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:170:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1088 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:171:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1128 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:172:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1168 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:173:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1208 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:174:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1248 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:175:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1288 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:176:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1328 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:177:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1368 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:178:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1408 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:179:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1448 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:182:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1488 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'sortPartitions' at ../src/rdkafka_sticky_assignor.c:1788:9, inlined from 'rd_kafka_sticky_assignor_assign_cb' at ../src/rdkafka_sticky_assignor.c:1920:28: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'sortedConsumers' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sticky_assignor.c: In function 'rd_kafka_sticky_assignor_assign_cb': ../src/rdkafka_sticky_assignor.c:1619:19: note: declared here 1619 | rd_list_t sortedConsumers; /* element is the (rd_map_elem_t *) from | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_sticky_assignor_assign_cb' at ../src/rdkafka_sticky_assignor.c:2049:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'sortedCurrentSubscriptions' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sticky_assignor.c: In function 'rd_kafka_sticky_assignor_assign_cb': ../src/rdkafka_sticky_assignor.c:1890:19: note: declared here 1890 | rd_list_t sortedCurrentSubscriptions; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:408:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_81(D)' with nonzero offset 904 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:431:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_81(D)' with nonzero offset 776 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:442:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_81(D)' with nonzero offset 120 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:443:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_81(D)' with nonzero offset 176 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_sasl_oauthbearer_close' at ../src/rdkafka_sasl_oauthbearer.c:1043:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rktrans_8(D)->rktrans_sasl.state' with nonzero offset 32 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'create_jws_compact_serialization' at ../src/rdkafka_sasl_oauthbearer.c:863:9, inlined from 'rd_kafka_oauthbearer_unsecured_token0' at ../src/rdkafka_sasl_oauthbearer.c:942:37, inlined from 'rd_kafka_oauthbearer_unsecured_token' at ../src/rdkafka_sasl_oauthbearer.c:1017:13: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'scope' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sasl_oauthbearer.c: In function 'rd_kafka_oauthbearer_unsecured_token': ../src/rdkafka_sasl_oauthbearer.c:749:19: note: declared here 749 | rd_list_t scope; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_oauthbearer_unsecured_token0' at ../src/rdkafka_sasl_oauthbearer.c:968:9, inlined from 'rd_kafka_oauthbearer_unsecured_token' at ../src/rdkafka_sasl_oauthbearer.c:1017:13: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'parsed' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sasl_oauthbearer.c: In function 'rd_kafka_oauthbearer_unsecured_token': ../src/rdkafka_sasl_oauthbearer.c:884:54: note: declared here 884 | struct rd_kafka_sasl_oauthbearer_parsed_ujws parsed = RD_ZERO_INIT; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_cache_hint_rktparlist' at ../src/rdkafka_metadata_cache.c:579:9, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2192:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata_cache.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_metadata_cache.c:568:19: note: declared here 568 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2213:25: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_cgrp.c:2186:19: note: declared here 2186 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2262:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_cgrp.c:2186:19: note: declared here 2186 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2262:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_cgrp.c:2186:19: note: declared here 2186 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_handle_JoinGroup' at ../src/rdkafka_cgrp.c:2066:17: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_handle_JoinGroup': ../src/rdkafka_cgrp.c:1973:27: note: declared here 1973 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_ssl_ctx_init' at ../src/rdkafka_ssl.c:1753:9, inlined from 'rd_kafka_new.constprop' at ../src/rdkafka.c:2426:21: ../src/rd.h:151:9: warning: 'free' called on pointer 'p_504' with nonzero offset 912 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_calloc', inlined from 'rd_kafka_new.constprop' at ../src/rdkafka.c:2210:14: ../src/rd.h:133:19: note: returned from 'calloc' 133 | void *p = calloc(num, sz); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignors_term' at ../src/rdkafka_assignor.c:658:9, inlined from 'rd_kafka_new.constprop' at ../src/rdkafka.c:2629:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'p_504' with nonzero offset 1976 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_calloc', inlined from 'rd_kafka_new.constprop' at ../src/rdkafka.c:2210:14: ../src/rd.h:133:19: note: returned from 'calloc' 133 | void *p = calloc(num, sz); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_leader_query0' at ../src/rdkafka_topic.c:1968:9, inlined from 'rd_kafka_toppar_handle_OffsetForLeaderEpoch' at ../src/rdkafka_offset.c:991:25: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_topic.c: In function 'rd_kafka_toppar_handle_OffsetForLeaderEpoch': ../src/rdkafka_topic.c:1959:19: note: declared here 1959 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_aborted_txn_node_destroy' at ../src/rdkafka_msgset_reader.c:1524:9: ../src/rd.h:151:9: warning: 'free' called on pointer '_node_ptr_2(D)' with nonzero offset 48 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_aborted_txns_destroy' at ../src/rdkafka_msgset_reader.c:1549:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'aborted_txns_3(D)' with nonzero offset 80 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignor_run.constprop' at ../src/rdkafka_assignor.c:420:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'eligible_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_assignor.c: In function 'rd_kafka_assignor_run.constprop': ../src/rdkafka_assignor.c:329:19: note: declared here 329 | rd_list_t eligible_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_sasl_oauthbearer_term' at ../src/rdkafka_sasl_oauthbearer.c:1364:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_15(D)->rk_sasl.handle' with nonzero offset 96 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_plugins_conf_set0' at ../src/rdkafka_plugin.c:150:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_25(D)' with nonzero offset 888 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_plugins_conf_set0' at ../src/rdkafka_plugin.c:187:25: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_25(D)' with nonzero offset 888 [-Wfree-nonheap-object] 151 | free(ptr); | ^ make[1]: Entering directory '/builddir/build/BUILD/librdkafka-2.3.0/examples' gcc -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I../src rdkafka_performance.c -o rdkafka_performance -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -L/usr/lib64 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -L/usr/lib64 \ ../src/librdkafka.a -llz4 -lm -lzstd -lsasl2 -lssl -lcrypto -lz -ldl -lpthread -lrt -lpthread -lrt # rdkafka_performance is ready # # Run producer ./rdkafka_performance -P -t -p -s # or consumer ./rdkafka_performance -C -t -p # # More usage options: ./rdkafka_performance -h make[1]: Leaving directory '/builddir/build/BUILD/librdkafka-2.3.0/examples' In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignor_topic_destroy' at ../src/rdkafka_assignor.c:238:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'at_2(D)' with nonzero offset 16 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_group_member_clear' at ../src/rdkafka_assignor.c:49:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rkgm_19(D)' with nonzero offset 24 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_timeout_scan' at ../src/rdkafka_cgrp.c:4796:9, inlined from 'rd_kafka_cgrp_serve' at ../src/rdkafka_cgrp.c:5324:17: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'ofc_state' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_serve': ../src/rdkafka_cgrp.c:4779:42: note: declared here 4779 | struct _op_timeout_offset_commit ofc_state; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_mock_partition_destroy' at ../src/rdkafka_mock.c:556:9, inlined from 'rd_kafka_mock_topic_destroy' at ../src/rdkafka_mock.c:602:17, inlined from 'rd_kafka_mock_cluster_destroy0' at ../src/rdkafka_mock.c:2434:17, inlined from 'rd_kafka_mock_cluster_thread_main' at ../src/rdkafka_mock.c:1428:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'mtopic_402->partitions' with nonzero offset [152, 446676598520] [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_mock_cluster_destroy0' at ../src/rdkafka_mock.c:2445:9, inlined from 'rd_kafka_mock_cluster_thread_main' at ../src/rdkafka_mock.c:1428:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'arg_11(D)' with nonzero offset 128 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_scan_all' at ../src/rdkafka_topic.c:1720:9, inlined from 'rd_kafka_1s_tmr_cb' at ../src/rdkafka.c:1986:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'query_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_topic.c: In function 'rd_kafka_1s_tmr_cb': ../src/rdkafka_topic.c:1586:19: note: declared here 1586 | rd_list_t query_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_destroy_final' at ../src/rdkafka_cgrp.c:370:9, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:942:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)->rk_cgrp' with nonzero offset 232 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignors_term' at ../src/rdkafka_assignor.c:658:9, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:945:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)' with nonzero offset 1976 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:962:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)' with nonzero offset 912 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:998:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)' with nonzero offset 32 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1232:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_81(D)' with nonzero offset 240 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1277:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'wait_thrds' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka.c: In function 'rd_kafka_destroy_internal': ../src/rdkafka.c:1138:19: note: declared here 1138 | rd_list_t wait_thrds; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_cache_destroy' at ../src/rdkafka_metadata_cache.c:615:9, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1296:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_81(D)' with nonzero offset 2800 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_avl_destroy' at ../src/rdavl.c:191:17, inlined from 'rd_kafka_metadata_cache_destroy' at ../src/rdkafka_metadata_cache.c:622:9, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1296:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_81(D)' with nonzero offset 2640 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_leader_query0.constprop' at ../src/rdkafka_topic.c:1968:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_topic.c: In function 'rd_kafka_topic_leader_query0.constprop': ../src/rdkafka_topic.c:1959:19: note: declared here 1959 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_all' at ../src/rdkafka_metadata.c:1526:9, inlined from 'rd_kafka_metadata_refresh_consumer_topics' at ../src/rdkafka_metadata.c:1441:24, inlined from 'rd_kafka_metadata_refresh_cb' at ../src/rdkafka.c:2018:23: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_cb': ../src/rdkafka_metadata.c:1508:19: note: declared here 1508 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_consumer_topics' at ../src/rdkafka_metadata.c:1465:9, inlined from 'rd_kafka_metadata_refresh_cb' at ../src/rdkafka.c:2018:23: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_cb': ../src/rdkafka_metadata.c:1422:19: note: declared here 1422 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_consumer_topics' at ../src/rdkafka_metadata.c:1465:9, inlined from 'rd_kafka_metadata_refresh_cb' at ../src/rdkafka.c:2018:23: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_cb': ../src/rdkafka_metadata.c:1422:19: note: declared here 1422 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_ssl_ctx_init' at ../src/rdkafka_ssl.c:1753:9, inlined from 'rd_kafka_new' at ../src/rdkafka.c:2426:21: ../src/rd.h:151:9: warning: 'free' called on pointer 'p_554' with nonzero offset 912 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_calloc', inlined from 'rd_kafka_new' at ../src/rdkafka.c:2210:14: ../src/rd.h:133:19: note: returned from 'calloc' 133 | void *p = calloc(num, sz); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignors_term' at ../src/rdkafka_assignor.c:658:9, inlined from 'rd_kafka_new' at ../src/rdkafka.c:2629:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'p_554' with nonzero offset 1976 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_calloc', inlined from 'rd_kafka_new' at ../src/rdkafka.c:2210:14: ../src/rd.h:133:19: note: returned from 'calloc' 133 | void *p = calloc(num, sz); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'sortPartitions' at ../src/rdkafka_sticky_assignor.c:1788:9, inlined from 'rd_kafka_sticky_assignor_assign_cb' at ../src/rdkafka_sticky_assignor.c:1920:28: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'sortedConsumers' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sticky_assignor.c: In function 'rd_kafka_sticky_assignor_assign_cb': ../src/rdkafka_sticky_assignor.c:1619:19: note: declared here 1619 | rd_list_t sortedConsumers; /* element is the (rd_map_elem_t *) from | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_sticky_assignor_assign_cb' at ../src/rdkafka_sticky_assignor.c:2049:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'sortedCurrentSubscriptions' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sticky_assignor.c: In function 'rd_kafka_sticky_assignor_assign_cb': ../src/rdkafka_sticky_assignor.c:1890:19: note: declared here 1890 | rd_list_t sortedCurrentSubscriptions; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_sasl_oauthbearer_close' at ../src/rdkafka_sasl_oauthbearer.c:1043:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rktrans_8(D)->rktrans_sasl.state' with nonzero offset 32 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'create_jws_compact_serialization' at ../src/rdkafka_sasl_oauthbearer.c:863:9, inlined from 'rd_kafka_oauthbearer_unsecured_token0' at ../src/rdkafka_sasl_oauthbearer.c:942:37, inlined from 'rd_kafka_oauthbearer_unsecured_token' at ../src/rdkafka_sasl_oauthbearer.c:1017:13: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'scope' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sasl_oauthbearer.c: In function 'rd_kafka_oauthbearer_unsecured_token': ../src/rdkafka_sasl_oauthbearer.c:749:19: note: declared here 749 | rd_list_t scope; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_oauthbearer_unsecured_token0' at ../src/rdkafka_sasl_oauthbearer.c:968:9, inlined from 'rd_kafka_oauthbearer_unsecured_token' at ../src/rdkafka_sasl_oauthbearer.c:1017:13: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'parsed' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sasl_oauthbearer.c: In function 'rd_kafka_oauthbearer_unsecured_token': ../src/rdkafka_sasl_oauthbearer.c:884:54: note: declared here 884 | struct rd_kafka_sasl_oauthbearer_parsed_ujws parsed = RD_ZERO_INIT; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_cache_hint_rktparlist' at ../src/rdkafka_metadata_cache.c:579:9, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2192:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata_cache.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_metadata_cache.c:568:19: note: declared here 568 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2213:25: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_cgrp.c:2186:19: note: declared here 2186 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2262:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_cgrp.c:2186:19: note: declared here 2186 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2262:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_cgrp.c:2186:19: note: declared here 2186 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_handle_JoinGroup' at ../src/rdkafka_cgrp.c:2066:17: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_handle_JoinGroup': ../src/rdkafka_cgrp.c:1973:27: note: declared here 1973 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_destroy_final' at ../src/rdkafka_topic.c:111:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rkt_30(D)' with nonzero offset 144 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:408:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_81(D)' with nonzero offset 904 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:431:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_81(D)' with nonzero offset 776 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:442:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_81(D)' with nonzero offset 120 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:443:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_81(D)' with nonzero offset 176 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_aborted_txn_node_destroy' at ../src/rdkafka_msgset_reader.c:1524:9: ../src/rd.h:151:9: warning: 'free' called on pointer '_node_ptr_2(D)' with nonzero offset 48 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_aborted_txns_destroy' at ../src/rdkafka_msgset_reader.c:1549:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'aborted_txns_3(D)' with nonzero offset 80 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignor_run.constprop' at ../src/rdkafka_assignor.c:420:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'eligible_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_assignor.c: In function 'rd_kafka_assignor_run.constprop': ../src/rdkafka_assignor.c:329:19: note: declared here 329 | rd_list_t eligible_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_sasl_oauthbearer_term' at ../src/rdkafka_sasl_oauthbearer.c:1364:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_15(D)->rk_sasl.handle' with nonzero offset 96 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_plugins_conf_set0' at ../src/rdkafka_plugin.c:150:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_25(D)' with nonzero offset 888 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_plugins_conf_set0' at ../src/rdkafka_plugin.c:187:25: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_25(D)' with nonzero offset 888 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_topics' at ../src/rdkafka_metadata.c:1332:25: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'q_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_topics': ../src/rdkafka_metadata.c:1282:19: note: declared here 1282 | rd_list_t q_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_topics' at ../src/rdkafka_metadata.c:1350:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'q_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_topics': ../src/rdkafka_metadata.c:1282:19: note: declared here 1282 | rd_list_t q_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_known_topics' at ../src/rdkafka_metadata.c:1399:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_known_topics': ../src/rdkafka_metadata.c:1376:19: note: declared here 1376 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_leader_query_tmr_cb' at ../src/rdkafka_metadata.c:1637:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_leader_query_tmr_cb': ../src/rdkafka_metadata.c:1584:19: note: declared here 1584 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:166:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 928 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:167:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 968 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:168:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1008 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:169:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1048 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:170:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1088 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:171:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1128 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:172:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1168 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:173:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1208 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:174:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1248 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:175:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1288 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:176:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1328 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:177:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1368 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:178:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1408 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:179:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1448 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:182:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1488 [-Wfree-nonheap-object] 151 | free(ptr); | ^ make[1]: Entering directory '/builddir/build/BUILD/librdkafka-2.3.0/examples' g++ -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-non-virtual-dtor -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-non-virtual-dtor -I../src-cpp rdkafka_example.cpp -o rdkafka_example_cpp -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -L/usr/lib64 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -L/usr/lib64 \ ../src-cpp/librdkafka++.a ../src/librdkafka.a -llz4 -lm -lzstd -lsasl2 -lssl -lcrypto -lz -ldl -lpthread -lrt -lpthread -lrt make[1]: Leaving directory '/builddir/build/BUILD/librdkafka-2.3.0/examples' In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_mock_partition_destroy' at ../src/rdkafka_mock.c:556:9, inlined from 'rd_kafka_mock_topic_destroy' at ../src/rdkafka_mock.c:602:17, inlined from 'rd_kafka_mock_cluster_destroy0' at ../src/rdkafka_mock.c:2434:17, inlined from 'rd_kafka_mock_cluster_thread_main' at ../src/rdkafka_mock.c:1428:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'mtopic_402->partitions' with nonzero offset [152, 446676598520] [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_mock_cluster_destroy0' at ../src/rdkafka_mock.c:2445:9, inlined from 'rd_kafka_mock_cluster_thread_main' at ../src/rdkafka_mock.c:1428:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'arg_11(D)' with nonzero offset 128 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata' at ../src/rdkafka_metadata.c:139:9, inlined from 'metadata' at ../src-cpp/HandleImpl.cpp:195:24: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In member function 'metadata': ../src/rdkafka_metadata.c:96:19: note: declared here 96 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_scan_all' at ../src/rdkafka_topic.c:1720:9, inlined from 'rd_kafka_1s_tmr_cb' at ../src/rdkafka.c:1986:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'query_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_topic.c: In function 'rd_kafka_1s_tmr_cb': ../src/rdkafka_topic.c:1586:19: note: declared here 1586 | rd_list_t query_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_destroy_final' at ../src/rdkafka_cgrp.c:370:9, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:942:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)->rk_cgrp' with nonzero offset 232 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignors_term' at ../src/rdkafka_assignor.c:658:9, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:945:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)' with nonzero offset 1976 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:962:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)' with nonzero offset 912 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:998:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)' with nonzero offset 32 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1232:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_81(D)' with nonzero offset 240 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1277:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'wait_thrds' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka.c: In function 'rd_kafka_destroy_internal': ../src/rdkafka.c:1138:19: note: declared here 1138 | rd_list_t wait_thrds; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_cache_destroy' at ../src/rdkafka_metadata_cache.c:615:9, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1296:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_81(D)' with nonzero offset 2800 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_avl_destroy' at ../src/rdavl.c:191:17, inlined from 'rd_kafka_metadata_cache_destroy' at ../src/rdkafka_metadata_cache.c:622:9, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1296:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_81(D)' with nonzero offset 2640 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_topics' at ../src/rdkafka_metadata.c:1332:25: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'q_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_topics': ../src/rdkafka_metadata.c:1282:19: note: declared here 1282 | rd_list_t q_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_topics' at ../src/rdkafka_metadata.c:1350:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'q_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_topics': ../src/rdkafka_metadata.c:1282:19: note: declared here 1282 | rd_list_t q_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_known_topics' at ../src/rdkafka_metadata.c:1399:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_known_topics': ../src/rdkafka_metadata.c:1376:19: note: declared here 1376 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_leader_query_tmr_cb' at ../src/rdkafka_metadata.c:1637:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_leader_query_tmr_cb': ../src/rdkafka_metadata.c:1584:19: note: declared here 1584 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:166:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 928 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:167:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 968 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:168:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1008 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:169:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1048 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:170:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1088 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:171:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1128 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:172:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1168 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:173:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1208 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:174:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1248 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:175:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1288 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:176:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1328 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:177:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1368 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:178:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1408 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:179:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1448 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:182:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1488 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:408:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_81(D)' with nonzero offset 904 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:431:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_81(D)' with nonzero offset 776 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:442:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_81(D)' with nonzero offset 120 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:443:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_81(D)' with nonzero offset 176 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_partition_list_query_leaders' at ../src/rdkafka_partition.c:3759:25: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'query_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_partition.c: In function 'rd_kafka_topic_partition_list_query_leaders': ../src/rdkafka_partition.c:3745:27: note: declared here 3745 | rd_list_t query_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_partition_list_query_leaders' at ../src/rdkafka_partition.c:3797:17: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'query_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_partition.c: In function 'rd_kafka_topic_partition_list_query_leaders': ../src/rdkafka_partition.c:3745:27: note: declared here 3745 | rd_list_t query_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_timeout_scan' at ../src/rdkafka_cgrp.c:4796:9, inlined from 'rd_kafka_cgrp_serve' at ../src/rdkafka_cgrp.c:5324:17: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'ofc_state' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_serve': ../src/rdkafka_cgrp.c:4779:42: note: declared here 4779 | struct _op_timeout_offset_commit ofc_state; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'sortPartitions' at ../src/rdkafka_sticky_assignor.c:1788:9, inlined from 'rd_kafka_sticky_assignor_assign_cb' at ../src/rdkafka_sticky_assignor.c:1920:28: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'sortedConsumers' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sticky_assignor.c: In function 'rd_kafka_sticky_assignor_assign_cb': ../src/rdkafka_sticky_assignor.c:1619:19: note: declared here 1619 | rd_list_t sortedConsumers; /* element is the (rd_map_elem_t *) from | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_sticky_assignor_assign_cb' at ../src/rdkafka_sticky_assignor.c:2049:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'sortedCurrentSubscriptions' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sticky_assignor.c: In function 'rd_kafka_sticky_assignor_assign_cb': ../src/rdkafka_sticky_assignor.c:1890:19: note: declared here 1890 | rd_list_t sortedCurrentSubscriptions; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_destroy_final' at ../src/rdkafka_topic.c:111:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rkt_30(D)' with nonzero offset 144 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_all' at ../src/rdkafka_metadata.c:1526:9, inlined from 'rd_kafka_metadata_refresh_consumer_topics' at ../src/rdkafka_metadata.c:1441:24, inlined from 'rd_kafka_metadata_refresh_cb' at ../src/rdkafka.c:2018:23: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_cb': ../src/rdkafka_metadata.c:1508:19: note: declared here 1508 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_consumer_topics' at ../src/rdkafka_metadata.c:1465:9, inlined from 'rd_kafka_metadata_refresh_cb' at ../src/rdkafka.c:2018:23: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_cb': ../src/rdkafka_metadata.c:1422:19: note: declared here 1422 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_consumer_topics' at ../src/rdkafka_metadata.c:1465:9, inlined from 'rd_kafka_metadata_refresh_cb' at ../src/rdkafka.c:2018:23: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_cb': ../src/rdkafka_metadata.c:1422:19: note: declared here 1422 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_ssl_ctx_init' at ../src/rdkafka_ssl.c:1753:9, inlined from 'rd_kafka_new' at ../src/rdkafka.c:2426:21: ../src/rd.h:151:9: warning: 'free' called on pointer 'p_554' with nonzero offset 912 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_calloc', inlined from 'rd_kafka_new' at ../src/rdkafka.c:2210:14: ../src/rd.h:133:19: note: returned from 'calloc' 133 | void *p = calloc(num, sz); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignors_term' at ../src/rdkafka_assignor.c:658:9, inlined from 'rd_kafka_new' at ../src/rdkafka.c:2629:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'p_554' with nonzero offset 1976 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_calloc', inlined from 'rd_kafka_new' at ../src/rdkafka.c:2210:14: ../src/rd.h:133:19: note: returned from 'calloc' 133 | void *p = calloc(num, sz); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_query_watermark_offsets' at ../src/rdkafka.c:3571:17: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'leaders' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka.c: In function 'rd_kafka_query_watermark_offsets': ../src/rdkafka.c:3558:19: note: declared here 3558 | rd_list_t leaders; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_query_watermark_offsets' at ../src/rdkafka.c:3602:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'leaders' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka.c: In function 'rd_kafka_query_watermark_offsets': ../src/rdkafka.c:3558:19: note: declared here 3558 | rd_list_t leaders; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_offsets_for_times' at ../src/rdkafka.c:3734:17: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'leaders' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka.c: In function 'rd_kafka_offsets_for_times': ../src/rdkafka.c:3719:19: note: declared here 3719 | rd_list_t leaders; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_offsets_for_times' at ../src/rdkafka.c:3752:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'leaders' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka.c: In function 'rd_kafka_offsets_for_times': ../src/rdkafka.c:3719:19: note: declared here 3719 | rd_list_t leaders; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignor_topic_destroy' at ../src/rdkafka_assignor.c:238:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'at_2(D)' with nonzero offset 16 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_group_member_clear' at ../src/rdkafka_assignor.c:49:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rkgm_19(D)' with nonzero offset 24 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_sasl_oauthbearer_close' at ../src/rdkafka_sasl_oauthbearer.c:1043:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rktrans_8(D)->rktrans_sasl.state' with nonzero offset 32 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'create_jws_compact_serialization' at ../src/rdkafka_sasl_oauthbearer.c:863:9, inlined from 'rd_kafka_oauthbearer_unsecured_token0' at ../src/rdkafka_sasl_oauthbearer.c:942:37, inlined from 'rd_kafka_oauthbearer_unsecured_token' at ../src/rdkafka_sasl_oauthbearer.c:1017:13: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'scope' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sasl_oauthbearer.c: In function 'rd_kafka_oauthbearer_unsecured_token': ../src/rdkafka_sasl_oauthbearer.c:749:19: note: declared here 749 | rd_list_t scope; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_oauthbearer_unsecured_token0' at ../src/rdkafka_sasl_oauthbearer.c:968:9, inlined from 'rd_kafka_oauthbearer_unsecured_token' at ../src/rdkafka_sasl_oauthbearer.c:1017:13: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'parsed' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sasl_oauthbearer.c: In function 'rd_kafka_oauthbearer_unsecured_token': ../src/rdkafka_sasl_oauthbearer.c:884:54: note: declared here 884 | struct rd_kafka_sasl_oauthbearer_parsed_ujws parsed = RD_ZERO_INIT; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_cache_hint_rktparlist' at ../src/rdkafka_metadata_cache.c:579:9, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2192:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata_cache.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_metadata_cache.c:568:19: note: declared here 568 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2213:25: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_cgrp.c:2186:19: note: declared here 2186 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2262:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_cgrp.c:2186:19: note: declared here 2186 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2262:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_cgrp.c:2186:19: note: declared here 2186 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_handle_JoinGroup' at ../src/rdkafka_cgrp.c:2066:17: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_handle_JoinGroup': ../src/rdkafka_cgrp.c:1973:27: note: declared here 1973 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_sasl_oauthbearer_term' at ../src/rdkafka_sasl_oauthbearer.c:1364:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_15(D)->rk_sasl.handle' with nonzero offset 96 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_plugins_conf_set0' at ../src/rdkafka_plugin.c:150:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_25(D)' with nonzero offset 888 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_plugins_conf_set0' at ../src/rdkafka_plugin.c:187:25: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_25(D)' with nonzero offset 888 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_leader_query0.constprop' at ../src/rdkafka_topic.c:1968:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_topic.c: In function 'rd_kafka_topic_leader_query0.constprop': ../src/rdkafka_topic.c:1959:19: note: declared here 1959 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_aborted_txn_node_destroy' at ../src/rdkafka_msgset_reader.c:1524:9: ../src/rd.h:151:9: warning: 'free' called on pointer '_node_ptr_2(D)' with nonzero offset 48 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_aborted_txns_destroy' at ../src/rdkafka_msgset_reader.c:1549:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'aborted_txns_3(D)' with nonzero offset 80 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignor_run.constprop' at ../src/rdkafka_assignor.c:420:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'eligible_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_assignor.c: In function 'rd_kafka_assignor_run.constprop': ../src/rdkafka_assignor.c:329:19: note: declared here 329 | rd_list_t eligible_topics; | ^ make[1]: Entering directory '/builddir/build/BUILD/librdkafka-2.3.0/examples' g++ -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-non-virtual-dtor -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-non-virtual-dtor -I../src-cpp kafkatest_verifiable_client.cpp -o kafkatest_verifiable_client -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -L/usr/lib64 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -L/usr/lib64 \ ../src-cpp/librdkafka++.a ../src/librdkafka.a -llz4 -lm -lzstd -lsasl2 -lssl -lcrypto -lz -ldl -lpthread -lrt -lpthread -lrt make[1]: Leaving directory '/builddir/build/BUILD/librdkafka-2.3.0/examples' In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_mock_partition_destroy' at ../src/rdkafka_mock.c:556:9, inlined from 'rd_kafka_mock_topic_destroy' at ../src/rdkafka_mock.c:602:17, inlined from 'rd_kafka_mock_cluster_destroy0' at ../src/rdkafka_mock.c:2434:17, inlined from 'rd_kafka_mock_cluster_thread_main' at ../src/rdkafka_mock.c:1428:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'mtopic_402->partitions' with nonzero offset [152, 446676598520] [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_mock_cluster_destroy0' at ../src/rdkafka_mock.c:2445:9, inlined from 'rd_kafka_mock_cluster_thread_main' at ../src/rdkafka_mock.c:1428:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'arg_11(D)' with nonzero offset 128 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_partition_list_query_leaders' at ../src/rdkafka_partition.c:3759:25: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'query_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_partition.c: In function 'rd_kafka_topic_partition_list_query_leaders': ../src/rdkafka_partition.c:3745:27: note: declared here 3745 | rd_list_t query_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_partition_list_query_leaders' at ../src/rdkafka_partition.c:3797:17: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'query_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_partition.c: In function 'rd_kafka_topic_partition_list_query_leaders': ../src/rdkafka_partition.c:3745:27: note: declared here 3745 | rd_list_t query_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_timeout_scan' at ../src/rdkafka_cgrp.c:4796:9, inlined from 'rd_kafka_cgrp_serve' at ../src/rdkafka_cgrp.c:5324:17: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'ofc_state' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_serve': ../src/rdkafka_cgrp.c:4779:42: note: declared here 4779 | struct _op_timeout_offset_commit ofc_state; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_topics' at ../src/rdkafka_metadata.c:1332:25: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'q_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_topics': ../src/rdkafka_metadata.c:1282:19: note: declared here 1282 | rd_list_t q_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_topics' at ../src/rdkafka_metadata.c:1350:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'q_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_topics': ../src/rdkafka_metadata.c:1282:19: note: declared here 1282 | rd_list_t q_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_known_topics' at ../src/rdkafka_metadata.c:1399:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_known_topics': ../src/rdkafka_metadata.c:1376:19: note: declared here 1376 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_leader_query_tmr_cb' at ../src/rdkafka_metadata.c:1637:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_leader_query_tmr_cb': ../src/rdkafka_metadata.c:1584:19: note: declared here 1584 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:166:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 928 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:167:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 968 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:168:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1008 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:169:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1048 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:170:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1088 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:171:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1128 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:172:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1168 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:173:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1208 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:174:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1248 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:175:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1288 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:176:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1328 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:177:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1368 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:178:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1408 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:179:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1448 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:182:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1488 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata' at ../src/rdkafka_metadata.c:139:9, inlined from 'metadata' at ../src-cpp/HandleImpl.cpp:195:24: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In member function 'metadata': ../src/rdkafka_metadata.c:96:19: note: declared here 96 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'sortPartitions' at ../src/rdkafka_sticky_assignor.c:1788:9, inlined from 'rd_kafka_sticky_assignor_assign_cb' at ../src/rdkafka_sticky_assignor.c:1920:28: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'sortedConsumers' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sticky_assignor.c: In function 'rd_kafka_sticky_assignor_assign_cb': ../src/rdkafka_sticky_assignor.c:1619:19: note: declared here 1619 | rd_list_t sortedConsumers; /* element is the (rd_map_elem_t *) from | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_sticky_assignor_assign_cb' at ../src/rdkafka_sticky_assignor.c:2049:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'sortedCurrentSubscriptions' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sticky_assignor.c: In function 'rd_kafka_sticky_assignor_assign_cb': ../src/rdkafka_sticky_assignor.c:1890:19: note: declared here 1890 | rd_list_t sortedCurrentSubscriptions; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:408:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_81(D)' with nonzero offset 904 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:431:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_81(D)' with nonzero offset 776 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:442:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_81(D)' with nonzero offset 120 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:443:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_81(D)' with nonzero offset 176 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_leader_query0.constprop' at ../src/rdkafka_topic.c:1968:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_topic.c: In function 'rd_kafka_topic_leader_query0.constprop': ../src/rdkafka_topic.c:1959:19: note: declared here 1959 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_destroy_final' at ../src/rdkafka_topic.c:111:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rkt_30(D)' with nonzero offset 144 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignor_topic_destroy' at ../src/rdkafka_assignor.c:238:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'at_2(D)' with nonzero offset 16 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_group_member_clear' at ../src/rdkafka_assignor.c:49:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rkgm_19(D)' with nonzero offset 24 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_ssl_ctx_init' at ../src/rdkafka_ssl.c:1753:9, inlined from 'rd_kafka_new' at ../src/rdkafka.c:2426:21: ../src/rd.h:151:9: warning: 'free' called on pointer 'p_554' with nonzero offset 912 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_calloc', inlined from 'rd_kafka_new' at ../src/rdkafka.c:2210:14: ../src/rd.h:133:19: note: returned from 'calloc' 133 | void *p = calloc(num, sz); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignors_term' at ../src/rdkafka_assignor.c:658:9, inlined from 'rd_kafka_new' at ../src/rdkafka.c:2629:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'p_554' with nonzero offset 1976 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_calloc', inlined from 'rd_kafka_new' at ../src/rdkafka.c:2210:14: ../src/rd.h:133:19: note: returned from 'calloc' 133 | void *p = calloc(num, sz); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_query_watermark_offsets' at ../src/rdkafka.c:3571:17: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'leaders' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka.c: In function 'rd_kafka_query_watermark_offsets': ../src/rdkafka.c:3558:19: note: declared here 3558 | rd_list_t leaders; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_query_watermark_offsets' at ../src/rdkafka.c:3602:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'leaders' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka.c: In function 'rd_kafka_query_watermark_offsets': ../src/rdkafka.c:3558:19: note: declared here 3558 | rd_list_t leaders; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_offsets_for_times' at ../src/rdkafka.c:3734:17: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'leaders' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka.c: In function 'rd_kafka_offsets_for_times': ../src/rdkafka.c:3719:19: note: declared here 3719 | rd_list_t leaders; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_offsets_for_times' at ../src/rdkafka.c:3752:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'leaders' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka.c: In function 'rd_kafka_offsets_for_times': ../src/rdkafka.c:3719:19: note: declared here 3719 | rd_list_t leaders; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_sasl_oauthbearer_close' at ../src/rdkafka_sasl_oauthbearer.c:1043:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rktrans_8(D)->rktrans_sasl.state' with nonzero offset 32 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'create_jws_compact_serialization' at ../src/rdkafka_sasl_oauthbearer.c:863:9, inlined from 'rd_kafka_oauthbearer_unsecured_token0' at ../src/rdkafka_sasl_oauthbearer.c:942:37, inlined from 'rd_kafka_oauthbearer_unsecured_token' at ../src/rdkafka_sasl_oauthbearer.c:1017:13: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'scope' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sasl_oauthbearer.c: In function 'rd_kafka_oauthbearer_unsecured_token': ../src/rdkafka_sasl_oauthbearer.c:749:19: note: declared here 749 | rd_list_t scope; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_oauthbearer_unsecured_token0' at ../src/rdkafka_sasl_oauthbearer.c:968:9, inlined from 'rd_kafka_oauthbearer_unsecured_token' at ../src/rdkafka_sasl_oauthbearer.c:1017:13: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'parsed' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sasl_oauthbearer.c: In function 'rd_kafka_oauthbearer_unsecured_token': ../src/rdkafka_sasl_oauthbearer.c:884:54: note: declared here 884 | struct rd_kafka_sasl_oauthbearer_parsed_ujws parsed = RD_ZERO_INIT; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_sasl_oauthbearer_term' at ../src/rdkafka_sasl_oauthbearer.c:1364:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_15(D)->rk_sasl.handle' with nonzero offset 96 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_plugins_conf_set0' at ../src/rdkafka_plugin.c:150:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_25(D)' with nonzero offset 888 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_plugins_conf_set0' at ../src/rdkafka_plugin.c:187:25: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_25(D)' with nonzero offset 888 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_cache_hint_rktparlist' at ../src/rdkafka_metadata_cache.c:579:9, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2192:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata_cache.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_metadata_cache.c:568:19: note: declared here 568 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2213:25: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_cgrp.c:2186:19: note: declared here 2186 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2262:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_cgrp.c:2186:19: note: declared here 2186 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2262:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_cgrp.c:2186:19: note: declared here 2186 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_handle_JoinGroup' at ../src/rdkafka_cgrp.c:2066:17: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_handle_JoinGroup': ../src/rdkafka_cgrp.c:1973:27: note: declared here 1973 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_all' at ../src/rdkafka_metadata.c:1526:9, inlined from 'rd_kafka_metadata_refresh_consumer_topics' at ../src/rdkafka_metadata.c:1441:24, inlined from 'rd_kafka_metadata_refresh_cb' at ../src/rdkafka.c:2018:23: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_cb': ../src/rdkafka_metadata.c:1508:19: note: declared here 1508 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_consumer_topics' at ../src/rdkafka_metadata.c:1465:9, inlined from 'rd_kafka_metadata_refresh_cb' at ../src/rdkafka.c:2018:23: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_cb': ../src/rdkafka_metadata.c:1422:19: note: declared here 1422 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_consumer_topics' at ../src/rdkafka_metadata.c:1465:9, inlined from 'rd_kafka_metadata_refresh_cb' at ../src/rdkafka.c:2018:23: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_cb': ../src/rdkafka_metadata.c:1422:19: note: declared here 1422 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_scan_all' at ../src/rdkafka_topic.c:1720:9, inlined from 'rd_kafka_1s_tmr_cb' at ../src/rdkafka.c:1986:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'query_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_topic.c: In function 'rd_kafka_1s_tmr_cb': ../src/rdkafka_topic.c:1586:19: note: declared here 1586 | rd_list_t query_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_destroy_final' at ../src/rdkafka_cgrp.c:370:9, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:942:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)->rk_cgrp' with nonzero offset 232 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignors_term' at ../src/rdkafka_assignor.c:658:9, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:945:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)' with nonzero offset 1976 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:962:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)' with nonzero offset 912 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:998:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)' with nonzero offset 32 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1232:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_81(D)' with nonzero offset 240 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1277:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'wait_thrds' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka.c: In function 'rd_kafka_destroy_internal': ../src/rdkafka.c:1138:19: note: declared here 1138 | rd_list_t wait_thrds; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_cache_destroy' at ../src/rdkafka_metadata_cache.c:615:9, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1296:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_81(D)' with nonzero offset 2800 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_avl_destroy' at ../src/rdavl.c:191:17, inlined from 'rd_kafka_metadata_cache_destroy' at ../src/rdkafka_metadata_cache.c:622:9, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1296:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_81(D)' with nonzero offset 2640 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_aborted_txn_node_destroy' at ../src/rdkafka_msgset_reader.c:1524:9: ../src/rd.h:151:9: warning: 'free' called on pointer '_node_ptr_2(D)' with nonzero offset 48 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_aborted_txns_destroy' at ../src/rdkafka_msgset_reader.c:1549:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'aborted_txns_3(D)' with nonzero offset 80 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignor_run.constprop' at ../src/rdkafka_assignor.c:420:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'eligible_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_assignor.c: In function 'rd_kafka_assignor_run.constprop': ../src/rdkafka_assignor.c:329:19: note: declared here 329 | rd_list_t eligible_topics; | ^ make[1]: Entering directory '/builddir/build/BUILD/librdkafka-2.3.0/examples' gcc -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I../src rdkafka_example.c -o rdkafka_example -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -L/usr/lib64 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -L/usr/lib64 \ ../src/librdkafka.a -llz4 -lm -lzstd -lsasl2 -lssl -lcrypto -lz -ldl -lpthread -lrt -lpthread -lrt # rdkafka_example is ready # # Run producer (write messages on stdin) ./rdkafka_example -P -t -p # or consumer ./rdkafka_example -C -t -p # # More usage options: ./rdkafka_example -h make[1]: Leaving directory '/builddir/build/BUILD/librdkafka-2.3.0/examples' In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_mock_partition_destroy' at ../src/rdkafka_mock.c:556:9, inlined from 'rd_kafka_mock_topic_destroy' at ../src/rdkafka_mock.c:602:17, inlined from 'rd_kafka_mock_cluster_destroy0' at ../src/rdkafka_mock.c:2434:17, inlined from 'rd_kafka_mock_cluster_thread_main' at ../src/rdkafka_mock.c:1428:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'mtopic_402->partitions' with nonzero offset [152, 446676598520] [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_mock_cluster_destroy0' at ../src/rdkafka_mock.c:2445:9, inlined from 'rd_kafka_mock_cluster_thread_main' at ../src/rdkafka_mock.c:1428:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'arg_11(D)' with nonzero offset 128 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignor_topic_destroy' at ../src/rdkafka_assignor.c:238:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'at_2(D)' with nonzero offset 16 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_group_member_clear' at ../src/rdkafka_assignor.c:49:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rkgm_19(D)' with nonzero offset 24 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_timeout_scan' at ../src/rdkafka_cgrp.c:4796:9, inlined from 'rd_kafka_cgrp_serve' at ../src/rdkafka_cgrp.c:5324:17: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'ofc_state' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_serve': ../src/rdkafka_cgrp.c:4779:42: note: declared here 4779 | struct _op_timeout_offset_commit ofc_state; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_ssl_ctx_init' at ../src/rdkafka_ssl.c:1753:9, inlined from 'rd_kafka_new' at ../src/rdkafka.c:2426:21: ../src/rd.h:151:9: warning: 'free' called on pointer 'p_554' with nonzero offset 912 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_calloc', inlined from 'rd_kafka_new' at ../src/rdkafka.c:2210:14: ../src/rd.h:133:19: note: returned from 'calloc' 133 | void *p = calloc(num, sz); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignors_term' at ../src/rdkafka_assignor.c:658:9, inlined from 'rd_kafka_new' at ../src/rdkafka.c:2629:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'p_554' with nonzero offset 1976 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_calloc', inlined from 'rd_kafka_new' at ../src/rdkafka.c:2210:14: ../src/rd.h:133:19: note: returned from 'calloc' 133 | void *p = calloc(num, sz); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_all' at ../src/rdkafka_metadata.c:1526:9, inlined from 'rd_kafka_metadata_refresh_consumer_topics' at ../src/rdkafka_metadata.c:1441:24, inlined from 'rd_kafka_metadata_refresh_cb' at ../src/rdkafka.c:2018:23: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_cb': ../src/rdkafka_metadata.c:1508:19: note: declared here 1508 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_consumer_topics' at ../src/rdkafka_metadata.c:1465:9, inlined from 'rd_kafka_metadata_refresh_cb' at ../src/rdkafka.c:2018:23: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_cb': ../src/rdkafka_metadata.c:1422:19: note: declared here 1422 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_consumer_topics' at ../src/rdkafka_metadata.c:1465:9, inlined from 'rd_kafka_metadata_refresh_cb' at ../src/rdkafka.c:2018:23: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_cb': ../src/rdkafka_metadata.c:1422:19: note: declared here 1422 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_partition_list_query_leaders' at ../src/rdkafka_partition.c:3797:17, inlined from 'rd_kafka_query_watermark_offsets' at ../src/rdkafka.c:3568:15, inlined from 'main' at rdkafka_example.c:704:36: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'query_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_partition.c: In function 'main': ../src/rdkafka_partition.c:3745:27: note: declared here 3745 | rd_list_t query_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata' at ../src/rdkafka_metadata.c:139:9, inlined from 'main' at rdkafka_example.c:807:31: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'main': ../src/rdkafka_metadata.c:96:19: note: declared here 96 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_scan_all' at ../src/rdkafka_topic.c:1720:9, inlined from 'rd_kafka_1s_tmr_cb' at ../src/rdkafka.c:1986:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'query_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_topic.c: In function 'rd_kafka_1s_tmr_cb': ../src/rdkafka_topic.c:1586:19: note: declared here 1586 | rd_list_t query_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_destroy_final' at ../src/rdkafka_cgrp.c:370:9, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:942:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)->rk_cgrp' with nonzero offset 232 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignors_term' at ../src/rdkafka_assignor.c:658:9, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:945:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)' with nonzero offset 1976 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:962:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)' with nonzero offset 912 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:998:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)' with nonzero offset 32 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1232:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_81(D)' with nonzero offset 240 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1277:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'wait_thrds' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka.c: In function 'rd_kafka_destroy_internal': ../src/rdkafka.c:1138:19: note: declared here 1138 | rd_list_t wait_thrds; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_cache_destroy' at ../src/rdkafka_metadata_cache.c:615:9, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1296:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_81(D)' with nonzero offset 2800 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_avl_destroy' at ../src/rdavl.c:191:17, inlined from 'rd_kafka_metadata_cache_destroy' at ../src/rdkafka_metadata_cache.c:622:9, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1296:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_81(D)' with nonzero offset 2640 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_destroy_final' at ../src/rdkafka_topic.c:111:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rkt_30(D)' with nonzero offset 144 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'sortPartitions' at ../src/rdkafka_sticky_assignor.c:1788:9, inlined from 'rd_kafka_sticky_assignor_assign_cb' at ../src/rdkafka_sticky_assignor.c:1920:28: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'sortedConsumers' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sticky_assignor.c: In function 'rd_kafka_sticky_assignor_assign_cb': ../src/rdkafka_sticky_assignor.c:1619:19: note: declared here 1619 | rd_list_t sortedConsumers; /* element is the (rd_map_elem_t *) from | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_sticky_assignor_assign_cb' at ../src/rdkafka_sticky_assignor.c:2049:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'sortedCurrentSubscriptions' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sticky_assignor.c: In function 'rd_kafka_sticky_assignor_assign_cb': ../src/rdkafka_sticky_assignor.c:1890:19: note: declared here 1890 | rd_list_t sortedCurrentSubscriptions; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_cache_hint_rktparlist' at ../src/rdkafka_metadata_cache.c:579:9, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2192:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata_cache.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_metadata_cache.c:568:19: note: declared here 568 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2213:25: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_cgrp.c:2186:19: note: declared here 2186 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2262:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_cgrp.c:2186:19: note: declared here 2186 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2262:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_cgrp.c:2186:19: note: declared here 2186 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_handle_JoinGroup' at ../src/rdkafka_cgrp.c:2066:17: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_handle_JoinGroup': ../src/rdkafka_cgrp.c:1973:27: note: declared here 1973 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_sasl_oauthbearer_close' at ../src/rdkafka_sasl_oauthbearer.c:1043:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rktrans_8(D)->rktrans_sasl.state' with nonzero offset 32 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'create_jws_compact_serialization' at ../src/rdkafka_sasl_oauthbearer.c:863:9, inlined from 'rd_kafka_oauthbearer_unsecured_token0' at ../src/rdkafka_sasl_oauthbearer.c:942:37, inlined from 'rd_kafka_oauthbearer_unsecured_token' at ../src/rdkafka_sasl_oauthbearer.c:1017:13: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'scope' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sasl_oauthbearer.c: In function 'rd_kafka_oauthbearer_unsecured_token': ../src/rdkafka_sasl_oauthbearer.c:749:19: note: declared here 749 | rd_list_t scope; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_oauthbearer_unsecured_token0' at ../src/rdkafka_sasl_oauthbearer.c:968:9, inlined from 'rd_kafka_oauthbearer_unsecured_token' at ../src/rdkafka_sasl_oauthbearer.c:1017:13: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'parsed' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sasl_oauthbearer.c: In function 'rd_kafka_oauthbearer_unsecured_token': ../src/rdkafka_sasl_oauthbearer.c:884:54: note: declared here 884 | struct rd_kafka_sasl_oauthbearer_parsed_ujws parsed = RD_ZERO_INIT; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_leader_query0.constprop' at ../src/rdkafka_topic.c:1968:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_topic.c: In function 'rd_kafka_topic_leader_query0.constprop': ../src/rdkafka_topic.c:1959:19: note: declared here 1959 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_topics' at ../src/rdkafka_metadata.c:1332:25: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'q_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_topics': ../src/rdkafka_metadata.c:1282:19: note: declared here 1282 | rd_list_t q_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_topics' at ../src/rdkafka_metadata.c:1350:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'q_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_topics': ../src/rdkafka_metadata.c:1282:19: note: declared here 1282 | rd_list_t q_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_known_topics' at ../src/rdkafka_metadata.c:1399:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_known_topics': ../src/rdkafka_metadata.c:1376:19: note: declared here 1376 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_leader_query_tmr_cb' at ../src/rdkafka_metadata.c:1637:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_leader_query_tmr_cb': ../src/rdkafka_metadata.c:1584:19: note: declared here 1584 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:166:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 928 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:167:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 968 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:168:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1008 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:169:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1048 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:170:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1088 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:171:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1128 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:172:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1168 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:173:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1208 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:174:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1248 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:175:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1288 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:176:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1328 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:177:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1368 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:178:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1408 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:179:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1448 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:182:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1488 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:408:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_81(D)' with nonzero offset 904 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:431:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_81(D)' with nonzero offset 776 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:442:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_81(D)' with nonzero offset 120 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:443:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_81(D)' with nonzero offset 176 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_sasl_oauthbearer_term' at ../src/rdkafka_sasl_oauthbearer.c:1364:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_15(D)->rk_sasl.handle' with nonzero offset 96 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_plugins_conf_set0' at ../src/rdkafka_plugin.c:150:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_25(D)' with nonzero offset 888 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_plugins_conf_set0' at ../src/rdkafka_plugin.c:187:25: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_25(D)' with nonzero offset 888 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_aborted_txn_node_destroy' at ../src/rdkafka_msgset_reader.c:1524:9: ../src/rd.h:151:9: warning: 'free' called on pointer '_node_ptr_2(D)' with nonzero offset 48 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_aborted_txns_destroy' at ../src/rdkafka_msgset_reader.c:1549:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'aborted_txns_3(D)' with nonzero offset 80 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignor_run.constprop' at ../src/rdkafka_assignor.c:420:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'eligible_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_assignor.c: In function 'rd_kafka_assignor_run.constprop': ../src/rdkafka_assignor.c:329:19: note: declared here 329 | rd_list_t eligible_topics; | ^ make[1]: Entering directory '/builddir/build/BUILD/librdkafka-2.3.0/examples' g++ -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-non-virtual-dtor -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wno-non-virtual-dtor -I../src-cpp openssl_engine_example.cpp -o openssl_engine_example_cpp -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -L/usr/lib64 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -L/usr/lib64 \ ../src-cpp/librdkafka++.a ../src/librdkafka.a -llz4 -lm -lzstd -lsasl2 -lssl -lcrypto -lz -ldl -lpthread -lrt -lpthread -lrt make[1]: Leaving directory '/builddir/build/BUILD/librdkafka-2.3.0/examples' In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_mock_partition_destroy' at ../src/rdkafka_mock.c:556:9, inlined from 'rd_kafka_mock_topic_destroy' at ../src/rdkafka_mock.c:602:17, inlined from 'rd_kafka_mock_cluster_destroy0' at ../src/rdkafka_mock.c:2434:17, inlined from 'rd_kafka_mock_cluster_thread_main' at ../src/rdkafka_mock.c:1428:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'mtopic_402->partitions' with nonzero offset [152, 446676598520] [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_mock_cluster_destroy0' at ../src/rdkafka_mock.c:2445:9, inlined from 'rd_kafka_mock_cluster_thread_main' at ../src/rdkafka_mock.c:1428:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'arg_11(D)' with nonzero offset 128 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_topics' at ../src/rdkafka_metadata.c:1332:25: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'q_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_topics': ../src/rdkafka_metadata.c:1282:19: note: declared here 1282 | rd_list_t q_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_topics' at ../src/rdkafka_metadata.c:1350:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'q_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_topics': ../src/rdkafka_metadata.c:1282:19: note: declared here 1282 | rd_list_t q_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_known_topics' at ../src/rdkafka_metadata.c:1399:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_known_topics': ../src/rdkafka_metadata.c:1376:19: note: declared here 1376 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_leader_query_tmr_cb' at ../src/rdkafka_metadata.c:1637:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_leader_query_tmr_cb': ../src/rdkafka_metadata.c:1584:19: note: declared here 1584 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:166:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 928 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:167:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 968 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:168:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1008 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:169:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1048 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:170:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1088 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:171:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1128 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:172:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1168 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:173:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1208 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:174:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1248 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:175:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1288 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:176:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1328 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:177:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1368 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:178:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1408 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:179:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1448 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:182:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1488 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata' at ../src/rdkafka_metadata.c:139:9, inlined from 'metadata' at ../src-cpp/HandleImpl.cpp:195:24: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In member function 'metadata': ../src/rdkafka_metadata.c:96:19: note: declared here 96 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_partition_list_query_leaders' at ../src/rdkafka_partition.c:3759:25: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'query_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_partition.c: In function 'rd_kafka_topic_partition_list_query_leaders': ../src/rdkafka_partition.c:3745:27: note: declared here 3745 | rd_list_t query_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_partition_list_query_leaders' at ../src/rdkafka_partition.c:3797:17: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'query_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_partition.c: In function 'rd_kafka_topic_partition_list_query_leaders': ../src/rdkafka_partition.c:3745:27: note: declared here 3745 | rd_list_t query_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_timeout_scan' at ../src/rdkafka_cgrp.c:4796:9, inlined from 'rd_kafka_cgrp_serve' at ../src/rdkafka_cgrp.c:5324:17: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'ofc_state' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_serve': ../src/rdkafka_cgrp.c:4779:42: note: declared here 4779 | struct _op_timeout_offset_commit ofc_state; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'sortPartitions' at ../src/rdkafka_sticky_assignor.c:1788:9, inlined from 'rd_kafka_sticky_assignor_assign_cb' at ../src/rdkafka_sticky_assignor.c:1920:28: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'sortedConsumers' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sticky_assignor.c: In function 'rd_kafka_sticky_assignor_assign_cb': ../src/rdkafka_sticky_assignor.c:1619:19: note: declared here 1619 | rd_list_t sortedConsumers; /* element is the (rd_map_elem_t *) from | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_sticky_assignor_assign_cb' at ../src/rdkafka_sticky_assignor.c:2049:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'sortedCurrentSubscriptions' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sticky_assignor.c: In function 'rd_kafka_sticky_assignor_assign_cb': ../src/rdkafka_sticky_assignor.c:1890:19: note: declared here 1890 | rd_list_t sortedCurrentSubscriptions; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_ssl_ctx_init' at ../src/rdkafka_ssl.c:1753:9, inlined from 'rd_kafka_new' at ../src/rdkafka.c:2426:21: ../src/rd.h:151:9: warning: 'free' called on pointer 'p_554' with nonzero offset 912 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_calloc', inlined from 'rd_kafka_new' at ../src/rdkafka.c:2210:14: ../src/rd.h:133:19: note: returned from 'calloc' 133 | void *p = calloc(num, sz); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignors_term' at ../src/rdkafka_assignor.c:658:9, inlined from 'rd_kafka_new' at ../src/rdkafka.c:2629:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'p_554' with nonzero offset 1976 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_calloc', inlined from 'rd_kafka_new' at ../src/rdkafka.c:2210:14: ../src/rd.h:133:19: note: returned from 'calloc' 133 | void *p = calloc(num, sz); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_query_watermark_offsets' at ../src/rdkafka.c:3571:17: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'leaders' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka.c: In function 'rd_kafka_query_watermark_offsets': ../src/rdkafka.c:3558:19: note: declared here 3558 | rd_list_t leaders; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_query_watermark_offsets' at ../src/rdkafka.c:3602:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'leaders' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka.c: In function 'rd_kafka_query_watermark_offsets': ../src/rdkafka.c:3558:19: note: declared here 3558 | rd_list_t leaders; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_offsets_for_times' at ../src/rdkafka.c:3734:17: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'leaders' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka.c: In function 'rd_kafka_offsets_for_times': ../src/rdkafka.c:3719:19: note: declared here 3719 | rd_list_t leaders; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_offsets_for_times' at ../src/rdkafka.c:3752:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'leaders' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka.c: In function 'rd_kafka_offsets_for_times': ../src/rdkafka.c:3719:19: note: declared here 3719 | rd_list_t leaders; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_leader_query0' at ../src/rdkafka_topic.c:1968:9, inlined from 'rd_kafka_toppar_handle_OffsetForLeaderEpoch' at ../src/rdkafka_offset.c:991:25: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_topic.c: In function 'rd_kafka_toppar_handle_OffsetForLeaderEpoch': ../src/rdkafka_topic.c:1959:19: note: declared here 1959 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_destroy_final' at ../src/rdkafka_topic.c:111:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rkt_30(D)' with nonzero offset 144 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_cache_hint_rktparlist' at ../src/rdkafka_metadata_cache.c:579:9, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2192:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata_cache.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_metadata_cache.c:568:19: note: declared here 568 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2213:25: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_cgrp.c:2186:19: note: declared here 2186 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2262:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_cgrp.c:2186:19: note: declared here 2186 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2262:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_cgrp.c:2186:19: note: declared here 2186 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_handle_JoinGroup' at ../src/rdkafka_cgrp.c:2066:17: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_handle_JoinGroup': ../src/rdkafka_cgrp.c:1973:27: note: declared here 1973 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignor_topic_destroy' at ../src/rdkafka_assignor.c:238:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'at_2(D)' with nonzero offset 16 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_group_member_clear' at ../src/rdkafka_assignor.c:49:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rkgm_19(D)' with nonzero offset 24 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_sasl_oauthbearer_close' at ../src/rdkafka_sasl_oauthbearer.c:1043:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rktrans_8(D)->rktrans_sasl.state' with nonzero offset 32 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'create_jws_compact_serialization' at ../src/rdkafka_sasl_oauthbearer.c:863:9, inlined from 'rd_kafka_oauthbearer_unsecured_token0' at ../src/rdkafka_sasl_oauthbearer.c:942:37, inlined from 'rd_kafka_oauthbearer_unsecured_token' at ../src/rdkafka_sasl_oauthbearer.c:1017:13: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'scope' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sasl_oauthbearer.c: In function 'rd_kafka_oauthbearer_unsecured_token': ../src/rdkafka_sasl_oauthbearer.c:749:19: note: declared here 749 | rd_list_t scope; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_oauthbearer_unsecured_token0' at ../src/rdkafka_sasl_oauthbearer.c:968:9, inlined from 'rd_kafka_oauthbearer_unsecured_token' at ../src/rdkafka_sasl_oauthbearer.c:1017:13: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'parsed' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sasl_oauthbearer.c: In function 'rd_kafka_oauthbearer_unsecured_token': ../src/rdkafka_sasl_oauthbearer.c:884:54: note: declared here 884 | struct rd_kafka_sasl_oauthbearer_parsed_ujws parsed = RD_ZERO_INIT; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_sasl_oauthbearer_term' at ../src/rdkafka_sasl_oauthbearer.c:1364:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_15(D)->rk_sasl.handle' with nonzero offset 96 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_plugins_conf_set0' at ../src/rdkafka_plugin.c:150:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_25(D)' with nonzero offset 888 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_plugins_conf_set0' at ../src/rdkafka_plugin.c:187:25: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_25(D)' with nonzero offset 888 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:408:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_81(D)' with nonzero offset 904 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:431:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_81(D)' with nonzero offset 776 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:442:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_81(D)' with nonzero offset 120 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:443:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_81(D)' with nonzero offset 176 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_all' at ../src/rdkafka_metadata.c:1526:9, inlined from 'rd_kafka_metadata_refresh_consumer_topics' at ../src/rdkafka_metadata.c:1441:24, inlined from 'rd_kafka_metadata_refresh_cb' at ../src/rdkafka.c:2018:23: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_cb': ../src/rdkafka_metadata.c:1508:19: note: declared here 1508 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_consumer_topics' at ../src/rdkafka_metadata.c:1465:9, inlined from 'rd_kafka_metadata_refresh_cb' at ../src/rdkafka.c:2018:23: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_cb': ../src/rdkafka_metadata.c:1422:19: note: declared here 1422 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_consumer_topics' at ../src/rdkafka_metadata.c:1465:9, inlined from 'rd_kafka_metadata_refresh_cb' at ../src/rdkafka.c:2018:23: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_cb': ../src/rdkafka_metadata.c:1422:19: note: declared here 1422 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_scan_all' at ../src/rdkafka_topic.c:1720:9, inlined from 'rd_kafka_1s_tmr_cb' at ../src/rdkafka.c:1986:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'query_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_topic.c: In function 'rd_kafka_1s_tmr_cb': ../src/rdkafka_topic.c:1586:19: note: declared here 1586 | rd_list_t query_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_destroy_final' at ../src/rdkafka_cgrp.c:370:9, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:942:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)->rk_cgrp' with nonzero offset 232 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignors_term' at ../src/rdkafka_assignor.c:658:9, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:945:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)' with nonzero offset 1976 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:962:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)' with nonzero offset 912 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:998:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)' with nonzero offset 32 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1232:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_81(D)' with nonzero offset 240 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1277:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'wait_thrds' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka.c: In function 'rd_kafka_destroy_internal': ../src/rdkafka.c:1138:19: note: declared here 1138 | rd_list_t wait_thrds; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_cache_destroy' at ../src/rdkafka_metadata_cache.c:615:9, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1296:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_81(D)' with nonzero offset 2800 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_avl_destroy' at ../src/rdavl.c:191:17, inlined from 'rd_kafka_metadata_cache_destroy' at ../src/rdkafka_metadata_cache.c:622:9, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1296:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_81(D)' with nonzero offset 2640 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_aborted_txn_node_destroy' at ../src/rdkafka_msgset_reader.c:1524:9: ../src/rd.h:151:9: warning: 'free' called on pointer '_node_ptr_2(D)' with nonzero offset 48 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_aborted_txns_destroy' at ../src/rdkafka_msgset_reader.c:1549:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'aborted_txns_3(D)' with nonzero offset 80 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignor_run.constprop' at ../src/rdkafka_assignor.c:420:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'eligible_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_assignor.c: In function 'rd_kafka_assignor_run.constprop': ../src/rdkafka_assignor.c:329:19: note: declared here 329 | rd_list_t eligible_topics; | ^ make[1]: Entering directory '/builddir/build/BUILD/librdkafka-2.3.0/examples' gcc -I/usr/include -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I../src user_scram.c -o user_scram -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -L/usr/lib64 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -L/usr/lib64 \ ../src/librdkafka.a -llz4 -lm -lzstd -lsasl2 -lssl -lcrypto -lz -ldl -lpthread -lrt -lpthread -lrt make[1]: Leaving directory '/builddir/build/BUILD/librdkafka-2.3.0/examples' In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_mock_partition_destroy' at ../src/rdkafka_mock.c:556:9, inlined from 'rd_kafka_mock_topic_destroy' at ../src/rdkafka_mock.c:602:17, inlined from 'rd_kafka_mock_cluster_destroy0' at ../src/rdkafka_mock.c:2434:17, inlined from 'rd_kafka_mock_cluster_thread_main' at ../src/rdkafka_mock.c:1428:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'mtopic_402->partitions' with nonzero offset [152, 446676598520] [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_mock_cluster_destroy0' at ../src/rdkafka_mock.c:2445:9, inlined from 'rd_kafka_mock_cluster_thread_main' at ../src/rdkafka_mock.c:1428:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'arg_11(D)' with nonzero offset 128 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignor_topic_destroy' at ../src/rdkafka_assignor.c:238:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'at_2(D)' with nonzero offset 16 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_group_member_clear' at ../src/rdkafka_assignor.c:49:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rkgm_19(D)' with nonzero offset 24 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_all' at ../src/rdkafka_metadata.c:1526:9, inlined from 'rd_kafka_metadata_refresh_consumer_topics' at ../src/rdkafka_metadata.c:1441:24, inlined from 'rd_kafka_metadata_refresh_cb' at ../src/rdkafka.c:2018:23: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_cb': ../src/rdkafka_metadata.c:1508:19: note: declared here 1508 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_consumer_topics' at ../src/rdkafka_metadata.c:1465:9, inlined from 'rd_kafka_metadata_refresh_cb' at ../src/rdkafka.c:2018:23: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_cb': ../src/rdkafka_metadata.c:1422:19: note: declared here 1422 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_consumer_topics' at ../src/rdkafka_metadata.c:1465:9, inlined from 'rd_kafka_metadata_refresh_cb' at ../src/rdkafka.c:2018:23: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_cb': ../src/rdkafka_metadata.c:1422:19: note: declared here 1422 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1232:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_81(D)' with nonzero offset 240 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1277:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'wait_thrds' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka.c: In function 'rd_kafka_destroy_internal': ../src/rdkafka.c:1138:19: note: declared here 1138 | rd_list_t wait_thrds; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_cache_destroy' at ../src/rdkafka_metadata_cache.c:615:9, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1296:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_81(D)' with nonzero offset 2800 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_avl_destroy' at ../src/rdavl.c:191:17, inlined from 'rd_kafka_metadata_cache_destroy' at ../src/rdkafka_metadata_cache.c:622:9, inlined from 'rd_kafka_destroy_internal' at ../src/rdkafka.c:1296:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_81(D)' with nonzero offset 2640 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_scan_all' at ../src/rdkafka_topic.c:1720:9, inlined from 'rd_kafka_1s_tmr_cb' at ../src/rdkafka.c:1986:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'query_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_topic.c: In function 'rd_kafka_1s_tmr_cb': ../src/rdkafka_topic.c:1586:19: note: declared here 1586 | rd_list_t query_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_destroy_final' at ../src/rdkafka_cgrp.c:370:9, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:942:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)->rk_cgrp' with nonzero offset 232 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignors_term' at ../src/rdkafka_assignor.c:658:9, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:945:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)' with nonzero offset 1976 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:962:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)' with nonzero offset 912 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_destroy_final' at ../src/rdkafka.c:998:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_63(D)' with nonzero offset 32 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_ssl_ctx_init' at ../src/rdkafka_ssl.c:1753:9, inlined from 'rd_kafka_new' at ../src/rdkafka.c:2426:21: ../src/rd.h:151:9: warning: 'free' called on pointer 'p_554' with nonzero offset 912 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_calloc', inlined from 'rd_kafka_new' at ../src/rdkafka.c:2210:14: ../src/rd.h:133:19: note: returned from 'calloc' 133 | void *p = calloc(num, sz); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignors_term' at ../src/rdkafka_assignor.c:658:9, inlined from 'rd_kafka_new' at ../src/rdkafka.c:2629:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'p_554' with nonzero offset 1976 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_calloc', inlined from 'rd_kafka_new' at ../src/rdkafka.c:2210:14: ../src/rd.h:133:19: note: returned from 'calloc' 133 | void *p = calloc(num, sz); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_topics' at ../src/rdkafka_metadata.c:1332:25: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'q_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_topics': ../src/rdkafka_metadata.c:1282:19: note: declared here 1282 | rd_list_t q_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_topics' at ../src/rdkafka_metadata.c:1350:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'q_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_topics': ../src/rdkafka_metadata.c:1282:19: note: declared here 1282 | rd_list_t q_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_refresh_known_topics' at ../src/rdkafka_metadata.c:1399:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_refresh_known_topics': ../src/rdkafka_metadata.c:1376:19: note: declared here 1376 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_leader_query_tmr_cb' at ../src/rdkafka_metadata.c:1637:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata.c: In function 'rd_kafka_metadata_leader_query_tmr_cb': ../src/rdkafka_metadata.c:1584:19: note: declared here 1584 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:166:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 928 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:167:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 968 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:168:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1008 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:169:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1048 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:170:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1088 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:171:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1128 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:172:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1168 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:173:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1208 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:174:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1248 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:175:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1288 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:176:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1328 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:177:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1368 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:178:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1408 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:179:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1448 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_interceptors_destroy' at ../src/rdkafka_interceptor.c:182:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_16(D)' with nonzero offset 1488 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_destroy_final' at ../src/rdkafka_topic.c:111:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rkt_30(D)' with nonzero offset 144 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_sasl_oauthbearer_close' at ../src/rdkafka_sasl_oauthbearer.c:1043:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rktrans_8(D)->rktrans_sasl.state' with nonzero offset 32 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'create_jws_compact_serialization' at ../src/rdkafka_sasl_oauthbearer.c:863:9, inlined from 'rd_kafka_oauthbearer_unsecured_token0' at ../src/rdkafka_sasl_oauthbearer.c:942:37, inlined from 'rd_kafka_oauthbearer_unsecured_token' at ../src/rdkafka_sasl_oauthbearer.c:1017:13: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'scope' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sasl_oauthbearer.c: In function 'rd_kafka_oauthbearer_unsecured_token': ../src/rdkafka_sasl_oauthbearer.c:749:19: note: declared here 749 | rd_list_t scope; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_oauthbearer_unsecured_token0' at ../src/rdkafka_sasl_oauthbearer.c:968:9, inlined from 'rd_kafka_oauthbearer_unsecured_token' at ../src/rdkafka_sasl_oauthbearer.c:1017:13: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'parsed' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sasl_oauthbearer.c: In function 'rd_kafka_oauthbearer_unsecured_token': ../src/rdkafka_sasl_oauthbearer.c:884:54: note: declared here 884 | struct rd_kafka_sasl_oauthbearer_parsed_ujws parsed = RD_ZERO_INIT; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'sortPartitions' at ../src/rdkafka_sticky_assignor.c:1788:9, inlined from 'rd_kafka_sticky_assignor_assign_cb' at ../src/rdkafka_sticky_assignor.c:1920:28: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'sortedConsumers' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sticky_assignor.c: In function 'rd_kafka_sticky_assignor_assign_cb': ../src/rdkafka_sticky_assignor.c:1619:19: note: declared here 1619 | rd_list_t sortedConsumers; /* element is the (rd_map_elem_t *) from | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_sticky_assignor_assign_cb' at ../src/rdkafka_sticky_assignor.c:2049:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'sortedCurrentSubscriptions' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_sticky_assignor.c: In function 'rd_kafka_sticky_assignor_assign_cb': ../src/rdkafka_sticky_assignor.c:1890:19: note: declared here 1890 | rd_list_t sortedCurrentSubscriptions; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_timeout_scan' at ../src/rdkafka_cgrp.c:4796:9, inlined from 'rd_kafka_cgrp_serve' at ../src/rdkafka_cgrp.c:5324:17: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'ofc_state' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_serve': ../src/rdkafka_cgrp.c:4779:42: note: declared here 4779 | struct _op_timeout_offset_commit ofc_state; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_aborted_txn_node_destroy' at ../src/rdkafka_msgset_reader.c:1524:9: ../src/rd.h:151:9: warning: 'free' called on pointer '_node_ptr_2(D)' with nonzero offset 48 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_aborted_txns_destroy' at ../src/rdkafka_msgset_reader.c:1549:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'aborted_txns_3(D)' with nonzero offset 80 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_assignor_run.constprop' at ../src/rdkafka_assignor.c:420:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'eligible_topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_assignor.c: In function 'rd_kafka_assignor_run.constprop': ../src/rdkafka_assignor.c:329:19: note: declared here 329 | rd_list_t eligible_topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_handle_JoinGroup' at ../src/rdkafka_cgrp.c:2066:17: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_handle_JoinGroup': ../src/rdkafka_cgrp.c:1973:27: note: declared here 1973 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_metadata_cache_hint_rktparlist' at ../src/rdkafka_metadata_cache.c:579:9, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2192:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_metadata_cache.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_metadata_cache.c:568:19: note: declared here 568 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2213:25: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_cgrp.c:2186:19: note: declared here 2186 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2262:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_cgrp.c:2186:19: note: declared here 2186 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_cgrp_metadata_refresh' at ../src/rdkafka_cgrp.c:2262:9: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_cgrp.c: In function 'rd_kafka_cgrp_metadata_refresh': ../src/rdkafka_cgrp.c:2186:19: note: declared here 2186 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:408:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_81(D)' with nonzero offset 904 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:431:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_81(D)' with nonzero offset 776 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:442:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_81(D)' with nonzero offset 120 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_op_destroy' at ../src/rdkafka_op.c:443:17: ../src/rd.h:151:9: warning: 'free' called on pointer 'rko_81(D)' with nonzero offset 176 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_topic_leader_query0' at ../src/rdkafka_topic.c:1968:9, inlined from 'rd_kafka_toppar_handle_OffsetForLeaderEpoch' at ../src/rdkafka_offset.c:991:25: ../src/rd.h:151:9: warning: 'free' called on unallocated object 'topics' [-Wfree-nonheap-object] 151 | free(ptr); | ^ ../src/rdkafka_topic.c: In function 'rd_kafka_toppar_handle_OffsetForLeaderEpoch': ../src/rdkafka_topic.c:1959:19: note: declared here 1959 | rd_list_t topics; | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_sasl_oauthbearer_term' at ../src/rdkafka_sasl_oauthbearer.c:1364:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'rk_15(D)->rk_sasl.handle' with nonzero offset 96 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_plugins_conf_set0' at ../src/rdkafka_plugin.c:150:9: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_25(D)' with nonzero offset 888 [-Wfree-nonheap-object] 151 | free(ptr); | ^ In function 'rd_free', inlined from 'rd_list_destroy' at ../src/rdlist.c:302:17, inlined from 'rd_kafka_plugins_conf_set0' at ../src/rdkafka_plugin.c:187:25: ../src/rd.h:151:9: warning: 'free' called on pointer 'conf_25(D)' with nonzero offset 888 [-Wfree-nonheap-object] 151 | free(ptr); | ^ Updating CONFIGURATION.md Checking integrity CONFIGURATION.md OK examples/rdkafka_example OK examples/rdkafka_performance OK examples/rdkafka_example_cpp OK make[1]: Entering directory '/builddir/build/BUILD/librdkafka-2.3.0/src' Checking librdkafka integrity librdkafka.so.1 OK librdkafka.a OK make[1]: Leaving directory '/builddir/build/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/builddir/build/BUILD/librdkafka-2.3.0/src' Symbol visibility OK make[1]: Leaving directory '/builddir/build/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/builddir/build/BUILD/librdkafka-2.3.0/src-cpp' Generating pkg-config file rdkafka++-static.pc make[1]: Leaving directory '/builddir/build/BUILD/librdkafka-2.3.0/src-cpp' make[1]: Entering directory '/builddir/build/BUILD/librdkafka-2.3.0/src-cpp' Checking librdkafka++ integrity librdkafka++.so.1 OK librdkafka++.a OK make[1]: Leaving directory '/builddir/build/BUILD/librdkafka-2.3.0/src-cpp' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.H4v6jz + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/librdkafka-2.3.0-1.ocs23.loongarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/librdkafka-2.3.0-1.ocs23.loongarch64 ++ dirname /builddir/build/BUILDROOT/librdkafka-2.3.0-1.ocs23.loongarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/librdkafka-2.3.0-1.ocs23.loongarch64 + cd librdkafka-2.3.0 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/librdkafka-2.3.0-1.ocs23.loongarch64 'INSTALL=/usr/bin/install -p' make[1]: Entering directory '/builddir/build/BUILD/librdkafka-2.3.0/src' Install librdkafka to /builddir/build/BUILDROOT/librdkafka-2.3.0-1.ocs23.loongarch64/usr /usr/bin/install -p -d $DESTDIR/usr/include/librdkafka /usr/bin/install -p -d $DESTDIR/usr/lib64 /usr/bin/install -p rdkafka.h rdkafka_mock.h $DESTDIR/usr/include/librdkafka /usr/bin/install -p librdkafka.a $DESTDIR/usr/lib64 [ ! -f librdkafka-static.a ] || /usr/bin/install -p librdkafka-static.a $DESTDIR/usr/lib64 /usr/bin/install -p librdkafka.so.1 $DESTDIR/usr/lib64 [ -f "rdkafka.pc" ] && ( \ /usr/bin/install -p -d $DESTDIR/usr/lib64/pkgconfig && \ /usr/bin/install -p -m 0644 rdkafka.pc $DESTDIR/usr/lib64/pkgconfig \ ) [ -f "rdkafka-static.pc" ] && ( \ /usr/bin/install -p -d $DESTDIR/usr/lib64/pkgconfig && \ /usr/bin/install -p -m 0644 rdkafka-static.pc $DESTDIR/usr/lib64/pkgconfig \ ) (cd $DESTDIR/usr/lib64 && ln -sf librdkafka.so.1 librdkafka.so) make[1]: Leaving directory '/builddir/build/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/builddir/build/BUILD/librdkafka-2.3.0/src-cpp' Install librdkafka++ to /builddir/build/BUILDROOT/librdkafka-2.3.0-1.ocs23.loongarch64/usr /usr/bin/install -p -d $DESTDIR/usr/include/librdkafka /usr/bin/install -p -d $DESTDIR/usr/lib64 /usr/bin/install -p rdkafkacpp.h $DESTDIR/usr/include/librdkafka /usr/bin/install -p librdkafka++.a $DESTDIR/usr/lib64 [ ! -f librdkafka++-static.a ] || /usr/bin/install -p librdkafka++-static.a $DESTDIR/usr/lib64 /usr/bin/install -p librdkafka++.so.1 $DESTDIR/usr/lib64 [ -f "rdkafka++.pc" ] && ( \ /usr/bin/install -p -d $DESTDIR/usr/lib64/pkgconfig && \ /usr/bin/install -p -m 0644 rdkafka++.pc $DESTDIR/usr/lib64/pkgconfig \ ) [ -f "rdkafka++-static.pc" ] && ( \ /usr/bin/install -p -d $DESTDIR/usr/lib64/pkgconfig && \ /usr/bin/install -p -m 0644 rdkafka++-static.pc $DESTDIR/usr/lib64/pkgconfig \ ) (cd $DESTDIR/usr/lib64 && ln -sf librdkafka++.so.1 librdkafka++.so) make[1]: Leaving directory '/builddir/build/BUILD/librdkafka-2.3.0/src-cpp' make[1]: Entering directory '/builddir/build/BUILD/librdkafka-2.3.0/src' Checking librdkafka integrity librdkafka.so.1 OK librdkafka.a OK Symbol visibility OK make[1]: Leaving directory '/builddir/build/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/builddir/build/BUILD/librdkafka-2.3.0/src-cpp' Generating pkg-config file rdkafka++-static.pc Checking librdkafka++ integrity librdkafka++.so.1 OK librdkafka++.a OK make[1]: Leaving directory '/builddir/build/BUILD/librdkafka-2.3.0/src-cpp' /usr/bin/make -C examples make[1]: Entering directory '/builddir/build/BUILD/librdkafka-2.3.0/examples' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/builddir/build/BUILD/librdkafka-2.3.0/examples' Updating CONFIGURATION.md Installing documentation to /builddir/build/BUILDROOT/librdkafka-2.3.0-1.ocs23.loongarch64/usr /usr/bin/install -p -d $DESTDIR/usr/share/doc/librdkafka /usr/bin/install -p LICENSE LICENSES.txt INTRODUCTION.md README.md CONFIGURATION.md STATISTICS.md CHANGELOG.md $DESTDIR/usr/share/doc/librdkafka + find /builddir/build/BUILDROOT/librdkafka-2.3.0-1.ocs23.loongarch64 -name '*.a' -delete -print /builddir/build/BUILDROOT/librdkafka-2.3.0-1.ocs23.loongarch64/usr/lib64/librdkafka.a /builddir/build/BUILDROOT/librdkafka-2.3.0-1.ocs23.loongarch64/usr/lib64/librdkafka-static.a /builddir/build/BUILDROOT/librdkafka-2.3.0-1.ocs23.loongarch64/usr/lib64/librdkafka++.a + find /builddir/build/BUILDROOT/librdkafka-2.3.0-1.ocs23.loongarch64 -name '*-static.pc' -delete -print /builddir/build/BUILDROOT/librdkafka-2.3.0-1.ocs23.loongarch64/usr/lib64/pkgconfig/rdkafka-static.pc /builddir/build/BUILDROOT/librdkafka-2.3.0-1.ocs23.loongarch64/usr/lib64/pkgconfig/rdkafka++-static.pc + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 2.3.0-1.ocs23 --unique-debug-suffix -2.3.0-1.ocs23.loongarch64 --unique-debug-src-base librdkafka-2.3.0-1.ocs23.loongarch64 -S debugsourcefiles.list /builddir/build/BUILD/librdkafka-2.3.0 extracting debug info from /builddir/build/BUILDROOT/librdkafka-2.3.0-1.ocs23.loongarch64/usr/lib64/librdkafka++.so.1 extracting debug info from /builddir/build/BUILDROOT/librdkafka-2.3.0-1.ocs23.loongarch64/usr/lib64/librdkafka.so.1 10420 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs *** WARNING: ./usr/include/librdkafka/rdkafka.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/include/librdkafka/rdkafka_mock.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/include/librdkafka/rdkafkacpp.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/share/doc/librdkafka/LICENSE is executable but has no shebang, removing executable bit *** WARNING: ./usr/share/doc/librdkafka/LICENSES.txt is executable but has no shebang, removing executable bit *** WARNING: ./usr/share/doc/librdkafka/INTRODUCTION.md is executable but has no shebang, removing executable bit *** WARNING: ./usr/share/doc/librdkafka/README.md is executable but has no shebang, removing executable bit *** WARNING: ./usr/share/doc/librdkafka/CONFIGURATION.md is executable but has no shebang, removing executable bit *** WARNING: ./usr/share/doc/librdkafka/STATISTICS.md is executable but has no shebang, removing executable bit *** WARNING: ./usr/share/doc/librdkafka/CHANGELOG.md is executable but has no shebang, removing executable bit + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.osjXT9 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd librdkafka-2.3.0 + /usr/bin/make -O -j32 V=1 VERBOSE=1 check make[1]: Entering directory '/builddir/build/BUILD/librdkafka-2.3.0/src' Checking librdkafka integrity librdkafka.so.1 OK librdkafka.a OK make[1]: Leaving directory '/builddir/build/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/builddir/build/BUILD/librdkafka-2.3.0/src' Symbol visibility OK make[1]: Leaving directory '/builddir/build/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/builddir/build/BUILD/librdkafka-2.3.0/src-cpp' Generating pkg-config file rdkafka++-static.pc make[1]: Leaving directory '/builddir/build/BUILD/librdkafka-2.3.0/src-cpp' make[1]: Entering directory '/builddir/build/BUILD/librdkafka-2.3.0/src-cpp' Checking librdkafka++ integrity librdkafka++.so.1 OK librdkafka++.a OK make[1]: Leaving directory '/builddir/build/BUILD/librdkafka-2.3.0/src-cpp' /usr/bin/make -C examples make[1]: Nothing to be done for 'all'. Updating CONFIGURATION.md Checking integrity CONFIGURATION.md OK examples/rdkafka_example OK examples/rdkafka_performance OK examples/rdkafka_example_cpp OK make[1]: Entering directory '/builddir/build/BUILD/librdkafka-2.3.0/src' Checking librdkafka integrity librdkafka.so.1 OK librdkafka.a OK make[1]: Leaving directory '/builddir/build/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/builddir/build/BUILD/librdkafka-2.3.0/src' Symbol visibility OK make[1]: Leaving directory '/builddir/build/BUILD/librdkafka-2.3.0/src' make[1]: Entering directory '/builddir/build/BUILD/librdkafka-2.3.0/src-cpp' Generating pkg-config file rdkafka++-static.pc make[1]: Leaving directory '/builddir/build/BUILD/librdkafka-2.3.0/src-cpp' make[1]: Entering directory '/builddir/build/BUILD/librdkafka-2.3.0/src-cpp' Checking librdkafka++ integrity librdkafka++.so.1 OK librdkafka++.a OK make[1]: Leaving directory '/builddir/build/BUILD/librdkafka-2.3.0/src-cpp' + RPM_EC=0 ++ jobs -p + exit 0 Processing files: librdkafka-2.3.0-1.ocs23.loongarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.DeUJEh + umask 022 + cd /builddir/build/BUILD + cd librdkafka-2.3.0 + DOCDIR=/builddir/build/BUILDROOT/librdkafka-2.3.0-1.ocs23.loongarch64/usr/share/doc/librdkafka + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/librdkafka-2.3.0-1.ocs23.loongarch64/usr/share/doc/librdkafka + cp -pr README.md /builddir/build/BUILDROOT/librdkafka-2.3.0-1.ocs23.loongarch64/usr/share/doc/librdkafka + cp -pr CONFIGURATION.md /builddir/build/BUILDROOT/librdkafka-2.3.0-1.ocs23.loongarch64/usr/share/doc/librdkafka + cp -pr INTRODUCTION.md /builddir/build/BUILDROOT/librdkafka-2.3.0-1.ocs23.loongarch64/usr/share/doc/librdkafka + cp -pr LICENSE /builddir/build/BUILDROOT/librdkafka-2.3.0-1.ocs23.loongarch64/usr/share/doc/librdkafka + cp -pr LICENSES.txt /builddir/build/BUILDROOT/librdkafka-2.3.0-1.ocs23.loongarch64/usr/share/doc/librdkafka + cp -pr STATISTICS.md /builddir/build/BUILDROOT/librdkafka-2.3.0-1.ocs23.loongarch64/usr/share/doc/librdkafka + cp -pr CHANGELOG.md /builddir/build/BUILDROOT/librdkafka-2.3.0-1.ocs23.loongarch64/usr/share/doc/librdkafka + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.0JS2fI + umask 022 + cd /builddir/build/BUILD + cd librdkafka-2.3.0 + LICENSEDIR=/builddir/build/BUILDROOT/librdkafka-2.3.0-1.ocs23.loongarch64/usr/share/licenses/librdkafka + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/librdkafka-2.3.0-1.ocs23.loongarch64/usr/share/licenses/librdkafka + cp -pr LICENSE /builddir/build/BUILDROOT/librdkafka-2.3.0-1.ocs23.loongarch64/usr/share/licenses/librdkafka + cp -pr LICENSE.pycrc /builddir/build/BUILDROOT/librdkafka-2.3.0-1.ocs23.loongarch64/usr/share/licenses/librdkafka + cp -pr LICENSE.snappy /builddir/build/BUILDROOT/librdkafka-2.3.0-1.ocs23.loongarch64/usr/share/licenses/librdkafka + RPM_EC=0 ++ jobs -p + exit 0 Provides: librdkafka = 2.3.0-1.ocs23 librdkafka(loongarch-64) = 2.3.0-1.ocs23 librdkafka++.so.1()(64bit) librdkafka.so.1()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-loongarch-lp64d.so.1()(64bit) ld-linux-loongarch-lp64d.so.1(GLIBC_2.36)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.36)(64bit) libc.so.6(GLIBC_2.38)(64bit) libcrypto.so.3()(64bit) libcrypto.so.3(OPENSSL_3.0.0)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.3.1)(64bit) liblz4.so.1()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.36)(64bit) librdkafka.so.1()(64bit) libsasl2.so.3()(64bit) libssl.so.3()(64bit) libssl.so.3(OPENSSL_3.0.0)(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.8)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.15)(64bit) libstdc++.so.6(GLIBCXX_3.4.30)(64bit) libz.so.1()(64bit) libz.so.1(ZLIB_1.2.0)(64bit) libzstd.so.1()(64bit) rtld(GNU_HASH) Processing files: librdkafka-devel-2.3.0-1.ocs23.loongarch64 warning: Explicit %attr() mode not applicable to symlink: /builddir/build/BUILDROOT/librdkafka-2.3.0-1.ocs23.loongarch64/usr/lib64/librdkafka.so warning: Explicit %attr() mode not applicable to symlink: /builddir/build/BUILDROOT/librdkafka-2.3.0-1.ocs23.loongarch64/usr/lib64/librdkafka++.so Provides: librdkafka-devel = 2.3.0-1.ocs23 librdkafka-devel(loongarch-64) = 2.3.0-1.ocs23 pkgconfig(rdkafka) = 2.3.0 pkgconfig(rdkafka++) = 2.3.0 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/pkg-config librdkafka++.so.1()(64bit) librdkafka.so.1()(64bit) pkgconfig(libcrypto) pkgconfig(liblz4) pkgconfig(libsasl2) pkgconfig(libssl) pkgconfig(libzstd) pkgconfig(rdkafka) pkgconfig(zlib) Processing files: librdkafka-debugsource-2.3.0-1.ocs23.loongarch64 Provides: librdkafka-debugsource = 2.3.0-1.ocs23 librdkafka-debugsource(loongarch-64) = 2.3.0-1.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: librdkafka-debuginfo-2.3.0-1.ocs23.loongarch64 Provides: debuginfo(build-id) = 31fa7312dc3024ccef69a7b9d54c46934b2173c6 debuginfo(build-id) = df13cc0a7cff07d661319bfb6699a5f30db0f2fa librdkafka++.so.1-2.3.0-1.ocs23.loongarch64.debug()(64bit) librdkafka-debuginfo = 2.3.0-1.ocs23 librdkafka-debuginfo(loongarch-64) = 2.3.0-1.ocs23 librdkafka.so.1-2.3.0-1.ocs23.loongarch64.debug()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: librdkafka-debugsource(loongarch-64) = 2.3.0-1.ocs23 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/librdkafka-2.3.0-1.ocs23.loongarch64 Wrote: /builddir/build/RPMS/librdkafka-devel-2.3.0-1.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/librdkafka-2.3.0-1.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/librdkafka-debugsource-2.3.0-1.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/librdkafka-debuginfo-2.3.0-1.ocs23.loongarch64.rpm RPM build warnings: Explicit %attr() mode not applicable to symlink: /builddir/build/BUILDROOT/librdkafka-2.3.0-1.ocs23.loongarch64/usr/lib64/librdkafka.so Explicit %attr() mode not applicable to symlink: /builddir/build/BUILDROOT/librdkafka-2.3.0-1.ocs23.loongarch64/usr/lib64/librdkafka++.so Child return code was: 0