Fix segmentation fault during executing trace dump -s Related: RHEL-235439 Signed-off-by: Tao Liu <ltao@redhat.com>