Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Undeployed pin" Alire bug detected #1801

Open
reznikmm opened this issue Nov 26, 2024 · 0 comments
Open

"Undeployed pin" Alire bug detected #1801

reznikmm opened this issue Nov 26, 2024 · 0 comments
Labels
type: bug Something isn't working
Milestone

Comments

@reznikmm
Copy link
Contributor

Describe the bug
If you pin a crate twice alire crashes with "Alire bug detected". I consider this as minor bug.

To Reproduce

alr init --bin ttt
alr -C ttt with libhello --use=https://github.com/alire-project/libhello
alr -C ttt with libhello --use=https://github.com/alire-project/libhello

error: ******************* BEGIN Alire bug detected *******************
error: Location  : 0xda582a Alire.User_Pins.Path at alire-user_pins.adb:333
error: Extra info: Undeployed pin
error: Report at : https://github.com/alire-project/alire/issues/new?title=[Bug%20box]
error: Re-run with `-vv -d` for a full log and stack trace.
error: ******************** END Alire bug detected ********************

Expected Behavior
There should be no crash.

alr version
2.0.2+9b80158

alr logs

error: ******************* BEGIN Alire bug detected *******************
error: Location  : 0xda582a Alire.User_Pins.Path at alire-user_pins.adb:333
error: Extra info: Undeployed pin
error: Report at : https://github.com/alire-project/alire/issues/new?title=[Bug%20box]
error: Re-run with `-vv -d` for a full log and stack trace.
error: ******************** END Alire bug detected ********************
@mosteo mosteo added the type: bug Something isn't working label Nov 27, 2024
@mosteo mosteo added this to the 2.0.3 milestone Nov 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants