Skip to content

crash caused by CPM? #315

@christianparpart

Description

@christianparpart

As noted in #313, at least on my machine (Ubuntu 21.04) I can reliably reproduce the SEGV in YAML::LoadFile() call just by the order of the CPMAddPackage() calls in ThirdParties.cmake.

What is definitely suspicios is the following:

image

Have a look at the line -- CPM: libunicode: adding package yaml_cpp ....
The other CPM lines look different, i.e. they don't mention two different package names.

It might very well be a bug from CPM.cmake? At least the fact that the order changes the behavior does not sound quite right. /cc @data-man (this is a tracker ticket).

Metadata

Metadata

Assignees

No one assigned

    Labels

    CMakecrash(-like)Bug that results in severe state corruption, lock-ups with recovery, or outright termination

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions