[odb-users] odb-test-2.1.0 make check deadlocks in thread test.

Stath, Paul pstath at axxcelera.com
Tue Sep 18 16:37:25 EDT 2012


I downloaded ODB 2.1.0 and successfully compiled it from source.

When I run 'make check' using the 2.1.0 version of odb-test, the 'common/threads' test hangs until I terminate it with SIGINT.

~/src/odb-tests-2.1.0/common/threads$ make check
make  check-am
make[1]: Entering directory `/home/pstath/src/odb-tests-2.1.0/common/threads'
make  check-TESTS
make[2]: Entering directory `/home/pstath/src/odb-tests-2.1.0/common/threads'
./driver --options-file ../../db.options
^Cmake[2]: *** [check-TESTS] Interrupt
make[1]: *** [check-am] Interrupt
make: *** [check] Interrupt

My setup is as follows:

Ubuntu 12.04 LTS

~/src/odb-tests-2.1.0/common/threads$ g++ -v
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/usr/lib/gcc/i686-linux-gnu/4.6/lto-wrapper
Target: i686-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.6.3-1ubuntu5' --with-bugurl=file:///usr/share/doc/gcc-4.6/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.6 --enable-shared --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.6 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --enable-plugin --enable-objc-gc --enable-targets=all --disable-werror --with-arch-32=i686 --with-tune=generic --enable-checking=release --build=i686-linux-gnu --host=i686-linux-gnu --target=i686-linux-gnu
Thread model: posix
gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5)

The SQLite library is compiled with SQLITE_ENABLE_UNLOCK_NOTIFY defined.

~/src/sqlite$ nm /usr/local/lib/libsqlite3.so | grep unlock_notify
000472c0 T sqlite3_unlock_notify

It is probably something I'm doing wrong.
Let me know if you need more information.


More information about the odb-users mailing list