Skip to content

Segmentation fault when attempting to install unavailable dep #37

@jim-bcom

Description

@jim-bcom

HOW TO REPRODUCE

  • write a pkdgep file with a dependency of kind artifactory that does not exist. Note that I checked with a valid gitlab repo URL, so maybe try with a valid path to an existing resource and just change the version to an unavailable value for example, to faithfully reproduce the issue (invalid URL might trigger other issues)
  • run remaken install on this file

EXPECTED BEHAVIOR

  • An error message stating that the resource is not found. For comparison, here's what is returned for a dependency hosted on Github:
remaken install test.txt 
=> Installing github::https://github.com/SolarFramework/SolarFramework/releases/download/SolARFramework/1.6.0/linux/SolARFramework_1.6.0_x86_64_shared_release.zip
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     9    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (22) The requested URL returned error: 404
https://github.com/SolarFramework/SolarFramework/releases/download/SolARFramework/1.6.0/linux/SolARFramework_1.6.0_x86_64_shared_release.zip
Bad http response : considering 404. curl error code : 22
https://github.com/SolarFramework/SolarFramework/releases/download/SolARFramework/1.6.0/linux/SolARFramework_1.6.0_x86_64_shared_release.zip
[2026-02-05 16:39:19.345625] [0x0000725522a8a740] [error]   ==> Unable to find 'SolARFramework:1.6.0' in 'shared' mode on github('https://github.com/SolarFramework/SolarFramework/releases/download')
[2026-02-05 16:39:19.345676] [0x0000725522a8a740] [error]   Bad http response : http error code : 404

We might expect a similar message.

OBSERVED BEHAVIOR

=> Installing artifactory::https://***.zip
Segmentation fault (core dumped)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions