[Opendnssec-user] ods-ksmutil key list --zone segfaults

Jerry Lundström jerry at opendnssec.org
Mon Feb 20 15:56:03 UTC 2012


Hi Sander,

If your compiling yourself now can you get symbols in and do a gdb bt full ?

/Jerry

On Mon, Feb 20, 2012 at 4:25 PM, Sander Smeenk <ssmeenk at freshdot.net> wrote:
> Quoting Jerry Lundström (jerry at opendnssec.org):
>
>> Try this patch to softhsm if you can:
>> Index: softHSM-1.3.1/src/lib/MutexFactory.cpp
>
> Alas. It seems your patch is not helping us out. I'm sure i'm using the
> patched and rebuilt libsofthsm.so, but it still segfaults when doing
> 'ods-ksmutil key list --zone t1.invalid --verbose'.
>
> | [sanders at builder:~/softhsm/usr/lib/softhsm] % sha256sum libsofthsm.so
> | 9cbb8ec76000c9f14c5850b78aabedf1b0fc864b15de6a50a840a58352b22051 libsofthsm.so
>
> | root at ods1:~# sha256sum /usr/lib/softhsm/libsofthsm.so
> | 9cbb8ec76000c9f14c5850b78aabedf1b0fc864b15de6a50a840a58352b22051 /usr/lib/softhsm/libsofthsm.so
>
> | root at ods1:~# gdb
> | [ .. ]
> | Program received signal SIGSEGV, Segmentation fault.
> | 0x0000000000000000 in ?? ()
> | (gdb) bt
> | #0 0x0000000000000000 in ?? ()
> | #1 0x00007ffff637b7f9 in Mutex::~Mutex() () from /usr/lib/softhsm/libsofthsm.so
> | #2 0x00007ffff637af11 in std::auto_ptr<SoftHSMInternal>::~auto_ptr() () from /usr/lib/softhsm/libsofthsm.so
> | #3 0x00007ffff6e12821 in __run_exit_handlers (status=0, listp=0x7ffff716f5a8, run_list_atexit=true) at exit.c:78
> | #4 0x00007ffff6e128a5 in __GI_exit (status=<optimized out>) at exit.c:100
> | #5 0x00000000004042cd in main ()
>
> HTH,
> -Sander.
> --
> | Time flies like an arrow; fruit flies like a banana.
> | 4096R/20CC6CD2 - 6D40 1A20 B9AA 87D4 84C7  FBD6 F3A9 9442 20CC 6CD2
> _______________________________________________
> Opendnssec-user mailing list
> Opendnssec-user at lists.opendnssec.org
> https://lists.opendnssec.org/mailman/listinfo/opendnssec-user



More information about the Opendnssec-user mailing list