trace callback, and a lot of trace statements activated only if -DGENERICSTACK_DEBUG