Skip to content

fpm install segfaults on current Archlinux with GFortran 15.1.1 #1149

Open
@krystophny

Description

@krystophny

Description

Starting an install from scratch on a current Archlinux with GFortran 15.1.1 on x86_64 succeeds only up to the end of install.sh. The bootstrapped version then fails on fpm install when trying to install itself again.

$ fpm install

Program received signal SIGSEGV: Segmentation fault - invalid memory reference.

Backtrace for this error:
#0  0x7fe5d004deef in ???
#1  0x7fe5d00b6d84 in ???
#2  0x4aab8b in install_info
	at ./src/fpm/cmd/install.f90:110
#3  0x4abe66 in __fpm_cmd_install_MOD_cmd_install
	at ./src/fpm/cmd/install.f90:49
#4  0x402f7c in MAIN__
	at app/main.f90:84
#5  0x40250c in main
	at app/main.f90:13
Segmentation fault (core dumped)

Expected Behaviour

The full fpm version should be installed without error via the version bootsrapped from install.sh.

Version of fpm

6908108

Platform and Architecture

Archlinux / x86_64 / GFortran 15.1

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions