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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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