add print_stack_trace in heap.c