This is current git master on OpenBSD 6.1-current/amd64
$ gdb ~/bin/bitcoind
GNU gdb 6.3
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "amd64-unknown-openbsd6.1"...
(gdb) run
Starting program: /home/hans/bin/bitcoind
Program received signal SIGABRT, Aborted.
thrkill () at -:3
3 -: No such file or directory.
in -
Current language: auto; currently asm
(gdb) bt
[#0](/bitcoin-bitcoin/0/) thrkill () at -:3
[#1](/bitcoin-bitcoin/1/) 0x0000067e899c452b in _libc___stack_smash_handler (func=Variable "func" is not available.
) at /usr/src/lib/libc/sys/stack_protector.c:79
Die: DW_TAG_<unknown> (abbrev = 113, offset = 1678518)
has children: FALSE
attributes:
DW_AT_type (DW_FORM_ref4) constant ref: 1634006 (adjusted)
Dwarf Error: Cannot find type of die [in module /home/hans/bin/bitcoind]
(gdb) quit
The program is running. Exit anyway? (y or n) y
Apparently, something bad is happening on the stack and falls victim to to stack protector, but I don't know what it is.