Hope this is more or less what you're looking for. I had to start nsd from the command line as usual, and then use gdb to attach to the main nsd by PID.
It's obvious to me, even with what little I know to date about gdb, that the backtrace I'm sending you lacks a symbol table. I did the command a second time, as "bt full", and the only difference was that each line of output was followed by "No symbol table info available."
I'm assuming that you probably need symbol table information in order to make sense of any of this output?
Anyway, please let me know if there's something I need to do differently, as I'm definitely a novice, at best, with respect to gdb.
Here's the output:
bash-2.04# gdb program 5335
GNU gdb 4.18
Copyright 1998 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 "i386-suse-linux"...
Attaching to Pid 5335
0x40074b7e in ?? ()
(gdb) bt
#0 0x40074b7e in ?? ()
#1 0x4002e9e3 in ?? ()
#2 0x80d2456 in ?? ()
#3 0x808eede in ?? ()
#4 0x8071c62 in ?? ()
#5 0x806ed8f in ?? ()
#6 0x4006ea8e in ?? ()
(gdb)