alire icon indicating copy to clipboard operation
alire copied to clipboard

A single dash in the command line causes a crash

Open mosteo opened this issue 2 years ago • 0 comments

Seems to be a problem within GNAT.Command_Line

$ alr -

raised CONSTRAINT_ERROR : g-comlin.adb:718 index check failed
[/home/jano/opt/bin/alr]
0xf268b7 gnat__command_line__getopt at ???
0xd69aa8 Alire_Early_Elaboration.Early_Switch_Detection.Check_Switches at alire_early_elaboration.adb:87
0xd69e7b Alire_Early_Elaboration.Early_Switch_Detection at alire_early_elaboration.adb:127
0xd6a092 Alire_Early_Elaboration at alire_early_elaboration.adb:164
0x42d9b3 Adainit at b__alr-main.adb:1770
0x42e752 Main at b__alr-main.adb:2131
[/lib/x86_64-linux-gnu/libc.so.6]
0x7f8021bef081
[/home/jano/opt/bin/alr]
0x42bd6c _start at ???
0xfffffffffffffffe
ERROR: g-comlin.adb:718 index check failed
ERROR: alr encountered an unexpected error, re-run with -d for details.

mosteo avatar Jun 04 '22 16:06 mosteo