collector: collect stack data from frames