server: need efficient way to provide backtrace information
#17502 (closed) identified that the backtrace information added in !992 (merged) is too repetitive and takes too much memory, so !1564 (merged) reverts it. I'm opening this issue to hold discussion of alternative designs.