[Opendnssec-user] segfault in ods-enforcerd / libbotan

Ondřej Surý ondrej at sury.org
Wed Jul 11 10:20:52 UTC 2012


botan1.10 1.10.2 broke binary compatibilty

install botan1.10 1.10.3 from unstable for time being.

On Wed, Jul 11, 2012 at 12:01 PM, Casper Gielen <c.gielen at uvt.nl> wrote:
> Hello,
> I'm experiencing a segfaults ods-enforcerd in my test environment.
>
> syslog:
> Jul 11 11:31:58 metagross kernel: [1050508.832383] ods-enforcerd[12574]:
> segfault at 8 ip 00007ffff561f8ad sp 00007fffffffe890 error 6 in
> libbotan-1.10.so.0.2[7ffff54b0000+2d3000]
>
> strace:# strace ->
> open("/var/lib/softhsm/slot0.db", O_RDWR|O_CREAT, 0644) = 6
> ... a lot of seeking and reading
> lseek(6, 22616064, SEEK_SET)            = 22616064
> read(6,
> "\r\2\230\0\27\1u\0\1\224\1\257\1\331\1\357\2\6\2\35\2-\1u\2j\2y\2\210\2["...,
> 1024) = 1024
> fcntl(6, F_SETLK, {type=F_UNLCK, whence=SEEK_SET, start=0, len=0}) = 0
>
>
> and a backtrace:
> #0  0x00007ffff561f8ad in Botan::SHA_256::clear() () from
> /usr/lib/libbotan-1.10.so.0
> #1  0x00007ffff59af6a9 in SHA_256 (pPin=0x654f30 "CENSUUR", ulPinLen=8) at
> /usr/include/botan-1.10/botan/sha2_32.h:50
> #2  digestPIN (pPin=0x654f30 "CENSUUR", ulPinLen=8) at userhandling.cpp:113
> #3  0x00007ffff59b04c7 in SoftHSMInternal::login (this=0x628e70,
> hSession=Unhandled dwarf expression opcode 0xf3
> ) at SoftHSMInternal.cpp:306
> #4  0x00000000004195e1 in hsm_session_init (repository=0x6526d0 "LocalHSM",
> token_label=0x654dd0 "LocalHSM", path=Unhandled dwarf expression opcode 0xf3
> ) at ../../../../libhsm/src/libhsm.c:553
> #5  hsm_attach (repository=0x6526d0 "LocalHSM", token_label=0x654dd0
> "LocalHSM", path=Unhandled dwarf expression opcode 0xf3
> ) at ../../../../libhsm/src/libhsm.c:2611
> #6  0x00000000004198ee in hsm_open (config=Unhandled dwarf expression opcode
> 0xf3
> ) at ../../../../libhsm/src/libhsm.c:1800
> #7  0x0000000000407fa0 in server_main (config=0x6256c0) at
> ../../../../enforcer/enforcerd/enforcer.c:121
> #8  0x0000000000404ae7 in main (argc=2, argv=0x7fffffffec78) at
> ../../../../enforcer/common/daemon.c:243
>
> This is a test-environment so security is not an issue and I'm happy to mail
> out the sofhshm database and anything else that you might be interested in.
>
> This machine runs Debian testing (wheezy) with ODS 1:1.3.9 as provided by
> Debian.
> --
> Casper Gielen <cgielen at uvt.nl> | LIS UNIX
> PGP fingerprint = 16BD 2C9F 8156 C242 F981  63B8 2214 083C F80E 4AF7
>
> Universiteit van Tilburg | Postbus 90153, 5000 LE
> Warandelaan 2 | Telefoon 013 466 4100 | G 236 | http://www.uvt.nl
>
>
> _______________________________________________
> Opendnssec-user mailing list
> Opendnssec-user at lists.opendnssec.org
> https://lists.opendnssec.org/mailman/listinfo/opendnssec-user



-- 
Ondřej Surý <ondrej at sury.org>



More information about the Opendnssec-user mailing list