root@rasppi-1b:/home/diederik# gdb /usr/bin/softhsm GNU gdb (GDB) 7.4.1-debian Copyright (C) 2012 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "arm-linux-gnueabihf". For bug reporting instructions, please see: ... Reading symbols from /usr/bin/softhsm...Reading symbols from /usr/lib/debug/usr/bin/softhsm...done. done. (gdb) run --init-token --slot 0 --label "OpenDNSSEC" Starting program: /usr/bin/softhsm --init-token --slot 0 --label "OpenDNSSEC" [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Program received signal SIGILL, Illegal instruction. 0xb6900600 in _armv7_neon_probe () from /usr/lib/arm-linux-gnueabihf/libcrypto.so.1.0.0 (gdb) bt #0 0xb6900600 in _armv7_neon_probe () from /usr/lib/arm-linux-gnueabihf/libcrypto.so.1.0.0 #1 0xb68fcfe4 in OPENSSL_cpuid_setup () at armcap.c:69 #2 0xb6fe8254 in ?? () from /lib/ld-linux-armhf.so.3 #3 0xbefff8e6 in ?? () Cannot access memory at address 0x6e692d24 (gdb) continue Continuing. Program received signal SIGILL, Illegal instruction. _armv7_tick () at armv4cpuid.S:17 17 armv4cpuid.S: No such file or directory. (gdb) bt #0 _armv7_tick () at armv4cpuid.S:17 #1 0xb68fd004 in OPENSSL_cpuid_setup () at armcap.c:74 #2 0xb6fe8254 in ?? () from /lib/ld-linux-armhf.so.3 #3 0xbefff8e6 in ?? () Cannot access memory at address 0x6e692d24 (gdb) continue Continuing. The SO PIN must have a length between 4 and 255 characters. Enter SO PIN: The user PIN must have a length between 4 and 255 characters. Enter user PIN: Program received signal SIGSEGV, Segmentation fault. 0xb6e7d560 in Botan::SHA_256::clear() () from /usr/lib/libbotan-1.10.so.0 (gdb) bt #0 0xb6e7d560 in Botan::SHA_256::clear() () from /usr/lib/libbotan-1.10.so.0 #1 0xb67a02f0 in SHA_256 (this=0x2a037c28) at /usr/include/botan-1.10/botan/sha2_32.h:50 #2 digestPIN (pPin=0xbefff37c "1234", ulPinLen=4) at userhandling.cpp:113 #3 0xb67a04c0 in softInitToken (currentSlot=0x2a0138a8, pPin=, ulPinLen=, pLabel=0xbefff57c "OpenDNSSEC", ' ' ) at tokenhandling.cpp:89 #4 0xb67a127c in SoftHSMInternal::initToken (this=, slotID=0, pPin=0xbefff37c "1234", ulPinLen=4, pLabel=0xbefff57c "OpenDNSSEC", ' ' ) at SoftHSMInternal.cpp:417 #5 0xb6799d18 in C_InitToken (slotID=0, pPin=0xbefff37c "1234", ulPinLen=4, pLabel=0xbefff57c "OpenDNSSEC", ' ' ) at main.cpp:499 #6 0x2a003a10 in initToken (slot=0xb6fe3280 "", label=0xbefff8f7 "OpenDNSSEC", soPIN=, userPIN=) at softhsm.cpp:506 #7 0x2a0032a0 in main (argc=6, argv=0xbefff7a4) at softhsm.cpp:329 (gdb)