Bug#848652: build fails on ppc64el, double free or corruption, stack suggests libssl
Daniel Pocock
daniel at pocock.pro
Mon Dec 19 08:40:38 UTC 2016
Package: src:resiprocate
Version: 1:1.11.0~alpha8-3
Severity: serious
build fails in a unit test on ppc64el, double free or corruption, stack
suggests libssl
Full build log:
https://buildd.debian.org/status/fetch.php?pkg=resiprocate&arch=ppc64el&ver=1%3A1.11.0~alpha8-3&stamp=1482054136
Relevant section of the log, including stack, attached
Could this be a known issue on ppc64el or with libssl?
-------------- next part --------------
/bin/bash ../../libtool --tag=CXX --mode=link g++ -I ../.. -g -O2 -fdebug-prefix-map=/«PKGBUILDDIR»=. -fstack-protector-strong -Wformat -Werror=format-security -fpermissive -I/usr/include/postgresql -Wall -Wno-deprecated -Wl,-z,relro -Wl,-z,now -lcares -o stunTestVectors stunTestVectors.o ../client/libreTurnClient.la ../../rutil/librutil.la -lssl -lcrypto -lpthread
libtool: link: g++ -I ../.. -g -O2 "-fdebug-prefix-map=/«PKGBUILDDIR»=." -fstack-protector-strong -Wformat -Werror=format-security -fpermissive -I/usr/include/postgresql -Wall -Wno-deprecated -Wl,-z -Wl,relro -Wl,-z -Wl,now -o .libs/stunTestVectors stunTestVectors.o -lcares ../client/.libs/libreTurnClient.so ../../rutil/.libs/librutil.so -lssl -lcrypto -lpthread
make[4]: Leaving directory '/«PKGBUILDDIR»/reTurn/test'
make check-TESTS
make[4]: Entering directory '/«PKGBUILDDIR»/reTurn/test'
make[5]: Entering directory '/«PKGBUILDDIR»/reTurn/test'
../../build-aux/test-driver: line 107: 6304 Aborted "$@" > $log_file 2>&1
FAIL: stunTestVectors
===========================================================
resiprocate 1.11.0~alpha8: reTurn/test/test-suite.log
===========================================================
# TOTAL: 1
# PASS: 0
# SKIP: 0
# XFAIL: 0
# FAIL: 1
# XPASS: 0
# ERROR: 0
.. contents:: :depth: 2
FAIL: stunTestVectors
=====================
INFO | 20161218-094209.416 | | RESIP:TEST | 70366852992352 | stunTestVectors.cxx:168 | All tests passed!
*** Error in `/«PKGBUILDDIR»/reTurn/test/.libs/stunTestVectors': double free or corruption (out): 0x000001001be00e20 ***
======= Backtrace: =========
/lib/powerpc64le-linux-gnu/libc.so.6(+0x829e8)[0x3fff8ea529e8]
/lib/powerpc64le-linux-gnu/libc.so.6(+0x8c098)[0x3fff8ea5c098]
/lib/powerpc64le-linux-gnu/libc.so.6(+0x8cbec)[0x3fff8ea5cbec]
/usr/lib/powerpc64le-linux-gnu/libcrypto.so.1.0.2(CRYPTO_free+0x60)[0x3fff8ef79430]
/usr/lib/powerpc64le-linux-gnu/libssl.so.1.0.2(+0x4ded8)[0x3fff8f19ded8]
/usr/lib/powerpc64le-linux-gnu/libcrypto.so.1.0.2(sk_pop_free+0x74)[0x3fff8f0134c4]
/usr/lib/powerpc64le-linux-gnu/libssl.so.1.0.2(SSL_COMP_free_compression_methods+0x3c)[0x3fff8f1a0b6c]
/«PKGBUILDDIR»/reTurn/test/.libs/stunTestVectors(_ZNSt15_Sp_counted_ptrIPN4asio3ssl6detail17openssl_init_base7do_initELN9__gnu_cxx12_Lock_policyE2EE10_M_disposeEv+0x64)[0x5e41a044]
/«PKGBUILDDIR»/reTurn/test/.libs/stunTestVectors(_ZNSt10shared_ptrIN4asio3ssl6detail17openssl_init_base7do_initEED1Ev+0xdc)[0x5e41a41c]
/lib/powerpc64le-linux-gnu/libc.so.6(+0x3fdac)[0x3fff8ea0fdac]
/lib/powerpc64le-linux-gnu/libc.so.6(exit+0x28)[0x3fff8ea0fe08]
/lib/powerpc64le-linux-gnu/libc.so.6(+0x228a4)[0x3fff8e9f28a4]
/lib/powerpc64le-linux-gnu/libc.so.6(__libc_start_main+0xb8)[0x3fff8e9f2ab8]
======= Memory map: ========
5e410000-5e430000 r-xp 00000000 00:1c 216074862 /«PKGBUILDDIR»/reTurn/test/.libs/stunTestVectors
5e430000-5e440000 r--p 00010000 00:1c 216074862 /«PKGBUILDDIR»/reTurn/test/.libs/stunTestVectors
5e440000-5e450000 rw-p 00020000 00:1c 216074862 /«PKGBUILDDIR»/reTurn/test/.libs/stunTestVectors
1001bdd0000-1001be90000 rw-p 00000000 00:00 0 [heap]
3fff8e470000-3fff8e490000 rw-p 00000000 00:00 0
3fff8e490000-3fff8e4a0000 r-xp 00000000 00:1c 216007345 /usr/lib/powerpc64le-linux-gnu/libffi.so.6.0.4
3fff8e4a0000-3fff8e4b0000 r--p 00000000 00:1c 216007345 /usr/lib/powerpc64le-linux-gnu/libffi.so.6.0.4
3fff8e4b0000-3fff8e4c0000 rw-p 00010000 00:1c 216007345 /usr/lib/powerpc64le-linux-gnu/libffi.so.6.0.4
3fff8e4c0000-3fff8e550000 r-xp 00000000 00:1c 215982260 /usr/lib/powerpc64le-linux-gnu/libgmp.so.10.3.1
3fff8e550000-3fff8e560000 r--p 00080000 00:1c 215982260 /usr/lib/powerpc64le-linux-gnu/libgmp.so.10.3.1
3fff8e560000-3fff8e570000 rw-p 00090000 00:1c 215982260 /usr/lib/powerpc64le-linux-gnu/libgmp.so.10.3.1
3fff8e570000-3fff8e5b0000 r-xp 00000000 00:1c 215979998 /usr/lib/powerpc64le-linux-gnu/libhogweed.so.4.3
3fff8e5b0000-3fff8e5c0000 r--p 00030000 00:1c 215979998 /usr/lib/powerpc64le-linux-gnu/libhogweed.so.4.3
3fff8e5c0000-3fff8e5d0000 rw-p 00040000 00:1c 215979998 /usr/lib/powerpc64le-linux-gnu/libhogweed.so.4.3
3fff8e5d0000-3fff8e5f0000 r-xp 00000000 00:1c 215980019 /usr/lib/powerpc64le-linux-gnu/libtasn1.so.6.5.2
3fff8e5f0000-3fff8e600000 r--p 00010000 00:1c 215980019 /usr/lib/powerpc64le-linux-gnu/libtasn1.so.6.5.2
3fff8e600000-3fff8e610000 rw-p 00020000 00:1c 215980019 /usr/lib/powerpc64le-linux-gnu/libtasn1.so.6.5.2
3fff8e610000-3fff8e650000 r-xp 00000000 00:1c 216000898 /lib/powerpc64le-linux-gnu/libidn.so.11.6.16
3fff8e650000-3fff8e660000 r--p 00030000 00:1c 216000898 /lib/powerpc64le-linux-gnu/libidn.so.11.6.16
3fff8e660000-3fff8e670000 rw-p 00040000 00:1c 216000898 /lib/powerpc64le-linux-gnu/libidn.so.11.6.16
3fff8e670000-3fff8e6e0000 r-xp 00000000 00:1c 215980006 /usr/lib/powerpc64le-linux-gnu/libp11-kit.so.0.1.0
3fff8e6e0000-3fff8e6f0000 r--p 00060000 00:1c 215980006 /usr/lib/powerpc64le-linux-gnu/libp11-kit.so.0.1.0
3fff8e6f0000-3fff8e700000 rw-p 00070000 00:1c 215980006 /usr/lib/powerpc64le-linux-gnu/libp11-kit.so.0.1.0
3fff8e700000-3fff8e720000 r-xp 00000000 00:1c 215981841 /lib/powerpc64le-linux-gnu/libz.so.1.2.8
3fff8e720000-3fff8e730000 r--p 00010000 00:1c 215981841 /lib/powerpc64le-linux-gnu/libz.so.1.2.8
3fff8e730000-3fff8e740000 rw-p 00020000 00:1c 215981841 /lib/powerpc64le-linux-gnu/libz.so.1.2.8
3fff8e740000-3fff8e780000 r-xp 00000000 00:1c 215979987 /usr/lib/powerpc64le-linux-gnu/libnettle.so.6.3
3fff8e780000-3fff8e790000 r--p 00030000 00:1c 215979987 /usr/lib/powerpc64le-linux-gnu/libnettle.so.6.3
3fff8e790000-3fff8e7a0000 rw-p 00040000 00:1c 215979987 /usr/lib/powerpc64le-linux-gnu/libnettle.so.6.3
3fff8e7a0000-3fff8e940000 r-xp 00000000 00:1c 216009729 /usr/lib/powerpc64le-linux-gnu/libgnutls.so.30.13.0
3fff8e940000-3fff8e950000 ---p 001a0000 00:1c 216009729 /usr/lib/powerpc64le-linux-gnu/libgnutls.so.30.13.0
3fff8e950000-3fff8e960000 r--p 001a0000 00:1c 216009729 /usr/lib/powerpc64le-linux-gnu/libgnutls.so.30.13.0
3fff8e960000-3fff8e970000 rw-p 001b0000 00:1c 216009729 /usr/lib/powerpc64le-linux-gnu/libgnutls.so.30.13.0
3fff8e970000-3fff8e980000 r-xp 00000000 00:1c 215981915 /lib/powerpc64le-linux-gnu/libdl-2.24.so
3fff8e980000-3fff8e990000 r--p 00000000 00:1c 215981915 /lib/powerpc64le-linux-gnu/libdl-2.24.so
3fff8e990000-3fff8e9a0000 rw-p 00010000 00:1c 215981915 /lib/powerpc64le-linux-gnu/libdl-2.24.so
3fff8e9a0000-3fff8e9b0000 r-xp 00000000 00:1c 216046641 /usr/lib/powerpc64le-linux-gnu/libradcli.so.4.1.2
3fff8e9b0000-3fff8e9c0000 r--p 00000000 00:1c 216046641 /usr/lib/powerpc64le-linux-gnu/libradcli.so.4.1.2
3fff8e9c0000-3fff8e9d0000 rw-p 00010000 00:1c 216046641 /usr/lib/powerpc64le-linux-gnu/libradcli.so.4.1.2
3fff8e9d0000-3fff8eb60000 r-xp 00000000 00:1c 215981918 /lib/powerpc64le-linux-gnu/libc-2.24.so
3fff8eb60000-3fff8eb70000 ---p 00190000 00:1c 215981918 /lib/powerpc64le-linux-gnu/libc-2.24.so
3fff8eb70000-3fff8eb80000 r--p 00190000 00:1c 215981918 /lib/powerpc64le-linux-gnu/libc-2.24.so
3fff8eb80000-3fff8eb90000 rw-p 001a0000 00:1c 215981918 /lib/powerpc64le-linux-gnu/libc-2.24.so
3fff8eb90000-3fff8ebb0000 r-xp 00000000 00:1c 215981923 /lib/powerpc64le-linux-gnu/libgcc_s.so.1
3fff8ebb0000-3fff8ebc0000 r--p 00010000 00:1c 215981923 /lib/powerpc64le-linux-gnu/libgcc_s.so.1
3fff8ebc0000-3fff8ebd0000 rw-p 00020000 00:1c 215981923 /lib/powerpc64le-linux-gnu/libgcc_s.so.1
3fff8ebd0000-3fff8ec90000 r-xp 00000000 00:1c 215981914 /lib/powerpc64le-linux-gnu/libm-2.24.so
3fff8ec90000-3fff8eca0000 r--p 000b0000 00:1c 215981914 /lib/powerpc64le-linux-gnu/libm-2.24.so
3fff8eca0000-3fff8ecb0000 rw-p 000c0000 00:1c 215981914 /lib/powerpc64le-linux-gnu/libm-2.24.so
3fff8ecb0000-3fff8ee90000 r-xp 00000000 00:1c 215982310 /usr/lib/powerpc64le-linux-gnu/libstdc++.so.6.0.22
3fff8ee90000-3fff8eea0000 ---p 001e0000 00:1c 215982310 /usr/lib/powerpc64le-linux-gnu/libstdc++.so.6.0.22
3fff8eea0000-3fff8eeb0000 r--p 001e0000 00:1c 215982310 /usr/lib/powerpc64le-linux-gnu/libstdc++.so.6.0.22
3fff8eeb0000-3fff8eec0000 rw-p 001f0000 00:1c 215982310 /usr/lib/powerpc64le-linux-gnu/libstdc++.so.6.0.22
3fff8eec0000-3fff8eee0000 r-xp 00000000 00:1c 215981904 /lib/powerpc64le-linux-gnu/libpthread-2.24.so
3fff8eee0000-3fff8eef0000 r--p 00010000 00:1c 215981904 /lib/powerpc64le-linux-gnu/libpthread-2.24.so
3fff8eef0000-3fff8ef00000 rw-p 00020000 00:1c 215981904 /lib/powerpc64le-linux-gnu/libpthread-2.24.so
3fff8ef00000-3fff8f100000 r-xp 00000000 00:1c 216011202 /usr/lib/powerpc64le-linux-gnu/libcrypto.so.1.0.2
3fff8f100000-3fff8f110000 ---p 00200000 00:1c 216011202 /usr/lib/powerpc64le-linux-gnu/libcrypto.so.1.0.2
3fff8f110000-3fff8f130000 r--p 00200000 00:1c 216011202 /usr/lib/powerpc64le-linux-gnu/libcrypto.so.1.0.2
3fff8f130000-3fff8f140000 rw-p 00220000 00:1c 216011202 /usr/lib/powerpc64le-linux-gnu/libcrypto.so.1.0.2
3fff8f140000-3fff8f150000 rw-p 00000000 00:00 0
3fff8f150000-3fff8f1c0000 r-xp 00000000 00:1c 216011203 /usr/lib/powerpc64le-linux-gnu/libssl.so.1.0.2
3fff8f1c0000-3fff8f1d0000 r--p 00060000 00:1c 216011203 /usr/lib/powerpc64le-linux-gnu/libssl.so.1.0.2
3fff8f1d0000-3fff8f1e0000 rw-p 00070000 00:1c 216011203 /usr/lib/powerpc64le-linux-gnu/libssl.so.1.0.2
3fff8f1e0000-3fff8f290000 r-xp 00000000 00:1c 216062982 /«PKGBUILDDIR»/rutil/.libs/librutil-1.11.so
3fff8f290000-3fff8f2a0000 r--p 000a0000 00:1c 216062982 /«PKGBUILDDIR»/rutil/.libs/librutil-1.11.so
3fff8f2a0000-3fff8f2b0000 rw-p 000b0000 00:1c 216062982 /«PKGBUILDDIR»/rutil/.libs/librutil-1.11.so
3fff8f2b0000-3fff8f390000 r-xp 00000000 00:1c 216073502 /«PKGBUILDDIR»/reTurn/client/.libs/libreTurnClient-1.11.so
3fff8f390000-3fff8f3a0000 r--p 000d0000 00:1c 216073502 /«PKGBUILDDIR»/reTurn/client/.libs/libreTurnClient-1.11.so
3fff8f3a0000-3fff8f3b0000 rw-p 000e0000 00:1c 216073502 /«PKGBUILDDIR»/reTurn/client/.libs/libreTurnClient-1.11.so
3fff8f3b0000-3fff8f3d0000 r-xp 00000000 00:1c 216035071 /usr/lib/powerpc64le-linux-gnu/libcares.so.2.2.0
3fff8f3d0000-3fff8f3e0000 r--p 00010000 00:1c 216035071 /usr/lib/powerpc64le-linux-gnu/libcares.so.2.2.0
3fff8f3e0000-3fff8f3f0000 rw-p 00020000 00:1c 216035071 /usr/lib/powerpc64le-linux-gnu/libcares.so.2.2.0
3fff8f3f0000-3fff8f400000 rw-p 00000000 00:00 0
3fff8f400000-3fff8f420000 r-xp 00000000 00:00 0 [vdso]
3fff8f420000-3fff8f450000 r-xp 00000000 00:1c 215981922 /lib/powerpc64le-linux-gnu/ld-2.24.so
3fff8f450000-3fff8f460000 r--p 00020000 00:1c 215981922 /lib/powerpc64le-linux-gnu/ld-2.24.so
3fff8f460000-3fff8f470000 rw-p 00030000 00:1c 215981922 /lib/powerpc64le-linux-gnu/ld-2.24.so
3fffe1330000-3fffe1360000 rw-p 00000000 00:00 0 [stack]
FAIL stunTestVectors (exit status: 134)
More information about the Pkg-voip-maintainers
mailing list