Skip to content

[macOS M1] Segmentation fault when running dcd-server/client from v0.15.2 release archive #784

@kip2

Description

@kip2

I don't speak English well, so I'm writing this through translation.
Sorry if anything sounds unnatural.

Environment

macOS: Sequoia 15.4.1
Chip: Apple M1 MAX

Problem

When running the binaries from the v0.15.2 release archive, I get segmentation faults:

$ ./dcd-server --version
zsh: segmentation fault  ./dcd-server --version

$ ./dcd-client --version
zsh: segmentation fault  ./dcd-client --version

What I tried

When I clone the repository and build the binaries myself, the version displays correctly:

$ git clone https://github.com/dlang-community/DCD.git

$ cd DCD
$ git checkout v0.15.2

$ dub build --build=release --config=client
$ dub build --build=release --config=server

$cd bin

$ ./dcd-server --version
v0.15.2

$ ./dcd-client --version
v0.15.2

Conclusion

It seems that the file below in the release assets is broken or incompatible with Apple Silicon:

dcd-v0.15.2-osx-arm64.tar.gz

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