calling top->top->subtotal_ncopies() and gives segmentation fault