Skip to content

Crash for incomplete project #953

@Beliavsky

Description

@Beliavsky

On Windows using fpm Version: 0.9.0, alpha I have the current files

c:\fortran\try_fpm\fpm.toml
c:\fortran\try_fpm\src
c:\fortran\try_fpm\test
c:\fortran\try_fpm\test\xhello.f90

with contents

c:\fortran\try_fpm>type c:\fortran\try_fpm\fpm.toml
name = "first_steps"
[build]
auto-executables = true
auto-tests = true
auto-examples = true
[install]
library = false
c:\fortran\try_fpm>type c:\fortran\try_fpm\test\xhello.f90
print*,"hello"
end

Running fpm build causes a crash.

c:\fortran\try_fpm>fpm build
 + mkdir build\dependencies

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

I know it is because the project is incomplete, but fpm should explain what the problem is rather than crashing.

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