Skip to content

Nginx crashes with hardened_malloc on Alpine #250

Description

@optimist555

I am testng nginx 1.26.2 on Alpine Linux 3.21 with hardened_malloc from the Alpine testing repos invoked by an OpenRC unit file using
LD_PRELOAD="/usr/lib/libhardened_malloc.so"
I get "Illegal instruction" immediatly upon starting the service and dmesg shows:
traps: nginx[30059] trap invalid opcode ip:7f5f5ecb1c80 sp:7ffd967b1768 error:0 in libhardened_malloc.so[2c80,7f5f5ecb1000+5000]

What can be the issue here?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions