Skip to content

segment fault in alpine linux #51

@plusls

Description

@plusls
error: failed to run custom build command for `xxxxv0.1.0 (/xxxx)`
Caused by:
  process didn't exit successfully: `/builds/xxxx/target/release/build/xxxx-c3fa4b775c30545d/build-script-build` (signal: 11, SIGSEGV: invalid memory reference)
  --- stdout
  cargo:rerun-if-changed=/builds/xxxx/custom_mime

And in my gdb I found that the reference of magic_open is null, I have no ideal why.

alpine env:
based on rust:1.76-alpine

apk add musl-dev file-dev

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions