[Opendnssec-develop] Test platform freebsd 9 amd64 core dump

Sara Dickinson sara at sinodun.com
Tue Mar 5 16:16:14 UTC 2013


Hi All, 

We are having more problems with the strange segmentation fault seen _only_ on the 64bit FreeBSD machine. One of the enforcer tests is now persistently failing with the first core dump below and has had to be disabled and another signer test is failing intermittently with the same problem. The other 2 core dumps have also been seen intermittently on other tests or checks on this machine. All originate in _pthread_mutex_init_calloc_cb () so the belief is it a strange freebsd/pthread problem but nothing jumps out when you Google the problem. 

Does anyone have any bright ideas as to how we could workaround this? (At the moment the ax_pthread.m4 macro configures the threading library.)

Sara.

Core Dump 1:
#0  0x0000000801e923b0 in _pthread_mutex_init_calloc_cb () from /lib/libc.so.7
#1  0x0000000801e9aad5 in free () from /lib/libc.so.7
#2  0x00000008029592e5 in Botan::EGD_EntropySource::~EGD_EntropySource () from /usr/local/lib/libbotan.so.0
#3  0x0000000802a79f7f in std::for_each<__gnu_cxx::__normal_iterator<Botan::EntropySource**, std::vector<Botan::EntropySource*, std::allocator<Botan::EntropySource*> > >, Botan::del_fun<Botan::EntropySource> > () from /usr/local/lib/libbotan.so.0
#4  0x0000000802a77165 in Botan::HMAC_RNG::~HMAC_RNG () from /usr/local/lib/libbotan.so.0
#5  0x0000000802a7d295 in Botan::ANSI_X931_RNG::~ANSI_X931_RNG () from /usr/local/lib/libbotan.so.0
#6  0x0000000802a76ad1 in Botan::AutoSeeded_RNG::~AutoSeeded_RNG () from /usr/local/lib/libbotan.so.0
#7  0x0000000802174ffb in ~SoftSession (this=0x802474a00) at ../../../src/lib/SoftSession.cpp:108
#8  0x00000008021744fd in SoftHSMInternal::closeSession (this=0x8024a7f00, hSession=Variable "hSession" is not available.
) at ../../../src/lib/SoftHSMInternal.cpp:180
#9  0x000000000042898e in hsm_session_close ()
#10 0x0000000000428a5f in hsm_ctx_close ()
#11 0x000000000042b73a in hsm_destroy_context ()
#12 0x0000000000414cd0 in cmd_genkeys ()
#13 0x000000000040c40c in main ()


Core Dump 2:

> #0  0x0000000801e733b0 in _pthread_mutex_init_calloc_cb () from
> /lib/libc.so.7
> #1  0x0000000801e7bad5 in free () from /lib/libc.so.7
> #2  0x00000008008d95f5 in xmlHashFree () from /usr/local/lib/libxml2.so.5
> #3  0x0000000800901844 in xmlXPathRegisteredFuncsCleanup () from
> /usr/local/lib/libxml2.so.5
> #4  0x000000080090187a in xmlXPathFreeContext () from
> /usr/local/lib/libxml2.so.5
> #5  0x00000000004082c3 in read_zonelist_filename ()
> #6  0x0000000000405ef7 in do_communication ()
> #7  0x0000000000404e3c in server_main ()
> #8  0x0000000000409ebb in main ()


Core Dump 3:
> 
> #0  0x0000000801e36400 in _pthread_mutex_init_calloc_cb () from /lib/libc.so.7
> [New Thread 802407400 (LWP 100105/<unknown>)]
> [New LWP 100113]
> (gdb) bt
> #0  0x0000000801e36400 in _pthread_mutex_init_calloc_cb () from /lib/libc.so.7
> #1  0x0000000801e3ead5 in free () from /lib/libc.so.7
> #2  0x000000080130307e in sqlite3HashClear () from
> /usr/local/lib/libsqlite3.so.8
> #3  0x000000080130ec60 in sqlite3SchemaClear () from
> /usr/local/lib/libsqlite3.so.8
> #4  0x0000000801310c25 in sqlite3ResetInternalSchema () from
> /usr/local/lib/libsqlite3.so.8
> #5  0x0000000801337522 in sqlite3_close () from /usr/local/lib/libsqlite3.so.8
> #6  0x000000080211e38d in ~SoftDatabase (this=0x80257d160) at
> ../../../src/lib/SoftDatabase.cpp:105
> #7  0x000000080211af6a in ~SoftSession (this=0x802418300) at
> ../../../src/lib/SoftSession.cpp:109
> #8  0x000000080211a3a9 in SoftHSMInternal::closeSession
> (this=0x802503600, hSession=Variable "hSession" is not available.
> ) at ../../../src/lib/SoftHSMInternal.cpp:180
> #9  0x000000000041b42e in hsm_session_close ()
> #10 0x000000000041b4ff in hsm_ctx_close ()
> #11 0x000000000041dff5 in hsm_close ()
> #12 0x0000000000404b98 in server_main ()
> #13 0x000000000040967b in main ()




More information about the Opendnssec-develop mailing list