Skip to content

Chromium crashes when opening a pdf file #188

Description

@brasswood

I am running the master branch of single-file-cli on Ubuntu 24.04 on WSL. When I run the command:

single-file --browser-headless=false --crawl-links --crawl-no-parent --crawl-max-depth=0 --crawl-replace-URLs --output-directory="./out/" https://andrewriachi.com/

I can see the browser starting and successfully navigating to my personal webpage. Then, when it navigates to https://andrewriachi.com/cv.pdf, it exits before the pdf loads, and single-file just keeps running, doing nothing, until I terminate it.

If you try removing --browser-headless=false and monitor [h]top, you can confirm that even with the headless browser, chromium starts and then crashes, leaving single-file running.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions