diff --git a/cr-dump.c b/cr-dump.c index 66a5913ad..b80cfa813 100644 --- a/cr-dump.c +++ b/cr-dump.c @@ -1334,6 +1334,12 @@ static int pre_dump_one_task(struct pstree_item *item, struct list_head *ctls) goto err_free; } + ret = parasite_fixup_vdso(parasite_ctl, pid, &vmas); + if (ret) { + pr_err("Can't fixup vdso VMAs (pid: %d)\n", pid); + goto err_cure; + } + ret = parasite_dump_misc_seized(parasite_ctl, &misc); if (ret) { pr_err("Can't dump misc (pid: %d)\n", pid); @@ -1602,6 +1608,9 @@ int cr_pre_dump_tasks(pid_t pid) if (kerndat_init()) goto err; + if (vdso_init()) + goto err; + if (connect_to_page_server()) goto err;