Skip to content

Stackoverflow if manifest contains references to removed drive #3085

@SimonDanisch

Description

@SimonDanisch

I moved a project to another drive, which I then removed, but the Manifest still contained one absolute path pointing to the old drive, which lead to:

pkg> add MathTeXEngine
    Updating registry at `C:\Users\sdani\.julia\registries\General`
    Updating git-repo `https://github.com/JuliaRegistries/General.git`
   Resolving package versions...
ERROR: StackOverflowError:

The reason is, that safe_realpath recursion anchor is ispath, which returns false for paths from a removed drive.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions