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

Jerry Lundström jerry at opendnssec.org
Fri May 11 10:18:08 UTC 2012


Hi,

I need a few pair of fresh eyes, mines bleeding...

We got one issue left on the test platform, the 1.3 branch
ods-enforcerd core dumps on 5 tests when exiting ... BUT!

Heres the funny part, it works on trunk... and I can't really find any
difference between them.

I have run trunk with 1.3's softhsm, no difference. 1.3 with trunk's
softhsm, nada change. I copied libhsm from trunk to 1.3, still core
dump.

The test is 10-110 and it sets repository capacity to 1 and expect
failure. http://svn.opendnssec.org/branches/OpenDNSSEC-1.3/testing/test-cases.d/10-110-odscc10t110/

1.3 core dumps on softhsms 2nd CloseSession that unloads the module.

There are many strange things with SQLite on FreeBSD amd64 but the
damn strange thing is that it work on trunk.... WHY???

Help? :)

If you need access send a ssh pubkey to me and username, if you
already sent pubkey just ping me for an account.

May 11 12:01:54 freebsd64-ods06 kernel: May 11 12:01:54
freebsd64-ods06 ods-enforcerd: Repository SoftHSM is full, cannot
create more ZSKs for policy default
May 11 12:01:54 freebsd64-ods06 ods-enforcerd: Purging keys...
May 11 12:01:54 freebsd64-ods06 ods-enforcerd: zonelist filename set
to /home/jenkins/workspace/root/test/etc/opendnssec/zonelist.xml.
May 11 12:01:54 freebsd64-ods06 ods-enforcerd: Zone ods found.
May 11 12:01:55 freebsd64-ods06 ods-enforcerd: Policy for ods set to default.
May 11 12:01:55 freebsd64-ods06 ods-enforcerd: Config will be output
to /home/jenkins/workspace/root/test/var/opendnssec/signconf/ods.xml.
May 11 12:01:55 freebsd64-ods06 ods-enforcerd: Not enough keys to
satisfy zsk policy for zone: ods
May 11 12:01:55 freebsd64-ods06 ods-enforcerd: ods-enforcerd will
create some more keys on its next run
May 11 12:01:55 freebsd64-ods06 ods-enforcerd: Error allocating zsks to zone ods
May 11 12:01:55 freebsd64-ods06 kernel: May 11 12:01:55
freebsd64-ods06 ods-enforcerd: Error allocating zsks to zone ods
May 11 12:01:55 freebsd64-ods06 ods-enforcerd: Disconnecting from Database...
May 11 12:01:55 freebsd64-ods06 ods-enforcerd: Sleeping for 3600 seconds.
May 11 12:01:56 freebsd64-ods06 ods-enforcerd: Received SIGTERM, exiting...
May 11 12:01:56 freebsd64-ods06 ods-enforcerd: SoftHSM: C_CloseSession: Calling
May 11 12:01:56 freebsd64-ods06 ods-enforcerd: SoftHSM: C_CloseSession: OK
May 11 12:01:56 freebsd64-ods06 ods-enforcerd: SoftHSM: C_Logout: Calling
May 11 12:01:56 freebsd64-ods06 ods-enforcerd: SoftHSM: C_Logout: OK
May 11 12:01:56 freebsd64-ods06 ods-enforcerd: SoftHSM: C_CloseSession: Calling
May 11 12:01:57 freebsd64-ods06 kernel: pid 28320 (ods-enforcerd), uid
1002: exited on signal 11 (core dumped)

#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