Skip to content

Group::from_name misaligned pointer dereference  #2304

Closed
@anonkey

Description

@anonkey

Hello,
I'm on MacOS Sonoma on M1 processor

I've a panic only happening in dev not in release on this function call :

 let group = Group::from_name(group)?;

Result:

thread 'main' panicked at /Users/key/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nix-0.27.1/src/unistd.rs:3794:16:
misaligned pointer dereference: address must be a multiple of 0x8 but is 0x14f809a09  

I tried some flags : -C overflow-checks -C debug-assertions=on

But nothing change i can't figure out what's happening

Have any clue ?

Thanks

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