Hello, I am trying to compile Qpid 0.34 on Linux with the below configuration. The compilatio is successful. Nevertheless I have some tests failing. Can you please give me some hints on what I might have done wrong?
*Config* - Qpid: 0.34 - Proton: 0.12 - Boost: 1.55.0 - Cmake/Ctest: 3.2.3 *Commands (Assuming Boost and Proton are already built)* cmake -G "Unix Makefiles" $QPID_SOURCE_DIR -DCMAKE_INSTALL_PREFIX=$EXP_QPID_TARGET_DIR -DCMAKE_CXX_FLAGS=-Wno-error=switch -DBOOST_ROOT=$EXP_BOOST_TARGET_DIR -DProton_DIR="$PROTON_TARGET_DIR" make install ctest -R unit_test -V *Errors* 3: Running 333 test cases... 3: ***************************unknown location(0): fatal error in "testAuthenticatedUsername": std::exception: Can't authenticate using PLAIN 3: /data/jenkins-slave/home/workspace/adel/qpid/cpp/src/tests/MessagingSessionTests.cpp(861): last checkpoint 3: ************************ 3: 3: *** 1 failure detected in test suite "Master Test Suite" 3: Valgrind error log in /data/jenkins-slave/home/workspace/adel/build-dir/qpid-exp/src/tests/unit_test.vglog. 3: ==25483== Memcheck, a memory error detector 3: ==25483== Copyright (C) 2002-2012, and GNU GPL'd, by Julian Seward et al. 3: ==25483== Using Valgrind-3.8.1 and LibVEX; rerun with -h for copyright info 3: ==25483== Command: /data/jenkins-slave/home/workspace/adel/build-dir/qpid-exp/src/tests/unit_test 3: ==25483== Parent PID: 25482 3: ==25483== 3: ==25483== Invalid free() / delete / delete[] / realloc() 3: ==25483== at 0x4C273F0: free (vg_replace_malloc.c:446) 3: ==25483== by 0x70C37FA: free_mem (in /lib64/libc-2.12.so) 3: ==25483== by 0x70C3391: __libc_freeres (in /lib64/libc-2.12.so) 3: ==25483== by 0x4A2266D: _vgnU_freeres (vg_preloaded.c:62) 3: ==25483== by 0x6FB8D51: exit (in /lib64/libc-2.12.so) 3: ==25483== by 0x6FA1CE3: (below main) (in /lib64/libc-2.12.so) 3: ==25483== Address 0x402dfa8 is not stack'd, malloc'd or (recently) free'd 3: ==25483== 3: ==25483== 3: ==25483== HEAP SUMMARY: 3: ==25483== in use at exit: 32 bytes in 1 blocks 3: ==25483== total heap usage: 1,020,577 allocs, 1,020,578 frees, 134,099,789 bytes allocated 3: ==25483== 3: ==25483== LEAK SUMMARY: 3: ==25483== definitely lost: 0 bytes in 0 blocks 3: ==25483== indirectly lost: 0 bytes in 0 blocks 3: ==25483== possibly lost: 0 bytes in 0 blocks 3: ==25483== still reachable: 32 bytes in 1 blocks 3: ==25483== suppressed: 0 bytes in 0 blocks 3: ==25483== Reachable blocks (those to which a pointer was found) are not shown. 3: ==25483== To see them, rerun with: --leak-check=full --show-reachable=yes 3: ==25483== 3: ==25483== For counts of detected and suppressed errors, rerun with: -v 3: ==25483== ERROR SUMMARY: 2 errors from 1 contexts (suppressed: 21 from 9) 3: Valgrind reported errors in /data/jenkins-slave/home/workspace/adel/build-dir/qpid-exp/src/tests/unit_test.vglog; see above. Regards, Adel Boutros Murex SAS www.murex.com
